/* --- Global Variables --- */
:root {
    --primary-color: #2563eb;
    --secondary-color: #0f172a;
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* --- Hero Carousel (Sharp & Restored Style) --- */
.hero {
    width: 100%;
    height: 100vh; 
    max-height: 750px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Side Overlay Effect */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%; 
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.85) 0%, 
        rgba(0, 0, 0, 0.5) 60%, 
        rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    padding-right: 5%;
    color: var(--white);
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

/* --- Categories Section --- */
.categories {
    padding: 3rem 5%;
    background: var(--white);
}

.cat-row {
    display: flex;
    overflow-x: auto;
    gap: 2.5rem;
    padding: 1rem 0;
    scrollbar-width: none;
    justify-content: flex-start; 
    scroll-behavior: smooth;
}

.cat-row::-webkit-scrollbar { display: none; }

.cat-item { flex: 0 0 auto; text-align: center; cursor: pointer; }

.cat-img {
    width: 120px;
    height: 120px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    overflow: hidden;
}

.cat-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.cat-item:hover .cat-img {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Product Grid & Wishlist --- */
.product-card {
    background: var(--white);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    background: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero { height: 55vh; }
    .slide-content { 
        width: 100%; 
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
        padding: 20px;
        text-align: center; 
        align-items: center;
    }
    .slide-content h1 { font-size: 2rem; }
}