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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFFFFF;
    line-height: 1.6;
    color: #1A1A2E;
}

/* Header Styles */
.header {
    background-color: #FFFFFF;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eagle-logo {
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logomain {
    width: 60px;
    height: 60px;
}

.search-container {
    flex: 1;
    max-width: 200px;
    margin: 0 10px;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.3s ease;
    background: #F5F5F5;
    color: #1A1A2E;
}

.search-box:focus {
    border-color: #007BFF;
    background: #FFFFFF;
}

.brand-title {
    font-size: 20px;
    font-weight: 600;
    color: #1A1A2E;
    letter-spacing: 0.8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    padding: 8px;
    border-radius: 6px;
    position: relative;
}

.nav-item {
    padding: 8px 15px;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A2E;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: #F5F5F5;
    color: #007BFF;
    transform: translateY(-1px);
}

.nav-item.active {
    background: #F5F5F5;
    border-color: #007BFF;
    color: #007BFF;
}

.nav-item.shop {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 180px;
    z-index: 1000;
}

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

.dropdown-item {
    display: block;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A2E;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #F5F5F5;
    color: #007BFF;
}

.language-selector {
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #FFFFFF;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #1A1A2E;
}

.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 30px;
    letter-spacing: 0.8px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #007BFF;
    border-radius: 1px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    justify-content: start;
}

.product-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #F5F5F5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
}

.product-card.hidden {
    display: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
    align-self: center;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A2E;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    color: #1A1A2E;
    font-weight: 700;
    margin-bottom: 12px;
}

.add-to-cart-btn {
    padding: 8px 15px;
    background: #8B6F47;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover:not(:disabled) {
    background: #6B4E31;
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.load-more-btn {
    padding: 10px 20px;
    background: #007BFF;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.social-icons {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    background: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.social-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background: #F5F5F5;
}

.footer {
    background: #FFFFFF;
    padding: 40px 0 15px;
    border-top: 3px solid #F5F5F5;
    margin-top: 60px;
    color: #1A1A2E;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.newsletter-box {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-left: 0;
}

.newsletter-title {
    font-size: 18px;
    font-weight: bold;
    color: #1A1A2E;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.newsletter-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #F5F5F5;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    margin-bottom: 12px;
    background: #FFFFFF;
    color: #1A1A2E;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #007BFF;
}

.subscribe-btn {
    width: 100%;
    padding: 10px;
    background: #1A1A2E;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #007BFF;
    transform: translateY(-2px);
}

.footer-divider {
    width: 1px;
    height: 80px;
    background: #F5F5F5;
    margin: 0 20px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-link {
    font-size: 13px;
    color: #1A1A2E;
    text-decoration: none;
    font-weight: medium;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007BFF;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 11px;
    color: #1A1A2E;
    width: 100%;
}

/* Media Queries for Responsiveness */

/* Small Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
    }

    .search-container {
        max-width: 100%;
        margin: 0;
    }

    .brand-title {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .nav-item {
        padding: 6px 12px;
        font-size: 12px;
    }

    .dropdown {
        width: 100%;
        min-width: 150px;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 6px 12px;
    }

    .language-selector {
        padding: 6px 8px;
        font-size: 12px;
    }

    .main-content {
        margin: 20px auto;
        padding: 0 10px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .section-title::after {
        width: 40px;
        height: 2px;
    }

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

    .product-card {
        min-height: 240px;
        padding: 12px;
    }

    .product-image {
        width: 100px;
        height: 100px;
    }

    .product-title {
        font-size: 13px;
    }

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

    .add-to-cart-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .load-more-container {
        margin: 15px 0;
    }

    .load-more-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .social-icons {
        right: 8px;
        gap: 6px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .social-icon img {
        width: 22px;
        height: 22px;
    }

    .footer {
        padding: 30px 0 10px;
        margin-top: 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .newsletter-box {
        max-width: 100%;
        padding: 15px;
    }

    .newsletter-title {
        font-size: 16px;
    }

    .newsletter-input {
        padding: 8px 12px;
        font-size: 12px;
    }

    .subscribe-btn {
        padding: 8px;
        font-size: 12px;
    }

    .footer-divider {
        display: none;
    }

    .footer-links {
        align-items: center;
        text-align: center;
    }

    .footer-link {
        font-size: 12px;
    }

    .copyright {
        font-size: 10px;
    }
}

/* Tablet Devices (576px to 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
    }

    .search-container {
        max-width: 250px;
        margin: 0 10px;
    }

    .brand-title {
        font-size: 20px;
    }

    .nav-menu {
        gap: 8px;
    }

    .nav-item {
        padding: 7px 14px;
        font-size: 13px;
    }

    .dropdown {
        min-width: 180px;
    }

    .dropdown-item {
        font-size: 13px;
        padding: 7px 14px;
    }

    .main-content {
        margin: 25px auto;
    }

    .section-title {
        font-size: 26px;
    }

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

    .product-card {
        min-height: 280px;
    }

    .product-image {
        width: 130px;
        height: 130px;
    }

    .load-more-container {
        margin: 20px 0;
    }

    .load-more-btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .social-icons {
        right: 10px;
        gap: 8px;
    }

    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .newsletter-box {
        max-width: 300px;
    }

    .footer-divider {
        display: block;
    }
}

/* Laptop Devices (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .header-container {
        padding: 15px;
    }

    .search-container {
        max-width: 300px;
    }

    .brand-title {
        font-size: 22px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-item {
        padding: 8px 16px;
        font-size: 14px;
    }

    .dropdown {
        min-width: 200px;
    }

    .dropdown-item {
        font-size: 14px;
        padding: 8px 16px;
    }

    .main-content {
        margin: 30px auto;
    }

    .section-title {
        font-size: 30px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .product-card {
        min-height: 290px;
    }

    .product-image {
        width: 140px;
        height: 140px;
    }

    .load-more-container {
        margin: 25px 0;
    }

    .footer-container {
        gap: 25px;
    }
}

/* Large Screens (992px and above) */
@media (min-width: 992px) {
    .header {
        padding: 20px 0;
    }

    .header-container {
        flex-wrap: nowrap;
        padding: 0 20px;
    }

    .search-container {
        max-width: 250px;
        margin: 0 20px;
    }

    .brand-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .nav-menu {
        gap: 10px;
        padding: 10px;
    }

    .nav-item {
        padding: 10px 20px;
        font-size: 14px;
    }

    .dropdown {
        min-width: 200px;
    }

    .dropdown-item {
        font-size: 14px;
        padding: 10px 20px;
    }

    .language-selector {
        padding: 8px 12px;
        font-size: 14px;
    }

    .main-content {
        margin: 40px auto;
        padding: 0 20px;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .section-title::after {
        width: 60px;
        bottom: -10px;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 60px;
    }

    .product-card {
        min-height: 300px;
        padding: 20px;
    }

    .product-image {
        width: 150px;
        height: 150px;
    }

    .product-title {
        font-size: 16px;
    }

    .product-price {
        font-size: 18px;
    }

    .add-to-cart-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .load-more-container {
        margin: 30px 0;
    }

    .social-icons {
        right: 15px;
        gap: 10px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }

    .footer {
        padding: 60px 0 20px;
        margin-top: 100px;
        border-top: 4px solid #F5F5F5;
    }

    .footer-container {
        gap: 20px;
        padding: 0 20px;
    }

    .newsletter-box {
        max-width: 350px;
        padding: 30px;
        margin-left: 50px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-input {
        padding: 12px 20px;
        font-size: 14px;
    }

    .subscribe-btn {
        padding: 12px;
        font-size: 14px;
    }

    .footer-divider {
        height: 100px;
        margin: 0 30px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-link {
        font-size: 14px;
    }

    .copyright {
        font-size: 12px;
        margin-top: 40px;
    }
}
/* Modal Styles */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex; /* Use flexbox for centering */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    position: absolute; /* Use absolute positioning for precise centering */
    top: 50%; /* Move to 50% from top */
    left: 50%; /* Move to 50% from left */
    transform: translate(-50%, -50%); /* Shift back by half its size */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #1A1A2E;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #007BFF;
}

.modal-product {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%; /* Ensure it respects parent width */
}

.modal-product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.modal-details {
    flex: 1;
    text-align: left;
    width: 100%; /* Ensure it fills available space */
}

.modal-product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A2E;
    margin-bottom: 12px;
}

.modal-price-container {
    margin-bottom: 12px;
}

.modal-product-price {
    font-size: 16px;
    color: #1A1A2E;
    font-weight: 700;
    margin-right: 10px;
}

.modal-validity-dropdown {
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    color: #1A1A2E;
    background: #FFFFFF;
    transition: border-color 0.3s ease;
}

.modal-validity-dropdown:focus {
    border-color: #007BFF;
    outline: none;
}

.modal-quantity-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.quantity-btn {
    padding: 5px 10px;
    background: #8B6F47;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover:not(:disabled) {
    background: #6B4E31;
}

.quantity-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.modal-quantity {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A2E;
}

.add-to-cart-confirm {
    padding: 10px 20px;
    background: #1A1A2E;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-confirm:hover {
    background: #007BFF;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .modal-content {
        padding: 15px;
        width: 95%;
    }

    .modal-product {
        flex-direction: column;
        text-align: center;
    }

    .modal-product-image {
        width: 100px;
        height: 100px;
    }

    .modal-product-title {
        font-size: 16px;
    }

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

    .modal-validity-dropdown {
        padding: 6px;
        font-size: 12px;
    }

    .quantity-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .modal-quantity {
        font-size: 14px;
    }

    .add-to-cart-confirm {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .modal-content {
        padding: 18px;
    }

    .modal-product-image {
        width: 110px;
        height: 110px;
    }

    .modal-product-title {
        font-size: 17px;
    }

    .modal-product-price {
        font-size: 15px;
    }
}
/* Success Modal Styles */
.success-modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.success-modal-content {
    position: relative;
    background: #FFFFFF;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    margin: auto;
}

.success-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 20px;
    color: #1A1A2E;
    cursor: pointer;
    transition: color 0.3s ease;
}

.success-modal-close:hover {
    color: #007BFF;
}.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1A1A2E;
    padding: 8px;
}

/* For mobile screens */
@media (max-width: 576px) {
    .header-container {
        display: flex;
        flex-direction: column;
        padding: 10px 15px;
        position: relative;
    }

    /* Create a flex container for the top row */
    .header-top-row {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .logo {
        flex: 0 0 auto;
        width: 40px;
    }

    .brand-title {
        flex: 1;
        text-align: center;
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
    }

    .mobile-menu-btn {
        display: block;
        flex: 0 0 auto;
        width: 40px;
    }

    /* Search box below */
    .search-container {
        width: 100%;
        margin-top: 10px;
    }

    /* Navigation menu */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 15px;
        z-index: 99;
    }
    
    /* Rest of your existing mobile styles... */

    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
    }
    
    .dropdown {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        width: 100%;
    }
    
    .nav-item.shop .dropdown,
    .nav-item.more .dropdown {
        display: none;
    }
    
    .nav-item.shop.active .dropdown,
    .nav-item.more.active .dropdown {
        display: block;
    }
}

/* Ensure logo image fits its container */


/* Product grid adjustments */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-card {
        min-height: 180px;
        padding: 12px;
    }
    
    .product-icon {
        width: 56px;
        height: 56px;
    }
    
    .product-icon img {
        width: 100%;
        height: 100%;
    }
    
    .product-title {
        font-size: 13px;
        margin: 8px 0;
    }
    
    .product-price {
        font-size: 15px;
    }
    /* Categories grid */
    .categories-grid,
    .categories-grid-row2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 4px;
        margin: 12px 0;
    }
    
    .category-card {
        padding: 12px;
        min-height: 120px;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }
    
    .category-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .category-title {
        font-size: 12px;
        line-height: 1.3;
    }

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

/* Tablet (577-768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .categories-grid, 
    .categories-grid-row2 {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .category-card {
        min-height: 160px;
        padding: 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
}

@media(min-width: 1025px){
    .logo{
        margin-left: -80px;
        margin-bottom: -30px;
    }
}