/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ===== BLACK TOP BAR ===== */
.top-bar {
    background: #000;
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    position: relative;  /* Changed from sticky */
    z-index: 1000;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left Section */
/* Left Section */
.top-bar-left-section {
    display: flex;
}

.top-bar-left-section a,
.dropdown-trigger {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-bar-left-section a:hover,
.dropdown-trigger:hover {
    color: #F78B5A;
}

/* Center Section - Moving Announcement */
.top-bar-center {
    flex: 1;
    overflow: hidden;
    margin: 0 40px;
}

.announcement-slider {
    display: flex;
    animation: slideAnnouncement 20s linear infinite;
    white-space: nowrap;
}

.announcement-slider span {
    padding: 0 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes slideAnnouncement {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Right Section */
.top-bar-right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.country-selector:hover {
    background: #222;
}

.flag-emoji {
    font-size: 20px;
}

.rewards-link, 
.blog-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.rewards-link:hover, 
.blog-link:hover {
    color: #F78B5A;
}
/* Desktop Only Elements */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}
/* Currency Switcher in Top Bar */
.top-bar-dropdown .rewards-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.top-bar-dropdown .rewards-btn {
    padding: 8px 12px;
    text-align: center;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.top-bar-dropdown .login-btn {
    background: #f8f9fa;
    color: #333;
}

.top-bar-dropdown .signup-btn {
    background: #007bff;
    color: white;
}

.top-bar-dropdown .rewards-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* Mobile Search Box in Off-Canvas Menu */
.mobile-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 15px;
    margin: 15px 20px;
}

.mobile-search-box input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    padding: 5px 10px;
    font-size: 14px;
    color: #fff;
}

.mobile-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0 5px;
}
/* Top bar mobile responsive */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: row;
        justify-content: center;
        padding: 8px 10px;
    }
    
    /* Hide left section (Customer Service) on mobile */
    .top-bar-left-section {
        display: none !important;
    }
    
    /* Show only moving announcement on mobile */
    .top-bar-center {
        margin: 0;
        width: 100%;
        flex: 1;
    }
    
    /* Hide right section on mobile */
    .top-bar-right-section {
        display: none !important;
    }
    
    /* Slow down animation on mobile */
    .announcement-slider {
        animation: slideAnnouncement 25s linear infinite;
    }
    
    .announcement-slider span {
        padding: 0 30px;
        font-size: 11px;
    }
}
/* ===== DROPDOWN MENUS STARTS=================================================================== */
.top-bar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    position: relative;
}
/* ===== DROPDOWN MENUS ===== */
.top-bar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    position: relative;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-trigger:hover {
    color: #F78B5A;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.top-bar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(247, 139, 90, 0.1);
    padding-left: 25px;
    border-left-color: #F78B5A;
}
/* ===== DROPDOWN MENUS ENDS=================================================================== */

/* REVREWARDS Special Dropdown ENDS==============================================================*/

/* ===== MAIN HEADER SECTION STARTS================================================================ */
.header-main {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    position: sticky;
    top: 0;  /* Changed from 33px to 0 */
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #000;
    display: block;
    transition: all 0.3s;
}

/* Search Bar */
.header-search {
    display: flex;
    align-items: center;
    background: #002b5f;
    border-radius: 25px;
    padding: 8px 15px;
    max-width: 400px;
}

.header-search input {
    border: none;
    background:#f9f9f9;
    outline: none;
    flex: 1;
    padding: 5px 10px;
    font-size: 14px;
    color:#000;
}

.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0 5px;
}

/* Logo (Center) */
.header-logo {
    text-align: center;
    text-decoration: none;
    color: #000;
}

.header-logo h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
    color: #002B5F;
}

.header-logo span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #666;
    display: block;
    margin-top: -5px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.icon-link {
    font-size: 24px;
    text-decoration: none;
    color: #000;
    position: relative;
    transition: all 0.3s;
}

.icon-link:hover {
    color: #F78B5A;
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #F78B5A;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}
/* ===== MAIN HEADER SECTION ENDS================================================================ */

/* ===== MAIN NAVIGATION STARTS================================================================== */
.main-navigation {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 70px;  /* Changed - height of header */
    z-index: 998;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: #F78B5A;
    background: #f9f9f9;
}

.nav-menu a.sale-link {
    color: #e74c3c;
}

.nav-menu a.sale-link:hover {
    background: #ffe6e6;
}
/* ===== PROMOTIONAL BANNER (DESKTOP) ===== */
.promo-banner-desktop {
   background: linear-gradient(135deg, #002B5F 0%, #002B5F 100%) !important;
    padding: 15px 20px;
    text-align: center;
    position: sticky;
    top: 120px;  /* Changed - header (70px) + nav (50px) */
    z-index: 997;
}

.promo-banner-desktop h2 {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.promo-banner-desktop p {
    color: #fff;
    font-size: 12px;
    margin: 0;
    opacity: 0.95;
}

/* Sticky Promo Banner - Mobile Only */
@media (max-width: 768px) {
    .promo-banner-desktop {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 15px 20px;
        z-index: 9999 !important;
        background: linear-gradient(135deg, #002B5F 0%, #002B5F 100%) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
        text-align: center;
        box-sizing: border-box;
    }
    
    .promo-banner-desktop h2 {
        font-size: 18px;
        line-height: 1.3;
        color: #fff !important;
        margin: 0 0 5px 0;
        font-weight: bold;
    }
    
    .promo-banner-desktop p {
        font-size: 12px;
        color: #fff !important;
        margin: 0;
        line-height: 1.4;
    }
    
    /* Make space for the banner and stick header below it */
    .header-main {
        top: 70px !important;
        position: sticky !important;
        z-index: 10000 !important;
        background: #fff !important;
    }
    
    /* Add top padding to body to prevent content hiding behind banner */
    body {
        padding-top: 70px !important;
    }
    
    /* Ensure main content stays behind */
    .homepage,
    .main-content,
    body > div {
        position: relative;
        z-index: 1 !important;
    }
}
/* ===== MAIN NAVIGATION ENDS================================================================== */

/* ===== Z-INDEX HIERARCHY - CLEAN VERSION STARTS=========================================== */

/* Desktop dropdowns - highest priority */
.dropdown-menu {
    z-index: 5000 !important;
}

.rewards-dropdown {
    z-index: 5000 !important;
}

/* Mobile menu - highest on mobile */
.mobile-menu {
    z-index: 15000 !important;
}

.mobile-menu-overlay {
    z-index: 14999 !important;
}

/* Desktop sticky elements */
.top-bar {
    position: relative;
    z-index: 1000;
}

.header-main {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

.main-navigation {
    position: sticky;
    top: 70px;
    z-index: 998;
    background: #fff;
}

.promo-banner-desktop {
    position: sticky;
    top: 120px;
    z-index: 997;
   background: linear-gradient(135deg, #002B5F 0%, #002B5F 100%) !important;
}

/* Page content - lowest z-index */
.homepage,
.main-content,
.hero-slider,
.featured-products,
.categories,
section:not(.mobile-menu) {
    position: relative;
    z-index: 1;
}

/* ===== MOBILE SPECIFIC ===== */
@media (max-width: 768px) {
    /* Remove body padding */
    body {
        padding-top: 70px !important;
    }
    
    /* Fixed promo banner at top */
    .promo-banner-desktop {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 15px 20px;
        z-index: 1001 !important;  /* Below mobile menu */
        background: linear-gradient(135deg, #002B5F 0%, #002B5F 100%) !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        text-align: center;
    }
    
    .promo-banner-desktop h2 {
        font-size: 16px;
        line-height: 1.3;
        color: #fff;
        margin: 0 0 5px 0;
        font-weight: bold;
    }
    
    .promo-banner-desktop p {
        font-size: 11px;
        color: #fff;
        margin: 0;
    }
    
    /* Header sticks below banner */
    .header-main {
        position: sticky !important;
        top: 70px !important;
        z-index: 1000 !important;
        background: #fff !important;
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        display: none;
    }
/* ===== Z-INDEX HIERARCHY - CLEAN VERSION ENDS=========================================== */

/* Mobile menu stays on top of everything STARTS=================================================*/
    .mobile-menu {
        z-index: 15000 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 14999 !important;
    }
}
/* ===== MOBILE OFF-CANVAS MENU ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: linear-gradient(135deg, #002B5F 0%, #001a3d 100%);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.close-mobile-menu {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-content {
    padding: 20px 0;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.mobile-nav-menu a:hover {
    background: rgba(247, 139, 90, 0.2);
    padding-left: 30px;
}

.mobile-menu-auth {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-auth .btn {
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.mobile-menu-auth .btn-primary {
    background: #F78B5A;
    color: #fff;
}

.mobile-menu-auth .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
/* Mobile Promotional Banner */
.mobile-promo-banner {
    background: linear-gradient(135deg, #002B5F 0%, #002B5F 100%) !important;
    padding: 25px 20px;
    margin: 20px 0;
    text-align: center;
    border-radius: 0;
}

.mobile-promo-banner h2 {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.mobile-promo-banner p {
    color: #fff;
    font-size: 11px;
    margin: 0;
    opacity: 0.9;
}
/* Mobile Country Selector */
.mobile-country-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    font-size: 14px;
    color: #fff;
}

/* Mobile menu stays on top of everything ENDS=================================================*/

/* Mobile REVREWARDS Banner STARTS================================================================================== */
.mobile-rewards-banner {
 background: linear-gradient(135deg, #002B5F 0%, #F78B5A 100%) !important;
    padding: 20px;
    margin: 0 0 20px 0;
    text-align: center;
    color: #F78B5A;
}

.mobile-rewards-banner h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.mobile-rewards-banner p {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.mobile-rewards-buttons {
    display: flex;
    gap: 10px;
}

.mobile-rewards-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border-radius: 5px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    color: #fff;
    border: 2px solid #fff;
}

.mobile-rewards-btn.signup {
    background: #fff;
    color: #FF006B;
}

/* Mobile Additional Links */
.mobile-additional-links {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-blog-link {
    display: block;
    padding: 15px 10px;
    background: rgba(255, 182, 193, 0.3);
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.mobile-extra-link {
    display: block;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.mobile-extra-link:last-child {
    border-bottom: none;
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Adjust header layout for mobile */
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }
    
    /* Hide search on mobile (or show simplified version) */
    .header-search {
        display: none;
    }
    
    /* Adjust logo size */
    .header-logo h1 {
        font-size: 18px;
    }
    
    .header-logo span {
        font-size: 8px;
    }
    
    /* Adjust icon size */
    .icon-link {
        font-size: 20px;
    }
    
    .header-icons {
        gap: 15px;
    }
    
    /* Hide desktop navigation */
    .main-navigation {
        display: none;
    }
}

@media (min-width: 769px) {
    /* Hide mobile menu on desktop */
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Mobile REVREWARDS Banner ENDS================================================================================== */
.wishlist-count {
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    text-align: center;
    display: none;
    font-weight: bold;
}

.wishlist-count.has-items {
    display: inline-block;
}

.icon-link {
    position: relative;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
}
/* ===== LOGO STYLING STARTS===================================================-================*/
/* Desktop Logo */
.header-logo {
    text-align: center;
    text-decoration: none;
    color: #000;
}

.header-logo img {
    max-height: 100px;  /* Keep this for desktop */
    width: auto;
    display: block;
    margin: 0 auto;
}

.header-logo h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
    color: #002B5F;
}

.header-logo span {
    font-size: 10px;
    letter-spacing: 3px;
    color: #666;
    display: block;
    margin-top: -5px;
}
/* Mobile Logo - Override for smaller screens */
@media (max-width: 768px) {
    .header-container {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        flex: 0 0 40px;
    }
    
    .header-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .header-logo img {
        max-height: 100px;  /* Increased from 60px to 80px */
        width: auto;
        display: block;
        margin: 0 auto;
    }
    
    .header-logo h1 {
        font-size: 18px;
    }
    
    .header-logo span {
        font-size: 8px;
    }
    
    .header-icons {
        flex: 0 0 auto;
        display: flex;
        gap: 15px;
    }
}
/* ===== LOGO STYLING STARTS===============================================================================*/

/* ===== BOOTSTRAP CUSTOMIZATIONS STARTS=================================================================== */
/* Hero Carousel */
#heroCarousel {
    height: 400px;
    margin-bottom: 0;
}

#heroCarousel .carousel-item {
    height: 400px;
}

#heroCarousel .carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

#heroCarousel .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    opacity: 0.8;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
}

/*======================================================================Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.product-image-wrapper {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.product-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 200px; /* Limit height instead of container */
    object-fit: contain;
}

@media (max-width: 768px) {
    .product-image-wrapper {
        min-height: 180px;
        padding: 15px;
    }
    
    .product-image {
        max-height: 150px;
    }
}

/*==================================================================================================end */

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.category-card .card-title {
    color: #002B5F;
    font-weight: 600;
}
.category-image-wrapper {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 15px;
}

.category-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .category-image-wrapper {
        min-height: 150px;
        padding: 10px;
    }
    
    .category-image {
        max-height: 120px;
    }
}
/* ===== BOOTSTRAP CUSTOMIZATIONS ENDS=================================================================== */

/* Buttons STARTS============================================================================================*/
.btn-primary {
    background: #F78B5A;
    border-color: #F78B5A;
}

.btn-primary:hover {
    background: #e67a4a;
    border-color: #e67a4a;
}

.btn-outline-primary {
    color: #F78B5A;
    border-color: #F78B5A;
}

.btn-outline-primary:hover {
    background: #F78B5A;
    border-color: #F78B5A;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #heroCarousel {
        height: 350px;
    }
    
    #heroCarousel .carousel-item {
        height: 350px;
    }
    
    #heroCarousel .carousel-caption h1 {
        font-size: 1.8rem !important;
    }
    
    #heroCarousel .carousel-caption p {
        font-size: 1rem !important;
    }
    
    .product-card .card-img-top {
        height: 180px !important;
    }
}

/* Buttons STARTS===========================================================================================ENDS=*/

/* ===== FIX: OVERRIDE BOOTSTRAP FOR CUSTOM DROPDOWNS STARTS ===== */

/* Ensure dropdowns appear above Bootstrap elements */
.top-bar {
    position: relative;
   
}

.dropdown-menu {
    z-index: 10000 !important;
    position: absolute !important;
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Keep dropdown open when hovering over trigger OR dropdown itself */
.top-bar-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Customer Service Dropdown */
.top-bar-left-section .dropdown-menu {
    left: 0 !important;
    right: auto !important;
}

/* REVREWARDS Dropdown - align to right */
.top-bar-right-section .dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

.rewards-dropdown {
    right: 0 !important;
    left: auto !important;
}

/* Ensure dropdown trigger is clickable */
.dropdown-trigger {
    position: relative;
    z-index: 10001 !important;
}

/* Make sure Bootstrap doesn't interfere */
.top-bar .dropdown-menu {
    margin-top: 0 !important; /* Changed from 8px to 0 - no gap! */
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Fix: Keep dropdown visible when mouse moves over it */
.top-bar-dropdown {
    position: relative !important;
}

/* Ensure smooth transition */
.dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* ===== FIX: OVERRIDE BOOTSTRAP FOR CUSTOM DROPDOWNS ENDS ===== */
/* CSS only - no PHP variables */
.shop-newness-slide {
    text-align: center !important;
    opacity: 0;
    transform: translateY(30px);
    animation: 
        slideInUp 0.8s ease-out forwards,
        blinkPulse 2s ease-in-out infinite;
    animation-delay: 0.3s, 1.5s;
    position: relative;
    display: inline-block;
    padding-bottom: 10px; /* Space for underline */
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blinkPulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 0px currentColor;
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 15px currentColor;
        transform: scale(1.02);
    }
}

/* Underline animation */
.shop-newness-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #f78b5a;
    animation: underlineSlide 0.8s ease-out forwards;
    animation-delay: 1s; /* Starts after the slide animation */
}

@keyframes underlineSlide {
    from {
        transform: scaleX(0);
        opacity: 0;
    }
    to {
        transform: scaleX(1);
        opacity: 1;
    }
}
/*====================================marqueue scroll====================================*/
      .skincare-marquee-container {
            background: #e75480;
            padding: 25px 0;
            overflow: hidden;
            position: relative;
            width: 100%;
        }
        
        .skincare-marquee-track {
            display: flex;
            animation: skincare-scroll 12s linear infinite;
        }
        
        .skincare-marquee-track:hover {
            animation-play-state: paused;
        }
        
        .skincare-category {
            display: flex;
            align-items: center;
            white-space: nowrap;
            font-family: 'Dancing Script', cursive;
            font-size: 22px;
            font-weight: 700;
            color: white;
            letter-spacing: 0.5px;
            flex-shrink: 0;
        }
        
        .skincare-separator {
            margin: 0 25px;
            color: #FFD700;
            font-weight: 700;
            font-size: 20px;
            font-family: 'Dancing Script', cursive;
            flex-shrink: 0;
        }
        
        @keyframes skincare-scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-100%);
            }
        }

        /* Faster animation for both mobile and desktop */
        @media (max-width: 767px) {
            .skincare-marquee-track {
                animation-duration: 10s;
            }
        }
/*end of marque=====================================================================*/
  .full-width-image {
            width: 100%;
            overflow: hidden;
            position: relative;
        }
        
        .full-width-image img {
            width: 100%;
            display: block;
        }
     /* Hover effect for desktop */
        @media (min-width: 769px) {
            .full-width-image a:hover img {
                transform: scale(1.02);
            }
        }
        /* Desktop - Fixed height with cropping */
        @media (min-width: 769px) {
            .full-width-image {
                height: 70vh;
                max-height: 600px;
            }
            
            .full-width-image img {
                height: 100%;
                object-fit: cover;
            }
        }

        /* Mobile - Auto height, no cropping */
        @media (max-width: 768px) {
            .full-width-image {
                height: auto; /* Let the image determine height */
            }
            
            .full-width-image img {
                height: auto; /* Natural image height */
                object-fit: contain; /* Show full image without cropping */
            }
        }/* Simple fix - make modal body scrollable on mobile */
@media (max-width: 768px) {
    #registerModal .modal-body {
        max-height: 70vh;
        overflow-y: auto;
    }
}
/* Mobile Additional Links */
.mobile-additional-links {
    display: none; /* Hidden by default, show on mobile */
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.mobile-blog-link,
.mobile-extra-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.mobile-blog-link:hover,
.mobile-extra-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

/* Social Media Links */
.mobile-social-links {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 10px;
}

.social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Show on mobile only */
@media (max-width: 768px) {
    .mobile-additional-links {
        display: flex;
    }
}