:root {
    --primary-violet: #6A0DAD;
    --deep-violet: #4A0080;
    --lavender-bg: #F8F4FF;
    --accent-gold: #D4AF37; /* Luxury Accent */
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(106, 13, 173, 0.08);
    --glass: rgba(255, 255, 255, 0.85);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.7);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-card {
    max-width: 600px;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 10px;
}

.premium-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.premium-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-vibrant {
    background-color: #A855F7; /* Vibrant Purple */
    color: var(--white);
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: 50px;
}

/* Animations... */

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(106, 13, 173, 0.15);
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Navbar & Header */
.main-nav {
    background-color: var(--white);
    padding: 0;
    border-bottom: 1px solid rgba(106, 13, 173, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.centered-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.centered-logo img {
    height: 45px;
    width: auto;
}

.nav-utils {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-utils i {
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-gold);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

/* Header Search */
.header-search {
    background-color: var(--white);
    padding: 10px 0 15px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 0 15px;
}

.search-form-icon {
    color: #999;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
}

.search-all-btn {
    background: none;
    border: none;
    border-left: 1px solid #ddd;
    padding-left: 15px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
    display: none; /* Desktop hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    height: 65px;
    border-top: 1px solid #eee;
    z-index: 999;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 0.7rem;
    gap: 4px;
    position: relative;
}

.bottom-nav-item i {
    font-size: 1.3rem;
}

.bottom-nav-item.active {
    color: var(--primary-violet);
}

.badge-dot {
    position: absolute;
    top: -2px;
    right: 4px;
    background: var(--accent-gold);
    color: white;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background-color: var(--lavender-bg);
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: none;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--primary-violet);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.footer-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--lavender-bg);
    font-size: 1.2rem;
    color: var(--primary-violet);
    transition: var(--transition);
}

.footer-links a:hover {
    background: var(--primary-violet);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(106, 13, 173, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Common UI Elements */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-violet);
    color: var(--white);
    border: none;
    border-radius: 50px; /* Pill shape for luxury feel */
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #B8860B;
}

.btn:hover {
    background-color: var(--deep-violet);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 0, 128, 0.3);
}

.section-bg {
    background-color: var(--lavender-bg);
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(106, 13, 173, 0.05);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow);
}

/* Toasts */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    background-color: var(--primary-violet);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Product Overhaul */
.product-card {
    position: relative; /* For badges */
    padding: 0; /* Remove old padding */
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF0000;
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
}

.wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
    cursor: pointer;
}

.product-price {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

.current-price {
    color: #FF0000;
}

/* Category Circles */
.categories-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
}

.category-item {
    flex: 0 0 auto;
    text-align: center;
    width: 80px;
}

.category-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    overflow: hidden;
    border: 2px solid #eee;
    background: #f9f9f9;
}

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

.category-name {
    font-size: 0.75rem;
    font-weight: 600;
    display: block;
}

/* Sidebar Navigation */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: none;
    backdrop-filter: blur(3px);
}

.sidebar-overlay.active {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 1002;
    transition: var(--transition);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-close {
    font-size: 1.5rem;
    color: var(--primary-violet);
    cursor: pointer;
}

.sidebar-logo img {
    height: 35px;
}

.sidebar-links li {
    margin-bottom: 15px;
}

.sidebar-links a, .sidebar-logout button {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
}

.sidebar-links a i {
    color: var(--primary-violet);
    width: 20px;
    text-align: center;
}

.sidebar-logout {
    margin-top: 10px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
}
