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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, .brand {
    font-family: 'Poppins', sans-serif;
}

/* --- HEADER --- */
header {
    background: #4EA1FF;
    color: white;
    position: relative;
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(78, 161, 255, 0.25);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.brand {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    letter-spacing: -0.02em;
}

.brand-icon-svg {
    display: inline-block;
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon-svg {
    transform: rotate(-10deg) scale(1.1);
}

nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.cart-btn {
    background-color: #f59e0b;
    color: #0f172a;
    padding: 8px 18px;
    border-radius: 9999px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.cart-btn:hover {
    background-color: #fbbf24;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.cart-badge {
    background-color: #0f172a;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* --- MAIN CONTENT --- */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #4EA1FF;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(78, 161, 255, 0.2);
    border-color: #4EA1FF;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4EA1FF;
    margin-bottom: 16px;
}

.add-to-cart {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.add-to-cart:hover {
    background-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* --- FOOTER --- */
footer {
    background: #4EA1FF;
    position: relative;
    padding: 60px 32px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
}

.footer-duck-img {
    width: 70px;
    height: auto;
}

.duck-left {
    transform: translateY(22px);
}

.duck-right {
    transform: translateY(-22px);
}
