 /* Previous styles remain the same until navbar */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #121212;
    color: #f3f3f3;
    min-height: 100vh;
    overflow-x: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    min-height:60vh;
}

/* Updated navbar styles */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 1rem 2rem;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #eab308;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a, .nav-right a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-right a:hover {
    color: #eab308;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
}

/* Hero Section */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Base background style */
    background: rgba(0, 0, 0, 0.5);
}

/* New Personal Recommendations Section */
.personal-recommendations {
    padding: 4rem 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.recommendations-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.recommendations-title h2 {
    color: #eab308;
    font-size: 2rem;
}

.recommendations-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.recommendation-card {
    min-width: 280px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-10px);
}

.recommendation-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.recommendation-info {
    padding: 1.5rem;
}

.recommendation-info h3 {
    color: #eab308;
    margin-bottom: 0.5rem;
}

.recommendation-info p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.recommendation-price {
    font-size: 1.25rem;
    color: #fff;
    font-weight: bold;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(234, 179, 8, 0.8);
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

.slider-nav:hover {
    background: #eab308;
}


.slide-content {
max-width: 800px;
padding: 2rem;
}

.slide-tag {
color: #eab308;
font-size: 1.2rem;
margin-bottom: 1rem;
opacity: 0;
transform: translateY(20px);
}

.slide.active .slide-tag {
animation: fadeInUp 1s forwards 0.2s;
}

.slide-title {
font-size: 4rem;
color: #ffffff;
margin-bottom: 1rem;
opacity: 0;
transform: translateY(20px);
}

.slide.active .slide-title {
animation: fadeInUp 1s forwards 0.4s;
}

.slide-description {
font-size: 1.5rem;
color: #d1d5db;
margin-bottom: 2rem;
opacity: 0;
transform: translateY(20px);
}

.slide.active .slide-description {
animation: fadeInUp 1s forwards 0.6s;
}

.shop-now-btn {
display: inline-block;
background-color: #eab308;
color: black;
padding: 1rem 2rem;
border-radius: 9999px;
text-decoration: none;
font-weight: bold;
transition: transform 0.2s ease;
opacity: 0;
transform: translateY(20px);
}

.slide.active .shop-now-btn {
animation: fadeInUp 1s forwards 0.8s;
}

.shop-now-btn:hover {
transform: scale(1.05);
background-color: #fbbf24;
}

/* Slider Controls */
.slider-controls {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 1rem;
z-index: 10;
}

.slider-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: background-color 0.3s ease;
}

.slider-dot.active {
background-color: #eab308;
}

.slider-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0.5);
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.5rem;
transition: background-color 0.3s ease;
z-index: 10;
}

.slider-arrow:hover {
background-color: rgba(234, 179, 8, 0.8);
}

.slider-arrow.prev {
left: 2rem;
}

.slider-arrow.next {
right: 2rem;
}

/* Categories Section */
.categories-section {
    padding: 6rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    color: #eab308;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #d1d5db;
    font-size: 1.2rem;
}

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

.category {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
    max-height: 600px;
}

.category:hover {
    transform: scale(1.02);
}

.category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category:hover img {
    transform: scale(1.1);
}

.category-label {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #eab308;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: bold;
    z-index: 2;
}

.category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
}


/* Featured Products */
.featured-products {
    padding: 6rem 2rem;
    background-color: rgba(0, 0, 0, 0.3);
}

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

.product-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    color: #eab308;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #d1d5db;
}

/* Showcase Section */
.showcase-section {
    padding: 6rem 2rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content {
    padding: 2rem;
}

.text-content h2 {
    color: #eab308;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-content p {
    color: #d1d5db;
    margin-bottom: 2rem;
}

.btn {
    background-color: #eab308;
    color: black;
    border: none;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #fbbf24;
}

/* Blog Section */
.blog-section {
    padding: 6rem 2rem;
    background-color: rgba(0, 0, 0, 0.3);
}

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

.blog-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 4rem 2rem;
    backdrop-filter: blur(8px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #eab308;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #eab308;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

@media (max-width: 768px) {
    .showcase-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links, .nav-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
}
/* Product Grid Layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* Card Link Wrapper */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card-link:hover {
    transform: translateY(-10px);
}

/* Product Card Styling */
.product-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.product-card-link:hover .product-card {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image Container with 5:7 Aspect Ratio */
.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 140%; /* 5:7 aspect ratio */
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
}



.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-link:hover .product-image {
    transform: scale(1.05);
}

/* Product Info Section */
.product-info {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
}

.product-name {
    color: #eab308;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Price Layout */
.price-layout {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Top price row */
.price-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.discount-price {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
}

.original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Bottom discount percentage */
.discount-percentage {
    color: #22c55e;
    font-size: 1rem;
    font-weight: 600;
    align-self: flex-end;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: rgba(34, 197, 94, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-name {
        font-size: 1rem;
    }

    .discount-price {
        font-size: 1.2rem;
    }

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

    .discount-percentage {
        font-size: 0.9rem;
    }
}

/* Add to the existing CSS file (home.css) */

.search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
   
  
    padding: 1rem;
    animation: slideDown 0.3s ease-out;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #eab308;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fbbf24;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-submit,
.search-close {
    background: #eab308;
    border: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search-submit:hover,
.search-close:hover {
    background: #fbbf24;
    transform: scale(1.05);
}

.search-close {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
    .search-container {
        padding: 0.5rem;
    }
    
    .search-input {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .search-submit,
    .search-close {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.subcategory-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.subcategory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}.subcategory-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

/* Subcategory Card Base Styles */
.subcategory-card {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

/* Enhanced Offer Badge */
.offer-badge1 {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.subcategory-card:hover .offer-badge {
    transform: rotate(0deg) scale(1.05);
}

/* Add a pseudo-element for extra visual flair */
.offer-badge1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    border-radius: inherit;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .offer-badge1 {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

.image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* This creates a perfect square */
    background-color: rgba(0, 0, 0, 0.2);
}

.subcategory-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image {
    transform: scale(1.05);
}

.subcategory-info {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subcategory-name {
    color: #eab308;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #22c55e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.status-active {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-inactive {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

@media (max-width: 640px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .subcategory-name {
        font-size: 1rem;
    }
}

.no-product{
    text-align: center;
    font-size: 2rem;
    margin : auto auto;
    color: #ef4444;
}

.category-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    z-index: 1000;
}

.category-section {
    padding: 1rem;
}

.category-header {
    color: #eab308;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.category-header a {
    color: inherit;
    text-decoration: none;
}

.subcategory-list {
    list-style: none;
    padding: 0;
}

.subcategory-list li {
    margin: 0.5rem 0;
}

.subcategory-list a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.subcategory-list a:hover {
    color: #eab308;
}

.hidden {
    display: none;
}

/* No Products Message */
/* No Products Found Layout */
.product-grid:empty,
.product-grid:has(.no-products-message) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.no-products-message {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 3rem;
    background: rgba(18, 18, 18, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(234, 179, 8, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
}

.no-products-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #eab308;
    animation: floatIcon 3s ease-in-out infinite;
    display: block;
}

.no-products-message h2 {
    color: #eab308;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-products-message p {
    color: #d1d5db;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .no-products-message {
        padding: 2rem;
        margin: 1rem;
    }
    
    .no-products-icon {
        font-size: 3rem;
    }
    
    .no-products-message h2 {
        font-size: 1.5rem;
    }
    
    .no-products-message p {
        font-size: 1rem;
    }
}
.hi{
    min-height:80vh;
}

/* Custom Scrollbar Styles */
/* For Webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background-color: #121212;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(234, 179, 8, 0.3);
    border-radius: 6px;
    border: 3px solid #121212;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 179, 8, 0.5);
}

::-webkit-scrollbar-corner {
    background: #121212;
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(234, 179, 8, 0.3) rgba(0, 0, 0, 0.3);
}

/* For elements with custom scrollbars */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(234, 179, 8, 0.3) rgba(0, 0, 0, 0.3);
}

.custom-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(234, 179, 8, 0.3);
    border-radius: 4px;
    border: 2px solid #121212;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(234, 179, 8, 0.5);
}
/* Responsive Grid Adjustments */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  /* Responsive Product Grid */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 100%;
  }
  
  /* Improved Mobile Navigation */
  /* Mobile Navbar Adjustments */
@media (max-width: 768px) {
    /* Hide regular nav links on mobile */
    .nav-links {
        display: none;
    }
    
    /* Keep the nav-right visible but modify for mobile */
    .nav-right {
        display: flex;
        gap: 1rem;
    }
    
    /* Create a mobile menu button */
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: #d1d5db;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Style the mobile icons for better touch targets */
    .nav-right a, 
    .nav-right button {
        font-size: 1.25rem;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Optional: Add labels for accessibility */
    .icon-text {
        display: none;
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 2000;
        padding: 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(8px);
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: transparent;
        border: none;
        color: #d1d5db;
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .mobile-menu-links a {
        color: #d1d5db;
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.2s ease;
    }
    
    .mobile-menu-links a:hover {
        color: #eab308;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .nav-right {
        gap: 0.75rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
}
  
  /* Tablets */
  @media (min-width: 769px) and (max-width: 1024px) {
    .categories {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .slide-title {
      font-size: 3rem;
    }
  }
  
  /* Larger Screens */
  @media (min-width: 1025px) {
    .container {
      max-width: 1280px;
      padding: 0 2rem;
    }
  }
  
  /* Fix Image Containers for All Devices */
  .product-image-container {
    position: relative;
    width: 100%;
    padding-top: 140%; /* Maintain 5:7 aspect ratio */
    overflow: hidden;
  }
  
  /* Ensure Menu Works on Touch Devices */
  @media (hover: none) {
    .nav-links a[data-category="true"]:hover + .category-menu,
    .category-menu:hover {
      display: none;
    }
    
    .nav-links a[data-category="true"].touch-active + .category-menu {
      display: grid;
    }
  }