body { font-family: "Roboto", Arial, sans-serif; margin: 0; background: #f8fafc; color: #222; }
.navbar {
    background: #fff;
    color: #222;
    padding: 1.2em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(45,108,223,0.07);
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar .logo {
    font-weight: bold;
    font-size: 2em;
    letter-spacing: 2px;
    color: #2d6cdf;
    margin-right: 2em;
    flex: 1 1 auto;
    text-align: left;
}
.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.navbar .nav-links a {
    color: #222;
    text-decoration: none;
    margin: 0 0.7em;
    font-weight: 500;
    font-size: 1.08em;
    padding: 0.4em 0.2em;
    position: relative;
    transition: color 0.2s;
}
.navbar .nav-links a::after {
    content: "";
    display: block;
    height: 2.5px;
    width: 0;
    background: #2d6cdf;
    border-radius: 2px;
    transition: width 0.25s;
    position: absolute;
    left: 0;
    bottom: -4px;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #2d6cdf;
}
.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after {
    width: 100%;
}
.navbar .cart {
    position: relative;
    margin-left: 1.5em;
    font-size: 1.5em;
    color: #2d6cdf;
    cursor: pointer;
    transition: color 0.2s;
}
.navbar .cart:hover {
    color: #1b4fa0;
}
.navbar .cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.18em 0.55em;
    box-shadow: 0 2px 8px rgba(231,76,60,0.15);
}
.hero {
    background: linear-gradient(120deg, rgba(45,108,223,0.85) 0%, rgba(224,231,255,0.85) 100%), url('https://images.unsplash.com/photo-1512436991641-6745cdb1723f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    padding: 4em 2em 3em 2em;
    text-align: center;
    margin-bottom: 2em;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(45,108,223,0.12);
    position: relative;
    overflow: hidden;
    color: #fff;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}
.hero h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px rgba(45,108,223,0.18);
}
.hero p {
    font-size: 1.35em;
    color: #e0e7ff;
    margin-bottom: 2em;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(45,108,223,0.10);
}
.hero .cta {
    background: linear-gradient(90deg, #2d6cdf 60%, #4f8cff 100%);
    color: #fff;
    padding: 1em 2.5em;
    border: none;
    border-radius: 30px;
    font-size: 1.25em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(45,108,223,0.18);
    font-weight: 800;
    letter-spacing: 1.5px;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.2em;
}
.hero .cta:hover {
    background: linear-gradient(90deg, #1b4fa0 60%, #2d6cdf 100%);
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 8px 32px rgba(45,108,223,0.22);
}
.container { max-width: 1200px; margin: 2em auto; padding: 0 2em; }
.section-title { color: #2d6cdf; margin-top: 2.5em; margin-bottom: 0.7em; font-size: 1.5em; font-weight: 700; letter-spacing: 1px; }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.2em;
    margin-bottom: 2.5em;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1em 0.5em 0.7em 0.5em;
    border-radius: 12px;
    color: #222;
    font-weight: 700;
    font-size: 1.05em;
    cursor: pointer;
    border: 1.5px solid #e0e7ef;
    background: #fff;
    box-shadow: none;
    transition: box-shadow 0.18s, background 0.18s, transform 0.15s, color 0.15s;
    position: relative;
    min-height: 80px;
}
.category-card .icon {
    font-size: 2em;
    margin-bottom: 0.3em;
    filter: none;
}
.category-card:hover, .category-card:focus {
    background: #f0f6ff;
    box-shadow: 0 4px 18px rgba(45,108,223,0.10);
    color: #2d6cdf;
    transform: translateY(-4px) scale(1.08);
}
.category-card.selected {
    color: #2d6cdf;
    border: 1.5px solid #2d6cdf;
    background: #f0f6ff;
}
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2em; }
.product { background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(45,108,223,0.07); padding: 1.2em; position: relative; transition: transform 0.15s, box-shadow 0.15s; display: flex; flex-direction: column; align-items: center; }
.product:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 6px 24px rgba(45,108,223,0.13); }
.product img {
    width: 100%;
    max-width: 180px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1em;
}
.product .name { font-size: 1.15em; margin: 0.5em 0 0.2em 0; font-weight: 700; text-align: center; }
.product .price { color: #27ae60; font-weight: bold; font-size: 1.1em; }
.product .old-price { color: #888; text-decoration: line-through; margin-left: 0.5em; font-size: 0.95em; }
.product .sale { position: absolute; top: 1em; left: 1em; background: #e74c3c; color: #fff; padding: 0.2em 0.7em; border-radius: 4px; font-size: 0.9em; font-weight: 500; letter-spacing: 1px; }
.product-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    margin-top: 1em;
    width: 100%;
}
.product button {
    flex: 0 0 auto;
    width: auto;
    min-width: 44px;
    max-width: 56px;
    padding: 0.6em 0.6em;
    background: #2d6cdf;
    color: #fff;
    border: 1.5px solid #2d6cdf;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    order: 2;
}
.product button:hover {
    background: #1b4fa0;
    color: #fff;
}
.product .detail-btn {
    flex: 1 1 0%;
    width: 100%;
    padding: 0.6em 1.2em;
    background: #fff;
    color: #2d6cdf;
    border: 1.5px solid #2d6cdf;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: block;
    order: 1;
}
.product .detail-btn:hover {
    background: #2d6cdf;
    color: #fff;
}
.footer {
    background: #181d2a;
    color: #fff;
    padding: 3em 2em 1.5em 2em;
    margin-top: 3em;
    font-size: 1.05em;
    letter-spacing: 1px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 24px rgba(45,108,223,0.10);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto 1.5em auto;
}
.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
}
.footer-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #2d6cdf;
    margin-bottom: 0.7em;
    letter-spacing: 2px;
}
.footer-links, .footer-contact, .footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-contact li {
    margin-bottom: 0.5em;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #2d6cdf;
}
.footer-social {
    display: flex;
    gap: 1em;
    margin-top: 0.5em;
}
.footer-social a {
    color: #fff;
    font-size: 1.4em;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #2d6cdf;
}
.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 0.98em;
    margin-top: 1.5em;
}
@media (max-width: 900px) { .categories-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); } .footer-content { flex-direction: column; gap: 1.5em; } }
@media (max-width: 600px) {
    .container { padding: 0 0.5em; }
    .categories-grid { gap: 0.5em; }
    .hero { padding: 2em 0.5em 1em 0.5em; }
    .navbar { flex-direction: column; align-items: flex-start; padding: 1em 0.5em; }
    .navbar .logo { margin-bottom: 0.7em; }
    .navbar .nav-links { display: none !important; }
    .footer-content { flex-direction: column; gap: 1em; padding: 0; }
    .footer { padding: 2em 0.5em 1em 0.5em; }
}
.search-bar-home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin: 1.5em auto 0.5em auto;
    max-width: 480px;
    background: rgba(255,255,255,0.18);
    border-radius: 32px;
    box-shadow: 0 2px 12px rgba(45,108,223,0.10);
    padding: 0.3em 0.7em;
    position: relative;
}
.search-input-home {
    flex: 1 1 0%;
    padding: 0.9em 1.2em 0.9em 2.5em;
    border: none;
    border-radius: 32px;
    font-size: 1.1em;
    background: rgba(255,255,255,0.85);
    color: #2d6cdf;
    outline: none;
    font-weight: 500;
    box-shadow: none;
    transition: background 0.18s;
}
.search-input-home:focus {
    background: #fff;
}
.search-bar-home::before {
    content: '\1F50D';
    position: absolute;
    left: 1.1em;
    font-size: 1.2em;
    color: #2d6cdf;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.search-btn-home {
    background: linear-gradient(90deg, #2d6cdf 60%, #4f8cff 100%);
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 0.8em 1.8em;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(45,108,223,0.10);
    transition: background 0.18s, transform 0.18s;
}
.search-btn-home:hover {
    background: linear-gradient(90deg, #1b4fa0 60%, #2d6cdf 100%);
    transform: scale(1.05);
}
@media (max-width: 700px) {
    .hero {
        padding: 1.2em 0.3em 1em 0.3em;
        border-radius: 0;
        width: 100vw;
        max-width: 100vw;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
    }
    .hero h1 {
        font-size: 1.5em;
        margin-bottom: 0.5em;
        word-break: break-word;
    }
    .hero p {
        font-size: 1em;
        margin-bottom: 1em;
    }
    .hero .cta {
        font-size: 1em;
        padding: 0.7em 1.2em;
        margin-top: 0.7em;
    }
    .search-bar-home {
        flex-direction: column;
        gap: 0.5em;
        max-width: 98vw;
        padding: 0.2em 0.3em;
    }
    .search-input-home {
        font-size: 1em;
        padding: 0.7em 1em 0.7em 2em;
    }
    .search-btn-home {
        width: 100%;
        font-size: 1em;
        padding: 0.7em 0;
    }
}
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.1em;
    }
    .hero .cta {
        font-size: 0.9em;
        padding: 0.5em 0.7em;
    }
}
.categories-title {
    color: #2d6cdf;
    text-decoration: none;
    border-bottom: none;
} 