/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --shadow: rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Color Themes */
    --theme-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --theme-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --theme-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

[data-theme="dark"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --shadow: rgba(0,0,0,0.3);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="green"] {
    --gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --primary-color: #11998e;
    --secondary-color: #38ef7d;
}

[data-theme="purple"] {
    --gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --primary-color: #a8edea;
    --secondary-color: #fed6e3;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient);
    min-height: 100vh;
    transition: all 0.3s ease;
    width: 100%;
    overflow-x: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Full Desktop View */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 3rem;
    }

    .hero-content h2 {
        font-size: 4.5rem;
    }
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.splash-content {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.app-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.loading-animation {
    margin-top: 40px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: loading 1.5s infinite ease-in-out;
}

.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.3s; }
.loading-dots span:nth-child(3) { animation-delay: 0.6s; }

.open-app-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 0 auto;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 1.5s both, pulse 2s infinite 2s;
    width: fit-content;
}

.open-app-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.open-app-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.open-app-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.open-app-btn:hover i {
    transform: scale(1.2);
}

/* Main App */
.main-app {
    background: #f8f9fa;
    min-height: 100vh;
    transition: opacity 0.5s ease-in;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.logo i {
    font-size: 2rem;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}



.cart-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.cart-icon i {
    font-size: 1.5rem;
    color: #667eea;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff4757;
    color: white;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}

.user-profile {
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.user-profile i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: var(--bg-color);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.theme-toggle.rotating i {
    animation: rotate 0.5s ease;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.1);
}

.wishlist-btn i {
    font-size: 1.2rem;
    color: #ff4757;
    transition: all 0.3s ease;
}

.wishlist-btn.active i {
    color: #ff4757;
    animation: heartBeat 0.6s ease;
}

.wishlist-btn.active .far {
    display: none;
}

.wishlist-btn.active::before {
    content: '\f004';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ff4757;
    font-size: 1.2rem;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.add-to-cart {
    flex: 2;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-view-btn {
    flex: 1;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-view-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

.notification-theme {
    border-left: 4px solid #667eea;
}

.notification-wishlist {
    border-left: 4px solid #ff4757;
}

.notification-info {
    border-left: 4px solid #2ecc71;
}

/* Product Image Zoom Effect */
.product-image {
    overflow: hidden;
    position: relative;
}

.product-image img {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* Enhanced Product Card Hover */
.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

/* Update existing styles with CSS variables */
.main-app {
    background: var(--bg-color);
    min-height: 100vh;
    transition: opacity 0.5s ease-in;
}

.header {
    background: var(--card-bg);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-categories {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

/* About Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.about-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
    transition: all 0.3s ease;
}

.modal-overlay.active .about-modal {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-content {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.developer-profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.developer-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px var(--shadow);
    overflow: hidden;
}

.developer-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.developer-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.developer-role {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.developer-description {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
}

.developer-skills {
    margin-bottom: 2rem;
}

.developer-skills h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.contact-section,
.social-section,
.mission-section {
    margin-bottom: 2rem;
}

.contact-section h4,
.social-section h4,
.mission-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #25D366;
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #25D366;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.social-links-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.social-link-modal {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.social-link-modal i {
    font-size: 1.5rem;
}

.social-link-modal.facebook {
    color: #1877F2;
}

.social-link-modal.facebook:hover {
    background: #1877F2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.social-link-modal.youtube {
    color: #FF0000;
}

.social-link-modal.youtube:hover {
    background: #FF0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.social-link-modal.instagram {
    color: #E4405F;
}

.social-link-modal.instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.3);
}

.social-link-modal.whatsapp {
    color: #25D366;
}

.social-link-modal.whatsapp:hover {
    background: #25D366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.mission-section p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.8;
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Update existing nav-categories to use variables */
.nav-categories {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 400px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-chat-btn {
    position: relative;
    background: linear-gradient(135deg, #25D366, #128C7E, #075E54);
    color: white;
    border: none;
    padding: 25px 35px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    min-width: 250px;
    animation: heroFloat 3s ease-in-out infinite;
}

.hero-chat-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #25D366, #34E79A);
}

.hero-chat-btn i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.hero-chat-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-notification-hero {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 3px solid white;
    animation: bounce 2s infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-icon {
    font-size: 8rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* Products Section */
.products-section {
    padding: 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 10px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #f1f2f6, #ddd);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 3rem;
    color: #667eea;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.6;
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1rem;
}

.stars {
    color: #ffa502;
}

.rating-text {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.add-to-cart {
    width: 100%;
    background: #667eea;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Cart Sidebar - Square Box Design */
.cart-sidebar {
    position: fixed;
    top: 50%;
    right: -450px;
    width: 420px;
    height: 600px;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: translateY(-50%);
    overflow: visible;
}

.cart-sidebar.open {
    right: 30px !important;
    transform: translateY(-50%) scale(1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force cart to stay visible when form is shown */
.cart-sidebar.open[style*="display: none"] {
    display: flex !important;
}

.cart-sidebar.open[style*="visibility: hidden"] {
    visibility: visible !important;
}

.cart-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
    min-height: 80px;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h3::before {
    content: "🛒";
    font-size: 1.2rem;
}

.close-cart {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.3rem;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--card-bg);
    min-height: 0;
    max-height: calc(600px - 200px);
    height: calc(600px - 200px);
    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #667eea rgba(0, 0, 0, 0.1);
}

.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.cart-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.1);
}



/* Empty Cart Message */
.cart-items .empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-color);
    opacity: 0.7;
}

.cart-items .empty-cart::before {
    content: "🛒";
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-items p {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-footer {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 0 0 15px 15px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    min-height: 120px;
}

.cart-total {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.checkout-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.razorpay-btn {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.razorpay-btn:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 35, 126, 0.4);
}

/* Payment Options Styles */
.payment-options {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(103, 126, 234, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(103, 126, 234, 0.2);
}

.payment-options h4 {
    margin: 0 0 1rem 0;
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
}

.payment-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.payment-btn {
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.payment-btn.phonepe {
    background: linear-gradient(135deg, #5F2C82, #49A09D);
    color: white;
}

.payment-btn.gpay {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
}

.payment-btn.paytm {
    background: linear-gradient(135deg, #002970, #00BAF2);
    color: white;
}

.payment-btn.upi {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
}

/* User Details Form Styles */
.user-details-form {
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(52, 168, 83, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(52, 168, 83, 0.2);
}

.user-details-form h4 {
    margin: 0 0 1rem 0;
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(103, 126, 234, 0.3);
}

.location-btn {
    background: linear-gradient(135deg, #34A853, #4285F4);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.4);
}

.proceed-payment-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.proceed-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

#location-status {
    color: #34A853;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Receipt Modal Styles */
.receipt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.receipt-modal-overlay.active {
    display: flex;
}

.receipt-modal {
    background: var(--bg-color);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.receipt-header {
    background: var(--gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.receipt-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.receipt-content {
    padding: 2rem;
    background: white;
    color: #333;
}

.receipt-actions {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.receipt-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.receipt-btn.download {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.receipt-btn.share {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.receipt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.track-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #128C7E, #075E54);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    overflow: hidden;
}

.track-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.track-order-btn:hover::before {
    left: 100%;
}

.track-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #25D366, #34E79A);
}

.track-order-btn i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}



.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

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

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Desktop Optimization */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 2.5rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h2 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar {
        order: 3;
        max-width: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-icon {
        font-size: 4rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .cart-sidebar {
        width: 95%;
        max-width: 400px;
        right: -100%;
        top: 50%;
        height: 80vh;
        transform: translateY(-50%);
        overflow: visible;
    }

    .cart-sidebar.open {
        right: 2.5%;
        transform: translateY(-50%) scale(1);
    }

    .cart-items {
        max-height: calc(80vh - 200px);
        height: calc(80vh - 200px);
    }

    .categories {
        padding: 0 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .open-app-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 20px auto 0 auto;
        gap: 6px;
    }

    /* About Modal Mobile */
    .about-modal {
        width: 95%;
        max-height: 85vh;
    }

    .modal-content {
        padding: 1rem;
    }

    .developer-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .developer-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin: 0 auto;
    }

    .developer-info h3 {
        font-size: 1.5rem;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-links-modal {
        grid-template-columns: 1fr;
    }
}

/* Order Tracking Modal */
.order-modal {
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 10vh auto;
}

.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.status-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

.status-step.active {
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.1), rgba(80, 200, 120, 0.1));
    border-left: 4px solid var(--primary-color);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid #ddd;
}

.status-step.active .status-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.status-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 5px 0;
}

.status-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.contact-delivery {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.delivery-contact h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.whatsapp-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-contact i {
    font-size: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-number {
    font-size: 0.9rem;
    opacity: 0.9;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.location-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.location-details {
    display: flex;
    flex-direction: column;
}

.location-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.location-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.estimated-delivery {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.estimated-delivery h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-time {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.delivery-date {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.delivery-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .order-modal {
        width: 95%;
        max-height: 90vh;
        margin: 5vh auto;
    }

    .status-step {
        padding: 12px;
    }

    .status-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Biometric Login Styles */
.biometric-login {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
}

.biometric-login:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.biometric-modal {
    background: var(--card-bg);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 10vh auto;
}

.biometric-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.biometric-method {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.biometric-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.biometric-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 2rem;
    color: white;
}

.biometric-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0 5px 0;
}

.biometric-method p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 15px 0;
}

.biometric-status {
    padding: 10px;
    border-radius: 8px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.biometric-status.scanning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    animation: pulse 1.5s infinite;
}

.biometric-status.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.biometric-status.error {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.biometric-fallback {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.biometric-fallback a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.biometric-fallback a:hover {
    text-decoration: underline;
}

/* Live Chat Styles */
.chat-widget {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    max-height: 450px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
}

.chat-widget.open {
    display: block;
}

.chat-widget.minimized {
    max-height: 60px;
}

.chat-widget.minimized .chat-body {
    display: none;
}

.chat-widget.open {
    display: block;
    animation: slideInUp 0.3s ease;
}

.chat-header {
    background: var(--gradient);
    color: white;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.chat-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chat-status.online {
    color: #4CAF50;
}

.chat-status.online::before {
    content: '●';
    margin-right: 5px;
}

.chat-toggle i {
    transition: transform 0.3s ease;
}

.chat-widget.minimized .chat-toggle i {
    transform: rotate(180deg);
}

.chat-body {
    height: 350px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: var(--bg-color);
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeInUp 0.3s ease;
}

.message-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.message-content {
    flex: 1;
}

.message-content p {
    background: var(--card-bg);
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.support-message .message-content p {
    background: var(--primary-color);
    color: white;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    margin-left: 10px;
    margin-right: 0;
}

.user-message .message-content p {
    background: #e3f2fd;
    color: var(--text-color);
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: 15px;
}

.chat-input-container {
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
}

.chat-quick-replies {
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-reply {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-reply:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chat-input {
    display: flex;
    padding: 15px;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.chat-float-btn {
    display: none; /* Hidden since we have header chat button */
}

.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.chat-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .chat-widget {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        top: 70px;
        max-height: 400px;
    }

    .chat-body {
        height: 300px;
    }

    .hero-chat-btn {
        padding: 20px 25px;
        min-width: 200px;
        font-size: 1rem;
    }

    .hero-chat-text {
        font-size: 1rem;
    }

    .hero-chat-btn i {
        font-size: 1.3rem;
    }

    .chat-notification-hero {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .biometric-options {
        grid-template-columns: 1fr;
    }

    .biometric-modal {
        width: 95%;
    }
}

/* Lock Toggle Button Styles */
.lock-toggle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.lock-toggle-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.lock-toggle-btn.locked {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.lock-toggle-btn.locked:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.lock-toggle-btn.disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.lock-toggle-btn.disabled:hover {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    transform: none;
    box-shadow: none;
}

/* Unlock Overlay Styles */
#unlock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.unlock-content {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px;
}

.unlock-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.unlock-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.unlock-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.unlock-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.unlock-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Lock Button */
@media (max-width: 768px) {
    .lock-toggle-btn {
        padding: 6px 12px;
        font-size: 11px;
        margin-right: 5px;
    }

    .unlock-content {
        padding: 20px;
        max-width: 300px;
    }

    .unlock-icon {
        font-size: 3rem;
    }

    .unlock-content h2 {
        font-size: 1.5rem;
    }
}

/* WhatsApp Integration Styles */
.message.whatsapp-message {
    align-self: flex-start;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-left: 4px solid #25D366;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.message.whatsapp-message .message-content {
    position: relative;
}

.message.whatsapp-message .message-content::before {
    content: "📱 WhatsApp Reply";
    font-size: 10px;
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.whatsapp-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 12px;
    color: #25D366;
}

.whatsapp-settings {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    border-left: 4px solid #25D366;
}

.whatsapp-settings h4 {
    color: #25D366;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.whatsapp-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.whatsapp-status {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
}

.whatsapp-status.enabled {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.whatsapp-status.disabled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
