/* ================================================================
   OYA STORE - $50,000 PREMIUM CSS
   ================================================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== PREMIUM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f5a623, #e09410);
    border-radius: 10px;
    border: 2px solid #1a1a2e;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e09410, #c07a08);
}

/* ========== SELECTION ========== */
::selection {
    background: #f5a623;
    color: #1a1a2e;
}

/* ========== MEGA ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes scaleInBounce {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.08); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245,166,35,0.5); }
    70% { box-shadow: 0 0 0 18px rgba(245,166,35,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(245,166,35,0.3), 0 0 20px rgba(245,166,35,0.1); }
    50% { box-shadow: 0 0 20px rgba(245,166,35,0.6), 0 0 50px rgba(245,166,35,0.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floatRotate {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(245,166,35,0.3); }
    50% { box-shadow: 0 0 25px rgba(245,166,35,0.7), 0 0 50px rgba(245,166,35,0.3); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    40% { transform: scale(1.1); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.03); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(245,166,35,0.3); }
    50% { text-shadow: 0 0 30px rgba(245,166,35,0.8), 0 0 60px rgba(245,166,35,0.4), 0 0 90px rgba(245,166,35,0.2); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(245,166,35,0.3); }
    50% { border-color: rgba(245,166,35,0.8); }
}

@keyframes typeWriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes swing {
    20% { transform: rotate(8deg); }
    40% { transform: rotate(-6deg); }
    60% { transform: rotate(4deg); }
    80% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes morphBg {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.8; }
    25% { transform: translateY(-30px) translateX(15px) scale(1.2); opacity: 0.6; }
    50% { transform: translateY(-60px) translateX(-10px) scale(0.8); opacity: 0.4; }
    75% { transform: translateY(-90px) translateX(20px) scale(1.1); opacity: 0.2; }
    100% { transform: translateY(-120px) translateX(0) scale(0.5); opacity: 0; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95) rotateX(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes glassShine {
    0% { left: -50%; }
    100% { left: 150%; }
}

@keyframes borderDash {
    to { stroke-dashoffset: 0; }
}

/* ========== UTILITY CLASSES ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, #0d0d1a, #1a1a2e, #16213e);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeInDown 0.6s ease;
    border-bottom: 1px solid rgba(245,166,35,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-size: 1.7rem;
    font-weight: 700;
    transition: all 0.4s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(245,166,35,0.4));
}

.logo-oya {
    color: #f5a623;
    font-weight: 900;
    animation: textGlow 4s ease-in-out infinite;
    letter-spacing: 2px;
    font-size: 1.8rem;
}

.logo-store {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.86rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 10px 16px;
    border-radius: 12px;
    overflow: hidden;
    font-weight: 500;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f5a623, #e09410);
    transition: all 0.4s;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(245,166,35,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    color: #f5a623;
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 50%;
}

.nav-links a:hover::after {
    opacity: 1;
}

.btn-register {
    background: linear-gradient(135deg, #f5a623, #e09410, #f5a623) !important;
    background-size: 200% 100% !important;
    animation: shimmer 3s infinite !important;
    color: #1a1a2e !important;
    padding: 11px 24px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(245,166,35,0.35);
    transition: all 0.4s !important;
    letter-spacing: 0.3px;
}

.btn-register:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 30px rgba(245,166,35,0.55) !important;
}

.btn-register::before,
.btn-register::after {
    display: none !important;
}

.cart-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 0.62rem;
    font-weight: 800;
    margin-left: 5px;
    animation: scaleInBounce 0.6s ease;
    box-shadow: 0 2px 10px rgba(231,76,60,0.5);
    position: relative;
    top: -1px;
}

/* ========== MOBILE MENU ========== */
.menu-toggle {
    display: none;
    background: rgba(245,166,35,0.1);
    border: 2px solid rgba(245,166,35,0.3);
    color: #f5a623;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.4s;
}

.menu-toggle:hover {
    background: rgba(245,166,35,0.2);
    border-color: #f5a623;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(245,166,35,0.3);
}

/* ========== FLASH MESSAGES ========== */
.flash-container {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 20px;
}

.alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-radius: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: glassShine 2s ease-in-out;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40,167,69,0.18), rgba(40,167,69,0.05));
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220,53,69,0.18), rgba(220,53,69,0.05));
    color: #721c24;
    border-left: 5px solid #dc3545;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255,193,7,0.18), rgba(255,193,7,0.05));
    color: #856404;
    border-left: 5px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23,162,184,0.18), rgba(23,162,184,0.05));
    color: #0c5460;
    border-left: 5px solid #17a2b8;
}

.alert button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.4;
    transition: all 0.4s;
    padding: 5px;
    border-radius: 50%;
}

.alert button:hover {
    opacity: 1;
    transform: scale(1.3) rotate(90deg);
    background: rgba(0,0,0,0.05);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}
/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #0d0d1a, #1a1a2e, #16213e, #0f3460, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
    border-radius: 28px;
    padding: 100px 45px;
    text-align: center;
    margin-bottom: 35px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0,0,0,0.35);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 50%);
    animation: rotateSlow 25s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
    border-radius: 50%;
    animation: floatRotate 8s ease-in-out infinite;
}

.hero .hero-particle-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 8px;
    height: 8px;
    background: #f5a623;
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.6;
}

.hero .hero-particle-2 {
    position: absolute;
    top: 40%;
    right: 15%;
    width: 6px;
    height: 6px;
    background: #f5a623;
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite 1s;
    opacity: 0.4;
}

.hero .hero-particle-3 {
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 10px;
    height: 10px;
    background: rgba(245,166,35,0.4);
    border-radius: 50%;
    animation: particleFloat 7s ease-in-out infinite 2s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1px;
    line-height: 1.2;
    font-weight: 800;
}

.hero h1 .logo-oya {
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
}

.hero h1 .logo-oya::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f5a623, transparent);
    border-radius: 2px;
    animation: shimmer 2s infinite;
    background-size: 200% 100%;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-hero {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.08rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.8s ease 0.4s both;
    box-shadow: 0 8px 30px rgba(245,166,35,0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.7s;
    transform: translate(-50%, -50%);
}

.btn-hero:hover::after {
    width: 400px;
    height: 400px;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 45px rgba(245,166,35,0.55);
}

.btn-hero i {
    transition: transform 0.3s;
}

.btn-hero:hover i {
    transform: translateY(3px);
    animation: float 1s ease-in-out infinite;
}

/* ========== CATEGORIES SHOWCASE ========== */
.categories-showcase {
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.category-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 210px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    animation: cardEntrance 0.6s ease both;
}

.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }
.category-card:nth-child(7) { animation-delay: 0.35s; }

.category-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px rgba(245,166,35,0.15);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: all 0.6s;
}

.category-card:hover .category-card-bg {
    transform: scale(1.15);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26,26,46,0.1) 0%, rgba(26,26,46,0.88) 100%);
    transition: all 0.5s;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(180deg, rgba(245,166,35,0.08) 0%, rgba(26,26,46,0.92) 100%);
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    width: 100%;
    color: white;
}

.category-card-content i {
    font-size: 2rem;
    color: #f5a623;
    margin-bottom: 10px;
    display: block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover .category-card-content i {
    transform: translateY(-8px) scale(1.2);
    text-shadow: 0 0 25px rgba(245,166,35,0.6);
    animation: swing 0.8s ease;
}

.category-card-content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.category-card:hover .category-card-content h3 {
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.category-card-content p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

.category-card-all {
    background: linear-gradient(135deg, #f5a623, #e09410);
    animation: pulseGlow 3s ease-in-out infinite;
}

.category-card-all .category-card-overlay {
    background: linear-gradient(180deg, rgba(245,166,35,0.05) 0%, rgba(224,148,16,0.2) 100%);
}

.category-card-all .category-card-content i { color: #1a1a2e; }
.category-card-all .category-card-content h3 { color: #1a1a2e; }
.category-card-all .category-card-content p { color: rgba(26,26,46,0.6); }

/* ========== CATEGORIES BAR ========== */
.categories-bar {
    margin-bottom: 28px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.categories-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0 15px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    background: white;
    color: #666;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.08), transparent);
    transition: all 0.6s;
}

.category-pill:hover::before {
    left: 100%;
}

.category-pill:hover {
    border-color: #f5a623;
    color: #f5a623;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(245,166,35,0.18);
}

.category-pill.active {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    border-color: #f5a623;
    box-shadow: 0 6px 22px rgba(245,166,35,0.35);
    font-weight: 700;
}

.category-pill i {
    font-size: 0.8rem;
}

/* ========== CATEGORY PAGE ========== */
.category-container {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.category-header {
    margin-bottom: 22px;
    animation: fadeInLeft 0.6s ease;
}

.category-header h2 {
    font-size: 1.9rem;
    color: #1a1a2e;
    margin: 10px 0 5px;
}

.category-header p {
    color: #888;
}

.category-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 5px;
}

.category-title-row h2 {
    font-size: 1.9rem;
    color: #1a1a2e;
}

.category-title-row h2 i {
    color: #f5a623;
    margin-right: 10px;
    animation: swing 2s ease infinite;
}

.category-desc {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.category-result-count {
    background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
    color: #e09410;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(245,166,35,0.25);
    animation: scaleInBounce 0.5s ease;
}

/* ========== CATEGORY FILTERS ========== */
.category-filters {
    background: white;
    border-radius: 20px;
    padding: 22px 28px;
    margin-bottom: 28px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    animation: fadeInUp 0.5s ease 0.1s both;
    border: 1px solid rgba(0,0,0,0.04);
}

.filter-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.filter-group select,
.filter-group input {
    padding: 11px 16px;
    border: 2px solid #eef0f2;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    background: #fafbfc;
    transition: all 0.4s;
    min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 5px rgba(245,166,35,0.1);
    background: white;
}

.btn-filter {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    border: none;
    padding: 11px 24px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 4px 15px rgba(245,166,35,0.25);
}

.btn-filter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245,166,35,0.45);
}

.btn-clear-filter {
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 12px;
    transition: all 0.3s;
    background: #f5f5f5;
}

.btn-clear-filter:hover {
    color: #e74c3c;
    background: rgba(231,76,60,0.08);
    transform: translateY(-2px);
}

/* ========== ALL CATEGORIES PAGE ========== */
.all-categories-container {
    width: 100%;
    animation: fadeIn 0.6s ease;
}

.categories-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.category-page-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.6s ease both;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.category-page-card:nth-child(1) { animation-delay: 0.08s; }
.category-page-card:nth-child(2) { animation-delay: 0.14s; }
.category-page-card:nth-child(3) { animation-delay: 0.2s; }
.category-page-card:nth-child(4) { animation-delay: 0.26s; }
.category-page-card:nth-child(5) { animation-delay: 0.32s; }
.category-page-card:nth-child(6) { animation-delay: 0.38s; }

.category-page-card:hover {
    transform: translateY(-6px) translateX(6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12), 0 0 20px rgba(245,166,35,0.08);
}

.category-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f5a623, #e09410);
    transform: scaleY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom;
}

.category-page-card:hover::before {
    transform: scaleY(1);
}

.category-page-image {
    width: 130px;
    min-height: 130px;
    flex-shrink: 0;
    overflow: hidden;
}

.category-page-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    transition: all 0.5s;
}

.category-page-card:hover .category-page-image img {
    transform: scale(1.12);
}

.category-page-icon {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #f5a623;
    transition: all 0.5s;
}

.category-page-card:hover .category-page-icon {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
}

.category-page-card:hover .category-page-icon i {
    animation: swing 0.8s ease;
}

.category-page-info {
    flex: 1;
    padding: 20px;
}

.category-page-info h3 {
    font-size: 1.12rem;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-weight: 700;
}

.category-page-info h3 i {
    color: #f5a623;
    margin-right: 8px;
    transition: all 0.4s;
}

.category-page-card:hover .category-page-info h3 i {
    transform: scale(1.25) rotate(5deg);
}

.category-page-info p {
    color: #888;
    font-size: 0.82rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.category-count {
    display: inline-block;
    background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
    color: #e09410;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(245,166,35,0.2);
}

.category-page-arrow {
    padding: 0 22px;
    color: #ddd;
    font-size: 1.3rem;
    transition: all 0.5s;
}

.category-page-card:hover .category-page-arrow {
    color: #f5a623;
    transform: translateX(8px);
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
    margin-bottom: 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 38px;
    animation: fadeInUp 0.6s ease;
}

.section-header h2 {
    font-size: 2.3rem;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
    border-radius: 2px;
    animation: underlineGrow 0.8s ease 0.5s both;
}

.section-header p {
    color: #888;
    margin-top: 18px;
    font-size: 0.95rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: cardEntrance 0.6s ease both;
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 25px rgba(245,166,35,0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.5s;
    z-index: 2;
}

.product-card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s infinite;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: all 0.7s;
    z-index: 1;
}

.product-card:hover::after {
    left: 150%;
}

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover img {
    transform: scale(1.1);
}

.no-image {
    width: 100%;
    height: 230px;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8, #f0f0f0);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ccc;
}

.image-count {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 5px 14px;
    border-radius: 22px;
    font-size: 0.73rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.3px;
}

.product-info {
    padding: 20px;
    position: relative;
}

.product-category {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    padding: 5px 16px;
    border-radius: 22px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(245,166,35,0.25);
}

.product-category:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
}

.product-info h3 {
    margin: 13px 0 7px;
    font-size: 1.06rem;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s;
}

.product-card:hover .product-info h3 {
    color: #f5a623;
}

.product-desc {
    color: #888;
    font-size: 0.82rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f5a623, #e09410);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.in-stock {
    background: linear-gradient(135deg, rgba(40,167,69,0.12), rgba(40,167,69,0.04));
    color: #28a745;
    padding: 5px 14px;
    border-radius: 22px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(40,167,69,0.2);
    letter-spacing: 0.3px;
}

.out-stock {
    background: linear-gradient(135deg, rgba(220,53,69,0.12), rgba(220,53,69,0.04));
    color: #dc3545;
    padding: 5px 14px;
    border-radius: 22px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(220,53,69,0.2);
    letter-spacing: 0.3px;
}

.btn-view {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 13px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.25), transparent);
    transition: all 0.6s;
}

.btn-view:hover::before {
    left: 100%;
}

.btn-view:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245,166,35,0.35);
}

/* ========== RELATED PRODUCTS ========== */
.related-products {
    margin-top: 55px;
    animation: fadeInUp 0.6s ease;
}
/* ========== AUTH PAGES ========== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    animation: fadeIn 0.6s ease;
    perspective: 1000px;
}

.auth-card {
    background: white;
    border-radius: 28px;
    padding: 50px;
    width: 100%;
    max-width: 470px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
    animation: scaleInBounce 0.7s ease;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.auth-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.auth-header {
    text-align: center;
    margin-bottom: 38px;
    position: relative;
    z-index: 2;
}

.auth-header h2 {
    color: #1a1a2e;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 800;
    animation: fadeInDown 0.6s ease 0.2s both;
}

.auth-header p {
    color: #888;
    animation: fadeInDown 0.6s ease 0.3s both;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }
.form-group:nth-child(6) { animation-delay: 0.35s; }

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-weight: 600;
    color: #444;
    font-size: 0.88rem;
    transition: color 0.3s;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #eef0f2;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
    background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #f5a623;
    background: white;
    box-shadow: 0 0 0 5px rgba(245,166,35,0.1), 0 5px 20px rgba(245,166,35,0.08);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: #ddd;
    background: white;
}

.form-group small {
    color: #aaa;
    font-size: 0.78rem;
    margin-top: 7px;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    border: none;
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(245,166,35,0.3);
    letter-spacing: 0.5px;
    z-index: 2;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.7s;
    transform: translate(-50%, -50%);
}

.btn-submit:hover::after {
    width: 600px;
    height: 600px;
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(245,166,35,0.5);
}

.btn-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    color: #888;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.auth-footer a {
    color: #f5a623;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5a623;
    transition: width 0.3s;
}

.auth-footer a:hover {
    color: #e09410;
}

.auth-footer a:hover::after {
    width: 100%;
}

/* ========== PRODUCT DETAIL ========== */
.detail-container {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    margin-bottom: 24px;
    font-size: 0.9rem;
    transition: all 0.4s;
    padding: 10px 20px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.03);
}

.back-link:hover {
    color: #f5a623;
    transform: translateX(-8px);
    box-shadow: 0 6px 20px rgba(245,166,35,0.12);
    border-color: rgba(245,166,35,0.2);
}

.back-link i {
    transition: transform 0.3s;
}

.back-link:hover i {
    transform: translateX(-4px);
}

.detail-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    animation: scaleIn 0.6s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.detail-image {
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    transition: all 0.5s;
}

.detail-image:hover img {
    transform: scale(1.03);
}

.no-image-large {
    width: 100%;
    min-height: 450px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: #ccc;
}

/* IMAGE GALLERY */
.image-gallery {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
    transition: all 0.5s ease;
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    overflow-x: auto;
    scrollbar-width: none;
}

.thumbnail-strip::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.thumbnail:hover {
    border-color: #f5a623;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 20px rgba(245,166,35,0.3);
}

.thumbnail.active {
    border-color: #f5a623;
    box-shadow: 0 4px 15px rgba(245,166,35,0.35);
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: 48px;
    animation: fadeInRight 0.7s ease;
    position: relative;
}

.detail-info::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.detail-info h1 {
    font-size: 2rem;
    color: #1a1a2e;
    margin: 14px 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
    font-weight: 800;
    animation: fadeInUp 0.5s ease 0.2s both;
}

.detail-price {
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    animation: fadeInUp 0.5s ease 0.3s both, shimmer 3s infinite;
    letter-spacing: -1px;
}

.stock-info {
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease 0.35s both;
}

.stock-info .in-stock,
.stock-info .out-stock {
    font-size: 0.88rem;
    padding: 8px 20px;
}

.detail-description {
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.4s both;
}

.detail-description h3 {
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 700;
}

.detail-description p {
    color: #666;
    line-height: 1.9;
    font-size: 0.93rem;
}

.quantity-selector {
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease 0.45s both;
}

.quantity-selector label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #444;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-controls button {
    width: 44px;
    height: 44px;
    border: 2px solid #eee;
    background: white;
    border-radius: 12px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.qty-controls button:hover {
    border-color: #f5a623;
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 5px 18px rgba(245,166,35,0.3);
}

.qty-controls button:active {
    transform: scale(0.95);
}

.qty-controls input {
    width: 70px;
    text-align: center;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
}

.qty-controls input:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 4px rgba(245,166,35,0.1);
}

.btn-add-cart {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border: none;
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 24px;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(26,26,46,0.3);
    animation: fadeInUp 0.5s ease 0.5s both;
    letter-spacing: 0.5px;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.3), transparent);
    transition: all 0.6s;
}

.btn-add-cart:hover::before {
    left: 100%;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(245,166,35,0.45);
}

.btn-add-cart:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-add-cart.disabled {
    background: #ddd;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-cart.disabled:hover {
    transform: none;
}

.payment-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    animation: fadeInUp 0.5s ease 0.55s both;
}

.payment-info p {
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-badge {
    padding: 7px 18px;
    border-radius: 22px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.payment-badge:hover {
    transform: translateY(-4px) scale(1.08);
}

.payment-badge.airtel {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255,0,0,0.25);
}

.payment-badge.airtel:hover {
    box-shadow: 0 8px 25px rgba(255,0,0,0.4);
}

.payment-badge.mtn {
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255,204,0,0.3);
}

.payment-badge.mtn:hover {
    box-shadow: 0 8px 25px rgba(255,204,0,0.5);
}

.payment-badge.zamtel {
    background: linear-gradient(135deg, #00aa44, #008833);
    color: white;
    box-shadow: 0 4px 15px rgba(0,170,68,0.25);
}

.payment-badge.zamtel:hover {
    box-shadow: 0 8px 25px rgba(0,170,68,0.4);
}

/* ========== CART ========== */
.cart-container h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    animation: fadeInLeft 0.6s ease;
    font-weight: 800;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cart-item {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 90px 1fr auto auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInLeft 0.5s ease both;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f5a623, #e09410);
    transform: scaleY(0);
    transition: transform 0.4s;
}

.cart-item:hover::before {
    transform: scaleY(1);
}

.cart-item:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateX(8px);
}

.cart-item-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.no-image-small {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 1.6rem;
}

.cart-item-info h3 {
    font-size: 1.02rem;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-weight: 700;
}

.cart-item-price {
    color: #f5a623;
    font-weight: 700;
    font-size: 0.92rem;
}

.cart-item-total p {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: right;
}

.btn-update {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border: none;
    padding: 9px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    margin-top: 10px;
    display: block;
    transition: all 0.4s;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-update:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245,166,35,0.3);
}

.btn-remove {
    color: #e74c3c;
    font-size: 0.85rem;
    display: block;
    text-align: right;
    transition: all 0.4s;
    font-weight: 600;
}

.btn-remove:hover {
    color: #c0392b;
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    position: sticky;
    top: 95px;
    animation: fadeInRight 0.6s ease;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.cart-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
}

.cart-summary h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 800;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #666;
    font-size: 0.92rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.btn-checkout {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    padding: 17px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.08rem;
    margin-bottom: 14px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 25px rgba(245,166,35,0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s;
}

.btn-checkout:hover::before {
    left: 100%;
}

.btn-checkout::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.7s;
    transform: translate(-50%, -50%);
}

.btn-checkout:hover::after {
    width: 500px;
    height: 500px;
}

.btn-checkout:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245,166,35,0.5);
}

.btn-continue {
    display: block;
    text-align: center;
    background: #f5f5f5;
    color: #666;
    padding: 15px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.4s;
}

.btn-continue:hover {
    background: #eee;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ========== CHECKOUT ========== */
.checkout-container h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    animation: fadeInLeft 0.6s ease;
    font-weight: 800;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.checkout-card {
    background: white;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease both;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.checkout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
}

.checkout-card h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

.payment-note {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.payment-options {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.payment-option input {
    display: none;
}

.payment-option-card {
    padding: 18px 24px;
    border: 2px solid #eef0f2;
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

.payment-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(245,166,35,0.04));
    opacity: 0;
    transition: opacity 0.4s;
}

.payment-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.payment-option-card:hover::before {
    opacity: 1;
}

.payment-option input:checked + .payment-option-card {
    border-color: #f5a623;
    background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(245,166,35,0.02));
    box-shadow: 0 6px 20px rgba(245,166,35,0.18);
    transform: translateY(-4px) scale(1.02);
}

.airtel-card { color: #cc0000; }
.mtn-card { color: #cc9900; }
.zamtel-card { color: #007733; }

.checkout-summary {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    position: sticky;
    top: 95px;
    animation: fadeInRight 0.6s ease;
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.checkout-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
}

.checkout-summary h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 800;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
    padding: 4px 0;
}

.summary-item:hover {
    color: #333;
    padding-left: 5px;
}

.summary-divider {
    border-top: 2px solid #f0f0f0;
    margin: 20px 0;
}
/* ========== ORDER SUCCESS ========== */
.success-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    animation: fadeIn 0.6s ease;
    perspective: 1000px;
}

.success-card {
    background: white;
    border-radius: 28px;
    padding: 55px;
    max-width: 640px;
    width: 100%;
    box-shadow: 0 15px 60px rgba(0,0,0,0.08);
    text-align: center;
    animation: scaleInBounce 0.8s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #28a745, #20c997, #28a745);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.success-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(40,167,69,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.success-icon {
    font-size: 5.5rem;
    color: #28a745;
    margin-bottom: 28px;
    animation: bounceIn 1s ease 0.3s both;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(40,167,69,0.3));
}

.success-card h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 14px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.5s both;
}

.success-card > p {
    color: #888;
    margin-bottom: 38px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.6s both;
}

.order-details {
    background: linear-gradient(135deg, #f9f9f9, #f5f5f5);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.7s both;
    border: 1px solid rgba(0,0,0,0.03);
}

.order-details h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 700;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.order-detail-row:hover {
    padding-left: 8px;
    background: rgba(245,166,35,0.03);
    border-radius: 8px;
}

.order-detail-row:last-child {
    border-bottom: none;
}

.payment-instructions {
    background: linear-gradient(135deg, #f9f9f9, #f5f5f5);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.8s both;
}

.payment-instructions h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.instruction-card {
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 18px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.instruction-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: glassShine 3s ease-in-out infinite;
}

.instruction-card:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.airtel-inst {
    background: linear-gradient(135deg, rgba(255,0,0,0.08), rgba(255,0,0,0.02));
    border-left: 5px solid #cc0000;
}

.mtn-inst {
    background: linear-gradient(135deg, rgba(255,204,0,0.12), rgba(255,204,0,0.02));
    border-left: 5px solid #ffcc00;
}

.zamtel-inst {
    background: linear-gradient(135deg, rgba(0,170,68,0.08), rgba(0,170,68,0.02));
    border-left: 5px solid #00aa44;
}

.instruction-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    position: relative;
    z-index: 2;
}

.merchant-number {
    font-size: 1.15rem !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

.payment-warning {
    background: linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,193,7,0.05));
    border-radius: 14px;
    padding: 16px;
    font-size: 0.85rem;
    color: #856404;
    border-left: 5px solid #ffc107;
    animation: glow 4s ease-in-out infinite;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.5s ease 0.9s both;
}

/* ========== MY ORDERS ========== */
.orders-container h2 {
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 30px;
    animation: fadeInLeft 0.6s ease;
    font-weight: 800;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.6s ease both;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #f5a623, #e09410);
    transition: all 0.4s;
}

.order-card:hover::before {
    width: 6px;
    box-shadow: 3px 0 10px rgba(245,166,35,0.3);
}

.order-card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.order-header h3 {
    font-size: 1.18rem;
    color: #1a1a2e;
    margin-bottom: 6px;
    font-weight: 700;
}

.order-date {
    color: #888;
    font-size: 0.83rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.order-header-right {
    text-align: right;
}

.order-total {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f5a623, #e09410);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
}

.status-badge {
    padding: 6px 18px;
    border-radius: 22px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.status-badge:hover {
    transform: scale(1.05);
}

.status-badge.pending {
    background: linear-gradient(135deg, rgba(255,193,7,0.18), rgba(255,193,7,0.06));
    color: #856404;
    border: 1px solid rgba(255,193,7,0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

.status-badge.confirmed {
    background: linear-gradient(135deg, rgba(40,167,69,0.18), rgba(40,167,69,0.06));
    color: #155724;
    border: 1px solid rgba(40,167,69,0.3);
}

.status-badge.delivered {
    background: linear-gradient(135deg, rgba(0,123,255,0.18), rgba(0,123,255,0.06));
    color: #004085;
    border: 1px solid rgba(0,123,255,0.3);
}

.status-badge.cancelled {
    background: linear-gradient(135deg, rgba(220,53,69,0.18), rgba(220,53,69,0.06));
    color: #721c24;
    border: 1px solid rgba(220,53,69,0.3);
}

.order-items {
    margin-bottom: 20px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s;
}

.order-item-row:hover {
    background: linear-gradient(135deg, rgba(245,166,35,0.03), transparent);
    padding-left: 12px;
    border-radius: 8px;
}

.order-footer {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.order-payment, .order-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.83rem;
    transition: color 0.3s;
}

.order-payment:hover, .order-address:hover {
    color: #f5a623;
}

.order-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-track {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 13px 30px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(26,26,46,0.25);
    letter-spacing: 0.3px;
}

.btn-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.3), transparent);
    transition: all 0.6s;
}

.btn-track:hover::before {
    left: 100%;
}

.btn-track:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(245,166,35,0.4);
}

.btn-track i {
    transition: transform 0.3s;
}

.btn-track:hover i {
    transform: translateX(4px);
}

.payment-reminder {
    background: linear-gradient(135deg, rgba(255,193,7,0.15), rgba(255,193,7,0.05));
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #856404;
    border-left: 5px solid #ffc107;
    animation: borderGlow 3s ease-in-out infinite;
    transition: all 0.3s;
}

.payment-reminder:hover {
    transform: translateX(5px);
}

/* ========== ORDER TRACKING ========== */
.tracking-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease;
}

.tracking-card {
    background: white;
    border-radius: 28px;
    padding: 50px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.08);
    animation: scaleIn 0.6s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.tracking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.tracking-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.tracking-header h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 800;
    animation: fadeInDown 0.5s ease;
}

.tracking-header .order-date {
    justify-content: center;
}

.tracking-timeline {
    padding: 20px 0;
    max-width: 520px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    animation: fadeInLeft 0.5s ease both;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(3) { animation-delay: 0.2s; }
.timeline-step:nth-child(5) { animation-delay: 0.3s; }
.timeline-step:nth-child(7) { animation-delay: 0.4s; }
.timeline-step:nth-child(9) { animation-delay: 0.5s; }

.timeline-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.timeline-step.completed .timeline-dot {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 5px 20px rgba(40,167,69,0.35);
}

.timeline-step.completed .timeline-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(40,167,69,0.3);
    animation: ripple 2s infinite;
}

.timeline-step.current .timeline-dot {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: white;
    box-shadow: 0 0 0 8px rgba(245,166,35,0.15);
    animation: pulse 2s infinite;
    transform: scale(1.1);
}

.timeline-step.upcoming .timeline-dot {
    background: #eef0f2;
    color: #ccc;
}

.timeline-content {
    padding-bottom: 14px;
}

.timeline-content h4 {
    font-size: 1.02rem;
    margin-bottom: 5px;
    font-weight: 700;
    transition: all 0.3s;
}

.timeline-step.completed .timeline-content h4 {
    color: #28a745;
}

.timeline-step.current .timeline-content h4 {
    color: #f5a623;
    font-size: 1.12rem;
}

.timeline-step.upcoming .timeline-content h4 {
    color: #ccc;
}

.timeline-content p {
    font-size: 0.83rem;
    color: #888;
    line-height: 1.5;
}

.timeline-step.upcoming .timeline-content p {
    color: #ddd;
}

.timeline-line {
    width: 4px;
    height: 35px;
    margin-left: 22px;
    background: #eef0f2;
    margin-top: -5px;
    margin-bottom: -5px;
    border-radius: 2px;
    transition: all 0.5s;
}

.timeline-line.completed {
    background: linear-gradient(180deg, #28a745, #20c997);
    box-shadow: 0 0 8px rgba(40,167,69,0.2);
}

.timeline-cancelled {
    text-align: center;
    padding: 40px;
    animation: scaleInBounce 0.8s ease;
}

.cancelled-icon {
    font-size: 5.5rem;
    color: #e74c3c;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(231,76,60,0.3));
    animation: heartbeat 1.5s ease-in-out infinite;
}

.timeline-cancelled h3 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.timeline-cancelled p {
    color: #888;
}

.tracking-details {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.tracking-info-card {
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.tracking-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: rgba(245,166,35,0.15);
}

.tracking-info-card h4 {
    color: #1a1a2e;
    margin-bottom: 18px;
    font-size: 0.95rem;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    font-weight: 700;
}

.tracking-info-card h4 i {
    color: #f5a623;
    margin-right: 6px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.83rem;
    color: #555;
    transition: all 0.3s;
}

.info-row:hover {
    color: #333;
    padding-left: 5px;
}

.tracking-items {
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.03);
}

.tracking-items h4 {
    color: #1a1a2e;
    margin-bottom: 18px;
    font-size: 0.95rem;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    font-weight: 700;
}

.tracking-items h4 i {
    color: #f5a623;
    margin-right: 6px;
}

.tracking-item-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s;
}

.tracking-item-row:hover {
    background: rgba(245,166,35,0.03);
    padding-left: 8px;
    border-radius: 6px;
}

.tracking-item-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a2e;
}

/* ========== ADMIN ========== */
.admin-container {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInDown 0.6s ease;
}

.admin-header h2 {
    font-size: 2rem;
    color: #1a1a2e;
    font-weight: 800;
}

.admin-header-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    border-radius: 22px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.6s ease both;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-card:nth-child(1) { animation-delay: 0.08s; }
.stat-card:nth-child(2) { animation-delay: 0.16s; }
.stat-card:nth-child(3) { animation-delay: 0.24s; }
.stat-card:nth-child(4) { animation-delay: 0.32s; }

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
    transform: scaleX(0);
    transition: transform 0.5s;
    transform-origin: left;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12), 0 0 20px rgba(245,166,35,0.05);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    transform: scale(1.5);
}

.stat-card i {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #f5a623, #e09410);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s;
    filter: drop-shadow(0 2px 5px rgba(245,166,35,0.2));
}

.stat-card:hover i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 10px rgba(245,166,35,0.4));
}

.stat-card h3 {
    font-size: 1.7rem;
    color: #1a1a2e;
    font-weight: 800;
    animation: countUp 0.5s ease both;
}

.stat-card p {
    color: #888;
    font-size: 0.82rem;
    font-weight: 500;
}

.admin-section {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease both;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.admin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 4s infinite;
}

.admin-section h3 {
    font-size: 1.18rem;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

.section-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.section-flex h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.btn-view-all {
    color: #f5a623;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s;
    position: relative;
}

.btn-view-all::after {
    content: ' →';
    transition: all 0.3s;
}

.btn-view-all:hover {
    color: #e09410;
    transform: translateX(5px);
}

.admin-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    padding: 16px 20px;
    text-align: left;
    color: #555;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
    transition: all 0.3s;
}

.admin-table tr {
    transition: all 0.3s;
}

.admin-table tr:hover td {
    background: linear-gradient(135deg, rgba(245,166,35,0.03), transparent);
}

.admin-table tr:hover {
    transform: scale(1.005);
}

.table-img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.table-img:hover {
    transform: scale(1.25) rotate(3deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}

.no-image-tiny {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.action-btns {
    display: flex;
    gap: 10px;
}

.btn-edit {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 3px 12px rgba(26,26,46,0.2);
    letter-spacing: 0.3px;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(245,166,35,0.35);
}

.btn-delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 12px rgba(231,76,60,0.2);
    letter-spacing: 0.3px;
}

.btn-delete:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(231,76,60,0.45);
}

.update-status {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.update-status select {
    padding: 12px 16px;
    border: 2px solid #eef0f2;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s;
    background: #fafbfc;
    cursor: pointer;
}

.update-status select:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 5px rgba(245,166,35,0.1);
    background: white;
}
/* ========== FORM CARD ========== */
.form-card {
    background: white;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    max-width: 800px;
    animation: fadeInUp 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.form-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 18px;
    padding: 38px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 8px;
    display: block;
    position: relative;
    overflow: hidden;
    background: #fafbfc;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245,166,35,0.04), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.file-upload-area:hover::before {
    opacity: 1;
}

.file-upload-area:hover {
    border-color: #f5a623;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245,166,35,0.12);
    background: white;
}

.file-upload-area i {
    font-size: 2.8rem;
    color: #ccc;
    margin-bottom: 14px;
    display: block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.file-upload-area:hover i {
    color: #f5a623;
    transform: translateY(-8px) scale(1.15);
    animation: float 2s ease-in-out infinite;
}

.file-upload-area p {
    color: #777;
    margin-bottom: 5px;
    font-weight: 600;
    transition: color 0.3s;
}

.file-upload-area:hover p {
    color: #555;
}

.file-upload-area small {
    color: #aaa;
}

/* ========== MULTIPLE IMAGE PREVIEWS ========== */
.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.image-previews .preview-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: scaleInBounce 0.5s ease both;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.image-previews .preview-item:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    border-color: #f5a623;
}

.image-previews .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-previews .preview-item .preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    text-align: center;
    font-size: 0.7rem;
    padding: 18px 5px 6px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.preview-name {
    text-align: center;
    font-size: 0.65rem;
    color: #999;
    padding: 3px;
    background: #f9f9f9;
}

/* ========== CURRENT IMAGES GRID ========== */
.current-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.current-image-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #eee;
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.current-image-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
    border-color: #f5a623;
}

.current-image-card img {
    width: 100%;
    height: 125px;
    object-fit: cover;
    transition: all 0.4s;
}

.current-image-card:hover img {
    transform: scale(1.08);
}

.primary-badge {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-set-primary {
    display: block;
    text-align: center;
    background: #f0f0f0;
    color: #555;
    padding: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-set-primary:hover {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
}

.btn-delete-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231,76,60,0.92);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 10px rgba(231,76,60,0.35);
    opacity: 0;
    transform: scale(0.5);
}

.current-image-card:hover .btn-delete-image {
    opacity: 1;
    transform: scale(1);
}

.btn-delete-image:hover {
    background: #c0392b;
    transform: scale(1.2) rotate(90deg) !important;
}

.current-image {
    margin-bottom: 15px;
}

.current-image p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.checkbox-group {
    margin-top: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.checkbox-label:hover {
    background: #fafafa;
    border-color: rgba(245,166,35,0.15);
}

.checkbox-label input {
    width: auto;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #f5a623;
}

/* ========== ADMIN CATEGORIES ========== */
.categories-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}

.category-admin-card {
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.5s ease both;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-admin-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(245,166,35,0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s;
}

.category-admin-card:hover {
    border-color: rgba(245,166,35,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.category-admin-card:hover::after {
    transform: scale(2);
}

.category-admin-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.category-admin-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #f5a623;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(26,26,46,0.25);
}

.category-admin-card:hover .category-admin-icon {
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    transform: rotate(8deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(245,166,35,0.35);
}

.category-admin-header h4 {
    font-size: 1.08rem;
    color: #1a1a2e;
    margin-bottom: 3px;
    font-weight: 700;
}

.category-admin-count {
    font-size: 0.78rem;
    color: #888;
}

.category-admin-desc {
    color: #777;
    font-size: 0.83rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.category-admin-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s;
}

.category-admin-card:hover .category-admin-image {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.category-edit-details {
    margin-top: 12px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.category-edit-details summary {
    cursor: pointer;
    color: #f5a623;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 0;
    transition: all 0.3s;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-edit-details summary::-webkit-details-marker {
    display: none;
}

.category-edit-details summary:hover {
    color: #e09410;
    transform: translateX(5px);
}

.category-edit-details[open] summary {
    margin-bottom: 18px;
}

.category-edit-form {
    animation: fadeInUp 0.4s ease;
}

.category-edit-form .form-group {
    margin-bottom: 14px;
}

.category-edit-form .form-group label {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.category-edit-form .form-group input,
.category-edit-form .form-group select {
    padding: 11px 14px;
    font-size: 0.85rem;
}

.category-edit-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

/* ========== ICON REFERENCE ========== */
.icon-reference {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 14px;
}

.icon-ref-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.icon-ref-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245,166,35,0.08), transparent);
    transition: all 0.5s;
}

.icon-ref-item:hover::before {
    left: 100%;
}

.icon-ref-item:hover {
    border-color: #f5a623;
    background: white;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 20px rgba(245,166,35,0.15);
}

.icon-ref-item i {
    font-size: 1.4rem;
    color: #f5a623;
    width: 28px;
    text-align: center;
    transition: all 0.4s;
}

.icon-ref-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.icon-ref-item span {
    font-size: 0.7rem;
    color: #888;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #888;
    animation: fadeInUp 0.6s ease;
}

.empty-state i {
    font-size: 5.5rem;
    color: #ddd;
    margin-bottom: 28px;
    display: block;
    animation: floatRotate 5s ease-in-out infinite;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.05));
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 14px;
    font-weight: 700;
}

.empty-state p {
    margin-bottom: 28px;
    font-size: 0.95rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #0d0d1a, #1a1a2e, #16213e, #0f3460);
    color: white;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,166,35,0.05) 0%, transparent 60%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    animation: fadeInUp 0.5s ease 0.1s both;
}

.footer-brand .logo-oya {
    font-size: 2rem;
    animation: textGlow 4s ease-in-out infinite;
}

.footer-brand .logo-store {
    font-size: 1.6rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-payments {
    animation: fadeInUp 0.5s ease 0.2s both;
}

.footer-payments p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-info {
    animation: fadeInUp 0.5s ease 0.3s both;
}

.footer-info p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s;
    padding: 6px 0;
}

.footer-info p:hover {
    color: #f5a623;
    transform: translateX(8px);
}

.footer-info p i {
    color: #f5a623;
    width: 18px;
    text-align: center;
    transition: all 0.3s;
}

.footer-info p:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

/* ========== PWA INSTALL BANNER ========== */
.install-banner {
    background: linear-gradient(135deg, #f5a623, #e09410);
    padding: 16px 20px;
    position: sticky;
    top: 72px;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(245,166,35,0.35);
    animation: slideInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.install-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.install-content span {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.install-content span i {
    font-size: 1.2rem;
    animation: swing 2s ease infinite;
}

.install-buttons {
    display: flex;
    gap: 12px;
}

.btn-install {
    background: #1a1a2e;
    color: white;
    border: none;
    padding: 11px 26px;
    border-radius: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    letter-spacing: 0.3px;
}

.btn-install:hover {
    background: white;
    color: #1a1a2e;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-dismiss {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid rgba(26,26,46,0.35);
    padding: 11px 26px;
    border-radius: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.4s;
}

.btn-dismiss:hover {
    background: rgba(0,0,0,0.08);
    border-color: #1a1a2e;
    transform: translateY(-2px);
}
/* ================================================================
   MOBILE RESPONSIVE - PREMIUM EXPERIENCE ON ALL DEVICES
   ================================================================ */

/* ========== TABLETS (768px and below) ========== */
@media (max-width: 768px) {

    /* NAVBAR */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-container {
        height: 65px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0d0d1a, #1a1a2e);
        padding: 20px;
        gap: 5px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        z-index: 999;
        animation: fadeInDown 0.4s ease;
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(245,166,35,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 14px 18px;
        border-bottom: none;
        width: 100%;
        border-radius: 12px;
        transition: all 0.3s;
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(245,166,35,0.1);
        transform: translateX(8px);
    }

    .btn-register {
        text-align: center;
        display: block;
        margin-top: 5px;
    }

    /* HERO */
    .hero {
        padding: 60px 25px;
        border-radius: 22px;
        margin-bottom: 28px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h1 .logo-oya {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn-hero {
        padding: 15px 35px;
        font-size: 0.95rem;
    }

    /* CATEGORIES SHOWCASE */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .category-card {
        height: 170px;
        border-radius: 18px;
    }

    .category-card-content {
        padding: 16px;
    }

    .category-card-content i {
        font-size: 1.5rem;
        margin-bottom: 6px;
    }

    .category-card-content h3 {
        font-size: 0.9rem;
    }

    .category-card-content p {
        display: none;
    }

    /* CATEGORIES PAGE */
    .categories-page-grid {
        grid-template-columns: 1fr;
    }

    .category-page-image {
        width: 100px;
        min-height: 100px;
    }

    .category-page-image img {
        height: 100px;
    }

    .category-page-icon {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }

    .category-page-info {
        padding: 16px;
    }

    .category-page-info h3 {
        font-size: 1.02rem;
    }

    .category-page-arrow {
        padding: 0 16px;
    }

    .category-title-row {
        flex-direction: column;
    }

    /* FILTERS */
    .filter-form {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: unset;
    }

    .btn-filter {
        width: 100%;
        text-align: center;
        padding: 13px;
    }

    .btn-clear-filter {
        width: 100%;
        text-align: center;
        display: block;
        padding: 13px;
    }

    /* PRODUCTS */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card img,
    .no-image {
        height: 180px;
    }

    .product-info {
        padding: 14px;
    }

    .product-info h3 {
        font-size: 0.92rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        margin-top: 14px;
    }

    /* PRODUCT DETAIL */
    .detail-card {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .detail-image img,
    .main-image img {
        min-height: 280px;
        max-height: 400px;
    }

    .no-image-large {
        min-height: 280px;
    }

    .detail-info {
        padding: 30px;
        animation: fadeInUp 0.5s ease;
    }

    .detail-info::before {
        display: none;
    }

    .detail-info h1 {
        font-size: 1.55rem;
    }

    .detail-price {
        font-size: 1.9rem;
    }

    .thumbnail {
        width: 58px;
        height: 58px;
    }

    .thumbnail-strip {
        gap: 8px;
        padding: 12px;
    }

    /* CART */
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 75px 1fr;
        gap: 14px;
        padding: 20px;
    }

    .cart-item-image img,
    .no-image-small {
        width: 75px;
        height: 75px;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
    }

    .cart-item-total {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item-total p {
        text-align: left;
    }

    .cart-summary {
        position: static;
        border-radius: 22px;
    }

    /* CHECKOUT */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        order: -1;
        border-radius: 22px;
    }

    .payment-options {
        flex-direction: column;
    }

    .payment-option-card {
        justify-content: center;
    }

    /* AUTH */
    .auth-card {
        padding: 30px;
        margin: 0 10px;
        border-radius: 22px;
    }

    .auth-card::after {
        display: none;
    }

    .auth-header h2 {
        font-size: 1.6rem;
    }

    /* ORDERS */
    .order-header {
        flex-direction: column;
        gap: 14px;
    }

    .order-header-right {
        text-align: left;
    }

    .order-footer {
        flex-direction: column;
        gap: 12px;
    }

    .update-status {
        flex-direction: column;
        align-items: flex-start;
    }

    .update-status select {
        width: 100%;
    }

    .update-status .btn-edit {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
    }

    /* ADMIN */
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .admin-header-actions .btn-submit,
    .admin-header-actions .btn-track {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-card {
        padding: 20px;
        border-radius: 18px;
    }

    .stat-card i {
        font-size: 1.8rem;
    }

    .stat-card h3 {
        font-size: 1.35rem;
    }

    .action-btns {
        flex-direction: column;
    }

    .section-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* FORMS */
    .form-card {
        padding: 24px;
        border-radius: 20px;
    }

    .form-card::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* SUCCESS */
    .success-card {
        padding: 30px;
        margin: 0 10px;
        border-radius: 22px;
    }

    .success-card::after {
        display: none;
    }

    .success-card h2 {
        font-size: 1.6rem;
    }

    .success-icon {
        font-size: 4rem;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
        padding: 40px 20px;
    }

    .footer-info p {
        justify-content: center;
    }

    .payment-icons {
        justify-content: center;
    }

    /* TRACKING */
    .tracking-card {
        padding: 28px;
        border-radius: 22px;
    }

    .tracking-header h2 {
        font-size: 1.4rem;
    }

    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step {
        gap: 18px;
    }

    .timeline-dot {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .timeline-line {
        margin-left: 18px;
    }

    /* ADMIN CATEGORIES */
    .categories-admin-grid {
        grid-template-columns: 1fr;
    }

    .icon-reference {
        grid-template-columns: repeat(2, 1fr);
    }

    /* INSTALL BANNER */
    .install-banner {
        top: 65px;
    }

    .install-content {
        flex-direction: column;
        text-align: center;
    }

    /* IMAGES */
    .current-images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .current-image-card img {
        height: 100px;
    }

    .image-previews {
        grid-template-columns: repeat(3, 1fr);
    }

    .current-image-card .btn-delete-image {
        opacity: 1;
        transform: scale(0.85);
    }
}

/* ========== SMALL PHONES (480px and below) ========== */
@media (max-width: 480px) {

    /* NAVBAR */
    .nav-logo {
        font-size: 1.3rem;
    }

    .logo-oya {
        font-size: 1.4rem !important;
    }

    .logo-store {
        font-size: 1.2rem !important;
    }

    .nav-container {
        height: 60px;
    }

    .nav-links {
        top: 60px;
    }

    /* MAIN */
    .main-content {
        padding: 12px;
    }

    /* HERO */
    .hero {
        padding: 42px 18px;
        margin-bottom: 22px;
        border-radius: 16px;
    }

    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: 1.55rem;
        line-height: 1.3;
    }

    .hero h1 .logo-oya {
        font-size: 1.7rem;
    }

    .hero h1 .logo-oya::after {
        display: none;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 25px;
        line-height: 1.7;
    }

    .btn-hero {
        padding: 14px 30px;
        font-size: 0.9rem;
        border-radius: 30px;
    }

    /* CATEGORIES SHOWCASE */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        height: 140px;
        border-radius: 14px;
    }

    .category-card-content {
        padding: 12px;
    }

    .category-card-content i {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .category-card-content h3 {
        font-size: 0.8rem;
    }

    /* CATEGORIES BAR */
    .category-pill {
        padding: 8px 16px;
        font-size: 0.78rem;
        border-radius: 30px;
    }

    .category-pill i {
        font-size: 0.7rem;
    }

    /* CATEGORIES PAGE */
    .category-page-image {
        width: 75px;
        min-height: 75px;
    }

    .category-page-image img {
        height: 75px;
    }

    .category-page-icon {
        width: 75px;
        height: 75px;
        font-size: 1.7rem;
    }

    .category-page-info h3 {
        font-size: 0.92rem;
    }

    .category-page-info p {
        font-size: 0.75rem;
    }

    .category-page-arrow {
        padding: 0 12px;
        font-size: 1rem;
    }

    /* FILTERS */
    .category-filters {
        padding: 16px;
        border-radius: 16px;
    }

    /* PRODUCTS */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card img,
    .no-image {
        height: 145px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 0.82rem;
        margin: 8px 0 5px;
    }

    .product-desc {
        display: none;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 12px;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .in-stock, .out-stock {
        font-size: 0.62rem;
        padding: 3px 10px;
    }

    .btn-view {
        padding: 10px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .product-category {
        font-size: 0.6rem;
        padding: 3px 10px;
        border-radius: 15px;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .image-count {
        font-size: 0.62rem;
        padding: 3px 10px;
        top: 8px;
        right: 8px;
    }

    /* PRODUCT DETAIL */
    .detail-info {
        padding: 20px;
    }

    .detail-info h1 {
        font-size: 1.3rem;
    }

    .detail-price {
        font-size: 1.6rem;
        margin: 14px 0;
    }

    .detail-image img,
    .main-image img {
        min-height: 230px;
        max-height: 320px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .thumbnail-strip {
        padding: 10px;
        gap: 6px;
    }

    .qty-controls button {
        width: 38px;
        height: 38px;
    }

    .qty-controls input {
        width: 58px;
    }

    .btn-add-cart {
        padding: 15px;
        font-size: 0.95rem;
    }

    .payment-badge {
        padding: 5px 14px;
        font-size: 0.72rem;
    }

    /* CART */
    .cart-container h2,
    .checkout-container h2,
    .orders-container h2 {
        font-size: 1.45rem;
    }

    .cart-item {
        padding: 14px;
        border-radius: 16px;
    }

    .cart-item-image img,
    .no-image-small {
        width: 65px;
        height: 65px;
        border-radius: 12px;
    }

    .cart-item-info h3 {
        font-size: 0.88rem;
    }

    .cart-summary {
        padding: 22px;
        border-radius: 18px;
    }

    .cart-summary h3 {
        font-size: 1.15rem;
    }

    .summary-total {
        font-size: 1.15rem;
    }

    .btn-checkout {
        padding: 15px;
        font-size: 0.95rem;
    }

    /* CHECKOUT */
    .checkout-card {
        padding: 22px;
        border-radius: 18px;
    }

    .checkout-summary {
        padding: 22px;
        border-radius: 18px;
    }

    /* AUTH */
    .auth-card {
        padding: 25px;
        border-radius: 20px;
    }

    .auth-header h2 {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 13px 15px;
        border-radius: 12px;
    }

    .btn-submit {
        padding: 15px;
        font-size: 1rem;
        border-radius: 14px;
    }

    /* ORDERS */
    .order-card {
        padding: 20px;
        border-radius: 18px;
    }

    .order-header h3 {
        font-size: 1.02rem;
    }

    .order-total {
        font-size: 1.2rem;
    }

    .btn-track {
        padding: 12px 22px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    /* SUCCESS */
    .success-card {
        padding: 25px 18px;
        border-radius: 20px;
    }

    .success-card h2 {
        font-size: 1.35rem;
    }

    .success-icon {
        font-size: 3.5rem;
    }

    .order-details {
        padding: 18px;
        border-radius: 14px;
    }

    .order-detail-row {
        font-size: 0.82rem;
    }

    .instruction-card {
        padding: 14px;
    }

    .instruction-card p {
        font-size: 0.82rem;
    }

    .payment-warning {
        font-size: 0.8rem;
        padding: 12px;
    }

    /* TRACKING */
    .tracking-card {
        padding: 20px;
        border-radius: 18px;
    }

    .tracking-header h2 {
        font-size: 1.2rem;
    }

    .timeline-dot {
        width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }

    .timeline-line {
        margin-left: 15px;
        height: 28px;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.78rem;
    }

    .tracking-info-card {
        padding: 18px;
    }

    .tracking-items {
        padding: 18px;
    }

    .info-row {
        font-size: 0.78rem;
    }

    /* ADMIN */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        border-radius: 16px;
    }

    .stat-card::after {
        display: none;
    }

    .stat-card i {
        font-size: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.15rem;
    }

    .stat-card p {
        font-size: 0.72rem;
    }

    .admin-section {
        padding: 18px;
        border-radius: 18px;
    }

    .admin-table {
        font-size: 0.78rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
    }

    .table-img {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .btn-edit, .btn-delete {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    /* FLASH */
    .flash-container {
        padding: 0 12px;
    }

    .alert {
        font-size: 0.82rem;
        padding: 12px 16px;
        border-radius: 12px;
    }

    /* FORMS */
    .form-card {
        padding: 20px;
        border-radius: 18px;
    }

    .file-upload-area {
        padding: 25px;
        border-radius: 14px;
    }

    .file-upload-area i {
        font-size: 2.2rem;
    }

    /* IMAGES */
    .current-images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .current-image-card {
        border-radius: 12px;
    }

    .current-image-card img {
        height: 85px;
    }

    .image-previews {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* ADMIN CATEGORIES */
    .category-admin-card {
        padding: 18px;
        border-radius: 16px;
    }

    .category-admin-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .category-admin-header h4 {
        font-size: 0.95rem;
    }

    .category-admin-image {
        height: 85px;
        border-radius: 12px;
    }

    .icon-reference {
        grid-template-columns: 1fr;
    }

    /* FOOTER */
    .footer-brand .logo-oya {
        font-size: 1.6rem;
    }

    .footer-brand .logo-store {
        font-size: 1.3rem;
    }

    .footer-container {
        padding: 35px 15px;
    }

    /* INSTALL BANNER */
    .install-banner {
        top: 60px;
        padding: 14px 15px;
    }

    .install-content span {
        font-size: 0.8rem;
    }

    .btn-install, .btn-dismiss {
        padding: 9px 20px;
        font-size: 0.8rem;
    }

    /* SUMMARY */
    .summary-item {
        font-size: 0.82rem;
    }
}

/* ========== VERY SMALL PHONES (360px and below) ========== */
@media (max-width: 360px) {

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero h1 .logo-oya {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .categories-grid {
        gap: 8px;
    }

    .category-card {
        height: 120px;
        border-radius: 12px;
    }

    .category-card-content {
        padding: 10px;
    }

    .category-card-content i {
        font-size: 1.1rem;
    }

    .category-card-content h3 {
        font-size: 0.72rem;
    }

    .products-grid {
        gap: 8px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-card img,
    .no-image {
        height: 120px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 0.92rem;
    }

    .btn-view {
        padding: 8px;
        font-size: 0.75rem;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-card h3 {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .detail-info h1 {
        font-size: 1.15rem;
    }

    .detail-price {
        font-size: 1.4rem;
    }

    .auth-card {
        padding: 20px;
    }

    .auth-header h2 {
        font-size: 1.25rem;
    }

    .cart-container h2,
    .checkout-container h2,
    .orders-container h2 {
        font-size: 1.3rem;
    }

    .tracking-header h2 {
        font-size: 1.08rem;
    }

    .success-card h2 {
        font-size: 1.2rem;
    }
}

/* ========== LANDSCAPE PHONES ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .btn-hero {
        padding: 12px 28px;
    }

    .nav-links {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* ========== LARGE SCREENS (1400px and above) ========== */
@media (min-width: 1400px) {
    .main-content {
        max-width: 1300px;
    }

    .hero {
        padding: 110px 50px;
        border-radius: 32px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero h1 .logo-oya {
        font-size: 3.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .category-card {
        height: 240px;
    }

    .stat-card {
        padding: 35px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .footer,
    .install-banner,
    .flash-container,
    .btn-add-cart,
    .btn-checkout,
    .btn-track,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .main-content {
        max-width: 100%;
        padding: 0;
    }

    .product-card,
    .order-card,
    .tracking-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}
/* ========== PROFILE PAGE ========== */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 28px;
    background: white;
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 28px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    animation: fadeInDown 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f5a623, #e09410, #f5a623);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(26,26,46,0.3);
}

.profile-avatar i {
    font-size: 3rem;
    color: #f5a623;
}

.profile-header-info h2 {
    font-size: 1.6rem;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 800;
}

.profile-header-info p {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-header-info p i {
    color: #f5a623;
    width: 16px;
    text-align: center;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.profile-stat-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardEntrance 0.5s ease both;
    border: 1px solid rgba(0,0,0,0.03);
}

.profile-stat-card:nth-child(1) { animation-delay: 0.1s; }
.profile-stat-card:nth-child(2) { animation-delay: 0.15s; }
.profile-stat-card:nth-child(3) { animation-delay: 0.2s; }

.profile-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.profile-stat-card i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #f5a623, #e09410);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-stat-card h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    font-weight: 800;
}

.profile-stat-card p {
    color: #888;
    font-size: 0.78rem;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-section {
    background: white;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    animation: fadeInUp 0.5s ease both;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5a623, #e09410);
}

.profile-section h3 {
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

.profile-section h3 i {
    color: #f5a623;
    margin-right: 8px;
}

/* PROFILE LINKS */
.profile-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-link-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fafbfc, #f5f5f5);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.profile-link-card:hover {
    border-color: rgba(245,166,35,0.2);
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    background: white;
}

.profile-link-card > i:first-child {
    font-size: 1.4rem;
    color: #f5a623;
    width: 24px;
    text-align: center;
    transition: all 0.3s;
}

.profile-link-card:hover > i:first-child {
    transform: scale(1.2);
}

.profile-link-card div {
    flex: 1;
}

.profile-link-card h4 {
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 3px;
    font-weight: 700;
}

.profile-link-card p {
    font-size: 0.78rem;
    color: #888;
}

.profile-link-card > i:last-child {
    color: #ddd;
    transition: all 0.3s;
}

.profile-link-card:hover > i:last-child {
    color: #f5a623;
    transform: translateX(5px);
}

/* DANGER ZONE */
.profile-danger-section::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b) !important;
}

.danger-warning {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.delete-account-details {
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}

.delete-account-details summary {
    cursor: pointer;
    color: #e74c3c;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 0;
    transition: all 0.3s;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-account-details summary::-webkit-details-marker {
    display: none;
}

.delete-account-details summary:hover {
    color: #c0392b;
    transform: translateX(5px);
}

.delete-account-details[open] summary {
    margin-bottom: 18px;
}

.delete-form {
    animation: fadeInUp 0.4s ease;
}

.btn-delete-account {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(231,76,60,0.3);
}

.btn-delete-account:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(231,76,60,0.45);
}

/* PROFILE MOBILE */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .profile-header-info p {
        justify-content: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-stat-card {
        padding: 18px;
    }

    .profile-section {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .profile-avatar {
        width: 70px;
        height: 70px;
    }

    .profile-avatar i {
        font-size: 2.2rem;
    }

    .profile-header-info h2 {
        font-size: 1.3rem;
    }

    .profile-header {
        padding: 22px;
        border-radius: 18px;
    }

    .profile-stat-card {
        padding: 14px;
    }

    .profile-stat-card i {
        font-size: 1.4rem;
    }

    .profile-stat-card h3 {
        font-size: 1.05rem;
    }

    .profile-section {
        padding: 18px;
        border-radius: 16px;
    }

    .profile-link-card {
        padding: 14px 16px;
    }
}
/* ================================================================
   EPIC ANIMATED BACKGROUND - GO NUTS MODE 🔥🔥🔥
   ================================================================ */

/* ========== LIVING BACKGROUND ========== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f2f5, #e8ecf1, #f5f0eb, #eef0f5);
    background-size: 400% 400%;
    animation: bgBreath 15s ease infinite;
}

@keyframes bgBreath {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 0%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

/* ========== GRADIENT OVERLAY ========== */
.bg-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(245,166,35,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26,26,46,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245,166,35,0.03) 0%, transparent 50%);
    animation: overlayShift 20s ease infinite;
}

@keyframes overlayShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ========== FLOATING PARTICLES ========== */
.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleFly linear infinite;
}

@keyframes particleFly {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

.p1 {
    width: 4px; height: 4px;
    background: rgba(245,166,35,0.4);
    left: 5%; animation-duration: 18s; animation-delay: 0s;
}
.p2 {
    width: 6px; height: 6px;
    background: rgba(245,166,35,0.3);
    left: 15%; animation-duration: 22s; animation-delay: 2s;
}
.p3 {
    width: 3px; height: 3px;
    background: rgba(26,26,46,0.2);
    left: 25%; animation-duration: 16s; animation-delay: 4s;
}
.p4 {
    width: 5px; height: 5px;
    background: rgba(245,166,35,0.35);
    left: 35%; animation-duration: 20s; animation-delay: 1s;
}
.p5 {
    width: 4px; height: 4px;
    background: rgba(26,26,46,0.15);
    left: 45%; animation-duration: 24s; animation-delay: 3s;
}
.p6 {
    width: 7px; height: 7px;
    background: rgba(245,166,35,0.25);
    left: 55%; animation-duration: 19s; animation-delay: 5s;
}
.p7 {
    width: 3px; height: 3px;
    background: rgba(245,166,35,0.4);
    left: 65%; animation-duration: 21s; animation-delay: 2s;
}
.p8 {
    width: 5px; height: 5px;
    background: rgba(26,26,46,0.18);
    left: 75%; animation-duration: 17s; animation-delay: 4s;
}
.p9 {
    width: 4px; height: 4px;
    background: rgba(245,166,35,0.3);
    left: 85%; animation-duration: 23s; animation-delay: 1s;
}
.p10 {
    width: 6px; height: 6px;
    background: rgba(245,166,35,0.2);
    left: 95%; animation-duration: 20s; animation-delay: 3s;
}
.p11 {
    width: 3px; height: 3px;
    background: rgba(245,166,35,0.5);
    left: 10%; animation-duration: 25s; animation-delay: 6s;
}
.p12 {
    width: 5px; height: 5px;
    background: rgba(26,26,46,0.12);
    left: 30%; animation-duration: 15s; animation-delay: 7s;
}
.p13 {
    width: 4px; height: 4px;
    background: rgba(245,166,35,0.35);
    left: 50%; animation-duration: 26s; animation-delay: 0s;
}
.p14 {
    width: 6px; height: 6px;
    background: rgba(26,26,46,0.1);
    left: 70%; animation-duration: 18s; animation-delay: 8s;
}
.p15 {
    width: 3px; height: 3px;
    background: rgba(245,166,35,0.45);
    left: 90%; animation-duration: 22s; animation-delay: 5s;
}

/* ========== FLOATING SHAPES ========== */
.bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-1 {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, #f5a623, #e09410);
    top: 10%; left: -5%;
    animation: morphBg 20s ease-in-out infinite, float 12s ease-in-out infinite;
}

.shape-2 {
    width: 300px; height: 300px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    top: 50%; right: -5%;
    animation: morphBg 25s ease-in-out infinite 5s, float 15s ease-in-out infinite 3s;
}

.shape-3 {
    width: 250px; height: 250px;
    background: linear-gradient(135deg, #f5a623, #e09410);
    bottom: 10%; left: 20%;
    animation: morphBg 18s ease-in-out infinite 3s, float 10s ease-in-out infinite 1s;
}

.shape-4 {
    width: 200px; height: 200px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    top: 30%; left: 60%;
    animation: morphBg 22s ease-in-out infinite 7s, float 14s ease-in-out infinite 5s;
}

.shape-5 {
    width: 350px; height: 350px;
    background: linear-gradient(135deg, #f5a623, #e09410);
    bottom: 30%; right: 10%;
    animation: morphBg 28s ease-in-out infinite 2s, float 18s ease-in-out infinite 4s;
    opacity: 0.03;
}

.shape-6 {
    width: 180px; height: 180px;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    top: 70%; left: 5%;
    animation: morphBg 15s ease-in-out infinite 4s, float 11s ease-in-out infinite 2s;
}

/* ========== GRID PATTERN ========== */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* ========== GLOWING ORBS ========== */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.glow-1 {
    width: 500px; height: 500px;
    background: rgba(245,166,35,0.06);
    top: -10%; left: -10%;
    animation: glowPulse 8s ease-in-out infinite;
}

.glow-2 {
    width: 400px; height: 400px;
    background: rgba(26,26,46,0.05);
    bottom: 10%; right: -5%;
    animation: glowPulse 10s ease-in-out infinite 3s;
}

.glow-3 {
    width: 350px; height: 350px;
    background: rgba(245,166,35,0.04);
    top: 40%; left: 50%;
    animation: glowPulse 12s ease-in-out infinite 5s;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* ========== WAVE BOTTOM ========== */
.bg-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    opacity: 0.03;
}

.bg-wave svg {
    width: 100%;
    height: 100%;
}

.wave-path-1 {
    fill: #f5a623;
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { d: path("M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,208C960,213,1056,171,1152,149.3C1248,128,1344,128,1392,128L1440,128L1440,320L0,320Z"); }
    50% { d: path("M0,192L48,181.3C96,171,192,149,288,160C384,171,480,213,576,218.7C672,224,768,192,864,176C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,320L0,320Z"); }
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: all 0.15s ease;
    display: none;
}

/* ========== CLICK RIPPLE ========== */
.click-ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(245,166,35,0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: clickRippleAnim 0.8s ease-out forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes clickRippleAnim {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ========== SCROLL REVEAL ========== */
.product-card,
.category-card,
.category-page-card,
.stat-card,
.order-card,
.profile-stat-card,
.profile-section,
.category-admin-card,
.icon-ref-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========== GLASSMORPHISM CARDS ========== */
.product-card,
.auth-card,
.checkout-card,
.cart-summary,
.checkout-summary,
.order-card,
.tracking-card,
.profile-section,
.success-card,
.form-card,
.admin-section,
.category-filters {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
}

.stat-card,
.profile-stat-card,
.profile-header,
.cart-item {
    background: rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

/* ========== HOVER GLOW EFFECT ========== */
.product-card:hover,
.category-card:hover,
.stat-card:hover,
.order-card:hover {
    box-shadow:
        0 20px 60px rgba(0,0,0,0.12),
        0 0 30px rgba(245,166,35,0.08),
        inset 0 0 30px rgba(245,166,35,0.02) !important;
}

/* ========== DESKTOP CURSOR GLOW ========== */
@media (min-width: 769px) {
    .cursor-glow {
        display: block;
    }
}

/* ========== MOBILE - REDUCE ANIMATIONS ========== */
@media (max-width: 768px) {
    .bg-grid {
        display: none;
    }

    .shape-4, .shape-5, .shape-6 {
        display: none;
    }

    .p11, .p12, .p13, .p14, .p15 {
        display: none;
    }

    .glow-3 {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .bg-shapes {
        display: none;
    }

    .bg-wave {
        display: none;
    }

    .particle {
        width: 3px !important;
        height: 3px !important;
    }

    .p6, .p7, .p8, .p9, .p10 {
        display: none;
    }
}

/* ========== REDUCE MOTION FOR ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    .bg-animation,
    .particle,
    .shape,
    .bg-grid,
    .bg-glow,
    .bg-wave,
    .cursor-glow {
        animation: none !important;
        display: none;
    }

    * {
        animation-duration: 0.01s !important;
        transition-duration: 0.01s !important;
    }
}
/* ================================================================
   $100,000 ULTIMATE ANIMATIONS - EVERYTHING ANIMATED
   ================================================================ */

/* ========== PAGE TRANSITIONS ========== */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-leaving {
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.3s ease;
}

/* ========== ANIMATED LOGO LETTERS ========== */
.logo-letter {
    display: inline-block;
    animation: logoLetterIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
    transition: all 0.3s;
}

.logo-letter:hover {
    transform: translateY(-5px) scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px rgba(245,166,35,0.8);
}

@keyframes logoLetterIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotateX(90deg) scale(0);
    }
    60% {
        transform: translateY(5px) rotateX(-10deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

.logo-letter-store {
    display: inline-block;
    animation: logoStoreIn 0.5s ease both;
    transition: all 0.3s;
}

.logo-letter-store:hover {
    transform: translateY(-3px) scale(1.15);
    color: #f5a623;
}

@keyframes logoStoreIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== NAVBAR SCROLL EFFECT ========== */
.navbar-scrolled {
    background: rgba(13,13,26,0.95) !important;
    backdrop-filter: blur(30px) !important;
    box-shadow: 0 5px 40px rgba(0,0,0,0.6), 0 0 20px rgba(245,166,35,0.05) !important;
    border-bottom: 1px solid rgba(245,166,35,0.15) !important;
}

/* ========== NAV LINK PARTICLES ========== */
.nav-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f5a623;
    border-radius: 50%;
    pointer-events: none;
    animation: navParticleUp 0.8s ease-out forwards;
}

@keyframes navParticleUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0);
    }
}

/* ========== CARD SHINE EFFECT ========== */
.card-shine {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: all 0.1s ease;
}

/* ========== CLICK SPARKLES ========== */
.click-sparkle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #f5a623;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    animation: sparkleExplode 0.8s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes sparkleExplode {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(0);
    }
}

/* ========== CLICK RIPPLE UPGRADE ========== */
.click-ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(245,166,35,0.5) 0%, rgba(245,166,35,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: clickRippleAnim 1s ease-out forwards;
    pointer-events: none;
    z-index: 10;
}

@keyframes clickRippleAnim {
    0% { width: 10px; height: 10px; opacity: 1; }
    100% { width: 300px; height: 300px; opacity: 0; }
}

/* ========== PRICE BOUNCE ========== */
.price-bounce {
    animation: priceBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes priceBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ========== COUNTER DONE EFFECT ========== */
.counter-done {
    animation: counterPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes counterPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); color: #f5a623; }
    100% { transform: scale(1); }
}

/* ========== IMAGE LOADING ========== */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.img-loaded {
    animation: imgReveal 0.6s ease both;
}

@keyframes imgReveal {
    from { opacity: 0; transform: scale(1.05); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f5a623, #e09410);
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 5px 25px rgba(245,166,35,0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 10px 35px rgba(245,166,35,0.6);
}

.fab-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    padding: 16px 28px;
    border-radius: 16px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
}

.toast-visible {
    transform: translateX(0) !important;
}

.toast-success { background: linear-gradient(135deg, rgba(40,167,69,0.9), rgba(32,201,151,0.9)); }
.toast-danger { background: linear-gradient(135deg, rgba(220,53,69,0.9), rgba(192,57,43,0.9)); }
.toast-info { background: linear-gradient(135deg, rgba(245,166,35,0.9), rgba(224,148,16,0.9)); }

/* ========== ENHANCED CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(245,166,35,0.07) 0%,
        rgba(245,166,35,0.03) 30%,
        transparent 70%
    );
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: all 0.12s ease;
    display: none;
    mix-blend-mode: normal;
}

/* ========== ANIMATED SECTION HEADERS ========== */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-header.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2::after {
    animation: underlineGrow 1s ease 0.5s both;
}

/* ========== ENHANCED PRODUCT CARDS ========== */
.product-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card.scroll-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: all 0.7s;
    z-index: 1;
}

.product-card:hover::after {
    left: 150%;
}

/* ========== ENHANCED CATEGORY CARDS ========== */
.category-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card.scroll-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ========== ENHANCED STAT CARDS ========== */
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== HERO TITLE ANIMATED ========== */
.hero-title-animated {
    overflow: hidden;
}

/* ========== ANIMATED FORM INPUTS ========== */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    animation: inputFocus 0.4s ease;
}

@keyframes inputFocus {
    0% { box-shadow: 0 0 0 0 rgba(245,166,35,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(245,166,35,0.1); }
    100% { box-shadow: 0 0 0 5px rgba(245,166,35,0.1); }
}

/* ========== ANIMATED STATUS BADGES ========== */
.status-badge {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.status-badge:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.status-badge.pending {
    animation: pendingPulse 2s ease-in-out infinite;
}

@keyframes pendingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,7,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(255,193,7,0); }
}

/* ========== ANIMATED PAYMENT BADGES ========== */
.payment-badge {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.payment-badge:hover {
    transform: translateY(-5px) scale(1.1) rotate(-3deg);
}

.payment-badge.airtel:hover {
    box-shadow: 0 10px 30px rgba(255,0,0,0.4);
}

.payment-badge.mtn:hover {
    box-shadow: 0 10px 30px rgba(255,204,0,0.5);
}

.payment-badge.zamtel:hover {
    box-shadow: 0 10px 30px rgba(0,170,68,0.4);
}

/* ========== ANIMATED EMPTY STATE ========== */
.empty-state i {
    animation: emptyFloat 4s ease-in-out infinite;
}

@keyframes emptyFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(3deg); }
}

/* ========== ANIMATED CART ITEMS ========== */
.cart-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-item.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== ANIMATED TRACKING INFO ========== */
.tracking-info-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tracking-info-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED ORDER CARDS ========== */
.order-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED PROFILE ========== */
.profile-stat-card {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-stat-card.scroll-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.profile-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-section.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED CHECKOUT CARDS ========== */
.checkout-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkout-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED ADMIN CATEGORIES ========== */
.category-admin-card {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-admin-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED ICON REFERENCE ========== */
.icon-ref-item {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.icon-ref-item.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== ANIMATED LINKS ========== */
.profile-link-card {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-link-card.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== FOOTER ANIMATION ========== */
.footer-brand,
.footer-payments,
.footer-info {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.footer-brand.scroll-visible,
.footer-payments.scroll-visible,
.footer-info.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== GLASSMORPHISM ENHANCED ========== */
.product-card,
.auth-card,
.checkout-card,
.cart-summary,
.checkout-summary,
.order-card,
.tracking-card,
.profile-section,
.success-card,
.form-card,
.admin-section,
.category-filters {
    background: rgba(255,255,255,0.82) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
}

.stat-card,
.profile-stat-card,
.profile-header,
.cart-item {
    background: rgba(255,255,255,0.78) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
}

/* ========== MOBILE OPTIMIZATIONS ========== */
@media (max-width: 768px) {
    .cursor-glow,
    .cursor-trail,
    .card-shine {
        display: none !important;
    }

    .click-sparkle {
        display: none;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .toast-notification {
        right: 15px;
        left: 15px;
        bottom: 80px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-trail,
    .click-sparkle,
    .card-shine,
    .nav-particle {
        display: none !important;
    }

    .scroll-to-top {
        transition: opacity 0.2s !important;
    }
}