/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Top Navigation Bar */
.top-nav {
    background-color: #000;
    color: #fff;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.top-nav-left, .top-nav-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-nav span {
    cursor: pointer;
}

.help-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
}

/* Main Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
}

/* Logo */
.logo {
    width: 180px;
     
}
.logo img {
    width: 100%;
    height: auto;
}
 

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 16px;
    font-weight: 500;
}

.nav-item {
    cursor: pointer;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #16a34a;
}

.nav-item.dropdown {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.arrow {
    font-size: 12px;
}
.arrowSign {
    font-size: 12px;
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-box input {
    background-color: #f3f4f6;
    padding: 10px 40px 10px 16px;
    border: none;
    border-radius: 8px;
    width: 280px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    box-shadow: 0 0 0 2px #16a34a;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-symbol {
     width: 50px ;
     height: 50px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #fff;
    border: 2px solid #1f2937;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
     
    border-radius: 50%;
    
}

.user-name {
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 160px;
    background: linear-gradient(to right, #fde047, #fb923c, #f97316);
    overflow: hidden;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

.hero-images {
    display: flex;
    gap: 16px;
}

.hero-img {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
}

.hero-text {
    text-align: right;
    color: #fff;
}

.hero-text h2 {
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 4px;
}

.hero-text p {
    font-size: 20px;
    margin-top: 4px;
}

/* Main Content */
.main-content {
    display: flex;
    padding: 32px 24px;
    gap: 24px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Sidebar Filters */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.filters-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filters-header h3 {
    font-size: 28px;
    font-weight: bold;
}

.clear-btn {
    background-color: #dcfce7;
    color: #16a34a;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 24px;
}

.filter-btn {
    background-color: #16a34a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
    justify-content: center;
}

.filter-btn:hover {
    background-color: #15803d;
}

.filter-content {
    margin-left: 8px;
}

.category-title {
    color: #16a34a;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
}

.category-item {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1f2937;
}

.category-item.collapsed {
    font-weight: bold;
    margin-top: 16px;
}

/* Products Section */
.products-section {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.sort-btn {
    background-color: #e5e7eb;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-btn:hover {
    background-color: #d1d5db;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    font-size: 64px;
}

.product-info {
    padding: 12px;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    background-color: #1873f2;
    .child-1{
        flex-grow: 1;
    }
    
}

.category-icon {
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.category-icon img{
    width: 22px;
    height: 22px;
}

.product-category span {
    font-size: 12px;
    color: #02b839;
    font-weight: bold;
}
.cartimg{
    width: 5px;
    height: 5px;
    
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
    min-height: 40px;
}

.product-weight {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-price {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #4ade80;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.add-to-cart-btn img{
    width: 16px;
    height: 16px;
    background-color: #000;
}

.add-to-cart-btn:hover {
    background-color: #22c55e;
}

/* Footer */
.footer {
    background-color: #e5e7eb;
    margin-top: 48px;
    padding: 32px 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1920px;
    margin: 0 auto;
}

.footer-column h4 {
    font-weight: bold;
    font-size: 20px;

    color: #1f2937;
}

.footer-icon {
    width: 50px;
    height: 50px;
}
.footer-column-logo{
    display: flex;
    align-items: center;
    gap: 8px;
     
     
}
.footer-column p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    font-size: 14px;
    margin-bottom: 8px;
    color: #4b5563;
    cursor: pointer;
}

.footer-column ul li:hover {
    color: #16a34a;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d1d5db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: flex;
    gap: 12px;
}

 .social-icon {
    font-size: 30px;
    transition: transform 0.3s, color 0.3s;
    cursor: pointer;
 }

.social-icon:hover {
    transform: scale(1.1);
}
.social-icon:nth-child(1) {
    color: #1877f2;
}
.social-icon:nth-child(2) {
    color: #f21885;
}
.social-icon:nth-child(3) {
    color: #1864f2;
}

.social-icon:nth-child(4) {
    color: #f21818;
}
.social-icon:nth-child(5) {
    color: #1873f2;
}
 

.copyright {
    font-size: 12px;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}