/* ===== ENHANCED MAIN STYLES WITH GLASSMORPHISM ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Product Card Styles - GLASSMORPHISM DESIGN */
.product-card {
    position: relative;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform, box-shadow, backdrop-filter;
    animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}


/* ===== RATING & STOCK STYLING ===== */

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffd900ea; /* Gold color for stars */
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.stars i {
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.rating-value {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-info {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stock-info.in-stock {
    background: rgba(46, 213, 115, 0.1);
    color: #2ED573;
    border-color: rgba(46, 213, 115, 0.2);
}

.stock-info.in-stock i {
    color: #2ED573;
}

.stock-info.out-of-stock {
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b81;
    border-color: rgba(255, 71, 87, 0.2);
}

.stock-info.out-of-stock i {
    color: #ff6b81;
}

.stock-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Make out of stock button look disabled */
.add-to-cart:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed !important;
}

.add-to-cart:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}
/* ===== FIXED: REDUCED REDNESS ON HOVER ===== */
/* ===== FIXED: NO REDNESS ON CARD HOVER ===== */

.product-card:hover {
    background: rgba(40, 40, 40, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25); /* White border, not red */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.35), /* Keep shadow */
        0 0 0 1px rgba(255, 255, 255, 0.1), /* White border glow */
        0 0 15px rgba(255, 255, 255, 0.05); /* White glow, not red */
    
}

/* Also fix any red in the background gradient */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.03) 0%,      /* Changed from red to white */
        rgba(255, 255, 255, 0.02) 50%,     /* Changed from red to white */
        rgba(108, 92, 231, 0.02) 100%     /* Keep purple */
    );
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Fix red particle effect */
.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle, 
        rgba(255, 255, 255, 0.05) 0%,     /* White, not red */
        rgba(108, 92, 231, 0.03) 20%,     /* Purple */
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Card entrance animation - ALWAYS ACTIVE */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-10deg);
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        backdrop-filter: blur(10px);
    }
}

/* Stagger animation for multiple cards */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

/* Particle effect for product cards - ALWAYS ACTIVE ON HOVER */

.product-card:hover::after {
    opacity: 1;
    animation: particleFloat 3s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

/* ===== FIXED: BEAUTIFUL CATEGORY TAG ===== */
.product-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.1);
    margin: 5px 0 10px 0;
}

/* Category-specific colors */
.product-category[data-category="perfumes"] {
    background: rgba(155, 89, 182, 0.05);
    color: #d69cffda;
    border-color: rgba(155, 89, 182, 0.1);
}

.product-category[data-category="clothes"] {
    background: rgba(52, 152, 219, 0.05);
    color: #7ed6ffda;
    border-color: rgba(52, 152, 219, 0.1);

}

.product-category[data-category="shoes"] {
    background: rgba(46, 204, 113, 0.05);
    color: #6effa8cf;
    border-color: rgba(46, 204, 113, 0.1);

}

.product-category[data-category="men"] {
    background: rgba(41, 128, 185, 0.05);
    color: #6bbaffd0;
    border-color: rgba(41, 128, 185, 0.1);
}

.product-category[data-category="women"] {
    background: rgba(142, 68, 173, 0.05);
    color: #d69cffef;
    border-color: rgba(142, 68, 173, 0.1);

}

.product-category[data-category="unisex"] {
    background: rgba(39, 174, 96, 0.05);
    color: #27ae5fb6;
    border-color: rgba(39, 174, 96, 0.1);
}

/* For "uncategorized" */
.product-category[data-category="uncategorized"] {
    background: rgba(241, 196, 15, 0.05);
    color: #f1c40fd0;
    border-color: rgba(241, 196, 15, 0.1);
}

/* Hover effects */
.product-category:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* End of Category Fix */

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 71, 87, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 4px 14px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 3;
    
    text-transform: uppercase;
    overflow: hidden;
    transform: translateZ(0);
    animation: badgePulse 3s infinite alternate;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

@keyframes badgePulse {
    0% { 
        transform: translateZ(0) scale(1);
        box-shadow: 
            -5px -2px 7px rgba(255, 71, 86, 0.139),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% { 
        transform: translateZ(0) scale(1.02);
        box-shadow: 
            2px 5px 7px rgba(255, 71, 86, 0.226),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.product-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff4757, #ff6b81, #ff4757);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    animation: badgeGlow 2s infinite;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badgeGlow 3s infinite linear;
}

@keyframes badgeGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Featured Tag - Glassmorphism */
.featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #000;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: subtlePulse 2s infinite alternate;
    box-shadow: 
        0 4px 15px rgba(255, 170, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

@keyframes subtlePulse {
    from { 
        transform: scale(1); 
        box-shadow: 
            0 4px 15px rgba(255, 170, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    to { 
        transform: scale(1.05); 
        box-shadow: 
            0 6px 20px rgba(255, 170, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 270px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    z-index: 1;
}

.product-info {
    padding: 20px !important;
    position: relative;
    z-index: 2;
}

.product-header {
    margin-bottom: 0px;
}

.product-name {
    text-transform: capitalize;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
    font-weight: 600;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 4px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff4757;
}

.old-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* Button - Fixed red intensity */
.add-to-cart {
    padding: 10px 20px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background: #ff6b81;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2); /* Reduced intensity */
}

body {
  font-family: "Poppins", sans-serif;
  background: #0a0a0a;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  animation: pageFadeIn 1s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced background with glass effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 71, 87, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 136, 255, 0.03) 0%, transparent 50%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(0px);
    z-index: -1;
    pointer-events: none;
    animation: backgroundShift 20s infinite linear;
}

@keyframes backgroundShift {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 100%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 100% 0%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 0% 100%;
    }
}

footer {
  background: linear-gradient(to top, #111, #0a0a0a);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 20px;
  text-align: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  animation: footerSlideUp 1.5s ease-out;
}

@keyframes footerSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff4757 20%, 
        #ff6b81 50%,
        #ff4757 80%,
        transparent);
    animation: lineFlow 3s infinite linear;
}

@keyframes lineFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-radius: 7px;
  padding: 6px 10px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: linkFadeIn 1s ease-out;
  animation-fill-mode: both;
}

@keyframes linkFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-links a:nth-child(1) { animation-delay: 0.1s; }
.footer-links a:nth-child(2) { animation-delay: 0.2s; }
.footer-links a:nth-child(3) { animation-delay: 0.3s; }
.footer-links a:nth-child(4) { animation-delay: 0.4s; }
.footer-links a:nth-child(5) { animation-delay: 0.5s; }

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.1), transparent);
    transition: left 0.6s ease;
}

.footer-links a:hover::before {
    left: 100%;
}

.footer-links a:hover {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: socialIconFloat 2s infinite ease-in-out;
}

@keyframes socialIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.social-icons a:nth-child(1) { animation-delay: 0s; }
.social-icons a:nth-child(2) { animation-delay: 0.2s; }
.social-icons a:nth-child(3) { animation-delay: 0.4s; }
.social-icons a:nth-child(4) { animation-delay: 0.6s; }
.social-icons a:nth-child(5) { animation-delay: 0.8s; }

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 71, 87, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-icons a:hover::before {
    left: 100%;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.copyright {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  position: relative;
  animation: copyrightFadeIn 2s ease-out;
}

@keyframes copyrightFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.copyright::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: lineShimmer 3s infinite linear;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  animation: containerSlideIn 1s ease-out;
}

@keyframes containerSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: btnFloat 4s infinite ease-in-out;
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
  background: linear-gradient(135deg, #ff6b81, #ff4757);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
      0 10px 25px rgba(255, 71, 87, 0.4),
      0 0 15px rgba(255, 71, 87, 0.2);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn.added {
    animation: buttonSuccess 0.6s ease;
}

@keyframes buttonSuccess {
    0% { 
        background: linear-gradient(135deg, #ff4757, #ff6b81);
        transform: scale(1);
    }
    50% { 
        background: linear-gradient(135deg, #2ed573, #1dd1a1);
        transform: scale(1.1);
    }
    100% { 
        background: linear-gradient(135deg, #ff4757, #ff6b81);
        transform: scale(1);
    }
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 40px 0;
  font-family: "Croissant One", serif;
  position: relative;
  background: linear-gradient(45deg, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  animation: titleEntrance 1s ease-out;
}

@keyframes titleEntrance {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff4757, #ff6b81, #ff4757);
    background-size: 200% 100%;
    margin: 15px auto 0;
    border-radius: 2px;
    animation: lineShimmer 3s infinite linear;
}

@keyframes lineShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff4757;
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin: 20px auto;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.loader::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 5px solid transparent;
    border-top-color: #ff6b81;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse;
    filter: blur(2px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading {
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
  position: relative;
  animation: loadingPulse 2s infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,71,87,0.1), transparent);
    animation: loadingShine 1.5s infinite;
}

@keyframes loadingShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Dark mode */
.dark-mode {
  background: #f5f5f5;
  color: #333;
}

.dark-mode .product-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark-mode .product-name {
  color: #333;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  animation: scrollbarFadeIn 1s ease-out;
}

@keyframes scrollbarFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ff4757, #ff6b81);
  border-radius: 6px;
  border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  animation: scrollbarThumbPulse 3s infinite;
}

@keyframes scrollbarThumbPulse {
    0%, 100% { 
        box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    }
    50% { 
        box-shadow: inset 0 0 10px rgba(255,71,87,0.3), 0 0 10px rgba(255,71,87,0.2);
    }
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #ff6b81, #ff4757);
  box-shadow: 0 0 10px rgba(255,71,87,0.5);
}

/* Flash sale animation */
@keyframes flashSale {
    0%, 100% { 
        background: linear-gradient(135deg, rgba(255,71,87,0.2), rgba(255,107,129,0.2));
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255,71,87,0.2);
    }
    50% { 
        background: linear-gradient(135deg, rgba(255,71,87,0.4), rgba(255,107,129,0.4));
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(255,71,87,0.3);
    }
}

.flash-sale {
    animation: flashSale 1s infinite;
}

/* Floating cart button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(255,71,87,0.4);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.floating-cart:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(255,71,87,0.6);
}

/* Notification dot */
.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}


/* Responsive Improvements */
@media (max-width: 768px) {
    .product-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    .current-price {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::after {
        width: 40px;
        margin-top: 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Reduce animation intensity on mobile */
    .product-card {
        animation-duration: 0.4s;
    }
    
    .product-badge {
        animation-duration: 4s;
    }
    
    .current-price {
        animation-duration: 4s;
    }
    
    .floating-cart {
        animation-duration: 4s;
    }
}

/* For reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}