/* ===== MAIN STYLESHEET - MADHURAM GRAH SANGRAH ===== */
/* Version: 2.0 - Cleaned & Organized */

/* ===== TABLE OF CONTENTS ===== */
/* 1. Import & Base Styles
/* 2. Navbar Styles
/* 3. Home Page
/*   3.1 Hero Section
/*   3.2 Categories Section
/*   3.3 Products Section
/*   3.4 Features Section
/*   3.5 Newsletter Section
/* 4. Auth Pages (Login/Signup)
/* 5. Cart Page
/* 6. Checkout Page
/* 7. Order Success Page
/* 8. Animations
/* 9. Responsive Design
/* ============================ */
/* ===== MAIN STYLESHEET - MGS ELECTRONICS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: rotate(5deg);
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 8px 18px;
    margin: 0 5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Cart Badge */
.cart-badge {
    background: #ffd700;
    color: #333;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

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

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    padding: 10px;
    margin-top: 12px;
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
}

/* Navbar Toggler (Mobile Menu Button) */
.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5);
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== PREMIUM FOOTER MAP STYLES ===== */
/* Modern, Elegant & Fully Responsive */

/* Footer Base Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    padding: 60px 0 25px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Animated Top Border */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Background Pattern */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 50%, rgba(102,126,234,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== MAP CONTAINER ===== */
.map-preview {
    margin: 20px 0 15px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.2) 0%, rgba(118,75,162,0.2) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.map-preview:hover::before {
    opacity: 1;
}

.map-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.map-preview iframe {
    display: block;
    width: 100%;
    height: 200px;
    transition: transform 0.5s ease;
    filter: grayscale(0.2) brightness(0.95);
}

.map-preview:hover iframe {
    transform: scale(1.02);
    filter: grayscale(0) brightness(1);
}

/* Map Overlay Gradient */
.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-preview:hover .map-overlay {
    opacity: 1;
}

.map-overlay p {
    color: white;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== MAP LINK BUTTON ===== */
.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102,126,234,0.2) 0%, rgba(118,75,162,0.2) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: #a5b4fc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(102,126,234,0.3);
    position: relative;
    overflow: hidden;
}

.map-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.map-link:hover::before {
    width: 300px;
    height: 300px;
}

.map-link:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.3);
}

.map-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.map-link:hover i {
    transform: translateX(5px);
}

/* ===== PREMIUM HEADINGS ===== */
.footer h5 {
    color: #f0f9ff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer h5:hover::after {
    width: 80px;
}

/* ===== QUICK LINKS ===== */
.footer ul {
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
    list-style: none;
}

.footer ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
}

.footer ul li a::before {
    content: '→';
    opacity: 0;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #a5b4fc;
    transform: translateX(8px);
}

.footer ul li a:hover::before {
    opacity: 1;
    margin-right: 5px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    list-style: none;
    transition: transform 0.3s ease;
}

.contact-info li:hover {
    transform: translateX(5px);
}

.contact-info li i {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(102,126,234,0.2) 0%, rgba(118,75,162,0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-info li:hover i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.1);
}

.contact-info li span {
    flex: 1;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== WORKING HOURS ===== */
.working-hours {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(102,126,234,0.2);
    position: relative;
}

.working-hours h6 {
    color: #a5b4fc;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.working-hours h6 i {
    font-size: 1rem;
}

.working-hours p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.working-hours p span {
    font-weight: 500;
    color: #cbd5e1;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.15) 100%);
    border-radius: 50%;
    color: #a5b4fc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 1px solid rgba(102,126,234,0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

/* ===== FOOTER DIVIDER ===== */
.footer-hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102,126,234,0.5), transparent);
    margin: 35px 0 25px;
}

/* ===== COPYRIGHT TEXT ===== */
.copyright-text {
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}

.copyright-text i {
    color: #f43f5e;
    animation: heartBeat 1.5s ease infinite;
    display: inline-block;
}

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

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .footer {
        padding: 50px 0 20px;
    }
    
    .map-preview iframe {
        height: 180px;
    }
    
    .map-link {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    .footer h5 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer h5::after {
        width: 35px;
    }
    
    .footer h5:hover::after {
        width: 70px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 40px 0 20px;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .map-preview {
        max-width: 400px;
        margin: 20px auto;
    }
    
    .map-preview iframe {
        height: 160px;
    }
    
    .map-link {
        max-width: 300px;
        margin: 15px auto 0;
    }
    
    .footer ul li a {
        justify-content: center;
        display: inline-flex;
    }
    
    .contact-info li {
        justify-content: center;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-info li i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .working-hours {
        text-align: center;
        max-width: 350px;
        margin: 25px auto 0;
    }
    
    .working-hours h6 {
        justify-content: center;
    }
    
    .working-hours p {
        justify-content: space-between;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 25px;
    }
    
    .footer-hr {
        margin: 30px 0 20px;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .footer {
        padding: 35px 0 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .map-preview iframe {
        height: 140px;
    }
    
    .map-link {
        padding: 8px 15px;
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .map-link i {
        font-size: 0.9rem;
    }
    
    .footer ul li a {
        font-size: 0.85rem;
    }
    
    .contact-info li span {
        font-size: 0.8rem;
    }
    
    .working-hours p {
        font-size: 0.75rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .copyright-text {
        font-size: 0.7rem;
    }
}

/* Extra Small Devices (up to 380px) */
@media (max-width: 380px) {
    .map-preview iframe {
        height: 120px;
    }
    
    .contact-info li {
        gap: 10px;
    }
    
    .contact-info li i {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ===== PREMIUM HOVER EFFECTS ===== */
/* Glow Effect on Hover */
.map-preview,
.map-link,
.social-links a,
.contact-info li i {
    position: relative;
    overflow: hidden;
}

.map-preview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s;
    pointer-events: none;
}

.map-preview:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #030712 0%, #111827 100%);
    }
    
    .map-preview {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }
    
    .map-link {
        background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .footer {
        background: white;
        color: black;
    }
    
    .map-preview,
    .map-link,
    .social-links {
        display: none;
    }
    
    .footer h5::after {
        background: black;
    }
}

/* ===== RESPONSIVE MAP STYLES ===== */

/* Tablet Devices */
@media (max-width: 991px) {
    .map-preview iframe {
        height: 160px;
    }
    
    .map-link {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .map-preview {
        margin: 10px 0;
    }
    
    .map-preview iframe {
        height: 140px;
    }
    
    .map-link {
        margin-top: 10px;
        padding: 8px 12px;
    }
    
    .contact-info li {
        gap: 10px;
    }
    
    .contact-info li span {
        font-size: 0.85rem;
    }
    
    .working-hours {
        text-align: center;
    }
    
    .working-hours h6 {
        justify-content: center;
    }
    
    .footer ul li a {
        justify-content: center;
        display: flex;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .map-preview iframe {
        height: 120px;
    }
    
    .map-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .contact-info li i {
        margin-top: 2px;
    }
    
    .footer h5 {
        text-align: center;
    }
    
    .footer p {
        text-align: center;
    }
}

/* ===== ADDITIONAL UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .map-preview {
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    }
    
    .map-link {
        background: rgba(255,215,0,0.1);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .navbar-brand {
        gap: 8px;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 0.95rem;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-brand {
        flex: 1;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .brand-text {
        font-size: 0.9rem;
        display: inline-block;
    }
    
    .navbar-toggler {
        padding: 6px 10px;
    }
    
    .navbar-collapse {
        background: rgba(102,126,234,0.95);
        border-radius: 12px;
        margin-top: 15px;
        padding: 10px 0;
        backdrop-filter: blur(10px);
    }
    
    .navbar-nav {
        padding: 10px 15px;
    }
    
    .navbar-nav .nav-link {
        justify-content: center;
        padding: 12px;
        margin: 5px 0;
        text-align: center;
    }
    
    .dropdown-menu {
        text-align: center;
        background: white;
        margin-top: 5px;
        width: 100%;
    }
    
    .dropdown-item {
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer .col-md-4 {
        margin-bottom: 35px;
    }
    
    .footer h5 {
        font-size: 1.2rem;
    }
    
    .footer ul li a {
        display: inline-block;
    }
    
    .footer ul li i {
        display: none;
    }
}

/* Small Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    .logo-img {
        height: 30px;
    }
    
    .brand-text {
        font-size: 0.7rem;
        letter-spacing: 0;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .cart-badge {
        padding: 1px 6px;
        font-size: 0.7rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer ul li {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices */
@media (max-width: 380px) {
    .brand-text {
        display: none;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .navbar-brand {
        justify-content: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gold {
    color: #ffd700;
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-gold {
    background: #ffd700;
    color: #333;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #ffc107;
    transform: translateY(-2px);
    color: #333;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

.slide-down {
    animation: slideDown 0.5s ease;
}

/* ===== 3. HOME PAGE ===== */
/* 3.1 Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffd700;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    animation: fadeIn 1s ease 0.6s both;
}

.search-box input {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 13px 35px;
    border: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245,87,108,0.4);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 3.2 Categories Section */
.categories-section {
    padding: 60px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    padding: 60px 20px;
    text-align: center;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
    transition: all 0.3s ease;
}

.category-card:hover::before {
    background: rgba(0,0,0,0.7);
}

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffd700;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.category-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

/* Category Backgrounds */
.category-card.electronics {
    background-image: url("/static/images/download.jpeg");
}
.category-card.fashion {
    background-image: url("/static/images/AC.jpg");
}
.category-card.furniture {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                      url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=500');
}
.category-card.appliances {
    background-image: url("/static/images/images.jpg");
}

/* 3.3 Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

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

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

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(245,87,108,0.3);
}

.product-image {
    height: 250px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #dee2e6;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.product-category {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-view {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
    color: white;
}

.btn-cart {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(245,87,108,0.4);
}

/* 3.4 Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* 3.5 Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245,87,108,0.4);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-products i {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.no-products p {
    color: #6c757d;
}

/* ===== 4. AUTH PAGES (LOGIN/SIGNUP) ===== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: authRotate 20s linear infinite;
}

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

.signup-box, .login-box {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    animation: authSlideUp 0.6s ease;
}

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

.signup-box h2, .login-box h2 {
    text-align: center;
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.signup-box h2::after, .login-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.signup-box label, .login-box label {
    display: block;
    color: #555;
    font-weight: 500;
    margin-bottom: 8px;
}

.signup-box input, .login-box input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.signup-box input:focus, .login-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    background: white;
}

.signup-box button, .login-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0 20px;
    position: relative;
    overflow: hidden;
}

.signup-box button:hover, .login-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
}

.signup-box p, .login-box p {
    text-align: center;
    color: #666;
    margin-top: 20px;
}

.signup-box a, .login-box a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-box a:hover, .login-box a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Error/Success Messages */
.error-message {
    background: #fee;
    color: #dc3545;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
    animation: shake 0.5s ease;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== 5. CART PAGE ===== */
.cart-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.cart-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-right: 20px;
}

.cart-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.item-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cart-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.cart-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #007bff, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-item:hover::before {
    opacity: 1;
}

.cart-item-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 2;
}

.cart-product-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.cart-product-image:hover {
    transform: scale(1.1) rotate(5deg);
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 40px;
    flex: 1;
    justify-content: center;
}

.cart-quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cart-quantity-btn:hover:not(:disabled) {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.cart-quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e0e0e0;
}

.cart-quantity-display {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: center;
}

.cart-price-section, .cart-subtotal-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.cart-price-label, .cart-subtotal-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.cart-price {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.cart-subtotal {
    color: #007bff;
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-remove-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, #ff6b6b, #ee5253);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(238,82,83,0.3);
}

.cart-remove-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(238,82,83,0.5);
}

.cart-footer {
    background: white;
    border-radius: 15px;
    margin-top: 30px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.cart-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108,117,125,0.5);
    color: white;
}

.cart-total-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-total-label {
    font-size: 1.2rem;
    color: #666;
}

.cart-total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
}

.checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(40,167,69,0.4);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40,167,69,0.6);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.empty-cart-icon {
    font-size: 8rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-cart-title {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.start-shopping:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,123,255,0.6);
    color: white;
}

/* ===== CHECKOUT PAGE STYLES ===== */

.checkout-wrapper {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.checkout-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.checkout-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Cards */
.checkout-card, .order-summary-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
    animation: slideUp 0.5s ease;
}

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

.checkout-card-header, .order-summary-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.checkout-card-header h4, .order-summary-header h4 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-card-body, .order-summary-body {
    padding: 25px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Payment Section */
.payment-section {
    margin: 30px 0 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.payment-section-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.1);
}

.payment-option.selected {
    border-color: #28a745;
    background: #f0fff4;
    box-shadow: 0 5px 15px rgba(40,167,69,0.2);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: #28a745;
    cursor: pointer;
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
}

.cod-icon { color: #28a745; background: #e8f5e9; }
.card-icon { color: #667eea; background: #e8eaf6; }
.upi-icon { color: #ff6b6b; background: #fee; }
.netbanking-icon { color: #f39c12; background: #fff3e0; }
.wallet-icon { color: #9b59b6; background: #f3e5f5; }

.payment-details {
    flex: 1;
}

.payment-title {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.payment-description {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Place Order Button */
.place-order-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.place-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40,167,69,0.4);
}

.place-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== ORDER SUMMARY - FULLY RESPONSIVE ===== */

.order-summary-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.order-summary-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 25px;
}

.order-summary-header h4 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.order-summary-header h4 i {
    font-size: 1.3rem;
}

.order-summary-body {
    padding: 25px;
}

/* ===== SUMMARY ITEMS ===== */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.summary-item:hover {
    background: #f8f9fa;
    padding-left: 10px;
    margin-left: -10px;
    padding-right: 10px;
    margin-right: -10px;
    border-radius: 8px;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.item-name {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    word-break: break-word;
}

.item-quantity {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.item-price {
    font-weight: 600;
    color: #28a745;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ===== SUMMARY DIVIDER ===== */
.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 20px 0;
    border-radius: 2px;
}

/* ===== SUMMARY TOTAL ===== */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background: #f8f9fa;
    margin: 0 -25px;
    padding: 20px 25px;
    margin-bottom: -25px;
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
    letter-spacing: -0.5px;
}

/* ===== SECURE CHECKOUT ===== */
.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #28a745;
    font-size: 0.85rem;
}

.secure-checkout i {
    font-size: 1rem;
    animation: securePulse 2s infinite;
}

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

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Devices (768px - 991px) */
@media (max-width: 991px) {
    .order-summary-header h4 {
        font-size: 1rem;
    }
    
    .order-summary-body {
        padding: 20px;
    }
    
    .item-name {
        font-size: 0.9rem;
    }
    
    .item-price {
        font-size: 0.9rem;
    }
    
    .total-amount {
        font-size: 1.3rem;
    }
    
    .summary-total {
        margin: 0 -20px;
        padding: 15px 20px;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 768px) {
    .order-summary-card {
        border-radius: 15px;
        margin-bottom: 20px;
    }
    
    .order-summary-header {
        padding: 15px 20px;
    }
    
    .order-summary-header h4 {
        font-size: 0.95rem;
    }
    
    .order-summary-body {
        padding: 18px;
    }
    
    .summary-item {
        padding: 10px 0;
        flex-wrap: wrap;
    }
    
    .item-info {
        width: 70%;
        gap: 8px;
    }
    
    .item-name {
        font-size: 0.85rem;
        width: 100%;
    }
    
    .item-quantity {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    
    .item-price {
        font-size: 0.85rem;
        white-space: normal;
        text-align: right;
    }
    
    .summary-divider {
        margin: 15px 0;
    }
    
    .total-label {
        font-size: 0.9rem;
    }
    
    .total-amount {
        font-size: 1.2rem;
    }
    
    .secure-checkout {
        font-size: 0.75rem;
        padding: 10px;
    }
    
    .secure-checkout i {
        font-size: 0.9rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .order-summary-header {
        padding: 12px 15px;
    }
    
    .order-summary-header h4 {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .order-summary-header h4 i {
        font-size: 1rem;
    }
    
    .order-summary-body {
        padding: 15px;
    }
    
    .summary-item {
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .item-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .item-name {
        font-size: 0.8rem;
        width: auto;
        flex: 1;
    }
    
    .item-quantity {
        font-size: 0.65rem;
    }
    
    .item-price {
        font-size: 0.8rem;
        width: 100%;
        text-align: left;
        padding-left: 5px;
    }
    
    .summary-divider {
        margin: 12px 0;
    }
    
    .summary-total {
        margin: 0 -15px;
        padding: 12px 15px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .total-label {
        font-size: 0.85rem;
    }
    
    .total-amount {
        font-size: 1.1rem;
    }
    
    .secure-checkout {
        font-size: 0.7rem;
        padding: 8px;
        flex-wrap: wrap;
        text-align: center;
        gap: 6px;
    }
    
    .secure-checkout i {
        font-size: 0.8rem;
    }
}

/* Extra Small (up to 380px) */
@media (max-width: 380px) {
    .order-summary-header h4 {
        font-size: 0.75rem;
    }
    
    .item-name {
        font-size: 0.75rem;
    }
    
    .item-quantity {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
    
    .item-price {
        font-size: 0.75rem;
    }
    
    .total-label {
        font-size: 0.75rem;
    }
    
    .total-amount {
        font-size: 1rem;
    }
    
    .secure-checkout {
        font-size: 0.65rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .order-summary-card {
        margin-bottom: 15px;
    }
    
    .order-summary-body {
        padding: 12px;
    }
    
    .summary-item {
        padding: 6px 0;
    }
    
    .item-name {
        font-size: 0.75rem;
    }
    
    .item-price {
        font-size: 0.75rem;
    }
    
    .total-amount {
        font-size: 1rem;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .order-summary-card {
        background: #1e293b;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .summary-item {
        border-bottom-color: #334155;
    }
    
    .summary-item:hover {
        background: #334155;
    }
    
    .item-name {
        color: #f1f5f9;
    }
    
    .item-quantity {
        background: #334155;
        color: #94a3b8;
    }
    
    .summary-total {
        background: #0f172a;
    }
    
    .total-label {
        color: #f1f5f9;
    }
    
    .secure-checkout {
        background: #0f172a;
        color: #20c997;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.summary-item {
    animation: slideInRight 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
    opacity: 0;
}

.summary-item:nth-child(1) { --item-index: 1; }
.summary-item:nth-child(2) { --item-index: 2; }
.summary-item:nth-child(3) { --item-index: 3; }
.summary-item:nth-child(4) { --item-index: 4; }
.summary-item:nth-child(5) { --item-index: 5; }
.summary-item:nth-child(6) { --item-index: 6; }
/* ===== 7. ORDER SUCCESS PAGE ===== */
.order-success {
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== 8. ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-in {
    animation: slideInRight 0.5s ease;
}

.bounce {
    animation: bounce 2s infinite;
}

/* ===== 9. RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-item-content {
        flex-wrap: wrap;
    }
    
    .cart-product-info {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item-content {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ORDER SUCCESS PAGE - UNIQUE CLASSES ===== */
/* No conflict with home page CSS */

.order-success-wrapper {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.order-success-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== SUCCESS ANIMATION ===== */
.success-animation-box {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.checkmark-circle .background {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #28a745;
    position: absolute;
    animation: successPulse 1.5s ease infinite;
}

@keyframes successPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.checkmark {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #fff;
    position: absolute;
    top: 5px;
    right: 5px;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #fff;
    fill: none;
    animation: successStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: successStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes successStroke {
    100% { stroke-dashoffset: 0; }
}

.success-heading {
    color: #28a745;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 20px 0 10px;
    animation: successFadeUp 0.5s ease 0.3s both;
}

.success-subheading {
    color: #6c757d;
    font-size: 1.1rem;
    animation: successFadeUp 0.5s ease 0.5s both;
}

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

/* ===== ORDER DETAILS CARD ===== */
.order-details-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: successSlideUp 0.6s ease 0.3s both;
}

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

.order-card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px 25px;
}

.order-header-title {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.order-header-title i {
    font-size: 1.8rem;
}

.order-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    margin-left: auto;
}

.order-card-body {
    padding: 60px;
}

/* ===== INFO GRID ===== */
.info-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.info-row:hover {
    transform: translateX(5px);
}

.info-icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.info-details {
    flex: 1;
}

.info-label-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
    font-weight: 500;
}

.info-value-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.payment-status-badge {
    background: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid #c3e6cb;
}

/* ===== SECTION TITLE ===== */
.order-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.order-section-title i {
    color: #667eea;
    font-size: 1.3rem;
    margin-right: 10px;
}

/* ===== TABLE STYLES ===== */
.order-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    background: white;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.order-items-table thead th {
    padding: 15px 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.order-items-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.order-items-table tbody tr:hover {
    background: #f8f9fa;
}

.order-items-table tbody td {
    padding: 15px 20px;
    vertical-align: middle;
}

.order-items-table tfoot {
    background: #f8f9fa;
    font-weight: 600;
}

.order-items-table tfoot td {
    padding: 15px 20px;
}

/* Product Info in Table */
.product-info-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-thumbnail-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.product-title {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.subtotal-price {
    font-weight: 700;
    color: #28a745;
}

.total-label-text {
    text-align: right;
    font-size: 1.1rem;
}

.total-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.3rem;
}

/* ===== DELIVERY INFO ===== */
.delivery-info-box {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    border-left: 4px solid #17a2b8;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.delivery-icon-box {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #17a2b8;
    box-shadow: 0 5px 15px rgba(23,162,184,0.2);
}

.delivery-text-content {
    flex: 1;
}

.delivery-text-content strong {
    display: block;
    margin-bottom: 5px;
    color: #0c5460;
    font-size: 1.1rem;
}

.delivery-text-content small {
    color: #155724;
    font-size: 0.9rem;
}

/* ===== ACTION BUTTONS ===== */
.action-button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

.action-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.5);
    color: white;
}

.action-btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.action-btn-outline:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    border-color: transparent;
}

.action-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(108,117,125,0.3);
}

.action-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108,117,125,0.5);
    color: white;
}

/* ===== THANK YOU MESSAGE ===== */
.thankyou-message-container {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #6c757d;
    font-size: 0.95rem;
    border-top: 1px dashed #dee2e6;
}

/* ===== PRINT STYLES ===== */
@media print {
    .action-button-group,
    .success-animation-box {
        display: none !important;
    }
    
    .order-details-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .order-card-header {
        background: #f8f9fa !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .order-items-table thead {
        background: #f8f9fa !important;
        color: black !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .order-success-wrapper {
        padding: 20px 0;
    }
    
    .success-heading {
        font-size: 1.8rem;
    }
    
    .info-grid-container {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .action-button-group {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .order-card-body {
        padding: 20px;
    }
    
    .delivery-info-box {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .product-info-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .order-items-table thead {
        display: none;
    }
    
    .order-items-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 10px;
        padding: 10px;
    }
    
    .order-items-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        border: none;
    }
    
    .order-items-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        margin-right: 10px;
    }
    .order-card-body{
        padding:10px;
    }
}

@media (max-width: 480px) {
    .success-heading {
        font-size: 1.5rem;
    }
    
    .checkmark-circle {
        width: 100px;
        height: 100px;
    }
    
    .checkmark {
        width: 90px;
        height: 90px;
    }
    
    .order-header-title {
        font-size: 1.2rem;
        flex-wrap: wrap;
    }
    
    .order-badge {
        margin-left: 0;
    }
}

/* ===== PAYMENT METHOD BADGES ===== */
.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-method-badge i {
    font-size: 1rem;
}

.payment-cod {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.payment-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.payment-upi {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5253 100%);
    color: white;
}

.payment-netbanking {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.payment-wallet {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

/* ===== PAYMENT STATUS BADGES ===== */
.payment-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.payment-status-badge i {
    font-size: 0.9rem;
}

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

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

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


/* ===== WHATSAPP BUTTON STYLES ===== */

/* WhatsApp Order Button */
.btn-whatsapp-order {
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37,211,102,0.5);
    color: white;
}

/* WhatsApp Floating Button */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-floating a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: whatsappBounce 2s infinite;
}

.whatsapp-floating a:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(37,211,102,0.6);
}

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

/* Responsive */
@media (max-width: 768px) {
    .btn-whatsapp-order {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-floating a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ===== UPI QR CODE MODAL STYLES ===== */
/* File: static/css/upi_qr.css */

/* Modal Overlay */
.upi-qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.upi-qr-modal.show {
    display: flex;
}

/* Modal Content */
.upi-qr-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

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

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 30px;
}

/* QR Code Container */
.qr-code-container {
    text-align: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.qr-code-img {
    width: 220px;
    height: 220px;
    border: 4px solid #25d366;
    border-radius: 20px;
    padding: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s ease;
}

.qr-code-img:hover {
    transform: scale(1.02);
}

/* UPI ID Container */
.upi-id-container {
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);
    padding: 15px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.upi-id-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.upi-id {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #128C7E;
    letter-spacing: 0.5px;
    background: white;
    padding: 4px 12px;
    border-radius: 25px;
}

.copy-upi-btn {
    background: linear-gradient(135deg, #25d366, #128C7E);
    border: none;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-upi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(37, 211, 102, 0.4);
}

.copy-upi-btn:active {
    transform: translateY(0);
}

/* Payment Instructions */
.payment-instructions {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.payment-instructions h4 {
    color: #128C7E;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-instructions h4 i {
    font-size: 1.1rem;
}

.payment-instructions ol {
    padding-left: 20px;
    margin: 0;
}

.payment-instructions li {
    margin-bottom: 12px;
    color: #4a5568;
    line-height: 1.5;
    font-size: 0.95rem;
}

.payment-instructions li strong {
    color: #28a745;
    font-size: 1rem;
}

.total-amount-display {
    color: #28a745;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Payment Actions */
.payment-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-paid {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-paid:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-paid:active {
    transform: translateY(-1px);
}

.btn-cancel-payment {
    background: #f0f0f0;
    border: none;
    color: #6c757d;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cancel-payment:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* WhatsApp Support */
.whatsapp-support {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.whatsapp-support i {
    color: #25d366;
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
}

.whatsapp-support span {
    vertical-align: middle;
}

.whatsapp-support a {
    color: #128C7E;
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-support a:hover {
    text-decoration: underline;
    color: #075e54;
}

/* Toast Styles for Copy Success */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    animation: toastSlideUp 0.3s ease, toastFadeOut 0.3s ease 2s forwards;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.copy-toast i {
    margin-right: 8px;
}

/* Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Scrollbar Styling */
.upi-qr-modal-content::-webkit-scrollbar {
    width: 6px;
}

.upi-qr-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.upi-qr-modal-content::-webkit-scrollbar-thumb {
    background: #25d366;
    border-radius: 10px;
}

.upi-qr-modal-content::-webkit-scrollbar-thumb:hover {
    background: #128C7E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .upi-qr-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .qr-code-img {
        width: 180px;
        height: 180px;
    }
    
    .upi-id-container {
        padding: 10px 15px;
    }
    
    .upi-id {
        font-size: 0.9rem;
    }
    
    .payment-instructions li {
        font-size: 0.85rem;
    }
    
    .btn-paid, .btn-cancel-payment {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-header h3 i {
        font-size: 1.2rem;
    }
    
    .qr-code-img {
        width: 150px;
        height: 150px;
    }
    
    .upi-id {
        font-size: 0.8rem;
        word-break: break-all;
    }
    
    .copy-upi-btn {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .btn-paid, .btn-cancel-payment {
        width: 100%;
        justify-content: center;
    }
    
    .payment-instructions ol {
        padding-left: 15px;
    }
    
    .payment-instructions li {
        margin-bottom: 8px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .upi-qr-modal {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .upi-qr-modal-content {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    .qr-code-container {
        background: #1e293b;
    }
    
    .upi-id-container {
        background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
        border-color: #475569;
    }
    
    .upi-id-label {
        color: #94a3b8;
    }
    
    .upi-id {
        background: #0f172a;
        color: #25d366;
    }
    
    .payment-instructions {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
    }
    
    .payment-instructions li {
        color: #cbd5e1;
    }
    
    .btn-cancel-payment {
        background: #334155;
        color: #e2e8f0;
    }
    
    .btn-cancel-payment:hover {
        background: #475569;
    }
    
    .whatsapp-support {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    .whatsapp-support span {
        color: #94a3b8;
    }
}
