@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Navbar */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }  
        body { background: #f8f8f8; color: #333; } 
                /* Navbar */
        .navbar { 
            position: fixed; 
            top: 0; left: 0; width: 100%; 
            display: flex; justify-content: space-between; align-items: center; 
            padding: 15px 10%; background: white; 
            box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); 
            z-index: 1000;
        }
 
        .navbar {
    border-bottom: 1px solid #FF0000;  /* Change color as needed */
}
        .logo img { height: 40px; }

        .nav-links { 
            list-style: none; 
            display: flex; gap: 20px; 
        }
        .nav-links li { display: inline; }
        .nav-links a { 
            color: #333; text-decoration: none; font-size: 16px; font-weight: bold; 
        }
        .btn-login { 
            background: #FF0000; padding: 8px 15px; 
            border-radius: 5px; color: white; 
            text-decoration: none; font-weight: bold; 
        }

        /* Hamburger Menu */
        .menu-icon {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: red;
        }

        /* Mobile Navigation */
        @media (max-width: 768px) {
            .menu-icon { display: block; position: relative; z-index: 1100; }
            
            .nav-links { 
                position: absolute; top: 75px; right: 0; 
                background: white; width: 100%; 
                flex-direction: column; 
                text-align: center; padding: 0;
                box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
                
                /* Initially hidden */
                height: 0;
                overflow: hidden;
                transition: height 0.5s ease-in-out;
            }
            .nav-links.active { height: auto; padding: 10px 0; }
            
            .nav-links li { padding: 10px; border-bottom: 1px solid #ddd; }
        }
       
       
/* Product Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: white;
    padding: 25px;
    margin: 80px auto 30px;
    border-radius: 0px;
    max-width: 850px;
}

.product-container img {
    width: 260px;
    border-radius: 0px;
    margin-right: 25px;
}

.product-info {
    max-width: 400px;
    text-align: left;
}

.product-info h2 {
    font-size: 24px;
    color: #d40000;
}

.product-info p {
    font-size: 16px;
    color: #555;
    margin: 10px 0;
}

.price {
    font-size: 22px;
    font-weight: bold;
    color: #d40000 !important;
    background: #ffe6e6;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
}

/* Upload Button */
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 2px solid #d40000;
    border-radius: 8px;
    background: #fff5f5;
    cursor: pointer;
}

input[type="file"]:hover {
    background: #ffe0e0;
    border-color: #b00000;
}

/* Preview Section */
.preview-container {
    background: white;
    padding: 25px;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 550px;
}

.preview-container h2 {
    font-size: 22px;
    color: #333;
}

/* Canvas Border */
canvas {
    border: 2px solid #ddd;
    width: 100%;
    max-width: 420px;
    margin: 15px auto;
    display: block;
}

/* ✅ Shipping Address Container */
.shipping-container {
    background: white;
    padding: 20px;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 550px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.shipping-container h2 {
    font-size: 22px;
    color: #d40000;
    margin-bottom: 15px;
    text-align: center;
}

/* ✅ Form Styling */
.shipping-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-container input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.shipping-container input:focus {
    border-color: #d40000;
    outline: none;
    box-shadow: 0px 0px 5px rgba(212, 0, 0, 0.3);
}

/* ✅ Responsive Grid for Larger Screens */
@media (min-width: 600px) {
    .shipping-container form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .shipping-container input {
        width: 100%;
    }

    .shipping-container input:nth-child(5), /* Pincode */
    .shipping-container input:nth-child(6) { /* Mobile */
        grid-column: span 2; /* Full Width */
    }
}

/* Order Button - Professional Look */
.sticky-order-btn {
  display: block;
  background: #d40000;
  color: white;
  font-size: 16px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: auto;
  min-width: 160px;
  text-align: center;
  margin: 20px auto;
  /* Center in block elements */
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}

.sticky-order-btn:hover {
  background: #b00000;
  transform: scale(1.05);
}
/* Responsive Design */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-container img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .product-info {
        text-align: center;
    }

    .menu-icon {
        display: block;
        position: relative;
        z-index: 1100;
    }


       #userEmail {
    max-width: 180px;  /* ✅ Increased width */
    overflow: hidden;  
    text-overflow: ellipsis; /* ✅ Shows "..." when text overflows */
    white-space: nowrap;  
    display: inline-block;
    font-size: 16px; /* ✅ Slightly bigger text */
    font-weight: 500;
    vertical-align: middle;
    padding: 0 10px; /* ✅ Add some spacing */
}
}

 

    /* Footer Styles */
    footer {
        position: relative;
       background: linear-gradient(135deg, #FFB3B3, #FFD1C1);


        color: #333;
        padding: 60px 10%;
        overflow: hidden;
    }

    /* Title & Description */
    .footer-intro {
        max-width: 800px;
        text-align: left;
    }

    .footer-intro h2 {
        font-size: 28px;
        color: #FF0000;
        margin-bottom: 10px;
    }

    .underline {
        width: 460px;
        height: 2px;
        background: #FF0000;
        margin-bottom: 15px;
    }

    .footer-intro p {
        font-size: 18px;
        color: #555;
    }

    /* Animated Background Icons */
    .footer-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://www.transparenttextures.com/patterns/circles-light.png'); /* Subtle Pattern */
        opacity: 0.1;
        animation: bgAnimation 8s infinite alternate;
    }

    @keyframes bgAnimation {
        0% { background-position: 0 0; }
        100% { background-position: 50px 50px; }
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        position: relative;
        z-index: 1;
        margin-top: 30px;
    }

    .footer-section {
        flex: 1;
        min-width: 250px;
        text-align: left;
    }

    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
        text-transform: uppercase;
        font-weight: bold;
        color: #FF0000;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

    .footer-section ul li {
        margin: 5px 0;
    }

    .footer-section ul li a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-section ul li a:hover {
        color: #FF0000;
    }

    .footer-section p a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-section p a:hover {
        color: #FF0000;
    }

    /* Social Icons */
    .social-icons {
        display: flex;
        gap: 15px;
        margin-top: 15px;
    }

    .social-icons a {
        display: inline-block;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .social-icons a:hover {
        background: rgba(255, 0, 0, 0.3);
    }

    .social-icons img {
        width: 24px;
    }

    /* Bottom Footer */
    .footer-bottom {
        margin-top: 30px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 0, 0, 0.3);
    }

    .footer-bottom p {
        font-size: 14px;
        color: #333;
        text-align: center;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            text-align: left;
        }

        .footer-section {
            text-align: left;
        }

        .social-icons {
            justify-content: left;
        }
    }

    @media (max-width: 600px) {
        .footer-intro h2 {
            font-size: 24px;
        }
        .footer-intro p {
            font-size: 16px;
        }
    }