/*
Theme Name: MR RC WORLD ITHub
Theme URI: https://example.com/mr-rc-world
Author: Antigravity Team
Author URI: https://example.com
Description: A modern, high-performance, dark-themed WooCommerce e-commerce theme for RC Cars, Monster Trucks, Drift Racers, and Accessories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mr-rc-world
Tags: e-commerce, woocommerce, responsive-layout, custom-menu, featured-images, theme-options, dark-theme

MR RC WORLD WordPress Theme
*/

/* ===== ROOT & RESET ===== */
        :root {
            --primary: #1a1a2e;
            --primary-light: #2d2d44;
            --accent: #e8b931;
            --accent-hover: #d4a82a;
            --text-light: #f8f9fa;
            --text-muted: #adb5bd;
            --bg-soft: #f6f7fb;
            --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
            --card-hover-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
            --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --radius: 16px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #ffffff;
            color: #1a1a2e;
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            padding-top: 72px;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* ===== SKIP LINK ===== */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent);
            color: #1a1a2e;
            padding: 12px 24px;
            border-radius: 0 0 8px 8px;
            font-weight: 600;
            z-index: 9999;
            transition: top 0.3s;
        }
        .skip-link:focus {
            top: 0;
        }

        /* ===== NAVBAR ===== */
        .navbar-custom {
            background: rgba(26, 26, 46, 0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            transition: var(--transition);
            min-height: 72px;
        }

        .navbar-custom .navbar-brand {
            font-weight: 800;
            font-size: 1.5rem;
            letter-spacing: -0.5px;
            color: #fff;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-right: 0;
        }
        .brand-logo-img,
        .navbar-brand img.brand-logo-img {
            height: 36px !important;
            max-height: 36px !important;
            width: auto !important;
            object-fit: contain;
            display: inline-block !important;
            vertical-align: middle !important;
            filter: drop-shadow(0 2px 5px rgba(232, 185, 49, 0.25));
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
        }
        .navbar-brand:hover .brand-logo-img {
            transform: scale(1.08) translateY(-1px);
            filter: drop-shadow(0 4px 10px rgba(232, 185, 49, 0.55));
        }
        .navbar-custom .navbar-brand i {
            color: var(--accent);
            font-size: 1.6rem;
        }
        .navbar-custom .navbar-brand span {
            color: var(--accent);
        }

        /* ----- Nav Icons (Search, Login, Cart) ----- */
        .nav-icon-btn {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.15rem;
            transition: var(--transition);
            position: relative;
            cursor: pointer;
            flex-shrink: 0;
        }
        .nav-icon-btn:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: scale(1.05);
        }

        .cart-badge {
            position: absolute;
            top: -3px;
            right: -3px;
            background: var(--accent);
            color: #1a1a2e;
            font-size: 0.55rem;
            font-weight: 700;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #1a1a2e;
        }

        /* ----- Toggle (Hamburger) ----- */
        .navbar-toggler {
            border: none;
            padding: 4px 6px;
            color: #fff;
            margin-left: 2px;
            flex-shrink: 0;
        }
        .navbar-toggler:focus {
            box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.4);
        }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* ===== MOBILE SEARCH ICON (hidden on desktop) ===== */
        .mobile-search-icon {
            display: none;
        }

        /* ===== COLLAPSE MENU & NAV LINKS ===== */
        .navbar-custom .nav-link {
            color: rgba(255, 255, 255, 0.7) !important;
            font-weight: 500;
            padding: 10px 16px;
            border-radius: 10px;
            transition: var(--transition);
            font-size: 0.95rem;
            white-space: nowrap;
        }
        .navbar-custom .nav-link:hover,
        .navbar-custom .nav-link:focus {
            color: #fff !important;
            background: rgba(232, 185, 49, 0.12);
        }
        .navbar-custom .nav-link.active {
            color: var(--accent) !important;
            background: rgba(232, 185, 49, 0.08);
        }

        /* Search wrapper with clickable button */
        .navbar-custom .search-wrapper {
            position: relative;
            width: 100%;
            max-width: 100%;
        }
        .navbar-custom .search-wrapper .form-control {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 60px;
            padding: 8px 45px 8px 18px;
            color: #fff;
            font-size: 0.9rem;
            transition: var(--transition);
            height: 42px;
            width: 100%;
        }
        .navbar-custom .search-wrapper .form-control::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }
        .navbar-custom .search-wrapper .form-control:focus {
            background: rgba(255, 255, 255, 0.14);
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(232, 185, 49, 0.12);
            color: #fff;
        }
        .navbar-custom .search-wrapper .search-btn {
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--accent);
            color: #1a1a2e;
            border: none;
            border-radius: 50%;
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.88rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .navbar-custom .search-wrapper .search-btn:hover {
            background: var(--accent-hover);
            transform: translateY(-50%) scale(1.08);
        }

        /* Mobile / Tablet Dropdown Menu (< 992px) */
        @media (max-width: 991.98px) {
            .navbar-custom .navbar-collapse {
                background: rgba(26, 26, 46, 0.98);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                padding: 16px 20px 20px;
                border-radius: 0 0 16px 16px;
                margin-top: 8px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
            .navbar-custom .navbar-nav {
                gap: 2px;
                margin-bottom: 12px;
            }
            .mobile-search-icon {
                display: flex !important;
            }
        }

        /* Desktop Header Layout (>= 992px) */
        @media (min-width: 992px) {
            .navbar-custom .navbar-collapse {
                background: transparent;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                padding: 0;
                border-radius: 0;
                margin-top: 0;
                border-top: none;
            }
            .navbar-custom .navbar-nav {
                flex-direction: row;
                gap: 4px;
                margin-bottom: 0;
            }
            .navbar-custom .nav-link {
                padding: 8px 14px;
            }
            .navbar-custom .search-wrapper {
                width: 240px;
                max-width: 280px;
            }
        }

        /* ===== HERO ===== */
        .hero {
            background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
            padding: 70px 0 80px;
            position: relative;
            overflow: hidden;
        }
        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(232, 185, 49, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .hero::after {
            content: '';
            position: absolute;
            bottom: -40%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(232, 185, 49, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 2;
        }
        .hero h1 {
            font-weight: 800;
            font-size: 3.6rem;
            line-height: 1.1;
            letter-spacing: -1px;
        }
        .hero h1 .highlight {
            color: var(--accent);
            position: relative;
        }
        .hero p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.2rem;
            max-width: 520px;
            line-height: 1.7;
        }
        .hero .btn-accent {
            background: var(--accent);
            color: #1a1a2e;
            font-weight: 700;
            padding: 14px 44px;
            border-radius: 60px;
            border: none;
            transition: var(--transition);
            font-size: 1rem;
        }
        .hero .btn-accent:hover {
            background: var(--accent-hover);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(232, 185, 49, 0.35);
            color: #1a1a2e;
        }
        .hero .btn-outline-light {
            border-radius: 60px;
            padding: 14px 38px;
            font-weight: 600;
            border-color: rgba(255, 255, 255, 0.25);
            color: #fff;
            transition: var(--transition);
        }
        .hero .btn-outline-light:hover {
            background: rgba(255, 255, 255, 0.10);
            border-color: #fff;
            transform: translateY(-3px);
        }
        .hero-stats {
            display: flex;
            gap: 40px;
            margin-top: 30px;
        }
        .hero-stats .stat {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }
        .hero-stats .stat strong {
            display: block;
            color: #fff;
            font-size: 1.8rem;
            font-weight: 700;
        }

        /* ===== FEATURES BAR ===== */
        .features-bar {
            background: #fff;
            padding: 30px 0;
            border-bottom: 1px solid #eef0f5;
        }
        .feature-item {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .feature-item i {
            font-size: 1.6rem;
            color: var(--accent);
            width: 44px;
            height: 44px;
            background: rgba(232, 185, 49, 0.10);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .feature-item .info h6 {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 0;
        }
        .feature-item .info small {
            color: #6c757d;
            font-size: 0.8rem;
        }

        /* ===== SECTION TITLES ===== */
        .section-title {
            font-weight: 800;
            font-size: 2.2rem;
            letter-spacing: -0.5px;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 50px;
            height: 4px;
            background: var(--accent);
            border-radius: 4px;
        }
        .section-subtitle {
            color: #6c757d;
            font-size: 1rem;
            max-width: 500px;
        }
        .section-header {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        /* ===== CATEGORIES ===== */
        .category-card {
            background: #fff;
            border-radius: var(--radius);
            padding: 28px 20px;
            text-align: center;
            transition: var(--transition);
            border: 1px solid #eef0f5;
            cursor: pointer;
            height: 100%;
        }
        .category-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--card-hover-shadow);
            border-color: transparent;
        }
        .category-card .icon-wrap {
            width: 64px;
            height: 64px;
            background: rgba(232, 185, 49, 0.10);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 14px;
            font-size: 1.8rem;
            color: var(--accent);
            transition: var(--transition);
        }
        .category-card:hover .icon-wrap {
            background: var(--accent);
            color: #1a1a2e;
            transform: scale(1.05);
        }
        .category-card .cat-img-wrap {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
            background: rgba(232, 185, 49, 0.05);
            border-radius: 12px;
            padding: 8px;
            transition: var(--transition);
        }
        .category-card:hover .cat-img-wrap {
            background: rgba(232, 185, 49, 0.15);
            transform: scale(1.03);
        }
        .category-card .category-thumb-img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
        }
        .category-card h6 {
            font-weight: 700;
            margin-bottom: 4px;
        }
        .category-card small {
            color: #6c757d;
            font-size: 0.8rem;
        }

        /* ===== PRODUCT CARDS ===== */
        .product-card {
            background: #fff;
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            border: 1px solid #eef0f5;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--card-hover-shadow);
            border-color: transparent;
        }

        .product-card .product-img {
            position: relative;
            background: #f8f9fa;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 220px;
            overflow: hidden;
        }
        .product-card .product-img img {
            max-height: 180px;
            object-fit: contain;
            transition: var(--transition);
        }
        .product-card:hover .product-img img {
            transform: scale(1.04);
        }

        .badge-tag {
            position: absolute;
            top: 14px;
            left: 14px;
            font-weight: 700;
            font-size: 0.7rem;
            padding: 4px 12px;
            border-radius: 60px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
        }
        .badge-gold {
            background: var(--accent);
            color: #1a1a2e;
        }
        .badge-dark {
            background: var(--primary);
            color: var(--accent);
            border: 1px solid rgba(232, 185, 49, 0.3);
        }

        .product-card .wishlist-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            background: rgba(255, 255, 255, 0.85);
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            transition: var(--transition);
            backdrop-filter: blur(4px);
            z-index: 2;
        }
        .product-card .wishlist-btn:hover {
            background: #fff;
            color: #dc3545;
            transform: scale(1.1);
        }

        .product-card .product-body {
            padding: 18px 20px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .product-card .product-body .product-category {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #6c757d;
            font-weight: 600;
        }
        .product-card .product-body h6 {
            font-weight: 700;
            font-size: 1rem;
            margin: 6px 0 4px;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .product-card .product-body .rating {
            color: var(--accent);
            font-size: 0.8rem;
            letter-spacing: 1px;
        }
        .product-card .product-body .rating span {
            color: #6c757d;
            font-size: 0.75rem;
            margin-left: 4px;
        }
        .product-card .product-body .price {
            font-weight: 800;
            font-size: 1.2rem;
            color: #1a1a2e;
            margin-top: 6px;
        }
        .product-card .product-body .price .old {
            font-weight: 400;
            font-size: 0.9rem;
            color: #adb5bd;
            text-decoration: line-through;
            margin-left: 8px;
        }
        .product-card .product-body .btn-add {
            margin-top: 14px;
            background: #1a1a2e;
            color: #fff;
            border: none;
            border-radius: 60px;
            padding: 10px 0;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .product-card .product-body .btn-add:hover {
            background: var(--accent);
            color: #1a1a2e;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 185, 49, 0.30);
        }

        /* ===== TESTIMONIALS ===== */
        .testimonial-card {
            background: #fff;
            padding: 30px 24px;
            border-radius: var(--radius);
            border: 1px solid #eef0f5;
            transition: var(--transition);
            height: 100%;
            text-align: center;
        }
        .testimonial-card:hover {
            border-color: var(--accent);
            box-shadow: var(--card-shadow);
        }
        .testimonial-card .stars {
            color: var(--accent);
            font-size: 1.1rem;
            letter-spacing: 2px;
        }
        .testimonial-card p {
            font-size: 0.95rem;
            color: #4a4a5a;
            line-height: 1.6;
            margin: 14px 0;
        }
        .testimonial-card .user {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 10px;
        }
        .testimonial-card .user img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            background: #e9ecef;
        }
        .testimonial-card .user .name {
            font-weight: 700;
            font-size: 0.9rem;
        }
        .testimonial-card .user .role {
            font-size: 0.8rem;
            color: #6c757d;
        }

        /* ===== BLOG ===== */
        .blog-card {
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid #eef0f5;
            transition: var(--transition);
            height: 100%;
            background: #fff;
        }
        .blog-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--card-hover-shadow);
            border-color: transparent;
        }
        .blog-card .blog-img {
            height: 200px;
            background: #f1f3f5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--primary);
        }
        .blog-card .blog-img i {
            background: rgba(232, 185, 49, 0.12);
            padding: 20px;
            border-radius: 50%;
            color: var(--accent);
        }
        .blog-card .blog-body {
            padding: 20px 22px 24px;
        }
        .blog-card .blog-body .tag {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .blog-card .blog-body h5 {
            font-weight: 700;
            margin: 8px 0;
        }
        .blog-card .blog-body p {
            color: #6c757d;
            font-size: 0.9rem;
        }
        .blog-card .blog-body a {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
        }
        .blog-card .blog-body a:hover {
            color: var(--accent);
        }

        /* ===== BRANDS ===== */
        .brands-section {
            background: #ffffff;
            padding: 40px 0;
            border-top: 1px solid #eef0f5;
            border-bottom: 1px solid #eef0f5;
        }
        .brand-item {
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.5;
            transition: var(--transition);
            filter: grayscale(1);
            padding: 10px;
            font-weight: 700;
            color: #1a1a2e;
            letter-spacing: 1px;
            font-size: 0.9rem;
            border: 1px solid transparent;
        }
        .brand-item:hover {
            opacity: 1;
            filter: grayscale(0);
            border-color: var(--accent);
            border-radius: 8px;
            background: rgba(232, 185, 49, 0.04);
        }
        .brand-item .brand-placeholder {
            padding: 8px 16px;
            background: #f8f9fa;
            border-radius: 8px;
            font-weight: 600;
            color: var(--primary);
            border: 1px dashed #dee2e6;
        }

        /* ===== NEWSLETTER ===== */
        .newsletter-section {
            background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
            padding: 70px 0;
            border-radius: var(--radius);
            margin: 20px 0 40px;
        }
        .newsletter-section h3 {
            font-weight: 800;
            color: #fff;
            font-size: 2rem;
        }
        .newsletter-section p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.1rem;
        }
        .newsletter-section .input-group {
            max-width: 480px;
            margin: 0 auto;
        }
        .newsletter-section .form-control {
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 60px 0 0 60px !important;
            padding: 12px 24px;
            color: #fff;
            height: 52px;
        }
        .newsletter-section .form-control::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }
        .newsletter-section .form-control:focus {
            background: rgba(255, 255, 255, 0.16);
            border-color: var(--accent);
            box-shadow: none;
            color: #fff;
        }
        .newsletter-section .btn-subscribe {
            background: var(--accent);
            color: #1a1a2e;
            font-weight: 700;
            padding: 0 32px;
            border-radius: 0 60px 60px 0 !important;
            border: none;
            transition: var(--transition);
            height: 52px;
        }
        .newsletter-section .btn-subscribe:hover {
            background: var(--accent-hover);
            color: #1a1a2e;
        }

        /* ===== FOOTER ===== */
        .footer {
            background: #0f0f1a;
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 0 20px;
            margin-top: 40px;
        }
        .footer h5 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 18px;
            font-size: 1rem;
        }
        .footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer ul li {
            margin-bottom: 10px;
        }
        .footer ul li a {
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
            font-size: 0.92rem;
        }
        .footer ul li a:hover {
            color: var(--accent);
            padding-left: 4px;
        }
        .footer .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 50%;
            color: rgba(255, 255, 255, 0.6);
            transition: var(--transition);
            font-size: 1.1rem;
            margin-right: 8px;
        }
        .footer .social-icons a:hover {
            background: var(--accent);
            color: #1a1a2e;
            transform: translateY(-3px);
        }
        .footer .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 20px;
            margin-top: 30px;
            font-size: 0.85rem;
            text-align: center;
        }

        /* =========================================================
                   RESPONSIVE – MOBILE FIRST TWEAKS
                ========================================================= */

        /* ----- Mobile: show search icon, hide desktop search bar from top ----- */
        @media (max-width: 767.98px) {
            body {
                padding-top: 64px;
            }

            .mobile-search-icon {
                display: flex !important;
            }

            /* Hide the search wrapper from collapse on mobile? No, we keep it inside collapse.
                   But on mobile the search icon in top bar acts as a visual cue.
                   The collapse search bar remains accessible when menu is opened. */
            .navbar-custom .navbar-brand {
                font-size: 1.2rem;
            }
            .navbar-custom .navbar-brand i {
                font-size: 1.3rem;
            }

            .nav-icon-btn {
                width: 34px;
                height: 34px;
                font-size: 1rem;
            }

            .cart-badge {
                width: 16px;
                height: 16px;
                font-size: 0.5rem;
                top: -2px;
                right: -2px;
                border-width: 1.5px;
            }

            .navbar-toggler {
                padding: 2px 4px;
            }
            .navbar-toggler-icon {
                width: 22px;
                height: 22px;
            }

            .navbar-custom .navbar-collapse {
                padding: 12px 14px 16px;
                border-radius: 12px;
                margin-top: 6px;
            }
            .navbar-custom .nav-link {
                padding: 8px 12px;
                font-size: 0.88rem;
            }
            .navbar-custom .search-wrapper .form-control {
                height: 40px;
                font-size: 0.85rem;
                padding: 8px 16px 8px 38px;
            }
            .navbar-custom .search-wrapper .search-icon {
                left: 13px;
                font-size: 0.85rem;
            }

            .hero {
                padding: 40px 0 50px;
                text-align: center;
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero p {
                margin-left: auto;
                margin-right: auto;
                font-size: 1rem;
            }
            .hero .btn-group {
                justify-content: center;
                flex-wrap: wrap;
                gap: 10px;
            }
            .hero .btn-group .btn {
                width: 100%;
                max-width: 260px;
            }
            .hero-stats {
                justify-content: center;
                gap: 24px;
                flex-wrap: wrap;
            }
            .hero-stats .stat strong {
                font-size: 1.5rem;
            }

            .features-bar .feature-item {
                justify-content: center;
            }

            .section-title {
                font-size: 1.7rem;
            }
            .section-title::after {
                width: 40px;
            }
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }

            .product-card .product-img {
                min-height: 170px;
            }
            .product-card .product-img img {
                max-height: 140px;
            }

            .newsletter-section {
                padding: 40px 20px;
                text-align: center;
            }
            .newsletter-section .input-group {
                flex-direction: column;
                gap: 10px;
            }
            .newsletter-section .form-control {
                border-radius: 60px !important;
            }
            .newsletter-section .btn-subscribe {
                border-radius: 60px !important;
                padding: 12px 32px;
                width: 100%;
            }

            .footer {
                text-align: center;
            }
            .footer .social-icons {
                justify-content: center;
            }
        }

        /* Small phones */
        @media (max-width: 575.98px) {
            .hero h1 {
                font-size: 1.9rem;
            }
            .hero p {
                font-size: 0.95rem;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .section-title::after {
                width: 32px;
            }

            .navbar-custom .navbar-brand {
                font-size: 1.05rem;
            }
            .brand-logo-img,
            .navbar-brand img.brand-logo-img {
                height: 28px !important;
                max-height: 28px !important;
            }
            .navbar-custom .navbar-brand i {
                font-size: 1.1rem;
            }

            .nav-icon-btn {
                width: 30px;
                height: 30px;
                font-size: 0.85rem;
            }
            .cart-badge {
                width: 14px;
                height: 14px;
                font-size: 0.45rem;
                top: -2px;
                right: -2px;
            }

            .navbar-toggler {
                padding: 2px 3px;
            }
            .navbar-toggler-icon {
                width: 18px;
                height: 18px;
            }

            .navbar-custom .navbar-collapse {
                padding: 10px 10px 12px;
            }
            .navbar-custom .nav-link {
                padding: 6px 10px;
                font-size: 0.85rem;
            }
            .navbar-custom .search-wrapper .form-control {
                height: 36px;
                font-size: 0.82rem;
                padding: 6px 12px 6px 34px;
            }
            .navbar-custom .search-wrapper .search-icon {
                left: 11px;
                font-size: 0.8rem;
            }
        }

        /* ===== UTILITY ===== */
        .text-accent {
            color: var(--accent);
        }
        .bg-accent-soft {
            background: rgba(232, 185, 49, 0.06);
        }
        .gap-2 {
            gap: 8px;
        }
        .gap-3 {
            gap: 16px;
        }
        .rounded-4 {
            border-radius: var(--radius);
        }
        .border-soft {
            border-color: #eef0f5 !important;
        }
        .fw-800 {
            font-weight: 800;
        }

        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        ::-webkit-scrollbar-thumb {
            background: #c4c4c4;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a0a0a0;
        }


/* ===== WOOCOMMERCE COMPATIBILITY OVERRIDES ===== */
.woocommerce .button, 
.woocommerce button.button, 
.woocommerce a.button, 
.woocommerce input.button {
    background-color: var(--accent, #e8b931);
    color: #1a1a2e;
    border-radius: 60px;
    padding: 10px 24px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
}

.woocommerce .button:hover, 
.woocommerce button.button:hover, 
.woocommerce a.button:hover, 
.woocommerce input.button:hover {
    background-color: var(--accent-hover, #d4a82a);
    color: #1a1a2e;
}

.woocommerce span.onsale {
    background-color: var(--accent, #e8b931);
    color: #1a1a2e;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 12px;
    min-height: auto;
    line-height: 1.2;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top-color: var(--accent, #e8b931);
    background-color: var(--bg-soft, #f6f7fb);
    border-radius: 12px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    border-radius: 8px;
    margin: 0 4px;
    padding: 8px 14px;
    background: #f8f9fa;
    color: #1a1a2e;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #1a1a2e;
    color: #fff;
}

/* ===== SINGLE PRODUCT SHOWCASE STYLING ===== */
.product-breadcrumb-bar {
    background: #f8f9fc;
}
.product-breadcrumb-bar .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
.product-breadcrumb-bar .breadcrumb-item a:hover {
    color: #1a1a2e;
}
.product-gallery-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.main-detail-img {
    height: 380px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.main-image-viewport:hover .main-detail-img {
    transform: scale(1.06);
}
.zoom-preview-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(26, 26, 46, 0.75);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 5;
}
.zoom-preview-btn:hover {
    background: #e8b931;
    color: #1a1a2e;
    transform: scale(1.1);
}
.thumb-box {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fa;
    padding: 4px;
    transition: all 0.3s ease;
}
.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.thumb-box.active, .thumb-box:hover {
    border-color: #e8b931;
    box-shadow: 0 0 12px rgba(232, 185, 49, 0.4);
    transform: translateY(-2px);
}
.trust-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}
.product-title-heading {
    font-size: 2rem;
    line-height: 1.25;
}
.btn-add-cart-primary {
    background: linear-gradient(135deg, #e8b931 0%, #d49b1c 100%);
    color: #1a1a2e;
    border: none;
    transition: all 0.3s ease;
}
.btn-add-cart-primary:hover {
    background: linear-gradient(135deg, #f5c43d 0%, #e5aa27 100%);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 185, 49, 0.45);
}
.btn-buy-now-accent {
    background: #1a1a2e;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}
.btn-buy-now-accent:hover {
    background: #2d2d4a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.3);
}
.custom-qty-stepper .btn-qty {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a2e;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-qty-stepper .btn-qty:hover {
    background: #e2e8f0;
}
.custom-qty-stepper .qty-field {
    width: 44px;
    font-size: 1rem;
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}
.icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-product-tabs .nav-link {
    color: #64748b;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    transition: all 0.3s ease;
}
.custom-product-tabs .nav-link.active {
    background: #1a1a2e !important;
    color: #e8b931 !important;
    border-color: #1a1a2e !important;
    box-shadow: 0 4px 14px rgba(26, 26, 46, 0.25);
}

/* ===== QUANTITY STEPPER BUTTONS & THEME OVERRIDES ===== */
.qty-btn,
.custom-qty-stepper .btn-qty {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #1a1a2e !important;
    color: #e8b931 !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    user-select: none !important;
    line-height: 1 !important;
}

.qty-btn:hover,
.custom-qty-stepper .btn-qty:hover {
    background: #e8b931 !important;
    color: #1a1a2e !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 10px rgba(232, 185, 49, 0.4) !important;
}

.woocommerce div.product p.price, 
.woocommerce div.product span.price,
.price-showcase-box .price-current,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    color: #e8b931 !important;
    font-weight: 800 !important;
}

.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
    background: linear-gradient(135deg, #e8b931 0%, #d49b1c 100%) !important;
    color: #1a1a2e !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(232, 185, 49, 0.35) !important;
}

/* ===== WOOCOMMERCE CART STYLING & RESPONSIVE FIXES ===== */
.woocommerce-cart .cart-collaterals {
    width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    margin-bottom: 1.25rem !important;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.woocommerce-cart .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin-bottom: 1.5rem !important;
    table-layout: auto !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
    width: 40% !important;
    padding: 12px 10px 12px 0 !important;
    font-weight: 700 !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    vertical-align: top !important;
    font-size: 0.95rem !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
    width: 60% !important;
    padding: 12px 0 !important;
    text-align: right !important;
    color: #1a1a2e !important;
    border-bottom: 1px solid #e2e8f0 !important;
    vertical-align: top !important;
    font-size: 0.95rem !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #1a1a2e !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td span.woocommerce-Price-amount {
    color: #1a1a2e !important;
    font-weight: 800 !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 1.25rem !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: linear-gradient(135deg, #e8b931 0%, #d49b1c 100%) !important;
    color: #1a1a2e !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    padding: 14px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(232, 185, 49, 0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #f5c43d 0%, #e5aa27 100%) !important;
    color: #1a1a2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(232, 185, 49, 0.5) !important;
}

.woocommerce-cart .cart_totals ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-cart .cart_totals ul#shipping_method li {
    padding: 4px 0 !important;
    font-size: 0.9rem !important;
    text-align: right !important;
}

.woocommerce-cart .shipping-calculator-button {
    color: #1a1a2e !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    font-size: 0.88rem !important;
}

/* ===== THEME TITLES & MY ACCOUNT STYLING ===== */
.entry-title,
.page-title,
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3,
.woocommerce h1,
.woocommerce h2,
.text-theme-dark {
    color: #1a1a2e !important;
}

.text-theme-link {
    color: #1a1a2e;
    transition: color 0.2s ease;
}
.text-theme-link:hover {
    color: #d4a82a;
}

.auth-card-container {
    max-width: 520px;
    margin: 0 auto;
}

.auth-card {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.auth-tab-btn {
    background: #f8f9fa;
    color: #6c757d;
    font-size: 1.05rem;
    transition: all 0.25s ease;
    border-bottom: 3px solid transparent !important;
}

.auth-tab-btn:hover {
    color: #1a1a2e;
    background: #f1f3f5;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #1a1a2e;
    border-bottom: 3px solid #e8b931 !important;
}

.btn-yellow-theme {
    background: linear-gradient(135deg, #e8b931 0%, #d49b1c 100%) !important;
    color: #1a1a2e !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(232, 185, 49, 0.35);
    transition: all 0.3s ease;
}

.btn-yellow-theme:hover {
    background: linear-gradient(135deg, #f5c43d 0%, #e5aa27 100%) !important;
    color: #1a1a2e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 185, 49, 0.5);
}

.auth-box input.form-control:focus {
    border-color: #e8b931;
    box-shadow: 0 0 0 0.25rem rgba(232, 185, 49, 0.25);
}

/* ===== FOOTER CONTRAST & VISIBILITY ===== */
footer.footer,
.footer {
    background-color: #1a1a2e !important;
    color: #e2e8f0 !important;
}
.footer p,
.footer span,
.footer li {
    color: rgba(255, 255, 255, 0.88) !important;
}
.footer strong {
    color: #ffffff !important;
}
.footer h5 {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.footer a,
.footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.2s ease;
}
.footer a:hover,
.footer-links a:hover {
    color: #e8b931 !important;
    text-decoration: underline !important;
}
.footer .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== FLOATING WHATSAPP ICON BUTTON ===== */
.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    z-index: 99999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-float-btn i {
    font-size: 1.95rem;
    line-height: 1;
}
.whatsapp-float-btn:hover {
    background-color: #20ba5a;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}
@media (max-width: 576px) {
    .whatsapp-float-btn {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float-btn i {
        font-size: 1.75rem;
    }
}

/* ===== ENHANCED SHOP PAGE HELPER STYLES ===== */
.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.hover-lift:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}
.hover-light:hover {
    background-color: #f8f9fa !important;
    color: var(--primary) !important;
}
.max-h-180 {
    max-height: 180px !important;
}
.tiny-text {
    font-size: 0.8rem !important;
}
.hover-accent:hover {
    color: var(--accent) !important;
}






