/* --- CSS VARIABLES --- */
:root {
    --primary-black: #1a1a1a;
    --brand-teal: #57A7A9;
    --brand-purple: #A659F2;
    --brand-pink: #E950B6;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary-black); 
    line-height: 1.6; 
    background-color: #fff; 
    overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- NAVIGATION --- */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

/* Updated for Image Logo */
.logo img {
    height: 40px;
    width: auto;
    display: block;
}

nav ul { display: flex; gap: 30px; }
nav ul li a { font-size: 0.85rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
nav ul li a:hover { color: var(--brand-teal); }

.nav-icons { display: flex; gap: 20px; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-sub { font-size: 1.1rem; margin-bottom: 30px; letter-spacing: 2px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 20px; font-weight: 400; }

.btn {
    padding: 15px 40px;
    background: white;
    color: var(--primary-black);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn:hover { background: var(--primary-black); color: white; }
.btn-dark { background: black; color: white; }
.full-width { width: 100%; }

/* --- PRODUCT GRID --- */
.section-title {
    text-align: center;
    padding: 60px 0 40px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5% 60px;
}

.product-card { position: relative; cursor: pointer; transition: var(--transition); }

.product-image {
    width: 100%;
    height: 400px;
    background-color: var(--bg-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img { transform: scale(1.05); }

.product-info { padding: 15px 0; text-align: center; }
.product-name { font-weight: 400; font-size: 0.95rem; margin-bottom: 5px; }
.product-price { font-weight: 600; color: #666; font-size: 0.9rem; }

.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 5px 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}
.tag-accent { color: var(--brand-pink); }

/* --- CART DRAWER --- */
#cart-drawer {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
#cart-drawer.active { right: 0; }

.cart-title { font-family: 'Playfair Display'; margin-bottom: 20px; }
#cart-item-display { flex-grow: 1; overflow-y: auto; }

.cart-total-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--primary-black);
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 20px;
}

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1500;
}
.overlay.active { display: block; }

/* --- FOOTER --- */
footer { background: var(--bg-light); padding: 80px 5% 40px; border-top: 1px solid #eee; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-col h4 { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; font-size: 0.85rem; color: #666; cursor: pointer; }
.news-text { font-size: 0.75rem; margin-bottom: 15px; }
.news-input { width: 100%; padding: 10px; border: 1px solid #ddd; margin-bottom: 10px; }
.copyright { text-align: center; font-size: 0.7rem; color: #999; border-top: 1px solid #eee; padding-top: 30px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    nav { display: none; }
    #cart-drawer { width: 100%; right: -100%; }
}