:root {
    --primary-blue: #1A237E;
    --primary-teal: #00BCD4;
    --accent-orange: #FF5722;
    --light-gray: #F5F7FA;
    --dark-gray: #333333;
    --medium-gray: #757575;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.5rem 2.5rem;
    font-size: 0.8rem;
}

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

.store-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-main {
    padding: 0.3rem 0;
    
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-teal);
}

.search-box {
    flex-grow: 1;
    max-width: 300px;
  
    margin: 0 2rem;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: var(--primary-teal);
    color: rgb(3, 0, 0);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.user-actions i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
nav {
    background-color: var(--primary-blue);
    padding: 0.75rem 0;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    list-style: none;
}

.nav-links li a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-teal);
}

/* Hero section */
.hero {
    height: 500px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-teal));
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding: 2rem;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: white;
}

.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-2px);
}

.hero-image {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 80%;
    max-height: 80%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Categories section */
.categories {
    padding: 3rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-teal);
    margin: 0.5rem auto 0;
}

.category-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.category-card {
    width: calc(16.66% - 1.5rem);
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.category-name {
    font-weight: 600;
}

/* Featured products section */
.featured-products {
    padding: 3rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

.product-image {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.5s;
}

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

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
}

.product-tag.sale {
    background-color: var(--accent-orange);
    color: white;
}

.product-tag.new {
    background-color: var(--primary-teal);
    color: white;
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
}

.product-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-weight: 600;
    color: var(--primary-blue);
}

.old-price {
    text-decoration: line-through;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: gold;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn-add-cart {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-cart:hover {
    background-color: #121858;
}

.btn-quick-view {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-quick-view:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Special offers section */
.special-offers {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.offer-banner {
    background: linear-gradient(to right, var(--primary-blue), var(--primary-teal));
    border-radius: 8px;
    padding: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-content {
    width: 60%;
}

.offer-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.countdown {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    min-width: 60px;
    text-align: center;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.offer-image {
    width: 30%;
    text-align: right;
}

.offer-image img {
    max-width: 100%;
    max-height: 200px;
}

/* About section */
.about-section {
    padding: 3rem 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* Newsletter section */
.newsletter {
    padding: 3rem 0;
    background-color: var(--primary-blue);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-text {
    width: 50%;
}

.newsletter-form {
    width: 45%;
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Footer styles */
footer {
    background-color: #0F143A;
    color: white;
    padding: 3rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-teal);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #B0BEC5;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-icon {
    color: var(--primary-teal);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-teal);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #B0BEC5;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
display: none;
background-color: var(--primary-blue);
color: white;
text-align: center;
padding: 1rem;
cursor: pointer;
}

@media (max-width: 576px) {
.mobile-menu-toggle {
display: block;
}

.nav-links.active {
display: flex;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: var(--primary-blue);
padding: 1rem;
z-index: 100;
}

.nav-links li {
padding: 0.5rem 0;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
}


/* Responsive styles */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-card {
        width: calc(25% - 1.5rem);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .search-box {
        order: 3;
        margin: 1rem 0 0;
        max-width: 100%;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-card {
        width: calc(33.33% - 1.5rem);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .newsletter-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .newsletter-text, .newsletter-form {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        width: calc(50% - 1.5rem);
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .header-main .container {
flex-wrap: nowrap;
}

.logo {
margin-bottom: 0;
}

.search-box {
order: 0;
margin: 0;
max-width: 100%;
position: absolute;
top: 140px;
left: 1rem;
right: 1rem;
display: none;
}

.search-box.active {
display: block;
}

.user-actions {
margin-left: auto;
}
}