:root {
    --primary-green: #6da32d;
    --hover-green: #5a8a24;
    --light-bg: #f3f8ee;
    --text-gray: #666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.desktop-nav a.active {
  color: #5a8a24; /* Active link color */

}



.desktop-nav a:hover,
.nav-active {
    color: var(--primary-green);
}

.ai-link {
    color: var(--primary-green) !important;
}








/* --- DESKTOP SIZE (Default) --- */
.logo-container {
    /* Large size for desktop monitors */
    width: 200px; 
    height: 75px; 
    
    display: block; 
    margin: 0; 
    float: left;
    cursor: pointer; 
    flex-shrink: 0; /* Prevents layout engines from squishing it */
}

.logo-img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    image-rendering: -webkit-optimize-contrast;
}



/* --- 2. LAPTOPS / LARGE TABLETS (990px and below) --- */
@media screen and (max-width: 990px) {
    .logo-container {
        width: 170px;  /* Slightly smaller for medium screens */
        height: 64px;  
		margin: 0;
    }
}


/* --- MOBILE & TABLET SIZE --- */
/* When the screen is 768px wide or smaller, the logo scales down automatically */
@media screen and (max-width: 768px) {
    .logo-container {
        width: 140px;  /* Scales down smoothly for mobile */
        height: 52px;  /* Keeps the correct aspect ratio */
		margin: 0;
    }
}


/* --- 3. MOBILE SIZE (480px and below) --- */
@media screen and (max-width: 480px) {
    .logo-container {
        width: 120px;  /* Smaller footprint to make room for mobile menu buttons */
        height: 45px;  /* Keeps the aspect ratio perfectly sharp */
		margin: 0;
    }
}




.product-actions {
    display: flex;
    align-items: stretch;
    /* ✅ SAME HEIGHT + ALIGN */
    gap: 10px;
    margin-top: 12px;
}

.product-actions button {
    flex: 1;
    height: 45px;
    padding: 0;
    /* ✅ remove extra space */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    /* ✅ reset */
}

.wishlist-btn {
    position: relative;
    top: 12px;

    height: 45px;
    width: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ccc;
    /* ✅ border added */
    background-color: #fff;
    /* optional clean look */
    border-radius: 4px;
    /* optional slight curve */

    cursor: pointer;
    font-size: 18px;
}

.wishlist-btn:hover {
    border-color: #5a8a24;
    color: #6da32d;
}



.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #5a8a24;
    color: #ffffff;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 50%;
    min-width: 20px;

    text-align: center;
}


.toast {
        visibility: hidden;
        min-width: 250px;
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 5px;
        padding: 16px;
        position: fixed;
        z-index: 9999;
        left: 50%;
        top: 30px;
        transform: translateX(-50%);
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s, visibility 0.3s;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .toast.show {
        visibility: visible;
        opacity: 1;
    }

    .toast.success {
        background-color: #4CAF50;
    }

    .toast.error {
        background-color: #f44336;
    }

    .toast.warning {
        background-color: #ff9800;
    }


/* Hero Section */
.hero-section {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Slider container */
.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Each slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 4s ease;
}

/* Active slide */
.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Dark overlay (removed duplicate flex properties) */
.hero-section::after {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Apply to each text element */
.hero-content h1,
.hero-content p,
.hero-content .tag {
    display: inline-block;
    background: rgba(211, 211, 211, 0.15);
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.hero-content .tag {
    display: inline-block;
    background: #e96531ff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

/* Content stays above */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding-left: 10px;
    color: #fff;
}

/* Text colors */
.hero-content h1,
.hero-content p {
    color: #ffffff;
}

.hero-content .hero-btns {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Bar */
.top-bar {
    background: #f8f8f8;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-gray);
}

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

.shipping-promo {
    color: var(--primary-green);
    font-weight: bold;
    margin-left: 15px;
}

.top-right a {
    text-decoration: none;
    color: inherit;
    margin-left: 15px;
}

.top-right a:hover,
.top-right a:hover i {
    color: var(--primary-green);
}

/* Header Alignment */
.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 160px;
}



.desktop-nav {
    display: flex;
    gap: 50px;
	
}

.desktop-nav a {
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.desktop-nav a:hover,
.nav-active {
    color: var(--primary-green);
}

.ai-link {
    color: var(--primary-green) !important;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.icon-link {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icons i {
    font-size: 15px;
    color: #333 !important;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-icons a:hover i {
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}



.mobile-only {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Search Row */
.search-row {
    margin-top: 20px;
}

.search-wrapper {
    display: flex;
    max-width: 590px;
    margin: 0 auto;
}

.search-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    outline: none;
}

.search-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Content Layout */
.main-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* Sidebar */
.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.category-header {
    background: var(--primary-green);
    color: white;
    padding: 15px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.category-list {
    list-style: none;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.category-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    cursor: pointer;
    color: #555;
}

.category-list li:hover {
    color: var(--primary-green);
    padding-left: 20px;
    transition: 0.3s;
}

.tag {
    background: #fff;
    color: var(--primary-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 48px;
    margin: 20px 0;
    line-height: 1.1;
    color: #eeeeee;
}

.hero-section h1 span {
    color: var(--primary-green);
}

.hero-section p {
color: #eeeeee;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-green {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline { 
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #888;
    font-weight: bold;
}

/* Decorative Shapes */
.shape {
    position: absolute;
    border: 1px solid #dcebc7;
    border-radius: 50%;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.mobile-nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: var(--light-bg);
    color: var(--primary-green);
}

.mobile-nav.active {
    display: flex;
}

/* PRODUCTS SECTION */
.products-section {
    margin-top: 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.products-header h2 {
    font-size: 22px;
    color: #333;
}

.products-header a {
    font-size: 13px;
    text-decoration: none;
    color: var(--primary-green);
    font-weight: bold;
}

/* GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.product-card .sku {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-green);
}

.product-card .price span {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}

.product-card button {
    margin-top: 12px;
    width: 100%;
    padding: 10px;
    border: none;
    background: var(--primary-green);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.info-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card i {
    font-size: 30px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.info-card h4 {
    margin: 10px 0;
    color: #333;
}

.info-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Footer Styles */
.main-footer {
    background-color: #fcfcfc;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.footer-col h3 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.footer-col h3 a:hover {
    color: var(--primary-green);
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    text-align: left;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    width: 100%;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-gray);
    transition: 0.3s;
    display: block;
    margin-bottom: 8px;
}

.footer-col ul a:hover {
    color: var(--primary-green);
}

.footer-col p i {
    margin-right: 8px;
}

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

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
    width: 100%;
}

.product-name {
    line-height: 15px;
    height: 30px;
    overflow: hidden;
}

.stock {
    margin-top: -5px;
    margin-bottom: 5px;
    font-size: 12px;
}

/* ===================== RESPONSIVE BREAKPOINTS ===================== */

/* ===== BELOW 320px NOT SUPPORTED ===== */
.screen-warning {
    display: none;
}

@media (max-width: 319px) {
    body>*:not(.screen-warning) {
        display: none !important;
    }

    .screen-warning {
        display: flex;
        height: 100vh;
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        font-size: 14px;
        font-weight: 600;
        color: #444;
        background: #f5f6fa;
    }
}

/* ===== EXTRA SMALL (Portrait smartphones) < 576px ===== */
@media (min-width: 320px) and (max-width: 575.98px) {
    .container {
        padding: 0 12px;
    }

    /* Top bar adjustments */
    .top-left span:first-child {
        display: none !important;
    }

    .top-left {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .shipping-promo {
        font-size: 14px;
        white-space: nowrap;
        margin-left: 0;
    }

    .top-right a {
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .top-right i {
        font-size: 12px;
    }

    /* Header */
    .header-flex {
        gap: 10px;
        justify-content: space-between;
    }

    .logo {
        font-size: 24px;
    }

    .header-icons i {
        font-size: 20px;
        margin-right: 5px;
    }

    .header-icons {
        gap: 15px;
    }

    .mobile-only {
        display: block;
        font-size: 24px;
    }

    .desktop-nav {
        display: none;
    }

    /* Search */
    .search-row {
        margin-top: 15px;
    }

    .search-wrapper {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }

    .search-wrapper input {
        height: 42px;
        padding: 0 12px;
        font-size: 13px;
        border: none;
        border-radius: 0;
    }

    .search-btn {
        height: 42px;
        padding: 0 16px;
        border-radius: 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    /* Main Layout */
    .main-layout {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 12px;
    }

    .category-header {
        width: 100%;
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
    }

    .category-list {
        display: none;
        margin-top: 8px;
        border-radius: 10px;
    }

    .category-list.active {
        display: block;
    }

    /* Hero - hidden on extra small */
    .hero-section {
        display: none;
    }

    /* Products */
    .products-header {
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 12px;
        border-radius: 12px;
    }

    .product-card img {
        height: 120px;
        border-radius: 8px;
    }

    .product-card h3 {
        font-size: 12px;
        line-height: 1.3;
    }

    .product-card .sku {
        font-size: 11px;
    }

    .product-card .price {
        font-size: 14px;
    }

    .product-card .price span {
        font-size: 11px;
    }

    .product-card button {
        padding: 8px;
        font-size: 12px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px 0;
    }

    /* Footer */
    .main-footer {
        background: #f5f6fa;
        padding: 25px 12px 15px;
        margin-top: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-col {
        background: #ffffff;
        border-radius: 12px;
        padding: 16px;
        align-items: flex-start;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .footer-col h3 {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
        color: #222;
    }

    .footer-col p {
        font-size: 12.5px;
        line-height: 1.6;
        color: #555;
    }

    .footer-col ul li {
        margin-bottom: 6px;
    }

    .footer-col ul a {
        font-size: 13px;
        color: #444;
    }

    .footer-col p i {
        color: var(--primary-green);
        margin-right: 6px;
    }

    .social-links {
        gap: 12px;
        margin-top: 8px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
        background: #f1f1f1;
        border: none;
    }

    .footer-bottom {
        text-align: center;
        font-size: 11.5px;
        color: #777;
        margin-top: 15px;
        padding-top: 10px;
        border-top: none;
    }

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

    .mobile-nav.active {
        display: flex;
    }
}

/* ===== SMALL (Landscape smartphones & large phablets) 576px – 767px ===== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    /* Top bar - show support email in landscape */
    .top-left span:first-child {
        display: inline !important;
    }

        .top-right a {
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

    .top-bar .container {
        justify-content: space-between;
        padding: 5px 15px;
    }

    /* Header */
    .header-flex {
        gap: 40px;
    }


.logo-container {
        width: 120px;  /* Slightly smaller for medium screens */
        height: 50px;  
		margin: 0;
    }



	.search-wrapper {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
}
	
    .mobile-only {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    /* Main Layout */
    .main-layout {
        flex-direction: column;
        gap: 25px;
    }

    .sidebar {
        width: 100%;
    }

    .category-list {
        display: none;
    }

    .category-list.active {
        display: block;
    }

    /* Hero */
    .hero-section {
        padding: 40px 30px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .trust-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col {
        align-items: flex-start;
    }

    .footer-col h3,
    .footer-col p,
    .footer-col li {
        text-align: left;
    }

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

    .mobile-nav.active {
        display: flex;
    }
}

/* ===== MEDIUM (Tablets portrait) 768px – 991px ===== */
@media (min-width: 768px) and (max-width: 990px) {
    .container {
        max-width: 95%;
    }

    /* Header */
    .header-flex {
        gap: 40px;
        justify-content: space-between;
    }



.logo-container {
        width: 100px;  /* Slightly smaller for medium screens */
        height: 50px;  
		margin: 0;
    }


	

          .logo{
            width: auto;
            font-size: 22px;
          }    

                  
  .search-wrapper {
      display: flex;
      max-width: 600px;
      min-width: 470px;
      margin: 0 140px;
  }
    

    .desktop-nav {
        gap: 20px;
        font-size: 12px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
        gap: 20px;
    }

    /* Main Layout */
    .main-layout {
        flex-direction: column;
        gap: 30px;
    }

    .sidebar {
        width: 100%;
    }

    .category-list {
        display: none;
    }

    .category-list.active {
        display: block;
    }

    /* Hero */
    .hero-section {
        padding: 50px 40px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }

    .footer-col {
        align-items: flex-start;
    }

    /* Mobile Navigation - hide on tablets */
    .mobile-nav {
        display: none !important;
    }
}


/* ===== LARGE (Small laptops, Tablets landscape) 992px – 1199px ===== */
@media (min-width: 991px) and (max-width: 1060px) {
    .container {
        max-width: 1060px;
    }

    /* Header */
    .header-flex {
        gap: 160px;
        
    }

   .logo-container {
        width: 130px;  /* Slightly smaller for medium screens */
        height: 50px;  
		margin: 0;
    }

	

    .search-wrapper {
        display: flex;
        min-width: 500px;

        margin: 0 290px;
    }

    



    .desktop-nav {
        gap: 25px;
        
        
    }

    .desktop-nav a{

        font-size: 12px;
    }






    .mobile-only {
        display: none !important;
    }

    

    /* Main Layout - keep row layout */
    .main-layout {
        flex-direction: row !important;
    }

    .sidebar {
        width: 260px !important;
    }

    .category-list {
        display: block !important;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }

    /* Mobile Navigation - hide */
    .mobile-nav {
        display: none !important;
    }
}

/* ===== LARGE (Small laptops, Tablets landscape) 992px – 1199px ===== */
@media (min-width: 1061px) and (max-width: 1199.98px) {
    .container {
        max-width: 1100px;
    }


   .logo-container {
        width: 150px;  /* Slightly smaller for medium screens */
        height: 50px;  
		margin: 0;
    }


	

    /* Header */
    .header-flex {
        gap: 140px;
    }

   .search-wrapper {
       display: flex;
       max-width: 600px;
       
       margin: 0 290px;
   }

       

    .desktop-nav {
        gap: 30px;
        

    }

    .mobile-only {
        display: none !important;
    }

   
    /* Main Layout - keep row layout */
    .main-layout {
        flex-direction: row !important;
    }

    .sidebar {
        width: 260px !important;
    }

    .category-list {
        display: block !important;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }

    /* Mobile Navigation - hide */
    .mobile-nav {
        display: none !important;
    }
}

/* ===== EXTRA LARGE (Standard Desktop) 1200px – 1399px ===== */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1200px;
    }

           .search-wrapper {
               display: flex;
               min-width: 650px;
               margin: 0 290px;
           }

    /* Header */
    .header-flex {
        gap: 150px;
    }

 .logo-container {
        width: 140px;  /* Slightly smaller for medium screens */
        height: 60px;  
		margin: 0;
    }



	
    .desktop-nav {
        gap: 55px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Mobile Navigation - hide */
    .mobile-nav {
        display: none !important;
    }

 
}

/* ===== XXL / ULTRA (Large Desktop & Widescreen) ≥ 1400px ===== */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }


                                 



          .search-wrapper {
              display: flex;
              min-width: 700px;
              margin: 0 290px;
          }

    /* Header */
    .header-flex {
        gap: 95px;
    }

    .desktop-nav {
        gap: 60px;
    }

    /* Hero */
    .hero-section {
        padding: 80px 60px;
    }

    .hero-section h1 {
        font-size: 52px;
    }

    /* Products */
    .products-grid {
        gap: 35px;
    }

    /* Info Grid */
    .info-grid {
        gap: 25px;
    }

    /* Mobile Navigation - hide */
    .mobile-nav {
        display: none !important;
    }
}

/* ===== GENERAL RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
    .top-bar .container {
        justify-content: space-between;
        padding: 5px 15px;
        flex-wrap: wrap;
    }

    .top-left {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
    }

    .top-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* Ensure proper sidebar behavior for desktop */
@media (min-width: 992px) {
    .main-layout {
        flex-direction: row !important;
    }

    .sidebar {
        width: 260px !important;
    }

    .category-list {
        display: block !important;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
    }
}