/*
Theme Name: Neivacart
Theme URI: https://neivacart.com
Author: Neiva Team
Author URI: https://neivacart.com
Description: A premium custom WordPress theme for men's fashion. Fully coded, Elementor ready, and WooCommerce compatible. Built for ThemeForest.
Version: 1.0.0
License: Split License
License URI: https://themeforest.net/licenses/standard
Text Domain: neivacart
Tags: e-commerce, fashion, custom-menu, featured-images, threaded-comments, translation-ready, elementor, woocommerce
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

a:hover {
    color: #c9a96e;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.site-logo span {
    color: #c9a96e;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-navigation ul li a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-navigation ul li a:hover {
    border-bottom-color: #c9a96e;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions a {
    font-size: 18px;
    position: relative;
}

.cart-count {
    background: #c9a96e;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    padding: 2px 6px;
    position: absolute;
    top: -8px;
    right: -12px;
}

/* Hero Section */
.hero {
    background: #f8f6f3;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 span {
    color: #c9a96e;
}

.hero p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 10px auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: #c9a96e;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    margin-left: 10px;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Features Bar */
.features-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.feature-item .icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

/* Category Grid */
.categories {
    padding: 60px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: #f8f6f3;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card h3 {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

.category-card .sub {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    margin-top: 5px;
}

/* Product Grid */
.products-section {
    padding: 60px 0;
    background: #f8f6f3;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.section-title span {
    color: #c9a96e;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card .image {
    background: #f8f6f3;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #999;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c9a96e;
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card .badge.sale {
    background: #e74c3c;
}

.product-card h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.product-card .price {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.product-card .price .old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 400;
}

.product-card .rating {
    color: #f39c12;
    font-size: 14px;
    margin: 5px 0;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-grid h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #c9a96e;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-grid ul li a:hover {
    color: #c9a96e;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 14px;
    color: #888;
}

/* Responsive */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid,
    .category-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero h1 {
        font-size: 32px;
    }
}