/*
Theme Name: Tshop WordPress Theme
Theme URI: https://example.com/tshop
Author: Your Name
Author URI: https://example.com
Description: A modern WordPress theme for e-commerce stores
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tshop
Tags: e-commerce, responsive, modern, clean

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

ul {
    list-style: none;
    margin: 0;
}
a:hover {
    color: #000;
}
/* Basic layout styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Fixed header styles */
#top-navbar {
    background: #FFFFFF;
    box-sizing: border-box;
}

#top-navbar.fixed {
    position: fixed;
    z-index: 9999;
    box-shadow: 0 0 22px -4px rgb(0 0 0 / 17%);
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
}



.top-navbar {
    border-bottom: 1px solid #F5F5F5;
}
.header-link-wishlist {
    color: var(--primary-color, #000);
    text-decoration: none;
    font-size: 13px;
}
.wishlistsa{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background-color: #DEF9EC;
}
.header-link-wishlist i {
    font-size: 14px;
}
.top-header-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    box-sizing: border-box;
}

.back-btn {
    flex: 0 0 auto;
}

.header-title {
    flex: 1;
    text-align: center;
    margin: 0 10px;
}

.header-title a {
    display: inline-block;
    text-decoration: none;
    color: #333;
}

.header-title img {
    vertical-align: middle;
}

.header-primary-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* Footer styles */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

/* Post styles */
.post {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Sidebar styles */
.widget {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-link-left li a{
    color: #fff;
}
.header-link-right li a{
    color: #fff;
}
.primary-nav{
    justify-self: center;
}
.mg-b {
    margin-bottom: 16px;
}
a:hover {
    text-decoration: none;
}
/* Responsive styles */
@media (max-width: 991px) {
    /* Fix mobile header position */
    #top-navbar {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    #top-navbar .container {
        overflow: visible;
    }
    
    /* Add top padding to body to prevent content from being hidden behind fixed header */
    body {
        padding-top: 0;
    }
    
    /* Fix mobile fixed header position */
    #top-navbar.fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: 0 0 22px -4px rgb(0 0 0 / 17%);
        animation: fixedheader 600ms ease 0ms 1 forwards;
        overflow: hidden;
        transform: none;
        box-sizing: border-box;
    }
    
    #top-navbar.fixed .top-header-full {
        padding: 0 15px;
        box-sizing: border-box;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        width: 100%;
    }
    
    /* Fix for device toolbar mode */
    @media (max-width: 991px) {
        #top-navbar {
            position: relative;
            width: 100%;
            box-sizing: border-box;
        }
        
        #top-navbar.fixed {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            height: 60px;
            overflow: hidden;
        }
        
        #top-navbar.fixed .top-header-full {
            height: 60px;
            padding: 0 15px;
        }
    }

    
    .d-none.d-lg-block {
        display: none !important;
    }
    
    .header-link-list-text.d-none.d-lg-block {
        display: none !important;
    }
    
    /* Mobile header styles */
    .mobile-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .menu-icon {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
    }
    
    .mobile-nav.show {
        left: 0;
    }
    
    .mobile-nav-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
        z-index: 1000;
    }
    
    .mobile-nav-menu {
        list-style: none;
        margin-top: 30px;
    }
    
    .mobile-nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-nav-menu a {
        display: block;
        padding: 15px;
        color: #333;
        text-decoration: none;
    }
    
    .mobile-nav-menu a:hover {
        background-color: #f5f5f5;
    }
    
    /* Mobile overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }
    
    .mobile-nav-overlay.show {
        display: block;
    }
    
    /* Adjust header layout for mobile */
    .header-middle-wrapper {
        flex-wrap: wrap;
    }
    
    .header-logo {
        flex: 1;
        text-align: center;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .header-link {
        order: 2;
    }
    
    /* Header primary wrapper mobile layout */
    .header-primary-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        order: 1;
    }
    
    .mobile-logo {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .header-link {
        order: 3;
    }
    
    /* Mobile logo styles */
    .mobile-logo {
        flex: 1;
        text-align: center;
        margin: 0 10px;
    }
    
    .mobile-logo img {
        max-height: 40px;
        width: auto;
    }
    
    .mobile-logo .logo-text {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        text-decoration: none;
    }
    
    /* Mobile floating action buttons */
    .mobile-floating-buttons {
        position: fixed;
        bottom:150px;
        right: 20px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .floating-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    
    .floating-btn i {
        font-size: 20px;
        color: var(--primary-color, #000);
    text-decoration: none;
    }
    
    .floating-btn.wishlist {
        background-color: #f8f9fa;
    }
    
    .floating-btn.cart {
        background-color: #f8f9fa;
    }
    
    .floating-btn .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background-color: #ff6b6b;
        color: white;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
    
    .d-none.d-lg-block {
        display: block !important;
    }
    
    .header-link-list-text.d-none.d-lg-block {
        display: inline !important;
    }
    
    /* Header primary wrapper desktop layout */
    .header-primary-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
.sptitle{
    font-size: 1.2rem;
    font-weight: bold;
}
.text-mutedsa {
    font-size: 3em;
    color: var(--primary-color);
}
.btn-primary i{
    margin-right: 5px;
}
.col-lg-mb{
    margin-bottom: 10px;
}