/* Layout - Header, Footer, Container */

header {
    text-align: center;
    padding: 1rem 2rem 1rem;
    background: linear-gradient(180deg, rgba(107, 62, 46, 0.03) 0%, rgba(107, 62, 46, 0) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(245, 241, 232, 0.95);
}

.header-cart-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--brown-dark);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(107, 62, 46, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.header-cart-btn:hover {
    background: var(--brown-medium);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(107, 62, 46, 0.4);
}

.badge {
    background-color: darksalmon;
    color: white;
    padding: 3px;
    text-align: center;
    border-radius: 5px;
  }

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid var(--cream);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    letter-spacing: 0.3rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.logo img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.logo-img {
    width: 200px;
    height: 200px;
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--brown-medium);
    font-weight: 400;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.products-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--brown-dark);
    color: var(--cream);
    margin-top: 4rem;
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
    }

    .products-section {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {

    header {
        padding: 0.5rem 2rem;
    }

    .logo {
        font-size: 2.5rem;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 0.2rem;
    }

    .header-cart-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 1.5rem;
        right: 1rem;
    }

    .cart-badge {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

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