@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}
/* Amazon-style button hover effects */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Gradient borders */
.gradient-border {
    position: relative;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, #fbbf24, #f59e0b) border-box;
    border: 2px solid transparent;
}

/* Pulse animation for deals */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Star rating */
.star-rating {
    display: inline-flex;
    align-items: center;
}

.star-rating .star {
    color: #d1d5db;
}

.star-rating .star.filled {
    color: #fbbf24;
}

/* Deal badge */
.deal-badge {
    background: linear-gradient(45deg, #ef4444, #f97316);
    color: white;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
}

/* Quick view button */
.quick-view {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group:hover .quick-view {
    opacity: 1;
}

/* Trust badges */
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Amazon-like styles */
.bg-yellow-400 {
    background-color: #febd69;
}
.border-yellow-500 {
    border-color: #f3a847;
}
.hover\:bg-yellow-500:hover {
    background-color: #f3a847;
}

/* Product card styles */
.product-card {
    position: relative;
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #cc0c39;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Navbar logo adjustments */
.navbar-logo img {
    height: 3rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-logo img {
        height: 2.5rem;
    }
}

/* Mobile menu button animation */
button span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

button span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

button span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

button span:nth-child(3) {
    bottom: 0px;
    transform-origin: left center;
}

button:focus span:nth-child(1) {
    transform: rotate(45deg);
    top: 0;
    left: 0;
}

button:focus span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

button:focus span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 0;
    left: 0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}