/* Base Styles */
:root {
    --primary: #111;
    --secondary: #666;
    --accent: #Efb660;
    /* Gold-ish accent for premium feel */
    --bg-light: #f9f9f9;
    --border: #e5e5e5;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    color: var(--primary);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Refined Layout */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0.5rem 0;
}

/* 1. Logo Section (Left) */
.header-left {
    flex: 0 0 auto;
}

.header-left .logo img {
    height: 95px;
    display: block;
}

/* 2. Navigation Section (Center) */
.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.header-center a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
}

.header-center a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.header-center a:hover::after,
.header-center a.active::after {
    width: 100%;
}

/* 3. Profile Section (Right) */
.header-right {
    flex: 0 0 auto;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.profile-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Mobile Styles */
.mobile-menu-btn {
    display: none;
    /* Hidden on Desktop */
}

.mobile-drawer {
    display: none;
    /* Hidden on Desktop */
}

@media (max-width: 900px) {
    .header-center {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--primary);
        order: 2;
        margin-left: 0;
    }

    /* Mobile Layout: [Logo] [Space] [Hamburger] */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
    }

    /* Order Reassignment */
    .header-left {
        order: 1;
        flex: 0 0 auto;
        margin-right: 0;
    }

    .header-left .logo img {
        height: 60px;
    }

    .header-right {
        display: none;
        /* Hide profile button on mobile as requested */
    }

    /* Mobile Drawer Styles - Professional Look */
    .mobile-drawer {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        /* Start off-screen */
        width: 80%;
        /* Takes up significant space approx 300-350px usually */
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 0;
        /* padding handled inside items for bordering */
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        /* Smooth easing */
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .mobile-drawer.active {
        left: 0;
    }

    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        background: #f8f8f8;
        border-bottom: 1px solid #e5e5e5;
    }

    .drawer-title {
        font-size: 1.1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .close-btn {
        font-size: 1.5rem;
        padding: 5px;
        cursor: pointer;
        opacity: 0.7;
        transition: 0.2s;
    }

    .close-btn:hover {
        opacity: 1;
        transform: rotate(90deg);
    }

    /* Drawer Links */
    .mobile-drawer a {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid #f5f5f5;
        display: flex;
        align-items: center;
        gap: 1.2rem;
        color: #333;
        font-weight: 500;
        transition: background 0.2s;
    }

    .mobile-drawer a i {
        width: 24px;
        text-align: center;
        color: #888;
    }

    .mobile-drawer a:hover {
        background: #fafafa;
        color: var(--primary);
    }

    .mobile-drawer a:hover i {
        color: var(--primary);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        backdrop-filter: blur(3px);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .mobile-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: var(--bg-light);
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero p {
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    padding-top: 100%;
    /* square aspect ratio */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.product-info .price {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid var(--primary);
}

.btn:hover {
    background: white;
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    background: #f4f4f4;
    padding: 4rem 0;
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--secondary);
}

.footer-links a:hover {
    color: var(--primary);
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.shop-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: var(--secondary);
    font-size: 0.95rem;
    display: block;
}

.category-list a:hover,
.category-list a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        border-bottom: 1px solid var(--border);
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
}