/* Modern custom styles for E-Commerce app */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Beautiful Animated Preloader */
@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 35px rgba(217, 119, 6, 0.75);
    }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.preloader-glow {
    animation: pulseGlow 2s infinite ease-in-out;
}
.preloader-spin {
    animation: spinSlow 4s linear infinite;
}

/* Hide scrollbar for category pill horizontal scrolling */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Modal and Drawer backdrop animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes slideLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
    animation: slideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideRight {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.animate-slide-right {
    animation: slideRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Ornate Circular Category Ring (Matches User Reference Image) */
.ornate-ring-wrapper {
    position: relative;
    padding: 6px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #0f766e 100%);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ornate-ring-wrapper:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.4);
}
.ornate-ring-wrapper.active {
    box-shadow: 0 0 0 3px #0f766e, 0 6px 16px rgba(13, 148, 136, 0.5);
}

.ornate-inner-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    overflow: hidden;
    border: 2px solid #fff;
    background: #fff;
}

/* Sticky Dialog Floating Bar */
.sticky-dialog-container {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Touch friendly button active scale */
button:active {
    transform: scale(0.98);
}

/* Coastal Floating & Micro-Animations */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatSlowReverse {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(6px);
    }
}

@keyframes coastalPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(13, 148, 136, 0);
    }
}

@keyframes waveShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: floatSlowReverse 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.animate-coastal-pulse {
    animation: coastalPulse 2.5s infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-card-dark {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.shimmer-badge {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: waveShimmer 3s infinite;
}

@keyframes coastalBob {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

@keyframes coastalBobReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-4deg);
    }
}

.animate-coastal-bob {
    animation: coastalBob 4.5s ease-in-out infinite;
}

.animate-coastal-bob-rev {
    animation: coastalBobReverse 5.2s ease-in-out infinite;
}


