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

body {
    background-color: #fdfbf7; /* Warm Soft Cream Background */
    color: #2c2a29;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: #f7f3ec; /* Warm Beige */
    border-bottom: 1px solid #e8e2d5;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a3f35; /* Deep Neutral Warm Brown */
    letter-spacing: -0.5px;
}

.cart-btn {
    background: #4a3f35;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(74, 63, 53, 0.15);
    transition: background 0.2s;
}

.cart-btn:hover {
    background: #362e27;
}

/* Hero */
.hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c2a29;
}

.hero h1 span {
    color: #8c6d53; /* Elegant Beige-Brown accent */
}

.hero p {
    color: #6e665e;
    margin-top: 8px;
}

/* Shop Layout */
.shop-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f7f3ec;
    border: 1px solid #e8e2d5;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: #5c5248;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: #4a3f35;
    color: #ffffff;
    border-color: transparent;
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #ede7db;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px -10px rgba(74, 63, 53, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px -10px rgba(74, 63, 53, 0.12);
}

.product-image {
    font-size: 3.5rem;
    background: #f7f3ec;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #2c2a29;
    margin-bottom: 5px;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8c6d53;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    width: 100%;
    background: #f7f3ec;
    color: #4a3f35;
    border: 1px solid #e8e2d5;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.add-to-cart-btn:hover {
    background: #4a3f35;
    color: #ffffff;
    border-color: transparent;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #fdfbf7;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    right: 0;
}

.cart-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px;
}

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

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #6e665e;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ede7db;
}

.empty-msg {
    text-align: center;
    color: #9e9387;
    margin-top: 40px;
}

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

.total-price {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c2a29;
}

.checkout-btn {
    width: 100%;
    background: #4a3f35;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: #362e27;
}

.footer {
    text-align: center;
    padding: 30px;
    color: #9e9387;
    border-top: 1px solid #e8e2d5;
    margin-top: 50px;
    background: #f7f3ec;
}
