body {
    font-family: 'Roboto', sans-serif; /* Modern font for a clean look */
    margin: 0;
    padding: 0;
    background-color: #f9f9fc; /* Light, neutral background */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    zoom: 0.8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

:root {
    --gradient: linear-gradient(45deg, #ff3366, #ff6b6b, #fdb4b4, #ffffff);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --primary-color: #ff6347; /* Customize for your website */
    --secondary-color: #f4f4f9; /* Light background color */
    --text-color: #333;
    --button-hover-color: #e5533d; /* Button hover color */
}

.available-formats {
    background-color: #f9f9f9;
    text-align: center;
    position: absolute;
    text-transform: uppercase;
    top: 0; 
    margin-top: 0px;
    display: flex;
    font-family: 'Arial', sans-serif;
    padding: 10px;
}

.available-formats ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.available-formats li {
    border-radius: 4px;
    padding: 5px 10px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #ff5733
}

.available-formats li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.available-formats li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: #000000;
}

.available-formats li:hover::before {
    left: 100%;
}

.available-formats li:active {
    transform: scale(0.95);
}
@media (max-width: 600px) {
    .available-formats {
        zoom: 0.8; 
    }
    
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.available-formats li {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.available-formats li:nth-child(1) { animation-delay: 0.1s; }
.available-formats li:nth-child(2) { animation-delay: 0.2s; }
.available-formats li:nth-child(3) { animation-delay: 0.3s; }
.available-formats li:nth-child(4) { animation-delay: 0.4s; }
.available-formats li:nth-child(5) { animation-delay: 0.5s; }
.available-formats li:nth-child(6) { animation-delay: 0.6s; }
.available-formats li:nth-child(7) { animation-delay: 0.7s; }
.available-formats li:nth-child(8) { animation-delay: 0.8s; }
h1 {
    margin: 20px 0;
    font-size: 30px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 images per row */
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 200px auto;
}

.gallery-item {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    flex-direction: column; /* Ensure proper alignment for images and buttons */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.gallery img {
    width: 100%;
    height: auto; /* Maintain the image's aspect ratio */
    object-fit: contain; /* Ensure the full image is visible without cropping */
    border-radius: 12px 12px 0 0; /* Rounded corners at the top */
    display: block; /* Prevent inline space below images */
    margin: 0 auto; /* Center the image horizontally */
}

.buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 10px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .buttons {
    opacity: 1;
    transform: translateY(0);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.2); /* Transparent white */
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Slight border for elegance */
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    gap: 8px; /* Spacing between the icon and text */
}
.button:hover {
    background: #ff5733; /* Vibrant blue */
    color: #fff;
    transform: scale(1.05); /* Slightly enlarge on hover */
    border: 1px solid #d25134; /* Darker border for hover effect */
}
.button i {
    font-size: 16px; /* Icon size */
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px; 
}

.search-bar input[type="text"] {
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 100px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: #f1f1f1;
    color: #333;
}

.search-bar input[type="text"]:focus {
    box-shadow: 0 0 10px rgb(191, 219, 249);
    background-color: #ffffff;
}

.search-bar button {
    flex-shrink: 0; /* Prevent the button from shrinking */
    padding: 12px 17px;
    border: none;
    background-color: #ff5733;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #d25134;
}

.no-results {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    animation: pulse 2s infinite;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 5%;
    backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: var(--border);
    background-color: #000000;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(10, 10, 10, 0.95);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s linear infinite;
    background-size: 300%;
    letter-spacing: -0.5px;
    text-decoration: underline 2.5px rgb(254, 133, 133);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    background-size: 300%;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
    animation: gradient 1s linear infinite;
}
.get-started-button {
    background-color: #ff5733;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.get-started-button:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.get-started-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle .bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.4s ease;
}

.mobile-nav-toggle .bar:nth-child(1) { top: 14px; }
.mobile-nav-toggle .bar:nth-child(2) { top: 19px; }
.mobile-nav-toggle .bar:nth-child(3) { top: 24px; }

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.99), rgba(20, 20, 20, 0.99));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 2rem;
        backdrop-filter: blur(10px);
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03));
        pointer-events: none;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links a:nth-child(5) { transition-delay: 0.5s; }

    .mobile-nav-toggle {
        display: block;
    }

    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translate(-50%, 5px) rotate(45deg);
        width: 24px;
    }

    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translate(-50%, -5px) rotate(-45deg);
        width: 24px;
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        backdrop-filter: blur(4px);
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
}

.icon-button {
background-color: #ff5733;
color: white;
padding: 12px 17px;
border-radius: 50%;
font-weight: bold;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
text-align: center;

}

.icon-button i {
pointer-events: none; /* Disable pointer events for icons */
}

.icon-button:hover {
background: #e55d51;
transform: scale(1.1);
}

.icon-button:active {
transform: scale(1);
}
.categories-bar {
background-color: #f9f9f9;
display: flex;
justify-content: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1.2rem 5%;
backdrop-filter: blur(12px);
background: rgba(249, 249, 249, 0.85); /* Fallback for mobile browsers */
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
z-index: 1000;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categories-list {
display: flex;
list-style: none;
padding: 0;
margin: 0;
gap: 15px;
overflow-x: auto; /* Enable horizontal scrolling */
-webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
scrollbar-width: none; /* Hide scrollbar for Firefox */
padding-bottom: 5px; /* Space for scrollbar */
}

/* Hide scrollbar for Chrome/Safari/Edge */
.categories-list::-webkit-scrollbar {
display: none;
}

.category-button {
color: #050505;
border: none;
padding: 10px 15px;
border-radius: 20px;
cursor: pointer;
font-size: 1em;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
white-space: nowrap; /* Prevent text wrapping */
background: rgba(255, 255, 255, 0.9);
}

.category-button:hover {
background: #ff5733; /* Using your red color scheme */
color: white;
transform: scale(1.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
.categories-bar {
padding: 1rem 5%;
background: rgba(255, 255, 255, 0.95); /* More opaque for readability */
}

.categories-list {
gap: 10px;
justify-content: flex-start; /* Allow horizontal scrolling */
padding-bottom: 8px;
}

.category-button {
padding: 12px 20px; /* Larger touch targets */
font-size: 0.9em;
border-radius: 15px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Add active state for mobile touch feedback */
.category-button:active {
transform: scale(0.95);
background: #ff0000;
}
}

@media (max-width: 480px) {
.categories-bar {
padding: 0.8rem 3%;
}

.category-button {
padding: 10px 15px;
font-size: 0.85em;
}
}



.dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 5px;
z-index: 1000;
margin: 10px 0 0;
padding: 5px 0;
}

.dropdown-item {
background: none;
color: #333;
border: none;
padding: 10px 15px;
text-align: left;
width: 100%;
cursor: pointer;
font-size: 1em;
transition: background 0.3s ease;
}

.dropdown-item:hover {
background: #f0f0f0;
}

.container {
    display: fixed;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 50px 20px;
    margin-top: 100px;
}

/* Left Section (Thumbnails) */
.left-section {
background: var(--secondary-color);
padding: 20px;
border-radius: 8px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.thumbnail-container {
display: flex;
width: 80px;
height: 80px;
flex-direction: row; /* Keeps the layout horizontal */
gap: 15px; /* Space between items */
justify-content: center; /* Centers the thumbnails horizontally */
align-items: center; /* Aligns thumbnails vertically */
}

.thumbnail-container img {
max-width: 100%; /* Ensures the image fits within its container */
max-height: 100%; /* Maintains aspect ratio */
object-fit: cover; /* Ensures proper cropping, if needed */
border: 2px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: transform 0.3s, border-color 0.3s;
}

.thumbnail-container img:hover {
border-color: var(--primary-color); /* Highlight effect on hover */
transform: scale(1.1); /* Slight zoom effect */
}

/* Main Image Section */
.main-image-container {
    position: relative;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.main-image-container img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

.navigation-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation-buttons a {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.navigation-buttons a:hover {
    background: var(--primary-color);
}

/* Right Section */
.right-section {
    padding: 20px;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

.add-to-cart {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ff5733;
    font-size: 1rem;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.add-to-cart:hover {
    background: #b82c36;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.5);
}
 
.download_now {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ff5733;
    font-size: 1rem;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.download_now:hover {
    background: #b82c36;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.5);
}

.category-label {
    background: var(--secondary-color);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--primary-color);
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .right-section {
        padding: 20px 0;
    }

    .main-image-container img {
        max-height: 300px;
    }
}

#mobile-search-icon {
    display: none;
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(5px);
display: none;
z-index: 1002;
animation: fadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.popup-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
max-width: 420px;
background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
border-radius: 20px;
padding: 30px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
z-index: 1003;
display: none;
animation: slideInDown 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-header {
text-align: center;
margin-bottom: 25px;
}
@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    .profile-card {
        margin-top: 4rem;
    }
}
.user-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(45deg, #6a11ff, #2575fc);
margin: -60px auto 20px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 28px;
box-shadow: 0 4px 15px rgba(106, 17, 255, 0.3);
}

.popup-user {
font-size: 24px;
font-weight: 700;
color: #2d2d2d;
margin-bottom: 10px;
}

.user-status {
color: #6c757d;
font-size: 14px;
margin-bottom: 20px;
}

.popup-links {
display: flex;
flex-direction: column;
gap: 15px;
margin: 20px 0;
}

.popup-link {
background: linear-gradient(45deg, #ff5733, #fd1b1b);
color: white;
padding: 15px 25px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(106, 17, 255, 0.2);
}

.popup-link.logout {
background: linear-gradient(45deg, #ff416c, #ff4b2b);
box-shadow: 0 4px 15px rgba(255, 65, 108, 0.2);
}

.popup-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(106, 17, 255, 0.3);
}

.popup-link:active {
transform: translateY(0);
}

.close-btn {
position: absolute;
top: 15px;
right: 15px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
font-size: 24px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-btn:hover {
background: #ff4b2b;
color: white;
transform: rotate(90deg);
}

.social-links {
margin-top: 25px;
display: flex;
justify-content: center;
gap: 15px;
}

.social-link {
color: #6c757d;
font-size: 20px;
transition: all 0.3s ease;
}

.social-link:hover {
color: #6a11ff;
transform: translateY(-3px);
}

@keyframes slideInDown {
0% {
transform: translate(-50%, -60%);
opacity: 0;
}
100% {
transform: translate(-50%, -50%);
opacity: 1;
}
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.icon-button .hover-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 12px;
white-space: nowrap;
color: #fff;
background: rgba(0,0,0,0.7);
padding: 4px 8px;
border-radius: 4px;
}
.cart_li .cart-count {
position: absolute;
visibility: visible;
top: 0%;
left: 100%;
border-radius: 50% 50%;
background-color: white;
border: 2px solid #ff5733;
transform: translate(-50%, -50%);
opacity: 1;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 14px;
white-space: nowrap;
color: #ff5733;
padding: 3px 6px;

}
.icon-button:hover .hover-text {
opacity: 1;
visibility: visible;
transform: translate(-50%, -20px);
}

.icon-button i {
transition: transform 0.3s ease;
}

.icon-button:hover i {
transform: scale(1.1);
}
.profile-header {
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .search-bar {
        display: none;
    }

    .search-bar input[type="text"] {
        padding: 10px 20px;
        width: 100%;
    }

    .navbar-container {
        position: relative;
    }

    .nav-links {
        padding-top: 80px;
    }
}
.icon-button .hover-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 12px;
white-space: nowrap;
color: #fff;
background: rgba(0,0,0,0.7);
padding: 4px 8px;
border-radius: 4px;
}

.icon-button:hover .hover-text {
opacity: 1;
visibility: visible;
transform: translate(-50%, -20px);
}

.icon-button i {
transition: transform 0.3s ease;
}

.icon-button:hover i {
transform: scale(1.1);
}

.cart_li .cart-count {
position: absolute;
visibility: visible;
top: 0%;
left: 100%;
border-radius: 50% 50%;
background-color: white;
border: 2px solid #ff5733;
transform: translate(-50%, -50%);
opacity: 1;
transition: all 0.3s ease;
font-family: Arial, sans-serif;
font-size: 14px;
white-space: nowrap;
color: #ff5733;
padding: 3px 6px;

}
.cart-notification-container {
position: fixed;
bottom: 30px;
right: 30px;
z-index: 9999;
display: flex;
flex-direction: column-reverse;
gap: 15px;
}

.cart-notification {
background: #fff;
padding: 20px 30px;
border-radius: 15px;
box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2);
display: flex;
align-items: center;
gap: 15px;
transform: translateX(150%);
animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
border-left: 5px solid #ff0000;
position: relative;
overflow: hidden;
}

.cart-notification::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(255,0,0,0.1) 0%, rgba(255,255,255,0) 100%);
z-index: -1;
}

.notification-icon {
color: #ff0000;
font-size: 1.8rem;
animation: iconPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-text {
font-family: 'Arial', sans-serif;
font-weight: bold;
color: #333;
font-size: 1.1rem;
}

.notification-text strong {
color: #ff5733;
text-transform: uppercase;
}

@keyframes slideIn {
0% { transform: translateX(150%); }
80% { transform: translateX(-10%); }
100% { transform: translateX(0); }
}

@keyframes iconPop {
0% { transform: scale(0); }
80% { transform: scale(1.2); }
100% { transform: scale(1); }
}

/* Hide animation */
.cart-notification.hide {
animation: slideOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOut {
0% { transform: translateX(0); }
20% { transform: translateX(-10%); }
100% { transform: translateX(150%); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    #mobile-search-icon {
        display: block;
    }
.cart-notification-container {
bottom: 15px;
right: 15px;
left: 15px;
align-items: flex-end;
}

.cart-notification {
width: calc(100% - 30px);
padding: 15px 20px;
}

}
:root {
--primary-color: #ff5733 ;    /* Modern blue */
--hover-color: #ff0000;
--text-color: #374151;
--bg-color: #f3f4f6;
}

.pagination-container {
margin: 2rem 0;
font-family: 'Segoe UI', system-ui, sans-serif;
}

.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}

.pagination-arrow, 
.pagination-link {
padding: 0.75rem 1.25rem;
border-radius: 8px;
text-decoration: none;
color: var(--text-color);
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
background: white;
border: 1px solid #e5e7eb;
}

.pagination-arrow:hover, 
.pagination-link:hover {
background: var(--primary-color);
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination-current {
padding: 0.75rem 1.25rem;
background: var(--primary-color);
color: white;
border-radius: 8px;
font-weight: 600;
}

.pagination-numbers {
display: flex;
gap: 0.5rem;
margin: 0 1rem;
}

.page-status {
text-align: center;
margin-top: 1rem;
color: #6b7280;
font-size: 0.9rem;
}

.pagination-ellipsis {
padding: 0.75rem 0.5rem;
color: #9ca3af;
}

/* Mobile Optimization */
@media (max-width: 640px) {
.mobile-hidden {
display: none;
}

.pagination-arrow, 
.pagination-link {
padding: 0.75rem;
min-width: 40px;
justify-content: center;
}

.pagination-numbers {
gap: 0.25rem;
margin: 0 0.5rem;
}

.arrow-double {
margin-right: -4px;
}
}

/* Animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

.pagination {
animation: fadeIn 0.5s ease-out;
}
@media (max-width: 600px) {

.buttons {
flex-direction: column;
gap: 15px;
max-height: 70%;
margin:0;
padding: 0;
}

.button {
font-size: 0.6rem;
padding: 0 10px;
border-radius: 10px;
border: none;



}
}
