/**
 * AL MADNI ELECTRIC INDUSTRIES - Responsive & UI Improvements
 * Enhanced styles for mobile, tablet, and desktop views
 */

/* ============================================
   CSS Variables for consistent theming
   ============================================ */
:root {
    --primary-color: #ff2424;
    --primary-dark: #d91e1e;
    --secondary-color: #191d34;
    --text-color: #333333;
    --text-light: #6b6a6a;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* ============================================
   Global Improvements
   ============================================ */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

body.menu-open {
    overflow: hidden;
}

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

/* Better touch targets for mobile */
a, button, .btn {
    min-height: 44px;
    min-width: 44px;
}

/* ============================================
   Header & Navigation Improvements
   ============================================ */

/* Make header sticky/fixed on all devices */
.header-area {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: box-shadow 0.3s ease;
    margin: 0;
    padding: 0;
}

/* Ensure no space before header */
.header-area:first-child {
    margin-top: 0 !important;
}

header {
    margin: 0;
    padding: 0;
}

/* Add body padding to account for sticky header - prevents content jump */
body {
    padding-top: 0; /* Header is sticky, not fixed, so no padding needed */
}

/* Enhanced shadow when scrolled */
.header-area.scrolled,
.main-header-area.sticky {
    box-shadow: var(--shadow-md);
}

.main-header-area {
    padding: 10px 0;
}

.main-header-area .row {
    margin: 0;
}

.main-header-area .row > div {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

/* Desktop Navigation */
.header-area .main-header-area .main-menu ul > li {
    margin: 0 10px;
}

.header-area .main-header-area .main-menu ul > li:first-child {
    margin-left: 0;
}

.header-area .main-header-area .main-menu ul > li:last-child {
    margin-right: 0;
}

.main-menu nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: 4px;
}

.main-menu nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(255, 36, 36, 0.05);
}

/* Improved Dropdown Menus */
.main-menu nav ul li .submenu {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: none;
    padding: 10px 0;
    min-width: 220px;
}

/* Fix dropdown menu gap issue - override default positioning */
.header-area .main-header-area .main-menu ul li .submenu {
    top: 100% !important; /* Position directly below the nav item */
    margin-top: 0 !important;
}

/* Create invisible hover bridge to prevent menu from closing */
.header-area .main-header-area .main-menu ul li .submenu::before {
    content: '';
    position: absolute;
    top: -15px; /* Extends above the menu */
    left: 0;
    right: 0;
    height: 15px; /* Height of the bridge */
    background: transparent;
}

/* Ensure smooth transition when hovering */
.header-area .main-header-area .main-menu ul li:hover > .submenu {
    top: 100% !important; /* Keep it at 100% when visible */
    margin-top: 0 !important;
}

/* Nested submenu positioning */
.main-menu nav ul li .submenu .submenu {
    left: 100%;
    top: 0 !important;
    margin-top: 0 !important;
}

.main-menu nav ul li .submenu li a {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-color);
}

.main-menu nav ul li .submenu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Quote Button */
.quote-btn {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    transition: var(--transition) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 36, 0.3);
}

/* Social Wrap - Icons Container */
.social_wrap {
    gap: 12px;
}

/* Header Icons Improvements - Cart & Account */
.header-cart-icon,
.header-account-icon {
    position: relative;
}

.header-account-icon.me-3 {
    margin-right: 12px !important;
}

.header-cart-icon .cart-link,
.header-account-icon .account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    color: var(--secondary-color) !important;
    font-size: 18px !important;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-cart-icon .cart-link:hover,
.header-account-icon .account-link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 36, 0.35);
}

.header-cart-icon .cart-link i,
.header-account-icon .account-link i {
    color: inherit !important;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 2px 6px rgba(255, 36, 36, 0.4);
    border: 2px solid var(--white);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-cart-icon.mobile-cart .cart-link {
    background: transparent;
    box-shadow: none;
    border: none;
    width: auto;
    height: auto;
    color: var(--text-color) !important;
    font-size: 20px !important;
}

.header-cart-icon.mobile-cart .cart-link:hover {
    background: transparent;
    color: var(--primary-color) !important;
    transform: none;
    box-shadow: none;
}

/* Account dropdown styling */
.header-account-icon .dropdown-toggle::after {
    display: none;
}

.header-account-icon .dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 10px;
}

.header-account-icon .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.header-account-icon .dropdown-item:hover {
    background: rgba(255, 36, 36, 0.08);
    color: var(--primary-color);
}

.header-account-icon .dropdown-item i {
    width: 20px;
}

.cart-media .label-theme {
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    box-shadow: 0 2px 4px rgba(255, 36, 36, 0.3);
}

/* Mobile Navigation Improvements */
/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Header Icons */
.mobile-header-icons {
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cart-icon-mobile {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--white) !important;
    font-size: 22px !important;
    transition: var(--transition);
    position: relative;
}

.cart-link-mobile:hover {
    color: var(--primary-color) !important;
}

.cart-link-mobile .cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--secondary-color);
    padding: 0 4px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 2147483646 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

/* Mobile Menu Navigation - Using transform for reliable animation */
.mobile-menu-nav,
#mobileMenu,
div.mobile-menu-nav,
div#mobileMenu,
nav.mobile-menu-nav,
nav#mobileMenu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    z-index: 2147483647 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Use transform for sliding - much more reliable than right property */
    transform: translateX(100%) !important;
    -webkit-transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
    -webkit-transition: -webkit-transform 0.3s ease-in-out !important;
}

.mobile-menu-nav.active,
#mobileMenu.active,
div.mobile-menu-nav.active,
div#mobileMenu.active,
nav.mobile-menu-nav.active,
nav#mobileMenu.active,
header .mobile-menu-nav.active,
header nav.mobile-menu-nav.active,
body .mobile-menu-nav.active,
body #mobileMenu.active,
#app .mobile-menu-nav.active,
#app #mobileMenu.active,
.header-area ~ .mobile-menu-nav.active,
header ~ .mobile-menu-nav.active {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}

.mobile-menu-overlay.active,
#mobileMenuOverlay.active {
    z-index: 9998 !important;
}

.mobile-menu-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--secondary-color);
    background-color: #191d34 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo img {
    max-height: 45px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.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: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.mobile-menu-list > li > a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-menu-list > li.has-submenu > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-menu-list > li.has-submenu.active > a i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    background: #f8f9fa;
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 1000px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 35px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.mobile-submenu li a:hover {
    background: #e9ecef;
    color: var(--primary-color);
    padding-left: 40px;
}

/* Nested submenu */
.mobile-submenu .mobile-submenu li a {
    padding-left: 50px;
}

.mobile-submenu .mobile-submenu li a:hover {
    padding-left: 55px;
}

.mobile-dealership-btn {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 6px;
    margin: 10px 20px !important;
    padding: 12px 20px !important;
    display: block !important;
    text-align: center;
    font-weight: 600;
}

.mobile-dealership-btn:hover {
    background: var(--primary-dark) !important;
}

.mobile-menu-divider {
    height: 1px;
    background: #ddd;
    margin: 10px 0;
}

/* ============================================
   Slider/Hero Section Improvements
   ============================================ */
.slider_area {
    position: relative;
}

.single_slider {
    position: relative;
    overflow: hidden;
}

.single_slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slider_text h3 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider_text p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.slider-contact-text {
    width: auto;
    color: #ff2424;
    padding-left: 3px;
    font-size: clamp(14px, 3vw, 20px);
    background: none;
    display: inline-block;
}

/* Slider Navigation Dots */
.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    transition: var(--transition);
}

.owl-dots .owl-dot.active span {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   About Section Improvements
   ============================================ */
.about_area {
    padding: 80px 0;
}

.about_exp {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about_exp_inner span {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
}

.about_info {
    padding: 20px 0;
}

.section_title h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.3;
}

.section_title h3 span {
    color: var(--primary-color);
}

.devider {
    margin-top: 15px;
}

.devider span {
    display: inline-block;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ============================================
   Products/Features Section
   ============================================ */
.our_facilitics_area {
    padding: 80px 0;
}

.single_feature {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.single_feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.single_feature .icon img {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.single_feature h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.single_feature a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.single_feature a:hover {
    color: var(--primary-dark);
}

/* ============================================
   Shop Page Improvements
   ============================================ */
.shopPage {
    background: var(--bg-light);
    min-height: 100vh;
}

/* Category Sidebar */
.category-side {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.category-option .accordion-button {
    background: transparent;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 15px 0;
    font-size: 1rem;
}

.category-option .accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.custome-form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox_animated {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Product Grid */
.product-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 20px;
}

.product-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-box .img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f5f5f5;
}

.product-box .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-box:hover .img-wrapper img {
    transform: scale(1.05);
}

.product-box .cart-wrap {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.product-box:hover .cart-wrap {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cart-wrap ul {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.cart-wrap ul li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.cart-wrap ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-details {
    padding: 15px;
}

.product-details .rating-details {
    margin-bottom: 8px;
}

.product-details .main-price a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-details .price {
    margin-top: 10px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-right: 8px;
}

.discount-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.original-price-1 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.discount-perc {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Filter Options */
.filter-options {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.select-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.select-featured select {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 0.9rem;
    min-width: 180px;
    background: var(--white);
}

.grid-options ul {
    display: flex;
    gap: 8px;
}

.grid-options ul li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: var(--transition);
}

.grid-options ul li.active a,
.grid-options ul li a:hover {
    border-color: var(--primary-color);
    background: rgba(255, 36, 36, 0.05);
}

/* ============================================
   Product Details Page
   ============================================ */
.details-items {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.details-image-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.details-image-vertical > div {
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.details-image-vertical > div:hover,
.details-image-vertical > div.active {
    border-color: var(--primary-color);
}

.details-image-1 {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.details-image-concept h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.4;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.label-section .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
}

.price-detail {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.price-detail del {
    color: #999;
    font-size: 1rem;
    margin-left: 10px;
}

.price-detail span {
    background: rgba(255, 36, 36, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-left: 10px;
}

/* Quantity Box */
.qty-box .input-group {
    max-width: 150px;
}

.qty-box .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid #ddd;
    color: var(--text-color);
}

.qty-box .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.qty-box input {
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
    height: 40px;
}

/* Add to Cart Button */
.addeffect-section .btn-solid-default,
.btn-solid-default {
    background: var(--primary-color) !important;
    border: none;
    color: var(--white);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.addeffect-section .btn-solid-default:hover,
.btn-solid-default:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 36, 0.3);
}

/* ============================================
   Cart Page Improvements
   ============================================ */
.cart-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.cart-table {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table thead {
    background: var(--secondary-color);
}

.cart-table thead th {
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 15px 20px;
    border: none;
}

.cart-table tbody td {
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-table .td-color {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-table .fas.fa-times {
    color: #dc3545;
    font-size: 1.2rem;
    transition: var(--transition);
}

.cart-table .fas.fa-times:hover {
    color: #a71d2a;
    transform: scale(1.2);
}

/* Cart Box */
.cart-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
}

.cart-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cart-box h6 {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

.cart-box h6 span {
    color: var(--text-color);
    font-weight: 600;
}

.cart-box .bottom-details a {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 20px;
    transition: var(--transition);
}

.cart-box .bottom-details a:hover {
    background: var(--primary-dark);
}

/* Mobile Cart Content */
.mobile-cart-content {
    display: none;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-section,
.section-b-space {
    padding: 50px 0;
    background: var(--bg-light);
}

.checkout-box,
.your-cart-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.your-cart-box h3 {
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.your-cart-box .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    background: transparent;
}

.your-cart-box .list-group-item:last-child {
    border-bottom: none;
    background: var(--bg-light);
    margin-top: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
}

.mobile-cart-summary {
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-lg);
}

.mobile-cart-summary h4 {
    color: var(--white);
    margin: 0;
}

.mobile-cart-summary .cart-summary-total {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.checkout-box .form-control,
#billingAddress .form-control {
    border-radius: var(--border-radius);
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.checkout-box .form-control:focus,
#billingAddress .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 36, 36, 0.1);
}

.checkout-box label,
#billingAddress label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.bank-transfer {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.custome-radio-box {
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.custome-radio-box .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 80px 0;
}

.contact-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-contact .form-control {
    border-radius: var(--border-radius);
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.form-contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 36, 36, 0.1);
}

.form-contact textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Footer Improvements
   ============================================ */
.footer {
    background: var(--secondary-color);
    padding-top: 60px;
}

.footer_top {
    padding-bottom: 40px;
}

.footer_widget {
    margin-bottom: 30px;
}

.footer_title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer_widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer_widget ul li {
    margin-bottom: 12px;
}

.footer_widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.footer_widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer_logo {
    margin-top: 20px;
}

.footer_logo img {
    max-width: 150px;
}

.copy-right_text {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.copy_right p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.socail_links ul {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.socail_links ul li {
    margin-left: 0 !important;
    display: inline-block;
}

.socail_links ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.socail_links ul li a i {
    color: inherit !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.socail_links ul li a:hover,
.socail_links ul li:hover a {
    background: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer .socail_links ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
}

/* ============================================
   Breadcrumb Improvements
   ============================================ */
.bradcam_area {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bradcam_text h3 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: capitalize;
    margin-bottom: 10px;
}

.bradcam_text p {
    color: rgba(255, 255, 255, 0.8);
}

.bradcam_text p a {
    color: var(--white);
    transition: var(--transition);
}

.bradcam_text p a:hover {
    color: var(--primary-color);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials_area {
    background: linear-gradient(135deg, var(--secondary-color), #2a2f4a);
}

.testimonials_area .single_feature {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--border-radius-lg);
    padding: 30px 25px !important;
    margin-bottom: 30px;
    transition: var(--transition);
}

.testimonials_area .single_feature:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonials_area .single_feature .icon p,
.testimonials_area .single_feature p {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonials_area .single_feature a {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    text-decoration: none;
    font-style: normal;
}

.testimonials_area .section_title h3 {
    color: #ffffff;
}

.testimonials_area .section_title .devider span {
    background: var(--primary-color);
}

/* ============================================
   Certificates Section
   ============================================ */
.property_certificates {
    padding: 60px 0;
}

.certificate_listing {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.single_list {
    flex: 1;
    min-width: 100px;
}

.single_list .thumb img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

.single_list:hover .thumb img {
    transform: scale(1.05);
}

/* ============================================
   Quotation Section
   ============================================ */
.quotation_area {
    background: var(--bg-light);
    padding: 80px 0;
}

.quotation_text {
    flex-wrap: wrap;
    gap: 30px;
}

.quotation_info h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary-color);
}

.sayhello {
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.sayhello .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    margin-right: 20px;
    font-size: 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.boxed-btn,
.boxed-btn3 {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 35px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.boxed-btn:hover,
.boxed-btn3:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 36, 0.3);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Desktop (1200px to 1399px) */
@media (max-width: 1399px) {
    .header-area .main-header-area .main-menu ul > li {
        margin: 0 8px;
    }
    
    .main-menu nav ul li a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Laptop (992px to 1199px) */
@media (max-width: 1199px) {
    .header-area .main-header-area .main-menu ul > li {
        margin: 0 5px;
    }
    
    .main-menu nav ul li a {
        padding: 10px 8px;
        font-size: 13px;
    }

    .quote-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .about_info.pl-70 {
        padding-left: 30px;
    }

    .single_feature {
        padding: 25px 15px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    /* Sticky Header for Tablet */
    .header-area {
        position: sticky !important;
        top: 0;
        z-index: 999;
        background: var(--secondary-color) !important;
    }
    
    .main-header-area {
        padding: 15px;
    }

    /* Header */
    .logo {
        padding: 5px 0;
    }
    
    .logo img {
        max-height: 50px;
        width: auto;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Slider */
    .slider_text h3 {
        font-size: 1.5rem;
    }

    .slider_text p {
        font-size: 0.9rem;
    }

    /* About */
    .about_area {
        padding: 60px 0;
    }

    .about_exp {
        margin-bottom: 40px;
        padding: 40px;
    }

    .about_info.pl-70,
    .about_info.pl-30 {
        padding-left: 0;
    }

    /* Products Grid */
    .our_facilitics_area {
        padding: 60px 0;
    }

    /* Shop */
    .category-side {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        background: var(--white);
        transition: var(--transition);
        overflow-y: auto;
        padding-top: 20px;
    }

    .category-side.show {
        left: 0;
    }

    .button-close {
        display: block !important;
        margin-bottom: 20px;
    }

    .filter-options {
        justify-content: center;
    }

    /* Certificates */
    .certificate_listing {
        justify-content: center;
    }

    .property_certificates .section_title {
        text-align: center;
        margin-bottom: 30px;
    }

    /* Quotation */
    .quotation_text {
        flex-direction: column;
        text-align: center;
    }

    .sayhello {
        justify-content: center;
    }

    /* Footer */
    .footer_widget {
        text-align: center;
    }

    .footer_title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .socail_links ul {
        justify-content: center;
    }

    /* Contact */
    .contact-section .col-lg-3 {
        margin-top: 40px;
    }
}

/* Large Mobile (576px to 767px) */
@media (max-width: 767px) {
    /* Sticky Header for Mobile */
    .header-area {
        position: sticky !important;
        top: 0;
        z-index: 999;
        background: var(--secondary-color) !important;
    }
    
    .main-header-area {
        padding: 12px 15px;
    }
    
    .logo {
        padding: 3px 0;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* General */
    section {
        padding: 50px 0;
    }

    .section_title {
        text-align: center;
    }

    .section_title h3 {
        font-size: 1.4rem;
    }

    /* Slider */
    .single_slider {
        min-height: auto;
    }

    .slider_text {
        text-align: center;
        padding: 20px;
    }

    .slider_text h3 {
        font-size: 1.3rem;
    }

    /* About */
    .about_area {
        padding: 40px 0;
    }

    .about_exp {
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
    }

    .about_exp_inner span {
        font-size: 3rem;
    }

    .customer_info {
        justify-content: center;
        gap: 30px;
    }

    /* Products */
    .our_facilitics_area {
        padding: 40px 0;
    }

    .single_feature {
        margin-bottom: 20px;
    }

    /* Shop */
    .row-cols-lg-4 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .filter-options {
        flex-direction: column;
        gap: 10px;
    }

    .select-options {
        width: 100%;
        flex-direction: column;
    }

    .select-featured {
        width: 100%;
    }

    .select-featured select {
        width: 100%;
    }

    .grid-options {
        display: none !important;
    }

    /* Product Details */
    .details-items {
        padding: 20px;
        margin-top: 20px;
    }

    .details-image-vertical {
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        margin-top: 15px;
        order: 2;
    }

    .details-image-vertical > div {
        min-width: 60px;
        flex-shrink: 0;
    }

    .col-lg-2 {
        order: 2;
    }

    .col-lg-10 {
        order: 1;
    }

    /* Cart */
    .cart-table thead {
        display: none;
    }

    .cart-table tbody td {
        display: none;
    }

    .cart-table tbody td:first-child {
        display: table-cell;
        width: 100%;
    }

    .mobile-cart-content {
        display: flex !important;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .cart-checkout-section .col-lg-4 {
        order: -1;
    }

    /* Breadcrumb */
    .bradcam_area {
        padding: 50px 0;
    }

    /* Testimonials */
    .testimonials_area {
        padding: 40px 0 !important;
    }

    /* Contact */
    .contact-title {
        text-align: center;
    }

    .contact-info {
        text-align: center;
        flex-direction: column;
    }

    .contact-info__icon {
        margin: 0 auto 15px;
    }
}

/* Small Mobile (up to 575px) */
@media (max-width: 575px) {
    /* Header */
    .main-header-area {
        padding: 10px 12px;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .mobile-header-icons {
        gap: 8px;
        padding-right: 5px;
    }
    
    .cart-link-mobile {
        width: 36px;
        height: 36px;
        font-size: 20px !important;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 22px;
    }
    
    .mobile-menu-toggle span {
        height: 2.5px;
    }

    /* Slider */
    .slider_text h3 {
        font-size: 1.1rem;
    }

    .slider_text p {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* About */
    .about_exp {
        width: 180px;
        height: 180px;
    }

    .about_exp_inner span {
        font-size: 2.5rem;
    }

    .about_exp_inner p {
        font-size: 0.9rem;
    }

    .info_inner ul li {
        font-size: 0.9rem;
    }

    /* Shop Products */
    .row-cols-2 > * {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 5px;
    }

    .product-box {
        margin-bottom: 10px;
    }

    .product-details {
        padding: 10px;
    }

    .product-details .main-price a {
        font-size: 0.85rem;
    }

    .discount-price,
    .original-price-1 {
        font-size: 0.9rem;
    }

    .original-price {
        font-size: 0.75rem;
    }

    .discount-perc {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* Cart wrap on mobile */
    .product-box .cart-wrap {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 10px;
    }

    .cart-wrap ul {
        justify-content: center;
        padding: 8px 10px;
    }

    .cart-wrap ul li a {
        width: 35px;
        height: 35px;
    }

    /* Product Details */
    .details-image-concept h1 {
        font-size: 1.2rem;
    }

    .price-detail {
        font-size: 1.3rem;
    }

    .qty-box .input-group {
        max-width: 120px;
    }

    .qty-box .btn {
        width: 35px;
        height: 35px;
    }

    .qty-box input {
        height: 35px;
    }

    /* Cart */
    .cart-box {
        padding: 20px 15px;
    }

    .left-side-button {
        flex-direction: column;
        gap: 10px;
    }

    .left-side-button .btn {
        width: 100%;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer_top {
        padding-bottom: 30px;
    }

    .footer_title {
        font-size: 1.1rem;
    }

    .footer_widget p,
    .footer_widget ul li a {
        font-size: 0.85rem;
    }

    .footer_logo img {
        max-width: 120px;
    }

    .socail_links ul li a {
        width: 35px;
        height: 35px;
    }

    /* Buttons */
    .boxed-btn,
    .boxed-btn3 {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .btn-solid-default {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Quotation */
    .sayhello {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .sayhello .icon {
        margin: 0 auto 15px;
    }

    .sayhello .num h3 {
        font-size: 1.3rem;
    }

    /* Contact */
    .form-contact .form-control {
        padding: 12px;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .row-cols-2 > * {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px;
    }

    .product-box {
        max-width: 280px;
        margin: 0 auto 15px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header-area,
    .footer,
    .slicknav_menu,
    .cart-wrap {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .product-box {
        break-inside: avoid;
    }
}

/* ============================================
   Accessibility Improvements
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #cc0000;
        --text-color: #000000;
        --text-light: #333333;
    }

    .product-box,
    .cart-box,
    .details-items {
        border: 2px solid var(--text-color);
    }
}

/* ============================================
   Loading States
   ============================================ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 36, 36, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

.rounded {
    border-radius: var(--border-radius) !important;
}

.rounded-lg {
    border-radius: var(--border-radius-lg) !important;
}

/* Hide on specific breakpoints */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

/* Mobile filter toggle button */
.mobile-filter-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin-bottom: 15px;
    width: 100%;
}

@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: block;
    }
}

/* Category sidebar overlay for mobile */
.category-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.category-overlay.show {
    display: block;
}
