* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f7f7f7;
    color: #222;
}

/* Header */
header {
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #222;
}

.logo span {
    color: #ff5a36;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #ff5a36;
}

.cart-btn {
    border: none;
    background: #ff5a36;
    color: white;
    padding: 10px 17px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

#cart-count {
    background: white;
    color: #ff5a36;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero */
.hero {
    min-height: 520px;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    background: linear-gradient(
        120deg,
        #fff1eb,
        #ffe3d8
    );
}

.small-title {
    color: #ff5a36;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ff5a36;
}

.hero p {
    max-width: 500px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-block;
    background: #ff5a36;
    color: white;
    text-decoration: none;
    padding: 14px 25px;
    border-radius: 7px;
    font-weight: bold;
}

/* Products */
.products-section {
    padding: 80px 7%;
}

.products-section h2,
.about h2,
.contact h2 {
    text-align: center;
    font-size: 35px;
    margin-bottom: 10px;
}

.section-text {
    text-align: center;
    color: #777;
    margin-bottom: 35px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.filters input,
.filters select {
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.filters input {
    width: 300px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

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

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.product-info {
    padding: 18px;
}

.product-info h3 {
    margin-bottom: 8px;
}

.category {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.price {
    color: #ff5a36;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.add-btn {
    width: 100%;
    padding: 11px;
    border: none;
    background: #222;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.add-btn:hover {
    background: #ff5a36;
}

/* About */
.about {
    background: white;
    padding: 80px 20%;
    text-align: center;
}

.about p {
    color: #666;
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 80px 20%;
}

.contact form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.contact textarea {
    height: 130px;
    resize: none;
}

.contact button {
    padding: 13px;
    border: none;
    background: #ff5a36;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

/* Cart */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    z-index: 200;
}

.cart {
    position: fixed;
    right: -400px;
    top: 0;
    width: 380px;
    height: 100vh;
    background: white;
    z-index: 300;
    transition: 0.3s;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.cart.active {
    right: 0;
}

.cart-overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.cart-header button {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

#cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.remove-btn {
    background: #ff4d4d;
    border: none;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.cart-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.cart-footer button {
    width: 100%;
    padding: 13px;
    margin-top: 15px;
    background: #ff5a36;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 25px;
}

/* Responsive */
@media (max-width: 900px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        display: none;
    }
}

@media (max-width: 600px) {
    header {
        padding: 0 4%;
    }

    .hero {
        padding: 70px 6%;
    }

    .hero h1 {
        font-size: 40px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
    }

    .filters input {
        width: 100%;
    }

    .cart {
        width: 100%;
    }

    .about,
    .contact {
        padding: 60px 8%;
    }
}