@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

body{
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
}
body,ul,li,p,h1,h2,h3,h4{
    margin: 0px;
    padding: 0px;
    list-style: none;
}
img{
    max-width: 100%;
}
a{
    display: inline-block;
    text-decoration: none;
    color:#ff8700; 
}
a:hover{
    text-decoration: underline;
    color:#ff8700; 
}
#navbarNav a{
    color:#333;
    font-weight: 700;
}
#navbarNav a:hover,.result-item a:hover{
    text-decoration: none;
}                      
.text-primary{
    color:#ff8700!important;
}
.highlight{
    background-color: #ffff00;
}

.fixed-header{
    position: fixed;
    top: 0;
    width: 100%;
    left: 0px;
    z-index: 1;
    background-color: #fff;
}
#header{
    padding: 20px 0px;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}
#header .usermenu li{
    padding: 10px 20px;
}
#header .usermenu li i{
    font-weight: 500;
}
#header .usermenu li a{
    font-size: 16px;
    font-weight: 600;
    color:#7E7E7E;
}

#category-area{
    padding: 50px 0px;
}
#category-area .heading{
    font-size: 30px;
    font-weight: 700;
    color: #253D4E; /* Adjust color to match your theme */
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #ececec;
}
#category-area .heading span{
    color:#3bb77e;
}
#category-area .image-box{
    border-radius: 10px;
    border: 1px solid #F4F6FA;
    background-color: #f2fce4;
    padding: 20px;
    margin: 15px 0px;
    min-height: 150px;
    text-align: center;
    transition: 0.2s;
}
#category-area .image-box:hover{
    cursor: pointer;
    border-color: #BCE3C9;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
}
#category-area img{
    height:200px;
    width:200px;
    object-fit: cover;
}
#category-area .image-box .product-title a,.product-card a{
    color:#253D4E;
    font-size:16px;
    font-weight: 700;
}
#category-area .image-box img {
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

#category-area .image-box:hover img {
    transform: scale(1.1); /* Zoom-in effect on hover */
}

/* Product Structure */

.product-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    background-color: #fff;
    text-align: center;
    display: flex;
    height:100%;
    align-items: center;
    gap: 15px;    
    font-weight:400;
}
#product-single-page .carousel-inner{
    position: relative;
}
.product-card .badge,#product-single-page .discount {
    position: absolute;
    top: 0px;
    left: 0;
    background-color: #ff5a5f;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0px;
    border-bottom-right-radius: 10px;
}

.product-card .product-image img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.product-card .product-details {
    text-align: left;
    flex: 1;    
}
#product-single-page .discount{
    top: 11px;
    right: 10px;
    left: auto;
    z-index: 111;
    border-radius: 0px 0px 0px 10px;
}
.product-card .product-attribute{
    font-size:14px;
    margin: 10px 0px;
}
.product-card .product-attribute .col{
    border-bottom: 1px dashed #ccc;
    padding: 5px;
}

.product-card .product-category {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 500;
}

.product-card .product-title {
    font-size: 16px;
    font-weight: 600;
    color: #253d4e;
    margin-bottom: 8px;
    min-height: 40px;
}

.product-card .product-rating {
    font-size: 14px;
    color: #f9a825;
    margin-bottom: 5px;
}

.product-card .product-rating .rating-text {
    color: #999;
    font-size: 12px;
}

.product-card .product-brand {
    font-size: 14px;
    color: #57c28a;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-card .price-area{
    background-color: #28a745;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    max-width: 200px;
}

.product-card .product-price {    
    margin-right: 8px;
}

.product-card .product-price-old {
    text-decoration: line-through;
    font-weight: 600;
}

.product-card .add-to-cart-btn {
    background-color: #e0f8eb;
    color: #28a745;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    width:100%;
    margin-top: 10px;
    display:none;
    transition: background-color 0.3s ease;
}

.product-card .add-to-cart-btn:hover {
    background-color: #c8f0d8;
}

.product-card .btn-view-details{
    background-color: #fdc040;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    max-width: 200px;
}

/* Search Result */

.search-bar-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0px auto;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}

.search-results .result-item a{
    padding: 10px;
    display: flex;
    align-items: center;
    color:#333;
    border-bottom: 1px solid #f0f0f0;
}

.search-results .result-item:last-child {
    border-bottom: none;
}

.search-results .result-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.search-results .result-item h4 {
    margin: 0;
    color:#333;
    font-size: 14px;
}

.search-results .result-item p {
    margin: 0;
    color: #cf1002;
    font-size: 12px;
    font-weight: 500;
}

.search-results .result-item.active {
    background-color: #cf1002; /* Theme color */
    color: #fff;
}
.search-results .result-item.active p,.search-results .result-item.active h4{
    color: #fff;
}

/* Product Single Page */
#product-single-page .carousel-control-prev-icon,#product-single-page .carousel-control-next-icon{
    background-color: rgba(0, 0, 0, 0.8);
    width: 3rem;
    height: 3rem;
}
#product-single-page .carousel-item img{
    border: 1px solid #ccc;
    padding: 10px;
}
#product-single-page h1{
    font-size:24px;
    line-height: 36px;
    font-weight: 700;
}
#product-single-page .product_description_area h2{
    font-size:18px;
    padding:15px 0px;
    font-weight: 600;
}
#product-single-page .product-description{
    line-height: 30px;
}
#product-single-page .otherdetails .product-attribute{
    padding: 10px;
}
#product-single-page .otherdetails .product-attribute .col{
    border-bottom: 1px dashed #ccc;
    padding: 5px;
}

#related_products{
    padding: 50px 0px;
}
#related_products .title h2{
    padding-bottom: 40px;
    font-size:20px;
}
#shareurl button{
    font-size:40px;
}