/*
Theme Name: Craft Village Theme
Theme URI: https://thecraftvillage.com/my-theme
Author: Manish Sharma
Author URI: https://thecraftvillage.com
Description: A custom WooCommerce theme built from scratch.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: craft-village-theme
Tags: e-commerce, woocommerce, custom
*/
:root {
  --button-semi-bg:#f3ede7;
  --button-semi-color: #97734e;
  --button-primary-bg:#2f82ff;
  --button-primary:white;
}
body a{
    text-decoration: none;
}
body{
    font-size: 16px;
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
}
header{
    margin:0;
    display:flex;
    height:85px;
    border-bottom: 1px solid var(--button-semi-bg);
}
header .site-branding{
    width: 50%;
}
header .site-branding img{
    height: 90%;
    width: auto;
    margin:2px 0 0 20px;
}


header .header-nav {
    display: flex;
    align-items: center;
    width: 50%;
    flex-direction: row;
    justify-content: flex-end;
}
header.header2 {
    height: 34px;
    background-color: var(--button-semi-bg);
    color: var(--button-semi-color);
    display: block;
    padding-top: 1px;
}
header.header2 nav.header-nav2 .menu{
    width:100%;
}
header.header2 nav.header-nav2 .menu ul{
    display: flex;
    padding: 0;
    text-decoration: none;
    justify-content: center;
    margin: 5px 0;
}
header.header2 nav.header-nav2 .menu ul li{
    margin: 0 20px;
    list-style: none;
}
header.header2 nav.header-nav2 .menu ul li a{
    color: var(--button-semi-color);
    text-decoration: none;
}
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.header-icons,.header-search {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.header-icons li,.header-search li {
    margin-left: 20px;
}

.header-icons a,.header-search a{
    color: var(--button-semi-color);
    font-size: 1.2em;
    text-decoration: none;
}

.header-icons a:hover,.header-search a:hover{
    color: #007bff;
}
header .header-nav .header-icons .menu-icon{
        display: none;
}
.account-icon,.wishlist-icon,.cart-icon,.menu-icon{
    background: var(--button-semi-bg);
    color: var(--button-semi-color);
    line-height: 40px;
    text-align: center;
    width: 45px;
    border-radius: 5px;
}
/* Search Form */
.search-form {
    position: relative;
}

.search-form input {
    padding: 5px 30px 5px 10px;
    border: none;
    border-radius: 4px;
    height: 40px;
    background: var(--button-semi-bg);
    color: var(--button-semi-color);
}

.search-form input::placeholder {
  color: var(--button-semi-color);
  opacity: 1; /* Firefox */
}

.search-form button {
    background: none;
    border: none;
    position: absolute;
    right: 5px;
    top: 50%;
    color: var(--button-semi-color);
    transform: translateY(-50%);
    cursor: pointer;
}

/* Cart Count */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8em;
    height: 16px;
    line-height: 16px;
}
/*Header ends here*/


.cv-content-area{
    padding: 5px 30px;
}
.cv-content-area article h2{
    text-align: center;
    color: var(--button-semi-color);
}


.site-footer{
    width: 100%;
    margin: 0;
    text-align: center;
    color: var(--button-semi-color);
    background-color: var(--button-semi-bg);
    border-top: 1px solid var(--button-semi-bg);
}
.site-footer .footer-container{
    display: flex;
    flex-direction: column;
}
ul.footer-links{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    padding: 20px 0 ;
}
.site-footer ul.social-icons{
    width: 200px;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    padding: 0;
    height: 100%;
}
.site-footer ul a{
    color:var(--button-semi-color);
    text-decoration: none;
}

.primary-btn{
    background-color: var(--button-primary-bg);
    border-radius: 5px;
    color: var(--button-primary);
}
@media (max-width: 600px) {
    header{
        display: block;
        height: auto;
    }
    header .site-branding{
        width: 100%;
        height: 85px;
        text-align:center;
    }
    header .header-nav{
        width: 80%;
        display: flex;
        flex-direction: column;
        height: 110px;
        justify-content: space-evenly;
        box-sizing: border-box;
        margin: 5px 10%;
    }
    header .header-nav .header-search,header .header-nav .header-icons{
        width: 100%;
        justify-content: center;
    }
    header .header-nav .header-icons .menu-icon{
        display: block;
    }
    header .header-nav .header-icons .menu-icon button{
        margin: 0;
        border: none;
        height: 41px;
        border-radius: 5px;
        background: var(--button-semi-bg);
        color: var(--button-semi-color);
        font-size: 1.2em;
    }
    header.header2 nav.header-nav2 .menu ul{
        flex-direction: column;
        text-align: center;
    }
    header.header2 nav.header-nav2 .menu ul li{
        margin:20px 0;
    }
    header .header-nav .header-search{
        display: block;
    }
    .search-form input{
        width: 100%;
    }
    .header-search li {
        margin-left: 0;
    }

    header.header2 {
        height: auto;
        display: none;
    }
    .site-footer .footer-container{
        display: flex;
        flex-direction: row;
    }
    .site-footer .footer-container ul{
        flex-direction: column;
        padding: 0;
    }
    .site-footer .footer-row.footer-menu,.site-footer .footer-row.footer-social{
        width:50%;
    }
    .cv-content-area{
        padding: 5px 5px;
    }
}
