:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5a623;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fdfdfd;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.hero-slider {
    height: 500px;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 250px;
    object-fit: cover;
}

.blog-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #357abd;
    border-color: #357abd;
}

/* --- Premium Header Redesign (Luxurious Pastel Pink) --- */

:root {
    --premium-dark: #6d4c41;
    --premium-blue: #ff9eaa;
    --premium-gold: #d4a373;
    --premium-accent: #ffc1cc;
    --glass-bg: rgba(255, 225, 235, 0.95);
    --glass-border: rgba(255, 255, 255, 0.6);
    --text-dark: #4a4a4a;
    --text-light: #ffffff;
    --shadow-soft: 0 10px 30px rgba(255, 158, 170, 0.2);
    --shadow-hover: 0 15px 35px rgba(255, 158, 170, 0.3);
}

/* Topbar */
.topbar-premium {
    background: linear-gradient(135deg, #ff9eaa 0%, #ffc1cc 100%);
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-premium a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.topbar-premium a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Navbar Glassmorphism */
.navbar-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.navbar-glass.scrolled {
    padding: 10px 0;
    background: rgba(255, 240, 245, 0.98) !important;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 158, 170, 0.1);
}

/* Brand Logo */
.navbar-brand-premium {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255, 158, 170, 0.1);
}

.navbar-brand-premium::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: #ff758c;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff758c;
}

/* Nav Links */
.nav-link-custom {
    color: #555 !important;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0 2px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #ff758c !important;
    background: rgba(255, 158, 170, 0.1);
    transform: translateY(-2px);
}

.nav-link-custom i {
    margin-right: 6px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
    color: #ff9eaa;
}

.nav-link-custom:hover i {
    transform: scale(1.2);
    color: #ff758c;
}

/* Cart & Notification Badges */
.badge-pulse {
    animation: pulse-animation 2s infinite;
    box-shadow: 0 0 0 rgba(255, 117, 140, 0.4);
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 117, 140, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 117, 140, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 117, 140, 0);
    }
}

/* Dropdown Menu */
.dropdown-menu-custom {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    padding: 10px;
    margin-top: 15px;
    animation: dropdown-slide 0.3s ease forwards;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    background: rgba(255, 255, 255, 0.98);
}

.nav-item.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes dropdown-slide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item-custom {
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-item-custom:hover {
    background-color: rgba(255, 158, 170, 0.1);
    color: #ff758c;
    transform: translateX(5px);
}

.dropdown-item-custom i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #ff9eaa;
    transition: color 0.2s ease;
    display: inline-block;
}

.dropdown-item-custom:hover i {
    color: #ff758c;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 158, 170, 0.2);
    margin: 8px 0;
}

/* Mobile Toggler */
.navbar-toggler-custom {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 158, 170, 0.1);
    color: #ff9eaa;
    transition: all 0.3s ease;
}

.navbar-toggler-custom:hover {
    background: #ff9eaa;
    color: white;
}

/* User Profile Image in Nav */
.nav-user-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff9eaa;
    padding: 2px;
}

/* --- Premium Footer Redesign --- */

.footer-premium {
    position: relative;
    background: linear-gradient(135deg, #ff9eaa 0%, #ffc1cc 50%, #ffb6c1 100%);
    color: #fff;
    padding-top: 80px;
    margin-top: 100px;
    overflow: hidden;
}

/* Hyperspeed Canvas */
.hyperspeed-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

/* Wave Separator */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: #fdfdfd;
}

/* Footer Content */
.footer-brand h5 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-brand p {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h5,
.footer-social h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h5::after,
.footer-social h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Social Icons */
.social-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon-btn:hover {
    background: #fff;
    color: #ff9eaa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #ff9eaa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 158, 170, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: bounceIn 0.5s;
}

.back-to-top:hover {
    background: #ff758c;
    transform: translateY(-3px);
    color: white;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}