/*
Theme Name: JK Shop
Theme URI: https://jkshop.pk
Author: Farhan
Description: Custom lightweight professional WooCommerce theme for JK Shop.
Version: 3.0
Text Domain: jkshop
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Announcement Bar */
.top-bar {
    background: #111;
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 8px 10px;
    letter-spacing: 0.5px;
}

/* Header Section */
header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
}
.logo a {
    font-size: 26px;
    font-weight: bold;
    color: #a02020;
}
.search-bar form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}
.search-bar input {
    padding: 9px 12px;
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}
.search-bar button {
    background: #a02020;
    color: #fff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 600;
}
.header-cart a {
    font-weight: 600;
    background: #f1f1f1;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}
.header-cart a:hover {
    background: #e2e2e2;
}

/* Category Navigation Bar */
.cat-nav-bar {
    background: #a02020;
}
.cat-nav-bar ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 10px 0;
    overflow-x: auto;
}
.cat-nav-bar ul li a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
}
.cat-nav-bar ul li a:hover {
    color: #ffeb3b;
}

/* Main Content Area */
main {
    padding: 35px 0;
    min-height: 450px;
}

/* Footer Section */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 0 20px 0;
    font-size: 14px;
    margin-top: 50px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}
.footer-col h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 17px;
}
.footer-col p {
    margin-bottom: 8px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 6px;
}
.footer-col ul li a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 13px;
    color: #888;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .header-main {
        flex-direction: column;
        text-align: center;
    }
    .search-bar form {
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}