    /*
Theme Name: trykisan
Author: You
Version: 1.0
*/

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Top Bar */
        .top-bar {
            background: #2c5f2d;
            color: white;
            padding: 8px 0;
            font-size: 13px;
        }

        .top-bar .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        /* Header */
        /* Header */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #2c5f2d;
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo img{
    height: 60px; /* Reduced from 100px to fit better in one line */
    display: block;
}
.search-bar {
    flex: 1;
    position: relative;
    min-width: 200px; /* Ensure minimum width */
}
.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #2c5f2d;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}
.header-icons {
    display: flex;
    gap: 20px;
    flex-shrink: 0; /* Prevent icons from shrinking */
    white-space: nowrap; /* Keep text in one line */
}
.header-icons a {
    color: #333;
    text-decoration: none;
    position: relative;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b00;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
}
@media (max-width: 480px) {
    .header-main {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .logo img {
        height: 35px; /* Even smaller for very small screens */
    }
    
    .search-bar {
        min-width: 100px;
    }
    
    .search-bar input {
        padding: 6px 30px 6px 8px;
        font-size: 11px;
    }
    
    .search-bar button {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .header-icons {
        gap: 8px;
        font-size: 12px;
    }
    
    /* Hide text on very small screens, show only icons */
    .header-icons a {
        font-size: 18px;
    }
    
    .cart-count {
        padding: 1px 4px;
        font-size: 9px;
    }
}
        /* Navigation */
  .main-nav{
background:linear-gradient(90deg,#2f7d32,#4caf50);
box-shadow:0 3px 12px rgba(0,0,0,.2);
position:relative;
z-index:9999;
}

.nav-container{
max-width:1200px;
margin:auto;
padding:0 20px;
display:flex;
align-items:center;
height:64px;
}

.nav-logo{color:#fff;font-size:20px;font-weight:bold;}

.nav-links{display:flex;margin-left:auto;list-style:none;}

.nav-links li{position:relative;}

.nav-links>li>a{
display:flex;
align-items:center;
height:64px;
padding:0 22px;
color:white;
text-decoration:none;
font-size:15px;
transition:.3s;
}

.nav-links>li:hover>a{background:rgba(255,255,255,.1);}

.dropdown-menu{
position:absolute;
top:100%;
left:0;
background:#fff;
min-width:220px;
box-shadow:0 12px 30px rgba(0,0,0,.15);
border-radius:8px;
overflow:hidden;
opacity:0;
visibility:hidden;
transform:translateY(10px);
transition:.25s;
}

.dropdown-menu li a{
display:block;
padding:12px 16px;
color:#333;
text-decoration:none;
}

.dropdown-menu li a:hover{background:#f1f1f1;}

.dropdown:hover .dropdown-menu{
opacity:1;
visibility:visible;
transform:translateY(0);
}

/* Mobile */
.nav-toggle{
display:none;
margin-left:auto;
font-size:26px;
color:white;
cursor:pointer;
}

@media(max-width:768px){
.nav-toggle{display:block;}

.nav-links{
position:absolute;
top:64px;
left:0;
width:100%;
background:#2f7d32;
flex-direction:column;
display:none;
}

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

.nav-links>li>a{
height:auto;
padding:14px 20px;
border-top:1px solid rgba(255,255,255,.15);
}

.dropdown-menu{
position:static;
background:#388e3c;
box-shadow:none;
border-radius:0;
display:none;
}

.dropdown-menu a{
color:white;
padding-left:40px;
}

.dropdown.active .dropdown-menu{display:block;}
}

        /* Categories Section */
        .categories {
            padding: 60px 0;
            background: #f9f9f9;
        }

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

        .section-title {
            text-align: center;
            font-size: 32px;
            margin-bottom: 40px;
            color: #2c5f2d;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
        }

        .category-card {
            background: white;
            padding: 30px;
            text-align: center;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: 0.3s;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .category-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }

        .category-card h3 {
            font-size: 16px;
            color: #333;
        }

        /* Featured Products */
        .featured-products {
            padding: 60px 0;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .product-card {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            transition: 0.3s;
            cursor: pointer;
        }

        .product-card:hover {
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .product-image {
            width: 100%;
            height: 250px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 80px;
            color: #ccc;
        }

        .product-info {
            padding: 15px;
        }

        .product-category {
            font-size: 12px;
            color: #888;
            text-transform: uppercase;
        }

        .product-name {
            font-size: 16px;
            font-weight: bold;
            margin: 8px 0;
            color: #333;
        }

        .product-price {
            font-size: 20px;
            color: #2c5f2d;
            font-weight: bold;
        }

        .product-old-price {
            text-decoration: line-through;
            color: #999;
            font-size: 14px;
            margin-left: 8px;
        }

        .product-rating {
            margin: 10px 0;
            color: #ffa500;
        }

        .add-to-cart-btn {
            width: 100%;
            padding: 10px;
            background: #2c5f2d;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: 0.3s;
        }

        .add-to-cart-btn:hover {
            background: #1e4620;
        }

        /* Offers Banner */
        .offers-banner {
            padding: 60px 0;
            background: linear-gradient(135deg, #2c5f2d 0%, #4a8f4c 100%);
            color: white;
        }

        .offer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .offer-card {
            background: rgba(255,255,255,0.1);
            padding: 30px;
            border-radius: 10px;
            text-align: center;
        }

        .offer-card h3 {
            font-size: 24px;
            margin-bottom: 10px;
        }

        .offer-card p {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .offer-code {
            background: white;
            color: #2c5f2d;
            padding: 8px 15px;
            border-radius: 5px;
            font-weight: bold;
            display: inline-block;
        }

        /* Services Section */
        .services {
            padding: 60px 0;
            background: #f9f9f9;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .service-card {
            text-align: center;
            padding: 30px;
        }

        .service-icon {
            font-size: 50px;
            color: #2c5f2d;
            margin-bottom: 20px;
        }

        .service-card h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .service-card p {
            color: #666;
            font-size: 14px;
        }

        /* Testimonials */
        .testimonials {
            padding: 60px 0;
            background: white;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .testimonial-card {
            background: #f9f9f9;
            padding: 30px;
            border-radius: 10px;
            border-left: 4px solid #2c5f2d;
        }

        .testimonial-text {
            font-style: italic;
            color: #666;
            margin-bottom: 20px;
            font-size: 15px;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #2c5f2d;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
        }

        .author-info h4 {
            font-size: 16px;
            margin-bottom: 3px;
        }

        .author-info p {
            font-size: 13px;
            color: #888;
        }

        /* Newsletter */
        .newsletter {
            padding: 60px 0;
            background: #2c5f2d;
            color: white;
            text-align: center;
        }

        .newsletter h2 {
            font-size: 32px;
            margin-bottom: 15px;
        }

        .newsletter p {
            font-size: 16px;
            margin-bottom: 30px;
        }

        .newsletter-form {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
            gap: 10px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 5px;
            font-size: 14px;
        }

        .newsletter-form button {
            padding: 12px 30px;
            background: #ff6b00;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
            transition: 0.3s;
        }

        .newsletter-form button:hover {
            background: #e55a00;
        }

        /* Blog Section */
        .blog {
            padding: 60px 0;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .blog-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: 0.3s;
            cursor: pointer;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .blog-image {
            width: 100%;
            height: 200px;
            background: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            color: #aaa;
        }

        .blog-content {
            padding: 20px;
        }

        .blog-date {
            font-size: 12px;
            color: #888;
            margin-bottom: 10px;
        }

        .blog-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }

        .blog-excerpt {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
        }
        
        /* Categories Section */
/*nav {*/
/*            background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);*/
/*            box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
/*        }*/

/*        .nav-container {*/
/*            max-width: 1200px;*/
/*            margin: 0 auto;*/
/*            display: flex;*/
/*            align-items: center;*/
/*            justify-content: center;*/
/*        }*/

/*        .nav-item {*/
/*            position: relative;*/
/*            padding: 20px 25px;*/
/*            cursor: pointer;*/
/*            transition: background 0.3s ease;*/
/*            color: white;*/
/*            font-size: 16px;*/
/*            font-weight: 500;*/
/*        }*/

/*        .nav-item:hover {*/
/*            background: rgba(255,255,255,0.1);*/
/*        }*/

/*        .dropdown {*/
/*            display: none;*/
/*            position: absolute;*/
/*            top: 100%;*/
/*            left: 0;*/
/*            background: white;*/
/*            min-width: 200px;*/
/*            box-shadow: 0 4px 15px rgba(0,0,0,0.15);*/
/*            border-radius: 0 0 8px 8px;*/
/*            z-index: 1000;*/
/*            animation: slideDown 0.3s ease;*/
/*        }*/

/*        @keyframes slideDown {*/
/*            from {*/
/*                opacity: 0;*/
/*                transform: translateY(-10px);*/
/*            }*/
/*            to {*/
/*                opacity: 1;*/
/*                transform: translateY(0);*/
/*            }*/
/*        }*/

/*        .nav-item:hover .dropdown {*/
/*            display: block;*/
/*        }*/

/*        .dropdown-item {*/
/*            padding: 12px 20px;*/
/*            color: #333;*/
/*            transition: all 0.2s ease;*/
/*            border-bottom: 1px solid #f0f0f0;*/
/*        }*/

/*        .dropdown-item:last-child {*/
/*            border-bottom: none;*/
/*        }*/

/*        .dropdown-item:hover {*/
/*            background: #f5f5f5;*/
/*            color: #2e7d32;*/
/*            padding-left: 25px;*/
/*        }*/

/*        .arrow {*/
/*            margin-left: 5px;*/
/*            font-size: 12px;*/
/*            transition: transform 0.3s ease;*/
/*        }*/

/*        .nav-item:hover .arrow {*/
/*            transform: rotate(180deg);*/
/*        }*/

/*        @media (max-width: 768px) {*/
/*            .nav-container {*/
/*                flex-direction: row;*/
/*                align-items: stretch;*/
/*            }*/

/*            .nav-item {*/
/*                text-align: center;*/
/*                border-bottom: 1px solid rgba(255,255,255,0.1);*/
/*                font-size:15px;*/
/*            }*/

/*            .dropdown {*/
/*                position: static;*/
/*                box-shadow: none;*/
/*                background: rgba(255,255,255,0.95);*/
/*                border-radius: 0;*/
/*            }*/
/*        }*/

/* Responsive */
/*@media (max-width: 1400px) {*/
/*    .category-grid {*/
/*        grid-template-columns: repeat(5, 1fr);*/
/*    }*/

/*    .category-image-wrapper {*/
/*        width: 160px;*/
/*        height: 160px;*/
/*    }*/
/*}*/

/*@media (max-width: 1200px) {*/
/*    .category-grid {*/
/*        grid-template-columns: repeat(4, 1fr);*/
/*    }*/
/*    .section-title {*/
/*        font-size: 2.5rem;*/
/*    }*/
/*}*/

/*@media (max-width: 992px) {*/
/*    .category-grid {*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*    }*/

/*    .category-image-wrapper {*/
/*        width: 150px;*/
/*        height: 150px;*/
/*    }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .section-title {*/
/*        font-size: 2rem;*/
/*    }*/

/*    .category-grid {*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*    }*/

/*    .category-image-wrapper {*/
/*        width: 120px;*/
/*        height: 120px;*/
/*    }*/

/*    .category-name {*/
/*        font-size: 1rem;*/
/*    }*/
/*}*/

/*@media (max-width: 576px) {*/
/*    .category-grid {*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*    }*/

/*    .section-title {*/
/*        font-size: 1.75rem;*/
/*    }*/

/*    .category-image-wrapper {*/
/*        width: 140px;*/
/*        height: 140px;*/
/*    }*/
/*}*/

/*@media (max-width: 400px) {*/
/*    .category-image-wrapper {*/
/*        width: 120px;*/
/*        height: 120px;*/
/*    }*/
/*}*/


         //Footer 
        footer {
            background: #1a1a1a;
            color: #ccc;
            padding: 50px 0 20px;
        }

footer .container{
    background: rgb(61, 149, 64);
}
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-col h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 18px;
        }

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

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

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            font-size: 14px;
            transition: 0.3s;
        }

        .footer-col ul li a:hover {
            color: white;
        }

        .footer-col p {
            font-size: 14px;
            line-height: 1.8;
        }

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

        .social-icons a {
            width: 40px;
            height: 40px;
            background: #333;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            text-decoration: none;
            transition: 0.3s;
        }

        .social-icons a:hover {
            background: #2c5f2d;
        }

        .footer-bottom {
            border-top: 1px solid #333;
            padding-top: 20px;
            text-align: center;
            font-size: 14px;
        }

        .payment-methods {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .payment-methods span {
            padding: 5px 15px;
            background: #333;
            border-radius: 5px;
            font-size: 12px;
        }

         Mobile Menu Toggle 
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

         Responsive 
        @media (max-width: 768px) {
            .header-main {
                flex-wrap: wrap;
            }

            .search-bar {
                order: 3;
                width: 100%;
                margin: 15px 0 0 0;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li a {
                padding: 12px 20px;
            }

            .slide-content h1 {
                font-size: 32px;
            }

            .slide-content p {
                font-size: 16px;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .top-bar .container {
                flex-direction: column;
                text-align: center;
                gap: 5px;
            }
        }
        
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* Hero Main Banner */
.hero-main {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #388E3C;
    color: white;
    box-shadow: 0 4px 6px rgba(56, 142, 60, 0.3);
}

.btn-primary:hover {
    background-color: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(56, 142, 60, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #388E3C;
    transform: translateY(-2px);
}

/* Value Proposition Bar */
.hero-value-props {
    background-color: #F8F8F8;
    padding: 50px 20px;
     width: 100%;
    display: block;
    position: relative;
    z-index: 1; /* Ensure it's below slider but in normal flow */
    margin-top: 28rem; /* No gap between sections */
    
}

.value-props-container {
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-prop-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.value-prop-item:hover {
    transform: translateY(-5px);
}

.value-prop-icon {
    font-size: 3rem;
    color: #388E3C;
    margin-bottom: 15px;
}

.value-prop-item h3 {
    font-size: 1.1rem;
    color: #333333;
    font-weight: 600;
    line-height: 1.4;
     margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .value-props-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-main {
        min-height: 500px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 28px;
    }
    .value-props-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .value-prop-icon {
        font-size: 2.5rem;
    }
}

/* ----- YOUR FULL CSS FROM HTML GOES HERE ----- */


/* responsive carousel improvements */
.container { max-width: 1400px; margin: 0 auto; box-sizing: border-box; padding: 0 12px; }

:root {
  --gap: 16px;            /* space between cards */
  --slide-gap: 20px;      /* gap between slides if used */
}

/* base */
.carousel-wrapper { position: relative; }
.carousel-container { overflow: hidden; position: relative; }
.carousel-track { display: flex; transition: transform 0.5s ease; gap: var(--slide-gap); }

/* each slide fills viewport width */
.carousel-slide {
  display: flex;
  gap: var(--gap);
  min-width: 100%;
  box-sizing: border-box;
  padding: 8px 0;
  align-items: stretch;
}

/* product card default (desktop) - show 5 cards per slide */
.product-card {
  flex: 0 0 calc((100% - (4 * var(--gap))) / 5); /* 5 cards per slide */
  max-width: calc((100% - (4 * var(--gap))) / 5);
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* responsive image: keeps aspect ratio and scales */
.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;   /* keeps consistent height proportional to width */
  object-fit: cover;
  background: #f0f0f0;
}

/* product info keeps same padding */
.product-info { padding: 16px; flex-grow: 1; display: flex; flex-direction: column; }

/* nav buttons: keep inside container (no negative offsets) */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #22c55e;
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.3s;
}

/* nudge buttons inside edges */
.nav-button.prev { left: 8px; }
.nav-button.next { right: 8px; }

/* dots */
.dots-container { margin-top: 18px; display:flex; justify-content:center; gap:10px; }

/* =========================
   Breakpoints
   - Desktop: 5 cards (default)
   - Tablet: 3 cards
   - Small tablet / large phone: 2 cards
   - Mobile: 1 card (stacked)
   ========================= */

/* Large screens (>= 1200px) keep 5 cards - already default above */

/* Tablet */
@media (max-width: 1024px) {
  .product-card {
    flex: 0 0 calc((100% - (2 * var(--gap))) / 3); /* 3 cards per slide */
    max-width: calc((100% - (2 * var(--gap))) / 3);
  }
  .product-image { aspect-ratio: 4 / 3; height: auto; }
}

/* Small tablet / large phone */
@media (max-width: 720px) {
  .product-card {
    flex: 0 0 calc((100% - var(--gap)) / 2); /* 2 cards per slide */
    max-width: calc((100% - var(--gap)) / 2);
  }
  .nav-button { width: 40px; height: 40px; font-size: 20px; }
  .product-image { aspect-ratio: 16 / 10; }
}

/* Mobile */
@media (max-width: 420px) {
  .product-card {
    flex: 0 0 100%;   /* 1 card per slide - fills slide */
    max-width: 100%;
  }
  .product-info { padding: 12px; }
  .product-title { font-size: 15px; min-height: 40px; }
  .product-image { aspect-ratio: 16 / 10; height: auto; }
  .nav-button.prev { left: 6px; }
  .nav-button.next { right: 6px; }
  .discount-badge { top: 10px; left: 10px; padding: 6px 12px; font-size: 13px; }
}
        <-----hero-slider------>
        
       .hero-slider {
    width: 100%;
    height: 90vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: block; /* ADD THIS */
    margin-bottom: 0; /* ADD THIS */
    margin-top: 5px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
       z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 3; /* ADD THIS - keeps content above overlay */
    width: 90%; /* ADD THIS */
    max-width: 1200px; /* ADD THIS */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Stronger shadow */
}

.hero-content p {
    font-size: 18px;
       text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Stronger shadow */
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
}


/* ALL OTHER CSS... */