/* --- Vogue Line Boutique Styling --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-white: #ffffff;
    --text-black: #111111;
    --text-muted: #767676;
    --border-light: #e5e5e5;
    --hover-gray: #f5f5f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.5;
}

header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-black);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    color: var(--text-black);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.6;
}

.cart-icon {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--text-black);
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 140px 0;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.15)), url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1200');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-black {
    display: inline-block;
    padding: 15px 40px;
    background: var(--text-black);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--text-black);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.btn-black:hover {
    background: transparent;
    color: var(--text-black);
}

/* Product Section */
.products-section {
    padding: 80px 0;
}

.section-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.product-image-container {
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: var(--hover-gray);
    margin-bottom: 15px;
}

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

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

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.add-to-cart-overlay {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    background: var(--text-black);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .add-to-cart-overlay {
    opacity: 1;
}

/* Cart Slide Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    border-left: 1px solid var(--border-light);
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.cart-close {
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.cart-item-img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    background: var(--hover-gray);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.cart-item-remove {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    color: red;
    margin-top: 10px;
    display: inline-block;
}

.cart-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

footer {
    background: #000;
    color: #999;
    padding: 60px 0;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .cart-panel {
        width: 100%;
        right: -100%;
    }
}
