:root {
    /* Premium Medical-Tech Palette */
    --primary-color: #005f73;
    --primary-gradient: linear-gradient(135deg, #005f73 0%, #0a9396 100%);
    --accent-gradient: linear-gradient(135deg, #94d2bd 0%, #e9d8a6 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    --primary-light: #0a9396;
    --accent-color: #94d2bd;
    --secondary-color: #f1f8f9;
    --text-dark: #121212;
    --text-muted: #5f6368;
    --white: #ffffff;

    /* Layout & Motion */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-soft: 0 10px 40px rgba(0, 95, 115, 0.06);
    --box-shadow-premium: 0 20px 50px rgba(0, 95, 115, 0.12);
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Readable Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-elegant: 'Playfair Display', serif;
}

/* Global Movement - Subtle Reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    animation: fadeInUp 0.8s both;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    background-color: #fafdfd;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
}

/* --- PREMIUM 3-ROW HEADER --- */

/* Row 1: Top Bar */
.top-bar-premium {
    background: var(--primary-gradient);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.top-bar-premium a {
    color: #fff;
    margin-left: 15px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.top-bar-premium a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.phone-top {
    font-weight: 700;
    color: var(--accent-color);
}

/* --- PREMIUM CATEGORY SHORTCUTS (Redesigned) --- */
.category-shortcut-bar {
    background: linear-gradient(to bottom, #ffffff, #fbfdfd);
    padding: 30px 0 !important;
}

.cat-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px 15px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid transparent;
}

.shortcut-icon {
    width: 75px;
    height: 75px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 24px;
    /* Modern Squircle shape */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(0, 95, 115, 0.05);
    z-index: 1;
}

.shortcut-icon::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--primary-gradient);
    border-radius: 18px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.shortcut-label {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    /* Extra bold for clarity */
    font-size: 0.78rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    transition: all 0.3s ease;
    text-align: center;
}

.cat-shortcut-item:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 95, 115, 0.05);
    box-shadow: 0 20px 40px rgba(0, 95, 115, 0.06);
}

.cat-shortcut-item:hover .shortcut-icon {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 95, 115, 0.2);
}

.cat-shortcut-item:hover .shortcut-icon::after {
    opacity: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cat-shortcut-item:hover .shortcut-label {
    color: var(--primary-color);
    letter-spacing: 2.2px;
    /* Cute expansion effect */
}

@media (max-width: 991px) {
    .shortcut-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        border-radius: 18px;
    }

    .shortcut-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

/* --- CUTE SINGLE ROW HEADER --- */
.navbar-single-row {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 95, 115, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    /* PERFECT ALIGNMENT */
}

.navbar-single-row.sticky-top {
    box-shadow: 0 10px 40px rgba(0, 95, 115, 0.06);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
}

.navbar-brand-premium img {
    height: 48px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* CUTE BOUNCE */
}

.navbar-brand-premium {
    margin-right: 40px !important;
}

/* Perfecting Menu Alignment */
.navbar-single-row .navbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-single-row .nav-link {
    font-size: 0.78rem !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-dark) !important;
}

.navbar-single-row .nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-single-row .nav-link.active {
    background: var(--primary-gradient);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 95, 115, 0.2);
}

/* Cute & Professional Integrated Search */
.header-utilities-single {
    margin-left: 15px;
    /* Pull menu closer to search */
}

.search-form-single {
    display: flex;
    align-items: center;
    background: #f0f7f8;
    /* Softer Cute Teal */
    border-radius: 50px;
    padding: 5px 8px 5px 22px;
    border: 2px solid rgba(0, 95, 115, 0.05);
    /* Soft Border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 250px;
}

.search-form-single:focus-within {
    background: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 12px 30px rgba(148, 210, 189, 0.25);
    width: 320px;
    /* Cute expansion */
    transform: translateY(-1px);
}

.search-input-single {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.search-input-single::placeholder {
    color: rgba(0, 95, 115, 0.5);
    font-weight: 400;
}

.search-btn-single {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    width: 38px;
    /* Slightly larger */
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 95, 115, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    /* FIX: Prevents shrinking */
    cursor: pointer;
}

.search-btn-single:hover {
    transform: rotate(15deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 95, 115, 0.25);
}

/* Utilities Alignment */
.header-utilities-single {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn-circle {
    width: 42px;
    height: 42px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.action-btn-circle:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.cart-badge-new {
    background: #ff6b6b;
    /* CUTE RED AREA */
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Row 2: Main Branding & Utilities */
.main-header-row {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand-premium img {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar-brand-premium:hover img {
    transform: scale(1.03);
}

/* Expanded Search Bar */
.search-form-expanded {
    display: flex;
    align-items: center;
    background: #f8fbfb;
    border: 1px solid rgba(0, 95, 115, 0.1);
    border-radius: 50px;
    overflow: hidden;
    width: 500px;
    transition: var(--transition-smooth);
}

.search-form-expanded:focus-within {
    box-shadow: var(--box-shadow-soft);
    border-color: var(--primary-light);
    background: #fff;
}

.search-input-expanded {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 25px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.search-input-expanded:focus {
    outline: none;
}

.search-btn-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.search-btn-submit:hover {
    background: var(--primary-light);
}

/* Row 2 Actions */
.header-actions-premium {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn-circle {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.action-btn-circle:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.cart-badge-new {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-light);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* Row 3: Navigation Menu */
.navbar-nav-row {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.navbar-nav-row .nav-link {
    padding: 12px 25px !important;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav-row .nav-link:hover,
.navbar-nav-row .nav-link.active {
    color: var(--primary-color) !important;
}

/* Mobile Toggler */
.mobile-menu-toggle {
    background: var(--secondary-color);
    border: none;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Sticky Navigation Transition */
.navbar-nav-row.sticky-top {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 95, 115, 0.1);
}

/* Row 3 Nav Link Enhancements */
.navbar-nav-row .nav-link {
    transition: var(--transition-smooth);
    border-radius: 4px;
    margin: 0 5px;
}

.navbar-nav-row .nav-link:hover {
    background: var(--secondary-color);
}

.navbar-nav-row .nav-link.active {
    background: var(--primary-color);
    color: #fff !important;
}

/* Cleanup redundant Row 2/3 styles */
.main-header-row,
.navbar-nav-row {
    display: none !important;
}

/* Remove Redundant Styles */
.navbar-premium,
.top-bar,
.search-form-premium,
.search-input-premium,
.search-btn-absolute {
    display: none !important;
}

@media (max-width: 991px) {
    .main-header-row .container-fluid {
        flex-wrap: wrap;
    }

    .header-actions-premium {
        gap: 10px;
    }

    .navbar-collapse {
        background: #fff;
        border-radius: 22px;
        margin-top: 15px;
        padding: 20px;
        box-shadow: 0 15px 50px rgba(0, 95, 115, 0.15);
        border: none !important;
        /* REMOVED BORDER */
        max-height: 70vh;
        /* FIX SCROLLING */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar for a cleaner look */
    .navbar-collapse::-webkit-scrollbar {
        display: none;
    }

    .navbar-single-row .navbar-nav {
        gap: 10px;
        margin-bottom: 15px;
    }

    .navbar-single-row .nav-link {
        background: #f1f8f9 !important;
        /* Cute Light Teal Button */
        margin: 5px 0 !important;
        padding: 12px 20px !important;
        border-radius: 15px !important;
        /* Soft Rounded Corners */
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .navbar-single-row .nav-link:active {
        transform: scale(0.95);
        background: var(--primary-light) !important;
        color: #fff !important;
    }

    .navbar-single-row .nav-link.active {
        background: var(--primary-gradient) !important;
        color: #fff !important;
    }

    .navbar-single-row .dropdown-menu {
        display: block !important;
        position: static !important;
        border: none !important;
        background: rgba(0, 95, 115, 0.03) !important;
        border-radius: 15px !important;
        margin: 0 0 15px 0 !important;
        box-shadow: none !important;
        float: none !important;
        padding: 10px 0 !important;
    }

    .navbar-single-row .dropdown-toggle::after {
        display: none !important;
    }

    .navbar-single-row .dropdown-item {
        text-align: center !important;
        padding: 8px !important;
        font-size: 0.85rem !important;
        background: transparent !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
        border-bottom: 1px solid rgba(0, 95, 115, 0.05);
        border-radius: 0 !important;
    }

    .navbar-single-row .dropdown-item:last-child {
        border-bottom: none;
    }
}

/* --- PREMIUM UNIFIED HEADER --- */

/* Top Notification Bar (Optional) */
.top-bar {
    background-color: #f8f9fa;
    color: #666;
    font-size: 0.8rem;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.top-bar a {
    color: #666;
    transition: 0.2s;
    margin-left: 15px;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Row 1: Top Bar */
/* Card Movements */
.product-item,
.cat-item,
.featured-card {
    transition: var(--transition-smooth);
}

.product-item:hover,
.cat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--box-shadow-premium);
}

/* Main Navbar (Sticky & Shadow) */
.navbar-premium {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 15px 0;
    transition: all 0.3s;
}

/* Brand */
.navbar-brand img {
    height: 75px;
    width: auto;
}

.navbar-brand h1 {
    font-size: 1.6rem;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    font-weight: 800;
}

/* Central Navigation Links (Button Style) */
.navbar-nav {
    gap: 8px;
    /* Spacing between button-links */
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 10px 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    /* Pill shape */
    background: transparent;
    border: 1px solid transparent;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 95, 115, 0.2);
    border-color: var(--primary-color);
}

/* Specific adjustment for dropdown button to ensure alignment and button look */
.nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 95, 115, 0.15);
    margin: 0 5px;
    background: rgba(0, 95, 115, 0.03);
}

.nav-item.dropdown:hover .nav-link {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
}

/* Disable old underline effect */
.navbar-nav .nav-link::before {
    display: none !important;
}

/* Dropdown Menu Enhancements */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar-nav .dropdown-menu {
    border-radius: var(--border-radius-lg) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 10px;
    min-width: 240px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.navbar-nav .dropdown-item {
    font-weight: 700;
    font-size: 0.8rem;
    padding: 12px 20px;
    color: var(--text-dark) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-radius: var(--border-radius-md);
    margin-bottom: 2px;
}

.navbar-nav .dropdown-item:last-child {
    margin-bottom: 0;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    display: none;
}

/* Right Side Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.action-btn {
    color: var(--text-dark);
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 95, 115, 0.2);
}

/* Search Bar Improvement */
.search-form-premium {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-premium {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 10px 20px 10px 45px;
    width: 240px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #f8fbfb;
}

.search-input-premium:focus {
    width: 320px;
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(0, 95, 115, 0.1);
    outline: none;
}

.search-btn-absolute {
    position: absolute;
    left: 15px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-light);
    pointer-events: none;
}

.search-btn-absolute:hover {
    color: var(--primary-color);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-light);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(10, 147, 150, 0.3);
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        margin-top: 15px;
        border-radius: var(--border-radius-lg);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid #f8f9fa;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link::before {
        display: none;
    }

    .header-actions {
        margin-top: 20px;
        justify-content: center;
        padding-top: 20px;
        border-top: 1px solid #f1f3f5;
    }

    .search-input-premium {
        width: 100% !important;
    }
}

/* HERO SLIDER (Standard Banner Style) */
#header-carousel .carousel-item {
    height: 500px;
    min-height: 400px;
}

#product-carousel .carousel-item {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

#product-carousel .carousel-item img {
    max-height: 100%;
    width: auto !important;
    object-fit: contain;
}

.carousel-caption {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 100%);
    /* Very subtle shadow for text readability */
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    padding-left: 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* HERO SLIDER TYPOGRAPHY */
.carousel-caption h1 {
    font-family: var(--font-elegant) !important;
    font-weight: 700 !important;
    font-size: 4.5rem;
    background: linear-gradient(to bottom, #ffffff 30%, #ecfdf5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.carousel-caption p {
    font-family: var(--font-body) !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* GRADIENT TEXT TITLES */
.offer-text-new h3 {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #94d2bd);
    -webkit-background-clip: text;
    background-clip: text;
    /* Lint Fix */
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* SECTION HEADINGS */
.section-title span {
    font-family: var(--font-heading) !important;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

/* Movement - Floating Effect */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

#header-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

/* Hero Buttons */
.btn-hero {
    border-radius: 4px;
    /* Slight round */
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
}

.btn-hero-solid {
    background-color: #00BCD4;
    /* Bright Cyan like reference */
    color: #fff;
    border: 2px solid #00BCD4;
    margin-right: 15px;
}

.btn-hero-solid:hover {
    background-color: #0097a7;
    border-color: #0097a7;
    color: #fff;
}

.btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #fff;
}

.btn-hero-outline:hover {
    background-color: #fff;
    color: #333;
}

/* SECTION HEADINGS */
.section-title span {
    background-color: var(--white) !important;
    padding: 0 25px;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::before {
    border-top: 1px solid #e0e0e0;
}

/* PRODUCT CARDS (Smooth Light Shadows) */
.product-item {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 95, 115, 0.04);
    /* Light Teal Tinted Shadow */
    transition: var(--transition-smooth);
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 0 20px 60px rgba(0, 95, 115, 0.1);
    transform: translateY(-10px);
}

.product-img {
    height: 260px;
    padding: 1.5rem;
    background: #fbfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-img img {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 8px 15px rgba(0, 95, 115, 0.08));
    /* Light shadow on image itself */
}

.product-item:hover .product-img img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 15px 25px rgba(0, 95, 115, 0.12));
}

.product-item .text-center {
    padding: 1.5rem;
    background: var(--white);
    border-top: none;
}

.product-item h6 a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.product-item h6 a:hover {
    color: var(--primary-light);
}

.product-item h5 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

/* BUTTONS */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 95, 115, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(10, 147, 150, 0.3);
}

.add_to_cart_button,
.btn-primary.mt-2 {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    box-shadow: none;
}

.add_to_cart_button:hover,
.btn-primary.mt-2:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 95, 115, 0.2);
}

/* FORMS */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(10, 147, 150, 0.1);
}

/* CART */
.table-cart thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.table-cart th {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* FOOTER */
.footer {
    background-color: #001219;
    /* Matching Top Bar */
    color: #aeb5bc;
}

.footer h5 {
    color: var(--white);
}

/* Price Slider & Filter Accents */
.slider .progress {
    background: var(--primary-light) !important;
}

.range-input input::-webkit-slider-thumb {
    background: var(--primary-color) !important;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* REFINED CATEGORY ITEMS */
.cat-item {
    background: #ffffff;
    border: none;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    padding: 15px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 95, 115, 0.03);
}

.cat-item:hover {
    box-shadow: 0 15px 45px rgba(0, 95, 115, 0.08);
    transform: translateY(-5px);
    background: linear-gradient(to bottom right, #ffffff, #f1f8f9);
}

.cat-img-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.02);
}

.cat-item img {
    filter: drop-shadow(0 4px 8px rgba(0, 95, 115, 0.1));
}

/* Section Reveal Magic */
.product-item {
    animation: slideUp 0.6s ease-out both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sequential delay for children */
.row>div:nth-child(1) .product-item {
    animation-delay: 0.1s;
}

.row>div:nth-child(2) .product-item {
    animation-delay: 0.2s;
}

.row>div:nth-child(3) .product-item {
    animation-delay: 0.3s;
}

.row>div:nth-child(4) .product-item {
    animation-delay: 0.4s;
}

.cat-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    /* FIX: Prevents stretching */
    transition: transform 0.3s;
}

.cat-item:hover img {
    transform: scale(1.1);
}

.cat-item h6 {
    transition: 0.2s;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cat-item:hover h6 {
    color: var(--primary-color);
}

/* MOBILE MENU DRAWER */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
    }

    .navbar-dark .navbar-nav .nav-link {
        color: var(--text-dark) !important;
    }
}

/* ATTRACTIVE SMALL BUTTONS */
.btn-compact-cart {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 95, 115, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-compact-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 95, 115, 0.35);
    color: white;
}

/* SLEEK QUANTITY SELECTOR */
.quantity-compact {
    display: inline-flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 30px;
    padding: 3px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-qty-small {
    width: 28px;
    height: 28px;
    border-radius: 50% !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    transition: 0.2s;
}

.btn-qty-small:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.input-qty-small {
    width: 35px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0;
    height: 30px;
}

.input-qty-small:focus {
    outline: none;
    box-shadow: none;
}

/* Hero Buttons (Cute Style Overrides) */
.btn-hero {
    border-radius: 50px !important;
    padding: 12px 35px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-hero-solid {
    background: linear-gradient(135deg, var(--primary-light), #48cae4) !important;
    color: #fff !important;
    border: none !important;
}

.btn-hero-solid:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(72, 202, 228, 0.4) !important;
}

.btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(5px) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.btn-hero-outline:hover {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3) !important;
}


/* PREMIUM OFFER BANNERS */
.product-offer {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 29, 36, 0.9) 0%, rgba(0, 29, 36, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

.product-offer img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-offer:hover img {
    transform: scale(1.1);
}

.offer-text-new {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    text-align: left;
}

.offer-badge {
    display: inline-block;
    background: rgba(148, 210, 189, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(148, 210, 189, 0.3);
}

.offer-text-new h3 {
    font-family: var(--font-heading) !important;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-offer-discover {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-offer-discover:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateX(5px);
}

.btn-offer-discover i {
    transition: transform 0.3s;
}

.btn-offer-discover:hover i {
    transform: translateX(5px);
}

/* CUTE FEATURED SERVICES */
.featured-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 95, 115, 0.1);
    border-color: var(--primary-light);
}

.featured-card h1 {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--primary-light);
    /* Lighter teal for cuteness */
    transition: transform 0.3s;
}

.featured-card:hover h1 {
    transform: scale(1.2) rotate(-10deg);
    /* Bouncy icon */
    color: var(--primary-color);
}

.featured-card h5 {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}


/* FULL-WIDTH FEATURED CARDS ADJUSTMENT */
.featured-card {
    height: 100%;
    /* Fill the column height */
    padding: 35px 25px;
    /* More vertical padding */
    margin-bottom: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Wider, softer shadow */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left cleanly but centered vertically */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 95, 115, 0.15);
}

.featured-card h1 {
    font-size: 2.8rem;
    /* Bigger icons */
    margin-right: 20px;
    color: var(--primary-light);
}

.featured-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
}

/* ELEGANT FONTS AND COLORS */
:root {
    --font-heading: 'Playfair Display', serif;
    --color-gold-accent: #d4af37;
    --color-dark-elegant: #2c3e50;
    --text-shadow-elegant: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.carousel-caption h1 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: capitalize !important;
    /* Elegant capitalize instead of uppercase */
    font-style: italic;
    text-shadow: var(--text-shadow-elegant) !important;
}

.offer-text h3 {
    font-family: var(--font-heading) !important;
    color: var(--color-dark-elegant) !important;
    font-weight: 700 !important;
}

.section-title span {
    font-family: var(--font-heading) !important;
    color: var(--color-dark-elegant) !important;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Update hero text to be cleaner */
.carousel-caption p {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.5px;
    font-size: 1.3rem !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


/* --- ADVANCED MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {

    /* 1 column for products in mobile */
    .col-lg-3.col-md-4.col-sm-6,
    .col-lg-4.col-md-6.col-sm-6 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
    }

    .product-img {
        height: auto !important;
        padding: 1rem !important;
    }

    .product-item h6 a {
        font-size: 0.75rem !important;
    }

    .product-item h5 {
        font-size: 0.9rem !important;
    }

    .btn-hero {
        padding: 10px 15px !important;
        font-size: 0.7rem !important;
        min-width: unset !important;
    }

    .carousel-caption h1 {
        font-size: 1.8rem !important;
    }

    /* Full Banner View for Mobile (No Cropping) */
    #header-carousel .carousel-item {
        height: auto !important;
        min-height: unset !important;
    }

    #header-carousel .carousel-item img {
        height: auto !important;
        object-fit: contain !important;
        position: relative !important;
    }

    /* Product Detail Image Fix */
    #product-carousel .carousel-item {
        height: 350px !important;
    }

    #product-carousel .carousel-item img {
        max-height: 100% !important;
        width: auto !important;
        margin: 0 auto;
    }

    /* Offer Banner Responsiveness */
    .product-offer {
        height: 220px !important;
    }
}

/* Touch interactions */
@media (hover: none) {

    .btn:active,
    .nav-link:active {
        transform: scale(0.96);
    }
}