/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}


/* منع السلكت على كل الصور */
img {
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* إزالة الطبقة الزرقاء عند لمس الصورة */
    pointer-events: auto; /* السماح للتفاعل الطبيعي */
}

/* السماح بالسلكت على النصوص داخل الصور أو أي نص */
.text-over-image {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* إزالة تأثير اللمس على كامل الموقع */
* {
    -webkit-tap-highlight-color: transparent; /* Safari, Chrome */
    -webkit-touch-callout: none; /* لمنع قائمة الضغط الطويل على iOS */
}

.product-description a {
    color: #ff914d; /* اللون البرتقالي */
    text-decoration: none; /* اختياري */
}

.product-description a:hover {
    color: #FF8C00; /* لون عند المرور */
}




/* Hide scrollbar for IE */
body {
    -ms-overflow-style: none;
}

/* Emissive glow animations */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 145, 77, 0.2),
            0 0 40px rgba(255, 145, 77, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 145, 77, 0.3),
            0 0 60px rgba(255, 145, 77, 0.2);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 145, 77, 0.5);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 145, 77, 0.8);
    }
}

/* Smooth zoom animation for user section elements */
@keyframes smoothZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000000;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .tab-button,
    .slide-arrow,
    .more-btn,
    .basket-link,
    .featured-item,
    .review-item,
    .nav-link,
    .categories-dropdown-toggle,
    .account-info,
    .category-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    .tab-button {
        padding: 0.8rem 1.5rem;
    }
    
    .slide-arrow {
        width: 44px;
        height: 44px;
    }
    
    .more-btn {
        padding: 0.8rem 1.5rem;
    }
    
    .nav-link {
        padding: 0.8rem 1.5rem;
    }
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35));
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    user-select: none;
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Navigation */
.header-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

    .nav-logo {
        height: 40px;
        width: auto;
        object-fit: contain;
        position: relative;
        z-index: 1;
    }

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    height: fit-content;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: #ff914d;
}

.nav-link.active {
    color: #ff914d;
}

/* Categories Dropdown Container */
.categories-dropdown-container {
    position: relative;
}

.categories-dropdown-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categories-dropdown-toggle:hover {
    color: #ff914d;
}

/* Active category button styling for category pages */
.package-page .categories-dropdown-toggle,
.content-page .categories-dropdown-toggle {
    color: #ff914d;
}

.categories-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.categories-dropdown-toggle.active i {
    transform: rotate(90deg);
}

/* New Categories Panel */
.categories-dropdown-menu {
    position: fixed;
    top: 58px;
    left: 0;
    width: 20%;
    height: fit-content;
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35));
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 2px solid rgba(255, 145, 77, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 999;
    overflow-y: auto;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.2s ease;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Menu Styles */
.header .mobile-menu-section {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.header .mobile-menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header .mobile-menu-toggle:hover {
    background: rgba(255, 145, 77, 0.2);
    transform: scale(1.1);
}

.header .current-page-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header .current-page-title:hover {
    color: #ff914d;
    transform: scale(1.05);
}

.header .desktop-nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}


/* Mobile Menu Panel */
#mobileMenuOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

#mobileMenuOverlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#mobileMenuPanel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.3), rgba(171, 0, 62, 0.3));
    backdrop-filter: blur(10px);
    border: none;
    border-right: 2px solid rgba(255, 145, 77, 0.2);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
    z-index: 9999999 !important;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: none;
    transform-origin: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

#mobileMenuPanel.active {
    left: 0;
    transform: none;
}

#mobileMenuPanel .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
}

#mobileMenuPanel .mobile-menu-title {
    color: #ffffff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

#mobileMenuPanel .mobile-menu-close-btn {
    background: rgba(255, 145, 77, 0.2);
    border: 1px solid rgba(255, 145, 77, 0.3);
    color: #ff914d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#mobileMenuPanel .mobile-menu-close-btn:hover {
    background: rgba(255, 145, 77, 0.3);
    transform: scale(1.1);
}

#mobileMenuPanel .mobile-menu-content {
    padding: 0;
}

#mobileMenuPanel .mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#mobileMenuPanel .mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin: 0.3rem 0;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

#mobileMenuPanel .mobile-menu-item:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-left: 3px solid #ff914d;
    box-shadow: 0 2px 8px rgba(255, 145, 77, 0.2);
}

#mobileMenuPanel .mobile-menu-item i {
    font-size: 1.2rem;
    color: #ff914d;
    width: 20px;
    text-align: center;
}

#mobileMenuPanel .mobile-menu-item span {
    font-weight: 500;
    font-size: 1rem;
}

#mobileMenuPanel .mobile-menu-item.active {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    border-left: 3px solid #ff914d;
    box-shadow: 0 2px 8px rgba(255, 145, 77, 0.2);
}

#mobileMenuPanel .mobile-menu-item.active i {
    color: #ff914d;
}

/* Mobile Menu Categories Section */
#mobileMenuPanel .mobile-menu-categories-section {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 145, 77, 0.3);
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
}

#mobileMenuPanel .mobile-menu-categories-title {
    color: #ff914d;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding: 0 1rem;
}

#mobileMenuPanel .mobile-menu-categories {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

#mobileMenuPanel .mobile-menu-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    margin: 0.3rem 0;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
}

#mobileMenuPanel .mobile-menu-category-item:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-left: 3px solid #ff914d;
    box-shadow: 0 2px 8px rgba(255, 145, 77, 0.2);
}

#mobileMenuPanel .mobile-menu-category-item i {
    font-size: 1rem;
    color: #ff914d;
    transition: transform 0.3s ease;
}

#mobileMenuPanel .mobile-menu-category-item:hover i {
    transform: rotate(90deg);
}

/* Mobile Menu Subcategories */
#mobileMenuPanel .mobile-menu-category-container {
    position: relative;
}

#mobileMenuPanel .mobile-subcategory-arrow {
    font-size: 1rem;
    color: #ff914d;
    transition: transform 0.3s ease;
}

#mobileMenuPanel .mobile-subcategories-menu {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

#mobileMenuPanel .mobile-subcategories-menu[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenuPanel .mobile-subcategory-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    margin-left: 1rem;
}

#mobileMenuPanel .mobile-subcategory-item:last-child {
    border-bottom: none;
}

#mobileMenuPanel .mobile-subcategory-item:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-radius: 6px;
    border-left: 2px solid #ff914d;
}

/* Mobile Side Panel */
@media (max-width: 768px) {
    .header .mobile-menu-section {
        display: flex;
    }
    
    .header .desktop-nav-items {
        display: none;
    }
    
    .categories-dropdown-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(255, 145, 77, 0.3), rgba(171, 0, 62, 0.3));
        border: none;
        border-right: 2px solid rgba(255, 145, 77, 0.2);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
        z-index: 9999999 !important;
        overflow-y: auto;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: none;
        transform-origin: left;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-overflow-scrolling: touch;
        pointer-events: auto;
    }
    
    .categories-dropdown-menu.active {
        left: 0;
        transform: none;
    }
    
    /* Overlay for mobile side panel */
    .categories-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 999999 !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .categories-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    

}

.categories-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

/* Categories Panel Header */
.categories-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
}

@media (max-width: 768px) {
    .categories-panel-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
        border-bottom: 2px solid rgba(255, 145, 77, 0.4);
    }
    
    .categories-panel-title {
        font-size: 1.2rem;
        font-weight: bold;
        color: #ffffff;
    }
    
    .categories-close-btn {
        font-size: 1.5rem;
        padding: 0.5rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }
    
    .categories-close-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
        color: #ff914d;
    }
    
    .categories-close-btn:active {
        transform: scale(0.95);
    }
}

.categories-panel-title {
    color: #ff914d;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.categories-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.categories-close-btn:hover {
    color: #ff914d;
    background: rgba(255, 145, 77, 0.1);
    transform: scale(1.1);
}

.category-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0.25rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .category-item {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        margin: 0.3rem 0;
        border-radius: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.03);
        border-left: 3px solid transparent;
    }
    
    .category-item:hover {
        background: rgba(255, 145, 77, 0.2);
        color: #ff914d;
        transform: translateX(5px);
        border-left: 3px solid #ff914d;
        box-shadow: 0 2px 8px rgba(255, 145, 77, 0.2);
    }
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-radius: 6px;
    border-left: 2px solid #ff914d;
}

/* User Section */
.user-section {
    gap: 1rem;
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    height: 100%;
    align-items: center;
}

.account-info:hover {
    color: #ff914d;
    animation: smoothZoom 2s ease-in-out infinite;
}

.account-info i {
    font-size: 1.2rem;
}

.username {
    font-weight: 500;
    transition: opacity 0.6s ease;
}

.username.fade-out {
    opacity: 0;
}

.username.fade-in {
    opacity: 1;
}

.basket-link {
    color: #ffffff;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.basket-link:hover {
    color: #ff914d;
    animation: smoothZoom 2s ease-in-out infinite;
}

/* Basket count badge */
.basket-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff914d, #ab003e);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
    z-index: 10;
    min-width: 22px;
    min-height: 22px;
}

.basket-count-badge.show {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 8px rgba(255, 145, 77, 0.6));
}

.basket-count-badge.pulse {
    animation: countPulse 0.8s ease-in-out;
}

@keyframes countPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.4);
        box-shadow: 0 6px 20px rgba(255, 145, 77, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.welcome-container {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.welcome-content {
    text-align: center;
    margin-bottom: 2rem;
}

.terms-content {
    text-align: left;
    margin: 0 auto 2rem auto;
    border: 2px solid rgba(255, 145, 77, 0.3);
    border-radius: 15px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    max-width: 800px;
}

.welcome-content h2 {
    color: #ff914d;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.welcome-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.welcome-content li {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 145, 77, 0.2);
}

.welcome-content li:last-child {
    border-bottom: none;
}

.contact-icons {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 145, 77, 0.2);
}

.discord-link, .contact-link {
    color: #ff914d;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.discord-link:hover {
    color: #ff914d;
    text-decoration: none;
    transform: scale(1.2);
}

.discord-link {
    transform: none !important;
    font-size: 1.2rem;
    font-weight: normal;
    color: #7289da;
    text-decoration: none;
}

.discord-link:hover {
    transform: none !important;
    font-size: 1.2rem;
    font-weight: normal;
    color: #ff914d;
    text-decoration: none;
}

.contact-link .fab.fa-discord {
    color: #7289da;
}

.contact-link .fab.fa-youtube {
    color: #ff0000;
}

.contact-link .fab.fa-discord:hover {
    color: #ff914d;
}

.contact-link .fab.fa-youtube:hover {
    color: #ff914d;
}

.logo-container {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: -80px;
}

/* Package page specific logo positioning */
.package-page .logo-container {
    margin-bottom: -140px;
}

/* Content page specific logo positioning */
.content-page .logo-container {
    margin-bottom: -140px;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.container h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.welcome-text {
    color: #ffffff;
}

.store-name {
    color: #ff914d;
}

.container p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Featured Container Styles */
.featured-container {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Tab Navigation Styles */
.featured-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border: 2px solid rgba(255, 145, 77, 0.3);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tab-button:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.4), rgba(171, 0, 62, 0.4));
    border-color: rgba(255, 145, 77, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.3);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.6), rgba(171, 0, 62, 0.6));
    border-color: #ff914d;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 145, 77, 0.4);
    transform: translateY(-2px);
}

.featured-section {
    margin-bottom: 4rem;
}

/* Reviews section specific styling */
.featured-section.reviews-section {
    margin-bottom: 0;
    height: 650px;
}

/* Mobile responsive for reviews section */
@media (max-width: 768px) {
    .featured-section.reviews-section {
        height: auto;
        min-height: fit-content;
    }
}

.section-title {
    color: #ff914d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.featured-grid {
    position: relative;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.05), rgba(171, 0, 62, 0.05));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 145, 77, 0.2);
    overflow: hidden;
    height: 260px;
}

/* Hide grid box background for reviews */
#reviews-unified {
    background: transparent;
    border: none;
    padding: 0;
}

/* Grid wrapper to handle overflow for more button */
.grid-wrapper {
    position: relative;
    overflow: visible;
}

/* More button wrapper to handle overflow */
.more-btn-wrapper {
    position: absolute;
    top: -17px;
    right: 15px;
    z-index: 25;
}

.featured-section {
    position: relative;
}

/* Grid wrapper animation for tab switching */
.grid-wrapper {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.grid-wrapper.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.grid-wrapper.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* New fade effect using CSS gradients */
.featured-grid::before,
.featured-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

/* Reviews grid specific fade effect - fade out before circular edges */
#reviews-unified::before,
#reviews-unified::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.featured-grid::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 20%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0.2) 60%, 
        rgba(0, 0, 0, 0.05) 80%, 
        transparent 100%);
}

.featured-grid::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.7) 20%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0.2) 60%, 
        rgba(0, 0, 0, 0.05) 80%, 
        transparent 100%);
}

/* Hide fade effects for reviews grid */
#reviews-unified::before,
#reviews-unified::after {
    display: none;
}

/* Removed CSS fade effects to let JavaScript handle the fade */

/* Featured items */
.featured-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    /* Enable scroll-snap alignment for each item */
    scroll-snap-align: center;
}



.featured-grid-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    margin: 0 2rem;
    /* Center the container by adding padding to center the first item */
    padding-left: calc(50% - 100px - 1.5rem);
    padding-right: calc(50% - 100px - 1.5rem);
    /* Enable scroll-snap for smooth centering */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

/* Reviews grid container - show only 3 items */
#reviews-container {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    margin: 0;
    /* Center the container with adjusted padding, moved slightly to left */
    padding-left: calc(50% - 100px - 0.75rem + 12px);
    padding-right: calc(50% - 100px - 0.75rem - 200px);
    /* Center items vertically only */
    align-items: center;
    /* Enable scroll-snap for smooth centering */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    
}

/* Constrain the reviews grid wrapper to show only 3 items */
#reviews-unified {
    width: calc(200px * 3 + 1.5rem * 2); /* Exactly 3 items + 2 gaps, no extra margins */
    margin: 0 auto;
    overflow: hidden;
    height: fit-content;
}

/* Hide arrow buttons for reviews grid */
#reviews-unified .slide-arrow {
    display: none;
}



.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-arrow:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.slide-arrow.prev {
    left: 10px;
}

.slide-arrow.next {
    right: 10px;
}

.slide-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.slide-arrow:disabled:hover {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.featured-item:hover {
    transform: translateY(-5px) scale(1.1);
}

.featured-item.centered-hover {
    transform: translateY(-5px) scale(1.1);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
}

.featured-item:hover .item-overlay,
.featured-item.centered-hover .item-overlay {
    opacity: 1;
}

.featured-item:hover .item-image,
.featured-item.centered-hover .item-image {
    transform: scale(1.2);
}

.item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    padding: 0.75rem 0.5rem 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show name on hover and for centered item */
.featured-item:hover .item-name,
.featured-item.centered-hover .item-name {
    opacity: 1;
}

/* Only allow hover effects for items with hover-allowed class */
.featured-item:hover {
    transform: none;
}

.featured-item:hover .item-image {
    transform: none;
}

.featured-item:hover .item-overlay {
    opacity: 0;
}

.featured-item:hover .item-name {
    opacity: 0;
}

/* Allow hover effects only for items with hover-allowed class */
.featured-item.hover-allowed:hover {
    transform: translateY(-5px) scale(1.1);
}

.featured-item.hover-allowed:hover .item-image {
    transform: scale(1.2);
}

.featured-item.hover-allowed:hover .item-overlay {
    opacity: 0;
}

.featured-item.hover-allowed:hover .item-name {
    opacity: 1;
}

/* Dark overlay only for first and last visible items */
.featured-item.first-visible:hover .item-overlay,
.featured-item.last-visible:hover .item-overlay {
    opacity: 1;
}

/* Remove dark overlay from centered item */
.featured-item.centered-hover .item-overlay {
    opacity: 0;
}

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    z-index: 5;
    animation: pulse 2s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
}

.item-description {
    color: #cccccc;
    font-size: 0.7rem;
    text-align: center;
    padding: 0.25rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.3;
}

/* Review Item Styles */
.review-item {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    scroll-snap-align: center;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.review-item:hover {
    transform: translateY(-5px) scale(0.8);
}

/* Make non-centered items smaller */
.review-item {
    transform: scale(0.8);
}

.review-item.centered-hover {
    transform: translateY(-5px) scale(1.1);
}

/* Disable hover animations during and after reset */
.review-item.no-hover-animation {
    transition: none !important;
    animation: none !important;
}

.review-item.no-hover-animation.centered-hover {
    transition: none !important;
    animation: none !important;
}

.review-item.no-hover-animation * {
    transition: none !important;
    animation: none !important;
}

/* Review Details Card */
.review-details-card {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto 0;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.review-customer-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
}

.review-rating {
    margin: 0 0 1rem 0;
}

.review-rating .star {
    color: #ffd700;
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-rating .star.empty {
    color: #444;
}

.review-comment {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Responsive design for review details card */
@media (max-width: 768px) {
    .review-details-card {
        margin: 1.5rem 1rem 0;
        padding: 1rem;
    }
    
    .review-customer-name {
        font-size: 1.1rem;
    }
    
    .review-rating .star {
        font-size: 1.1rem;
    }
    
    .review-comment {
        font-size: 0.9rem;
    }
}

.review-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 145, 77, 0.5);
    transition: all 0.3s ease;
}

.review-item.centered-hover .review-avatar {
    transform: scale(1.05);
}

/* Hide username, stars, and comment in review items - only show avatar */
.review-item .review-username,
.review-item .review-stars,
.review-item .review-comment {
    display: none;
}

/* Loading and error states */
.loading, .no-products, .error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #cccccc;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Specific override for package grid loading states */
.package-grid .loading,
.package-grid .no-products,
.package-grid .error {
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    text-align: center;
    box-sizing: border-box;
}

.loading {
    color: #ff914d;
}

.error {
    color: #ff6b6b;
}

/* Loading state styles */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #ff914d;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #ff914d;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 145, 77, 0.3);
    border-top: 4px solid #ff914d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.loading-text {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error state styles */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #ff6b6b;
    font-size: 1.1rem;
}

.error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.retry-btn {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.retry-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.3);
}

.more-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.15), rgba(171, 0, 62, 0.15));
    color: #ffffff;
    border: 1px solid rgba(255, 145, 77, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 90px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.more-btn:hover::before {
    left: 100%;
}

.more-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.25), rgba(171, 0, 62, 0.25));
    border-color: rgba(255, 145, 77, 0.6);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.3);
}

.more-btn:active {
    transform: translateY(0) scale(0.98);
}

.more-btn span {
    font-weight: 600;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.more-btn:hover i {
    transform: translateX(3px);
}

/* Package Page Styles */
.package-container {
    margin-top: 0;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.package-title {
    color: #ff914d;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 325px);
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.package-item {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    width: 325px;
    height: 383px;
    display: flex;
    flex-direction: column;
}

.package-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.3);
    border-color: rgba(255, 145, 77, 0.6);
    cursor: pointer;
}

.package-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.package-item:hover .package-image {
    transform: scale(1.05);
}

.package-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
   margin-top: 8px;
    justify-content: center;
    flex: 1;
}

.package-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-original-price {
    color: #cccccc;
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.package-current-price {
    color: #ff914d;
    font-size: 1.5rem;
    font-weight: bold;
}

.package-discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    z-index: 5;
    animation: pulse 2s infinite;
}

.package-subcategory-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 145, 77, 0.4);
    z-index: 5;
}

.package-category-tags {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    align-items: center;
    z-index: 5;
}

.package-parent-tag {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 6px rgba(255, 145, 77, 0.4);
    white-space: nowrap;
}

.package-subcategory-tag {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 6px rgba(255, 145, 77, 0.4);
    white-space: nowrap;
}

.package-basket-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.package-basket-icon:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Content Page Styles */
.content-container {
    margin-top: 0;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Product tags */
.product-tags {
    margin: 2rem 0;
}

.product-tags h4 {
    color: #ff914d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #ff914d;
    font-size: 0.9rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}

/* YouTube showcase */
.youtube-showcase {
    margin: 2rem 0;
}

.youtube-showcase h4 {
    color: #ff914d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.product-main-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.product-left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-image-section {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.product-main-image:hover {
    /* Removed scale transform to eliminate shadow effect */
}

/* Image Container and Preview Styles */
.image-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    /* Ensure container matches image exactly */
    display: inline-block;
    line-height: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: auto;
    border-radius: 15px;
    margin: 0;
    padding: 0;
    /* Force exact image dimensions */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

/* Ensure overlay is perfectly contained within image bounds */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    border-radius: 15px;
    margin: 0;
    padding: 0;
    /* Ensure it doesn't extend beyond the container */
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

/* Alternative hover method - always show overlay */
.image-overlay.always-visible {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    visibility: visible !important;
}

/* No Item Found Styles */
.no-item-found {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
    padding: 2rem;
}

.no-item-content {
    max-width: 500px;
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 3rem 2rem;
}

.no-item-content i {
    font-size: 4rem;
    color: #ff914d;
    margin-bottom: 1.5rem;
}

.no-item-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.no-item-content p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.back-home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

.back-home-btn i {
    font-size: 1.1rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.back-home-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.4);
}

/* Preview button styling */
.preview-btn {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.preview-btn {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 145, 77, 0.6);
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
}

.preview-btn i {
    font-size: 1.2rem;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.close-video-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.close-video-btn:hover {
    background: rgba(255, 71, 87, 0.8);
    transform: scale(1.05);
}

.product-discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 5;
    animation: pulse 2s infinite;
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
}

.title-hero {
    position: relative;
    margin-bottom: 0;
}

.product-name {
    background: linear-gradient(135deg, #ff914d, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(255, 145, 77, 0.3);
    letter-spacing: -0.02em;
}

.title-accent {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ff914d, #ff6b35);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 145, 77, 0.4);
}

.product-info-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.product-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
}

.product-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.tag {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border: 1px solid rgba(255, 145, 77, 0.4);
    color: #ff914d;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Ensure visible spacing between tags even if flex gap isn't applied */
.product-tags .tag {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.3), rgba(171, 0, 62, 0.3));
    border-color: rgba(255, 145, 77, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
}

.price-badge {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.3));
    border: 2px solid rgba(255, 145, 77, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: fit-content;
    max-width: 500px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.price-original {
    color: #888888;
    text-decoration: line-through;
    opacity: 0.7;
    white-space: nowrap;
    font-size: clamp(0.6rem, 2vw, 1rem);
    flex-shrink: 0;
    min-width: 0;
}

.price-current {
    color: #00ff88;
    font-weight: bold;
    white-space: nowrap;
    font-size: clamp(0.8rem, 3vw, 2rem);
    flex-shrink: 0;
    min-width: 0;
}

.price-savings {
    color: #ff914d;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(0.5rem, 1.8vw, 0.9rem);
    flex-shrink: 0;
    min-width: 0;
}

/* Responsive adjustments for very small screens */
@media (max-width: 480px) {
    .price-badge {
        gap: 0.5rem;
        padding: 1rem;
        min-width: 250px;
        max-width: 100%;
        width: fit-content;
    }
    
    .price-original {
        font-size: clamp(0.5rem, 1.8vw, 0.8rem);
    }
    
    .price-current {
        font-size: clamp(0.7rem, 2.5vw, 1.5rem);
    }
    
    .price-savings {
        font-size: clamp(0.4rem, 1.5vw, 0.8rem);
        padding: 0.2rem 0.6rem;
    }
}

.product-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-name {
    color: #ff914d;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    display: inline;
}



.product-description {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.product-description li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}



.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border: 2px solid rgba(255, 145, 77, 0.6);
    color: #ff914d;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.4), rgba(171, 0, 62, 0.4));
    border-color: #ff914d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.3);
}

.buy-now-btn {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.4);
}

.suggested-section {
    margin-top: 4rem;
}

.suggested-title {
    color: #ff914d;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.suggested-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.suggested-item {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: pointer;
}

.suggested-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 145, 77, 0.3);
    border-color: rgba(255, 145, 77, 0.6);
}

.suggested-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.suggested-item:hover .suggested-image {
    transform: scale(1.05);
}

.suggested-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.suggested-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.suggested-original-price {
    color: #cccccc;
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.suggested-discounted-price {
    color: #ff914d;
    font-size: 1.2rem;
    font-weight: bold;
}

.suggested-discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    z-index: 5;
    animation: pulse 2s infinite;
}

.suggested-basket-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.suggested-basket-icon:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Suggested grid no products style */
.suggested-grid .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #cccccc;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.05), rgba(171, 0, 62, 0.05));
    border: 1px solid rgba(255, 145, 77, 0.1);
    border-radius: 15px;
    margin: 2rem 0;
}

.suggested-section {
    margin-top: 4rem;
}

/* Checkout Slide Panel */
.checkout-slide {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.08), rgba(171, 0, 62, 0.08));
    backdrop-filter: blur(50px);
    border-left: 2px solid rgba(255, 145, 77, 0.05);
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.8);
    z-index: 10000000 !important;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    opacity: 0.9;
}

.checkout-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0.3) 80%,
        rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.checkout-slide.active {
    right: 0;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    opacity: 1;
    position: relative; /* Added for z-index */
    z-index: 2; /* Added to appear above ::before */
}

.checkout-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.close-checkout {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-checkout:hover {
    color: #ff914d;
    transform: scale(1.1);
}

.checkout-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* Added for z-index */
    z-index: 2; /* Added to appear above ::before */
    min-height: 0; /* Allow flex child to shrink */
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    margin-bottom: 0;
    min-height: 0; /* Allow flex child to shrink */
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    opacity: 1;
}

.cart-item.removing {
    transform: translateX(100%);
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-5px);
    opacity: 1;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #ff914d;
    font-size: 1.1rem;
    font-weight: bold;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.1);
}

.checkout-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0;
}

.total-label {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-amount {
    color: #ff914d;
    font-size: 1.5rem;
    font-weight: bold;
}

.proceed-checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.15), rgba(171, 0, 62, 0.15));
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    opacity: 1;
    position: relative;
    z-index: 3;
    margin: 0;
}

.proceed-checkout-btn:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.25), rgba(171, 0, 62, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.2);
    opacity: 1;
}

.checkout-overlay {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .featured-container {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .featured-tabs {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.3rem 0;
    }
    
    .header-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.5rem;
        align-items: center;
        overflow: visible;
        position: relative;
    }
    
    .header-navigation {
        gap: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        flex: 1;
    }
    
    .nav-item {
        font-size: 0.75rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .categories-dropdown-toggle {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }
    
    .user-section {
        width: auto;
        justify-content: flex-end;
        margin-left: 0;
        gap: 0.5rem;
    }
    
    .user-info {
        gap: 0.5rem;
    }
    
    .basket-link {
        padding: 0.3rem;
        font-size: 1.1rem;
    }
    
    .account-info {
        font-size: 0.75rem;
        padding: 0.3rem;
    }
    
    .username {
        font-size: 0.75rem;
    }
    
    .categories-dropdown-menu {
        /* Mobile side panel styles are handled in the media query above */
    }
    
    .categories-dropdown-menu.active {
        /* Mobile side panel styles are handled in the media query above */
    }
    
    .category-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.2rem 0;
    }
    
    .categories-panel-header {
        padding: 0.4rem 0;
        margin-bottom: 0.4rem;
    }
    
    .categories-panel-title {
        font-size: 0.9rem;
    }
    
    .categories-close-btn {
        font-size: 0.9rem;
        padding: 0.2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .container h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .container p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .featured-container {
        margin-top: 1.5rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .featured-tabs {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tab-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    .featured-grid {
        padding: 1.5rem;
        height: 220px;
    }
    
    .featured-grid::before,
    .featured-grid::after {
        width: 120px;
    }

    .featured-grid-container {
        margin: 0 1.5rem;
        padding-left: calc(50% - 80px - 1.5rem);
        padding-right: calc(50% - 80px - 1.5rem);
    }

    #reviews-container {
        margin: 0;
        padding-left: calc(50% - 80px - 0.75rem);
        padding-right: calc(50% - 80px - 0.75rem);
    }

    #reviews-unified {
        width: calc(160px * 3 + 1.5rem * 2);
        margin: 0 auto;
        overflow: hidden;
    }

    .featured-item {
        width: 160px;
        height: 160px;
    }

    .review-item {
        width: 160px;
        height: 160px;
    }

    .review-avatar {
        width: 120px;
        height: 120px;
    }

    .item-name {
        font-size: 0.8rem;
        padding: 0.5rem 0.25rem 0.25rem;
    }
    
    .discount-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        top: 6px;
        left: 6px;
    }
    
    .package-discount-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .product-discount-badge {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .suggested-discount-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .slide-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .logo {
        max-width: 200px;
        height: auto;
    }
    
    .welcome-container {
        padding: 2rem 1rem;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .welcome-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
     

 }
 /* Tablet optimizations for Packages page */
@media(max-width: 1024px) {
    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        justify-items: center;
        justify-content: center;
    }
    .package-item {
        width: 100%;
        max-width: 320px;
        height: 360px;
    }
    .package-image {
        height: 180px;
    }
    .package-title {
        margin: 0;
        text-align: center;
    }
    .filter-content {
        width: min(85vw, 420px);
    }
    .package-search-toggle.active {
        width: 300px;
    }
}
 

@media (max-width: 480px) {
    .checkout-slide {
        width: 100%;
        right: -100%;
    }
    
    .header {
        padding: 0.25rem 0;
    }
    
    .header-container {
        padding: 0 0.3rem;
        gap: 0.3rem;
    }
    
    .header-navigation {
        flex-direction: row;
        gap: 0.3rem;
        align-items: center;
    }
    
    .header .current-page-title {
        font-size: 0.9rem;
        max-width: 100px;
    }
    
    #mobileMenuPanel {
        width: 280px;
    }
    
    #mobileMenuPanel .mobile-menu-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.2rem 0;
    }
    
    #mobileMenuPanel .mobile-menu-item i {
        font-size: 1.1rem;
    }
    
    #mobileMenuPanel .mobile-menu-categories-title {
        font-size: 1.1rem;
    }
    
    #mobileMenuPanel .mobile-menu-category-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        margin: 0.2rem 0;
    }
    
    #mobileMenuPanel .mobile-menu-category-item i {
        font-size: 0.9rem;
    }
    
    #mobileMenuPanel .mobile-subcategory-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        margin-left: 0.8rem;
    }
    
    .nav-item {
        font-size: 0.65rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 4px;
    }
    
    .categories-dropdown-toggle {
        font-size: 0.9rem;
        padding: 0.25rem 0.4rem;
        border-radius: 4px;
    }
    
    .user-section {
        width: auto;
        justify-content: flex-end;
        margin-left: 0;
        gap: 0.3rem;
    }
    
    .user-info {
        gap: 0.3rem;
    }
    
    .basket-link {
        padding: 0.25rem;
        font-size: 1rem;
        border-radius: 4px;
    }
    
    .account-info {
        font-size: 0.65rem;
        padding: 0.25rem;
        border-radius: 4px;
    }
    
    .username {
        font-size: 0.65rem;
    }
    
    .categories-dropdown-menu {
        /* Mobile side panel styles are handled in the media query above */
    }
    
    .categories-dropdown-menu.active {
        /* Mobile side panel styles are handled in the media query above */
    }
    
    .category-item {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        margin: 0.15rem 0;
    }
    
    .categories-panel-header {
        padding: 0.3rem 0;
        margin-bottom: 0.3rem;
    }
    
    .categories-panel-title {
        font-size: 0.8rem;
    }
    
    .categories-close-btn {
        font-size: 0.8rem;
        padding: 0.15rem;
    }
    
    .header-icons {
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 0.3rem;
    }
    
    .container h1 {
        font-size: 1.3rem;
        line-height: 1.1;
    }
    
    .container p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .featured-container {
        margin-top: 1rem;
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-tabs {
        gap: 0.2rem;
        margin-bottom: 0.8rem;
    }
    
    .tab-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 4px;
    }

    .featured-grid {
        padding: 1rem;
        height: 200px;
    }
    
    .featured-grid::before,
    .featured-grid::after {
        width: 80px;
    }

    .featured-grid-container {
        margin: 0 1rem;
        padding-left: calc(50% - 70px - 1.5rem);
        padding-right: calc(50% - 70px - 1.5rem);
    }

    #reviews-container {
        margin: 0;
        padding-left: calc(50% - 70px - 0.75rem);
        padding-right: calc(50% - 70px - 0.75rem);
    }

    #reviews-unified {
        width: calc(140px * 3 + 1.5rem * 2);
        margin: 0 auto;
        overflow: hidden;
    }

    .featured-item {
        width: 140px;
        height: 140px;
    }

    .review-item {
        width: 140px;
        height: 140px;
    }

    .review-avatar {
        width: 100px;
        height: 100px;
    }

    .item-name {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem 0.2rem;
    }
    
    .discount-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        top: 4px;
        left: 4px;
        border-radius: 8px;
    }
    
    .package-discount-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        border-radius: 10px;
    }
    
    .product-discount-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        border-radius: 12px;
    }
    
    .suggested-discount-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        border-radius: 8px;
    }

    .slide-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .more-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .logo {
        max-width: 150px;
        height: auto;
    }
    
    .welcome-container {
        padding: 1.5rem 0.5rem;
    }
    
    .welcome-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .welcome-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .user-section {
        gap: 0.5rem;
    }
    
    .basket-link {
        padding: 0.4rem;
    }
    
    .basket-count-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .username {
        font-size: 0.8rem;
    }

    .grid-wrapper {
        overflow: visible;
    }
    
    .more-btn-wrapper {
        right: 10px;
        width: 30px;
        height: 30px;
        top: -15px;
    }
    
    .more-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: 0;
        right: 0;
    }
    
    .package-container {
        padding: 3rem;
        margin-top: 0;
    }
    
    .package-title {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 1.5rem;
        width: 100%;
        display: block;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
        justify-content: center;
    }
    
    .package-item {
        padding: 1rem;
        height: 320px;
        width: 280px;
    }
    
    .package-image {
        height: 160px;
    }
    
    .package-name {
        font-size: 1rem;
    }
    
    .package-discounted-price {
        font-size: 1.2rem;
    }
    
    .package-basket-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Content page responsive styles */
    .content-container {
        padding: 2rem;
        margin-top: 0;
    }
    
    .product-details {
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-main-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-left-section {
        width: 100%;
    }
    
    .product-image-section {
        width: 100%;
    }
    
    .product-main-image {
        aspect-ratio: 16/9;
    }
    
    .product-info-section {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .product-info-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .product-name {
        font-size: 2.2rem;
    }
    
    .product-tags {
        gap: 0.6rem;
        justify-content: center;
    }
    
    .tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .price-badge {
        min-width: 120px;
        padding: 1rem;
    }
    
    .price-current {
        font-size: 1.5rem;
    }
    
    .product-right-section {
        width: 100%;
    }
    
    .product-name {
        font-size: 1.8rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        width: 100%;
        padding: 1rem;
    }
    
    .suggested-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .suggested-item {
        padding: 1rem;
    }
    
    .suggested-image {
        height: 120px;
    }
    
    .suggested-name {
        font-size: 1rem;
    }
    
    .suggested-discounted-price {
        font-size: 1.1rem;
    }
    
         .suggested-basket-icon {
         width: 35px;
         height: 35px;
         font-size: 1rem;
     }
 }

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border-top: 1px solid rgba(255, 145, 77, 0.3);
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    color: #ff914d;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 50%;
    color: #ff914d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.4), rgba(171, 0, 62, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #ff914d;
    transform: translateX(5px);
}

.footer-link::before {
    content: '→';
    color: #ff914d;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
    font-size: 0.9rem;
}

.contact-item i {
    color: #ff914d;
    width: 16px;
    text-align: center;
}

.contact-item .contact-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    margin: 0;
}

.contact-item .contact-link:hover {
    color: #ff914d;
}

/* Footer Middle Section - Payment Methods */
.footer-middle {
    border-top: 1px solid rgba(255, 145, 77, 0.2);
    border-bottom: 1px solid rgba(255, 145, 77, 0.2);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.payment-section {
    text-align: center;
}

.payment-title {
    color: #ff914d;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 100px;
}

.payment-method:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.2), rgba(171, 0, 62, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 145, 77, 0.2);
}

.payment-method i {
    font-size: 2rem;
    color: #ff914d;
}

.payment-method span {
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 145, 77, 0.2);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.copyright p {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
}

.copyright p:first-child {
    color: #ccc;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.legal-link {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #ff914d;
}

.separator {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .payment-methods {
        gap: 1rem;
    }
    
    .payment-method {
        padding: 0.8rem;
        min-width: 80px;
    }
    
    .payment-method i {
        font-size: 1.5rem;
    }
    
    .payment-method span {
        font-size: 0.75rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .copyright p {
        font-size: 0.8rem;
    }
    
    .legal-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 0.8rem;
    }
    
    .footer-top {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .footer-link {
        font-size: 0.8rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .payment-methods {
        gap: 0.8rem;
    }
    
    .payment-method {
        padding: 0.6rem;
        min-width: 70px;
    }
    
    .payment-method i {
        font-size: 1.3rem;
    }
    
    .payment-method span {
        font-size: 0.7rem;
    }
    
    .payment-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    
    .copyright p {
        font-size: 0.75rem;
    }
    
    .legal-link {
        font-size: 0.75rem;
    }
    
    .separator {
        font-size: 0.75rem;
    }
}

/* Terms & Conditions Page Styles */
.terms-container {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: left;
}

.terms-content h2 {
    color: #ff914d;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
}

.terms-content h2 + * {
    margin-bottom: 5rem;
}



.terms-content > p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.terms-section {
    margin-bottom: 5rem;
    text-align: left;
}

.terms-section h3 {
    color: #ff914d;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
}
.terms-section h4{
    color:#ff914d;
    text-align: center;
}
.terms-section a{
    color:#ff914d;
    font-weight:bold;
 text-decoration: none;
 transition: color 0.3s ease;    
}
.terms-section a:hover {
  color: #ff4500; /* اللون اللي يظهر وقت الهوفر */
}
.terms-section b{
    color:white;
}

/* FAQ specific styling */
.terms-content .terms-section h3 {
    color: #ff914d;
    font-size: 1.3rem;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
}



.terms-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive design for terms page */
@media (max-width: 768px) {
    .terms-container {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .terms-content h2 {
        font-size: 2rem;
    }
    
    .terms-content > p {
        font-size: 1rem;
    }
    
    .terms-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .terms-section h3 {
        font-size: 1.1rem;
    }
    
    .terms-section p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        margin-top: 1.5rem;
        padding: 1.5rem;
    }
    
    .terms-content h2 {
        font-size: 1.8rem;
    }
    
    .terms-content > p {
        font-size: 0.9rem;
    }
    
    .terms-section {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .terms-section h3 {
        font-size: 1rem;
    }
    
    .terms-section p {
        font-size: 0.85rem;
    }
}

/* Subcategory Navigation Styles */
.category-item-container {
    position: relative;
}

.subcategory-arrow {
    margin-left: 8px;
    font-size: 0.8rem;
    color: #ff914d;
    transition: transform 0.15s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
}

.subcategory-arrow:hover {
    transform: translateX(3px);
    color: #fff;
}

.subcategory-arrow.rotated {
    transform: rotate(90deg);
}

.subcategory-arrow.rotated:hover {
    transform: rotate(90deg) translateX(3px);
}

.subcategories-menu {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-bottom: none;
    box-shadow: none;
    margin-top: 0.25rem;
    padding: 0 0.5rem;
    display: none;
    z-index: 1001;
    overflow-y: auto;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.subcategories-menu[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
}

.subcategory-item {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0.25rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.subcategory-item:last-child {
    border-bottom: none;
}

.subcategory-item:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-radius: 6px;
    border-left: 2px solid #ff914d;
}

/* Ensure parent category items have proper positioning */
.category-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Filter Section Overlay Styles */
.filter-section-overlay {
    position: fixed;
    top: 210px;
    left: 20px;
    z-index: 1000;
}



/* Filter Content */
.filter-content {
    width: 300px;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}

/* Search Bar Styles */
.search-container {
    margin-bottom: 1rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    width: 100%;
    background: none;
    border: none;
    border-radius: 25px;
    padding: 1rem 1rem 1rem 3rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: none;
}



/* Filter Toggle Styles */
.filter-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #ff914d;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 8px;
}

.filter-toggle i {
    font-size: 1rem;
}

/* Filter Content Styles */
.filter-content {
    display: flex;
    flex-direction: column;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px);
}

.filter-content.show {
    opacity: 1;
    max-height: none;
    height: auto;
    transform: translateY(0);
}

/* Filter Options Styles */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
    max-height: 50vh;
}

.filter-section-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-section-title {
    color: #ff914d;
    font-weight: bold;
    font-size: 1.0rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Categories List Styles */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-filter-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-filter-header:hover {
    background: rgba(255, 145, 77, 0.1);
}

.category-filter-header.active {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
}

.subcategories-list {
    gap: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1rem;
    width: 100%;
}

.subcategory-filter-item {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    text-align: left;
}

.subcategory-filter-item:hover {
    background: rgba(255, 145, 77, 0.1);
    color: #ff914d;
}

.subcategory-filter-item.active {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
}

/* Price Range Slider Styles */
.price-range-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-range-slider {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.price-range-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.price-range-progress {
    position: absolute;
    height: 4px;
    background: linear-gradient(135deg, #ff914d, #ab003e);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.price-range-input {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    appearance: none;
    z-index: 2;
}

.price-range-input::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff914d;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.price-range-input::-webkit-slider-thumb:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.price-range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff914d;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Filter Select Styles */
.filter-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.filter-select:focus {
    outline: none;
    border-color: #ff914d;
    box-shadow: 0 0 0 2px rgba(255, 145, 77, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.filter-select option {
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35));
    color: #ffffff;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.filter-select option:hover {
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.5), rgba(171, 0, 62, 0.5));
    color: #ff914d;
}

/* Custom Sort Dropdown Styles */
.custom-sort-dropdown {
    position: relative;
    width: 100%;
}

.sort-dropdown-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sort-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 145, 77, 0.5);
}

.sort-dropdown-toggle.active {
    border-color: #ff914d;
    box-shadow: 0 0 0 2px rgba(255, 145, 77, 0.2);
}

.sort-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.sort-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.sort-dropdown-menu {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 145, 77, 0.15), rgba(171, 0, 62, 0.15));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.25rem;
}

.sort-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    max-height: fit-content;
}

.sort-option {
    padding: 0.75rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {
    background: rgba(255, 145, 77, 0.2);
    color: #ff914d;
    transform: translateX(5px);
    border-left: 2px solid #ff914d;
}

.sort-option.active {
    background: rgba(255, 145, 77, 0.3);
    color: #ff914d;
    border-left: 2px solid #ff914d;
}

/* Package Header Styles */
.package-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
}

.package-header-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.filter-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #ff914d;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.filter-text:hover {
    background: rgba(255, 145, 77, 0.1);
}

.filter-text i {
    font-size: 1rem;
}

/* Filter Panel Header Styles */
.filter-panel-header {
    position: relative;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 145, 77, 0.3);
    flex-shrink: 0;
}

.filter-panel-title {
    color: #ff914d;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.filter-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 145, 77, 0.2);
    border: 1px solid rgba(255, 145, 77, 0.3);
    color: #ff914d;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    z-index: 10;
}

.filter-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 145, 77, 0.4);
    border-color: rgba(255, 145, 77, 0.5);
    transform: scale(1.1);
}

.package-search-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 145, 77, 0.2);
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #ff914d;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 1000;
    pointer-events: auto;
}

.package-search-toggle:hover {
    background: rgba(255, 145, 77, 0.3);
    border-color: rgba(255, 145, 77, 0.5);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 145, 77, 0.3);
}

/* Clear Filters Button */
.clear-filters-btn {
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.3), rgba(64, 64, 64, 0.3));
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: calc(100% - 2rem);
    margin: 1rem 1rem 1rem 1rem;
    flex-shrink: 0;
    align-self: center;
}

.clear-filters-btn.active {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
}

.clear-filters-btn.active:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.8), rgba(171, 0, 62, 0.8));
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .filter-section-overlay {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        max-height: 80vh;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    }
    
    .search-icon {
        font-size: 0.9rem;
        left: 0.75rem;
    }
}

@media (max-width: 1024px) {
    ...
    /* Force header inline search to stay hidden on tablet/mobile */
    .package-search-toggle.active { width: 50px !important; padding: 0 !important; }
    .package-search-toggle.active .search-input { display: none !important; }
}
/* ===== SEARCH EXPAND STYLES ===== */




.package-search-toggle.active {
    width: 350px;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 25px;
    display: flex;
}

.package-search-toggle i {
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 1;
}

.package-search-toggle.active i {
    padding-right: 0.5rem;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}



/* Disable all hover and touch effects */
.package-search-toggle:hover,
.package-search-toggle:focus,
.package-search-toggle:active,
.package-search-toggle:visited {
    color: #ff914d !important;
    background: rgba(255, 145, 77, 0.2) !important;
    border-color: rgba(255, 145, 77, 0.3) !important;
    transform: translateY(-50%) !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 1px solid rgba(255, 145, 77, 0.3) !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
}

/* Search Input */
.search-input {
    width: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 0;
    outline: none;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}

.package-search-toggle.active .search-input {
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    color: #ffffff;
    background: none;
    padding: 0 0.5rem;
    margin-left: 0.5rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
    display: none;
    z-index: 1000;
}

.search-results.show {
    display: block;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 145, 77, 0.2);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 145, 77, 0.1);
    transform: translateX(5px);
}

.search-result-item .package-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
}

.search-result-item .package-price {
    color: #ff914d;
    font-weight: bold;
    font-size: 1rem;
}

.no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Package Highlight Animation */
@keyframes highlightPackage {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 145, 77, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 145, 77, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 145, 77, 0);
    }
}

/* ===== TEBEX INTEGRATION STYLES ===== */

/* Tebex Login Button */
.tebex-login-btn {
    display: none; /* Hide the Tebex login button */
}

.tebex-login-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.tebex-login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Tebex User Info */
.tebex-user-info {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 15px;
    display: none;
}

.tebex-user-info.show {
    display: block;
}

/* Basket Section */
.basket-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.basket-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.basket-icon:hover {
    color: #ff914d;
    transform: scale(1.1);
}

.basket-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    opacity: 1;
    visibility: visible;
}

.basket-container {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a2e;
    border: 1px solid #ff914d;
    border-radius: 12px;
    padding: 20px;
    min-width: 320px;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.basket-container.show {
    display: block;
}

.basket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 145, 77, 0.2);
}

.basket-item:last-child {
    border-bottom: none;
}

.basket-item span {
    color: #ffffff;
    font-size: 0.9rem;
}

.basket-item button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.basket-item button:hover {
    background: #ff5252;
    transform: scale(1.05);
}

.checkout-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Empty basket message */
.basket-container .empty-message {
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-style: italic;
    opacity: 0.7;
}

/* Responsive adjustments for Tebex integration */
@media (max-width: 1024px) {
    .tebex-login-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .basket-container {
        min-width: 280px;
        right: -50px;
    }
    
    .tebex-user-info {
        font-size: 0.8rem;
    }
    
    /* Mobile search toggle adjustments */
    .package-search-toggle {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        right: 0.5rem;
        z-index: 1000;
    }
    
    .package-search-toggle.active {
        width: 280px;
        right: 0.5rem;
    }
    
    .package-search-toggle.active .search-input {
        font-size: 0.9rem;
        padding: 0 0.3rem;
    }
    
    .search-results {
        max-height: 250px;
        margin-top: 0.3rem;
    }
    
    .search-result-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Move logo container up in mobile to avoid overlap */
    .logo-container {
        margin-top: -30px;
        z-index: 1;
        position: relative;
        top: -20px;
        pointer-events: none;
    }
    
    .nav-logo {
        height: 35px;
        z-index: 1;
    }
    
    /* Ensure header navigation doesn't overlap search */
    .header-navigation {
        position: relative;
        z-index: 1;
    }
    
    /* Ensure package header has proper spacing */
    .package-header {
        position: relative;
        z-index: 1;
        padding-right: 60px; /* Make space for search toggle */
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 80px;
        margin-bottom: 2rem;
    }
    
    .package-header-left {
        flex-shrink: 0;
        width: 80px;
    }
    
    .filter-text {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .filter-text i {
        font-size: 0.8rem;
    }
    
    .package-title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        font-size: 3.5rem;
        white-space: nowrap;
        pointer-events: none;
    }
    
    .package-search-toggle {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Search Overlay */
    .mobile-search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        z-index: 10000;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 20vh;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-search-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-search-content {
        background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
        border: 1px solid rgba(255, 145, 77, 0.3);
        border-radius: 20px;
        backdrop-filter: blur(15px);
        padding: 2rem;
        width: 90%;
        max-width: 400px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-search-overlay.show .mobile-search-content {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    
    .mobile-search-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .mobile-search-header h3 {
        color: #ff914d;
        margin: 0;
        font-size: 1.2rem;
        font-weight: bold;
    }
    
    .mobile-search-close-btn {
        background: rgba(255, 145, 77, 0.2);
        border: 1px solid rgba(255, 145, 77, 0.3);
        color: #ff914d;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-search-close-btn:hover {
        background: rgba(255, 145, 77, 0.3);
        transform: scale(1.1);
    }
    
    .mobile-search-input-container {
        position: relative;
        margin-bottom: 1rem;
    }
    
    .mobile-search-input {
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 145, 77, 0.3);
        border-radius: 25px;
        padding: 1rem 3rem 1rem 1rem;
        color: #ffffff;
        font-size: 1rem;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .mobile-search-input:focus {
        border-color: #ff914d;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .mobile-search-input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .mobile-search-btn {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        background: #ff914d;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-search-btn:hover {
        background: #ab003e;
        transform: translateY(-50%) scale(1.1);
    }
    
    .mobile-search-results {
        max-height: 300px;
        overflow-y: auto;
    }
    
    .mobile-search-result-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 145, 77, 0.2);
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-search-result-item:hover {
        background: rgba(255, 145, 77, 0.1);
        transform: translateX(5px);
    }
    
    .mobile-search-result-item .package-name {
        color: #ffffff;
        font-weight: bold;
        font-size: 0.9rem;
    }
    
    .mobile-search-result-item .package-price {
        color: #ff914d;
        font-weight: bold;
        font-size: 1rem;
    }
    
    .no-results {
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-style: italic;
        padding: 1rem;
    }
}

/* ===== USER DROPDOWN STYLES ===== */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35));
    border: 1px solid rgba(255, 145, 77, 0.5);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    transform: translateY(-5px);
    opacity: 0;
    transition: all 0.2s ease;
    margin-top: 5px;
}

.user-dropdown.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.user-dropdown-content {
    padding: 0;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
}

.user-dropdown-header i {
    color: #ffffff;
    font-size: 1rem;
}

.user-dropdown-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-dropdown-items {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

/* Position the dropdown relative to the user section */
.user-section {
    position: relative;
}

/* Ensure the dropdown positions correctly relative to user section */
.user-section .user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
}

.logout-btn, .cancel-btn, .discord-connect-btn, .discord-connected-btn, .currency-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    border-radius: 0;
}

.logout-btn:hover, .currency-btn:hover {
    background: transparent;
    color: #ff914d;
}

.discord-connect-btn:hover {
    background: rgba(128, 0, 128, 0.2);
    color: #800080;
}

.discord-connected-btn {
    background: transparent;
    color: #ff914d;
    white-space: nowrap;
}

.discord-connected-btn:hover {
    background: transparent;
    color: #ff914d;
}

/* Ensure Discord buttons display properly */
.discord-connect-btn, .discord-connected-btn {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

/* Currency Panel Styles */
.currency-panel {
    position: absolute;
    top: 80px;
    left: -240px;
    width: fit-content;
    min-width: 180px;
    background: linear-gradient(90deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35));
    border: 1px solid rgba(255, 145, 77, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.2s ease;
}

.currency-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    left: -265px;
}

.currency-panel-content {
    padding: 0;
}

.currency-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px 8px 0 0;
}

.currency-panel-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-currency-panel {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.close-currency-panel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.currency-search {
    position: relative;
    margin: 12px 16px;
}

.currency-search input {
    width: 100%;
    padding: 10px 35px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 13px;
    backdrop-filter: blur(5px);
}

.currency-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.currency-search input:focus {
    outline: none;
    border-color: rgba(255, 145, 77, 0.8);
    background: rgba(255, 255, 255, 0.15);
}

.currency-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.currency-list {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 16px 16px 16px;
}

.currency-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ffffff;
    min-height: 35px;
    text-align: center;
}

.currency-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 145, 77, 0.6);
    transform: translateX(5px);
}

.currency-item.selected {
    background: rgba(255, 145, 77, 0.3);
    border-color: rgba(255, 145, 77, 0.8);
}

.currency-item .currency-code {
    display: none;
}

.currency-item .currency-name {
    display: none;
}

.currency-item .currency-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Currency Panel - Full Screen */
@media (max-width: 768px) {
    .currency-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 999999 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .currency-panel.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .currency-panel-content {
        background: linear-gradient(90deg, rgba(255, 145, 77, 0.35), rgba(171, 0, 62, 0.35)) !important;
        border: 1px solid rgba(255, 145, 77, 0.5) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        width: 90% !important;
        max-width: 350px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    }
}

.currency-item:hover .currency-symbol {
    color: #ff914d;
}

/* Scrollbar for currency list */
.currency-list::-webkit-scrollbar {
    width: 6px;
}

.currency-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.currency-list::-webkit-scrollbar-thumb {
    background: rgba(255, 145, 77, 0.6);
    border-radius: 3px;
}

.currency-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 145, 77, 0.8);
}

.currency-loading {
    text-align: center;
    color: #ffffff;
    padding: 20px;
    font-style: italic;
    opacity: 0.8;
}

.discord-connect-btn {
    background: rgba(128, 0, 128, 0.1);
    color: #800080;
    margin-top: 8px;
}

.logout-btn:hover {
    color: #ab003e;
}

/* ===== REGISTRATION POPUP STYLES ===== */
.registration-popup {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); display: none; justify-content: center;
    align-items: center; z-index: 10001; backdrop-filter: blur(5px);
}

.registration-popup.show {
    display: flex;
}

.registration-popup-content {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.registration-popup-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.registration-popup-content p {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff914d;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.register-btn, .skip-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.register-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.register-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
}

.skip-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Discord buttons in logout popup */
.discord-connect-btn, .discord-connected-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.discord-connect-btn {
    background: linear-gradient(135deg, #7289DA, #5865F2);
    color: white;
}

.discord-connect-btn:hover {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    transform: translateY(-2px);
}

.discord-connected-btn {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    cursor: default;
}

/* Discord Info Popup Overlay */
.discord-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.discord-info-overlay.show {
    display: flex;
}

.discord-info-popup {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(114, 137, 218, 0.3);
    position: relative;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discord-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(114, 137, 218, 0.3);
}

.discord-info-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-info-header h3 i {
    color: #7289DA;
    font-size: 1.8rem;
}

.close-discord-info {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-discord-info:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.discord-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(114, 137, 218, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(114, 137, 218, 0.2);
}

.discord-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7289DA, #5865F2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discord-avatar i {
    font-size: 2rem;
    color: #ffffff;
}

.discord-details h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.discord-status {
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
}

.discord-benefits {
    margin-bottom: 2rem;
}

.discord-benefits h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #7289DA;
}

.benefit-item i {
    color: #7289DA;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.discord-actions {
    text-align: center;
}

.disconnect-discord-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.disconnect-discord-btn:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Discord button click effects */
.discord-connect-btn:active,
.discord-connected-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.discord-connect-btn.clicked {
    animation: discordClickEffect 0.3s ease;
}

.discord-connected-btn.clicked {
    animation: discordClickEffect 0.3s ease;
}

@keyframes discordClickEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.92);
    }
    100% {
        transform: scale(1);
    }
}

/* Ripple effect for Discord buttons */
.discord-connect-btn,
.discord-connected-btn {
    position: relative;
    overflow: hidden;
}

.discord-connect-btn::after,
.discord-connected-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.discord-connect-btn.ripple::after,
.discord-connected-btn.ripple::after {
    width: 300px;
    height: 300px;
}

/* Responsive design for Discord info popup */
@media (max-width: 768px) {
    .discord-info-popup {
        padding: 1.5rem;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .discord-info-header h3 {
        font-size: 1.3rem;
    }
    
    .discord-user-info {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .discord-avatar {
        width: 50px;
        height: 50px;
    }
    
    .discord-avatar i {
        font-size: 1.5rem;
    }
}
/* ===== Error Page Styles ===== */
.error-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 2rem;
}

.error-content-wrapper {
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.1), rgba(171, 0, 62, 0.1));
    border: 1px solid rgba(255, 145, 77, 0.3);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.error-code {
    font-size: 6rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, #ff914d, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(255, 145, 77, 0.2);
    animation: textGlow 3s infinite;
}

.error-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.error-message {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.error-home-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 145, 77, 0.9), rgba(171, 0, 62, 0.9));
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.error-home-button:hover {
    background: linear-gradient(135deg, rgba(255, 145, 77, 1), rgba(171, 0, 62, 1));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 145, 77, 0.4);
}


/* ===== START: Final Synchronized Customer Reviews Slider Styles ===== */
#reviews-unified {
    /* Desktop: (200px item * 3) + (24px gap * 2) = 648px */
    width: 648px;
    overflow: hidden; /* This hides any items outside the container */
    margin: 0 auto;
    height: fit-content;
    position: relative;
}

#reviews-unified .slide-arrow {
    display: none;
}

#reviews-container {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
    gap: 24px; /* Desktop Gap */
}

.review-item {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    width: 200px; /* Desktop Width */
    height: 200px;
}

.review-item.centered-hover {
    transform: translateY(-5px) scale(1.1);
}

.review-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 145, 77, 0.5);
}

/* For Tablets */
@media (max-width: 768px) {
    #reviews-unified {
        /* Tablet: (160px item * 3) + (20px gap * 2) = 520px */
        width: 520px;
    }
    #reviews-container {
        gap: 20px; /* Tablet Gap */
    }
    .review-item {
        width: 160px; /* Tablet Width */
        height: 160px;
    }
    .review-avatar {
        width: 120px;
        height: 120px;
    }
}

/* For Mobile Phones */
@media (max-width: 480px) {
    #reviews-unified {
        /* Mobile: (120px item * 3) + (16px gap * 2) = 392px */
        width: 392px;
    }
    #reviews-container {
        gap: 16px; /* Mobile Gap */
    }
    .review-item {
        width: 140px; /* Mobile Width (as per your request) */
        height: 140px;
    }
    .review-avatar {
        width: 100px;  /* Mobile Avatar (as per your request) */
        height: 100px;
    }
}
/* ===== END: Final Synchronized Customer Reviews Slider Styles ===== */


