/*
Theme Name: Combat Gear Pro
Author: Juljan.By
Description: A professional WordPress theme for combat sports and martial arts equipment stores. Designed for MMA, Karate, and fight sports gear with WooCommerce integration.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: combat-gear-pro
Tags: e-commerce, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. Reset & Normalize
   2. Typography
   3. Layout & Grid
   4. Header
   5. Navigation
   6. Hero Section
   7. Product Grid & Filters
   8. Product Cards
   9. Single Product
   10. Cart & Checkout
   11. Blog & Posts
   12. Sidebar
   13. Footer
   14. Responsive Design
   15. WooCommerce Override
   ============================================ */

/* 1. Reset & Normalize */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #0a0a0a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: #333;
}

/* 3. Layout & Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-full {
    width: 100%;
    padding: 0 15px;
}

.col-2 {
    width: 50%;
    padding: 0 15px;
}

.col-3 {
    width: 33.333%;
    padding: 0 15px;
}

.col-4 {
    width: 25%;
    padding: 0 15px;
}

.content-area {
    float: left;
    width: 70%;
    padding-right: 30px;
}

.widget-area {
    float: right;
    width: 30%;
}

.site-main {
    padding: 60px 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* 4. Header */
.custom-logo {
    max-width: 98px;
    max-height: 80px;
    width: auto;
    height: auto;
}

.site-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
    background: #c41e3a;
    padding: 8px 0;
    font-size: 0.85rem;
    text-align: center;
    color: #fff;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.site-title span {
    color: #c41e3a;
}

.site-description {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cart,
.header-account {
    position: relative;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #c41e3a;
    color: #fff;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 5. Navigation */
.main-navigation {
    background: #0d0d0d;
    border-top: 1px solid #222;
    border-bottom: 2px solid #c41e3a;
}

.main-navigation .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.primary-menu {
    display: flex;
    gap: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
    background: #c41e3a;
    color: #fff;
}

.primary-menu li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 5px;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
}

.primary-menu li:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid #222;
}

.search-form-header {
    display: flex;
    align-items: center;
}

.search-form-header input {
    padding: 8px 15px;
    border: 1px solid #333;
    border-radius: 25px 0 0 25px;
    background: #1a1a1a;
    color: #fff;
    width: 200px;
    outline: none;
}

.search-form-header button {
    padding: 8px 15px;
    background: #c41e3a;
    border: none;
    border-radius: 0 25px 25px 0;
    color: #fff;
    cursor: pointer;
}

/* 6. Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title span {
    color: #c41e3a;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ddd;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #c41e3a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #c41e3a;
}

.hero-cta:hover {
    background: transparent;
    color: #fff;
}

/* 7. Product Grid & Filters */
.product-archive {
    padding: 40px 0;
}

.archive-header {
    margin-bottom: 40px;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.woocommerce-breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
    color: #c41e3a;
}

.woocommerce-breadcrumb a:hover {
    color: #8b0000;
}

/* Filter Bar */
.filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    color: #333;
    cursor: pointer;
    min-width: 180px;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #c41e3a;
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-filter input {
    width: 100px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
}

.price-filter input:focus {
    outline: none;
    border-color: #c41e3a;
}

.price-filter span {
    color: #666;
    font-weight: 600;
}

.filter-button {
    padding: 10px 25px;
    background: #c41e3a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.filter-button:hover {
    background: #a01a2e;
}

.reset-filter {
    padding: 10px 25px;
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.reset-filter:hover {
    border-color: #c41e3a;
    color: #c41e3a;
}

.woocommerce-result-count {
    font-size: 0.9rem;
    color: #666;
    margin-left: auto;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 8. Product Cards */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.badge-sale {
    background: #c41e3a;
    color: #fff;
}

.badge-new {
    background: #28a745;
    color: #fff;
}

.badge-hot {
    background: #ff6b00;
    color: #fff;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-actions a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.product-actions a:hover {
    background: #c41e3a;
}

.product-actions .add-to-cart-btn {
    width: auto;
    padding: 0 25px;
    border-radius: 25px;
    background: #c41e3a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details {
    padding: 20px;
}

.product-category {
    font-size: 0.8rem;
    color: #c41e3a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-title a {
    color: #1a1a1a;
}

.product-title a:hover {
    color: #c41e3a;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.product-rating span {
    color: #666;
    margin-left: 5px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c41e3a;
}
.product-price del {
    font-size: 1rem;
    color: #999;
    margin-right: 10px;
}
.product-price ins {
    text-decoration: none;
}

/* 9. Single Product */
.single-product .product-gallery {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.single-product .product-summary {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-title-single {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.single-price {
    font-size: 2rem;
    color: #c41e3a;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.quantity-selector input {
    width: 70px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    text-align: center;
}

.add-to-cart-single {
    padding: 15px 40px;
    background: #c41e3a;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.1rem;
}

.add-to-cart-single:hover {
    background: #a01a2e;
}

.product-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.product-meta span {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.product-tabs {
    margin-top: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
}

.tab-nav li {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    transition: all 0.3s ease;
}

.tab-nav li.active {
    color: #c41e3a;
    border-bottom: 3px solid #c41e3a;
}

.tab-content {
    padding: 30px;
}

/* 10. Cart & Checkout */
.cart-table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-table th {
    background: #0a0a0a;
    color: #fff;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-totals {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-totals h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.totals-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c41e3a;
    border-bottom: none;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: #c41e3a;
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.checkout-button:hover {
    background: #a01a2e;
}

/* 11. Blog & Posts */
.blog-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    height: 250px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
}

.post-category {
    color: #c41e3a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-title a {
    color: #1a1a1a;
}

.post-title a:hover {
    color: #c41e3a;
}

.post-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.post-meta span {
    margin-right: 15px;
}

.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 25px;
    background: #c41e3a;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #a01a2e;
}

.single-post .entry-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.single-post .entry-content p {
    line-height: 1.8;
    color: #444;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    color: #333;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pagination .current {
    background: #c41e3a;
    color: #fff;
}

.pagination a:hover {
    background: #c41e3a;
    color: #fff;
}

/* 12. Sidebar */
.widget {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #c41e3a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #444;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #c41e3a;
    padding-left: 5px;
}

.widget_search input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
}

.tagcloud a {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 25px;
    margin: 0 5px 10px 0;
    font-size: 0.9rem !important;
    color: #333;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background: #c41e3a;
    color: #fff;
}

/* 13. Footer */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #ccc;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c41e3a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget p {
    color: #aaa;
    line-height: 1.8;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #c41e3a;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c41e3a;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #c41e3a;
}

/* 14. Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .widget-area {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .col-2,
    .col-3,
    .col-4 {
        width: 100%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-menu {
        flex-direction: column;
        display: none;
    }

    .primary-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 0.8rem;
    }

    .cart-product img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .tab-nav {
        flex-direction: column;
    }

    .tab-nav li {
        padding: 10px 15px;
    }
}

/* 15. WooCommerce Override */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.woocommerce-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.woocommerce-info {
    background: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}

.onsale {
    background: #c41e3a !important;
    border-radius: 25px !important;
    padding: 5px 15px !important;
}

.star-rating {
    color: #ffc107 !important;
}

.woocommerce-pagination {
    margin-top: 40px;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    padding: 10px 15px !important;
    background: #fff !important;
    border-radius: 5px !important;
}

.woocommerce-pagination ul li span.current {
    background: #c41e3a !important;
    color: #fff !important;
}

.price_slider_wrapper {
    padding: 10px 0;
}

.price_slider .ui-slider-range {
    background: #c41e3a !important;
}

.price_slider .ui-slider-handle {
    background: #c41e3a !important;
    border: 2px solid #c41e3a !important;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
}

.woocommerce-products-header {
    margin-bottom: 30px;
}

/* Buttons */
.button,
.woocommerce button.button,
.woocommerce a.button {
    background: #c41e3a !important;
    color: #fff !important;
    padding: 12px 30px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background 0.3s ease !important;
}

.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background: #a01a2e !important;
}

/* Input fields */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce textarea {
    padding: 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 5px !important;
}

.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce textarea:focus {
    border-color: #c41e3a !important;
}

/* Sale badge positioning */
.woocommerce span.onsale {
    top: 15px !important;
    left: 15px !important;
}

/* Add these additional styles to your style.css */

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        z-index: 999;
        padding: 8px 0;
        justify-content: space-around;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        color: #666;
        text-decoration: none;
    }

    .mobile-nav-item.active {
        color: var(--primary-color);
    }
}

/* Newsletter Popup */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.newsletter-popup.active {
    display: block;
}

.newsletter-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.newsletter-popup-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    overflow: hidden;
}

/* Product Swatches */
.product-swatches {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.swatch-item {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.swatch-item:hover {
    border-color: var(--primary-color);
}

/* Sale Countdown */
.product-countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
    background: rgba(196, 30, 58, 0.9);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.6rem;
    text-transform: uppercase;
}

/* Sticky Header */
.sticky-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 10px 0;
}

/* Sticky Add to Cart */
.sticky-add-to-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 15px 0;
}

/* 404 Page */
.error-404-section {
    padding: 100px 0;
    text-align: center;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 4px 4px 0 #ddd;
}

/* Trust Badges */
.product-trust-badges {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #333;
}

.trust-badge i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Search Dropdown */
.search-results-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 5px 5px;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-dropdown.active {
    display: block;
}

/* Empty Cart */
.empty-cart-page {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* Loading Spinner */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Add these to your style.css */

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.mobile-menu-list .sub-menu {
    display: none;
    padding-left: 20px;
    background: #f9f9f9;
}

.mobile-menu-list .submenu-open > .sub-menu {
    display: block;
}

/* Sticky Add to Cart */
.sticky-add-to-cart {
    display: block;
}

.sticky-add-to-cart .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-product-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.sticky-product-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-selector .qty-btn {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: background 0.3s;
}

.quantity-selector .qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.quantity-selector .qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-selector .qty-input::-webkit-outer-spin-button,
.quantity-selector .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Filter Sidebar Mobile */
@media (max-width: 768px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        background: #fff;
        transition: left 0.3s;
        overflow-y: auto;
    }

    .filter-sidebar.active {
        left: 0;
    }

    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .filter-overlay.active {
        display: block;
    }
}

/* ============================================
   Account Dropdown Styles
   ============================================ */

/* Account Wrapper - Position Relative for Dropdown */
.header-account-wrapper {
    position: relative;
    display: inline-block;
}

/* Account Button/Icon */
.header-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.header-account:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.header-account i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.header-account .action-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Arrow indicator */
.header-account::after {
    content: '\f107'; /* Font Awesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Rotate arrow on hover */
.header-account-wrapper:hover .header-account::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 10px;
    border: 1px solid #333;
    overflow: hidden;
}

/* Show dropdown on hover */
.header-account-wrapper:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Arrow */
.account-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #1a1a1a;
}

/* Dropdown List */
.account-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

/* Dropdown Items */
.account-dropdown ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account-dropdown ul li:last-child {
    border-bottom: none;
}

/* Dropdown Links */
.account-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
}

/* Link hover effect */
.account-dropdown ul li a:hover {
    background: #c41e3a;
    color: #fff;
    padding-left: 25px;
}

.account-dropdown ul li a:hover i {
    transform: translateX(3px);
}

/* Icons in dropdown */
.account-dropdown ul li a i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.account-dropdown ul li a:hover i {
    opacity: 1;
}

/* Logout link special styling */
.account-dropdown ul li a.logout-link,
.account-dropdown ul li:last-child a {
    color: #ff6b6b;
    font-weight: 500;
}

.account-dropdown ul li a.logout-link:hover,
.account-dropdown ul li:last-child a:hover {
    background: #ff6b6b;
    color: #fff;
}

/* Divider */
.account-dropdown .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* User Info Section (optional header in dropdown) */
.account-dropdown .dropdown-user-info {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-dropdown .dropdown-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.account-dropdown .dropdown-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-dropdown .dropdown-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.account-dropdown .dropdown-user-email {
    color: #999;
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-account-wrapper {
        position: static;
    }

    .account-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        margin-top: 0;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    }

    .header-account-wrapper:hover .account-dropdown {
        transform: translateY(0);
    }

    .account-dropdown::before {
        display: none;
    }

    /* Mobile close button */
    .account-dropdown .mobile-dropdown-close {
        display: block;
        width: 100%;
        padding: 15px;
        text-align: center;
        background: none;
        border: none;
        color: #999;
        font-size: 0.9rem;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .account-dropdown .mobile-dropdown-close:hover {
        color: #fff;
    }
}

/* ============================================
   Multiple Dropdowns Consistency
   ============================================ */

/* If you have multiple dropdowns (cart, wishlist, account) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cart-wrapper,
.header-wishlist-wrapper {
    position: relative;
}

/* Consistent dropdown animation for all */
.mini-cart-dropdown,
.wishlist-dropdown,
.account-dropdown {
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Accessibility
   ============================================ */

/* Keyboard focus */
.header-account:focus,
.header-account:focus-visible {
    outline: 2px solid #c41e3a;
    outline-offset: 2px;
}

.header-account:focus + .account-dropdown,
.header-account:focus-within + .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
