/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f5f9;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.card2 {
    font-family: Arial, sans-serif;
    background-color: #f0f5f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.card_content2 {
    background: #333;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    z-index: -1;
    height: 150px;
}

/* Logo Styling */
.card_content img {
    position: absolute;
    top: 20px;
    left: 5px;
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 10%;
    z-index: 10;
}

/* Company Name & Description */
.company-info {
    text-align: center;
    margin-top: 50px;
    margin-left: 250px;
    max-width: calc(100% - 250px);
    overflow: hidden;
}

.company-info h2 {
    font-size: 28px;
    color: #333;
    margin: 10px 0;
}

.company-info p1 {
    font-size: 18px;
    color: #666;
}

@media (max-width: 768px) {
    .company-info {
        
        max-width: 100%;
        
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    .card_content img {
        max-width:100px;max-height:100px;
        margin-left:10px;
    }

   
    .card_content2 {
        background: #333;margin-left: 110px;
        color: #fff;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        padding: 15px;
        border-radius: 10px;
        text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
        z-index: -1;
        max-height: 100px;
    }

    h3 {
        background: #f2f2f2;
        color: #333;
        font-size: 20px;
        font-weight: normal;
        padding: 15px 20px;
        text-align: center;
        border-radius: 10px;
        box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        display: inline-block;
        text-transform: uppercase;
        margin: 0px;
    }
}

#shop_online {
    width: 90%;
    max-width: 100%;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin: 10px auto 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product {
    width: 30%;
    min-width: 250px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h3 {
    background: #f2f2f2;
    color: #333;
    font-size: 20px;
    font-weight: normal;
    padding: 15px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    text-transform: uppercase;
    margin: 5px;
}

/* Product List */
#orderList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.order_box {
    background: #fff;
    border: 1px solid #000000;
    border-radius: 8px;
    padding: 2px;
    margin:1px 0;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 375px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center; /* Ensures proper alignment */
}

.order_box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0; /* Prevents image from shrinking */
    margin-right: 15px; /* Ensures spacing between image and text */
}

.product-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1; /* Ensures text takes available space */
    text-align: left;
}

.product-name {
    font-size: 12px;
    width:100px;
    color: #333;
    display: block; 
    font-weight: normal;
}

.price {width:100px;padding: 3px;}

.order_box p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 480px) {
    .order_box {
        flex-direction: row; /* Ensures layout remains same on small screens */
        align-items: center;
    }

    .order_box img {
        width: 80px;
        height: 80px;
    }
    
    .product-name {
        font-size: 12px;
        width:80px;
        color: #333;
        margin: 5px 0;
        display: block; 
        font-weight: normal;
    }

    .price {width:80px;padding:3px;}
}

.order_box:hover {
    background: #87CEEB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

p del {
    color: red;
    font-size: 12px;
    font-weight:  normal;
    width:50px;
}

h4 {
    color: green;
    font-size: 14px;
    margin: 2px 0; /* Reduce spacing between h4 elements */
    min-width:100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding:1px 0;
}

/* Quantity Input */
.qty-input {
    width: 80px;
    
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    margin-top: 5px;
    padding:1px 0;
}

/* Total Summary */
.total-summary {
    margin: 20px auto;
    padding: 15px;
    background: #25D366;
    border-radius: 8px;
    font-size: 20px;
    max-width: 250px;
    text-align: center;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3), -5px -5px 10px rgba(255, 255, 255, 0.3);
    border: 1px solid #1a9e53;
    display: flex;
    justify-content: center;
    align-items: center;
}

#totalAmount {
    font-weight: bold;
    color: black;
}

.btn_buy {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 15px auto 0;
    padding: 12px;
    background: #25D366;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn_buy:hover {
    background: #1da851;
}

/* Contact Buttons */
.dis_flex {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.link_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.link_btn i {
    margin-right: 8px;
    font-size: 18px;
}

.link_btn:hover {
    background: #0056b3;
}

/* Payment Info Section */
#payment {
    width: 90%;
    max-width: 500px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    position: relative;
    border: 1px black;
}

#payment h2 {
    color: #333;
    font-size: 22px;
    margin-top: 10px;
}

#payment p {
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
}

.copy-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #218838;
}

#payment img {
    height: 500px;
    object-fit: contain;
    margin: 10px;
    border-radius: 10px;
}

.vertical {
    display: flex;
    
    flex-direction: column;
    align-items: flex-start; /* Center align elements vertically */
    justify-content: center; /* Distribute space evenly */
    min-height: 60px; /* Adjust height as needed */
    min-width: 240px; /* Ensures a minimum width */
    border: 1px ridge #888; /* 3D border effect */
    padding:3px;
    border-radius: 10px;
    padding-left:10px;
}

.vertical div {
    width: 80%; /* Adjust as per requirement */
    text-align: left;
    
    font-size: 12px; /* Set uniform text size */
    padding: 1px; /* Reduce padding */
    margin: 1px 0; /* Reduce margin */
    border: 1px solid #ccc; /* Optional: For visibility */
    
}


  .product-image {
    position: relative;
  }
  .veg-nonveg-symbol {
    position: absolute;
    top: 1px;
    right: 15px;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid black;
  }
  .veg-symbol {
    background-color: green;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }
  .nonveg-symbol {
    background-color: red;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }

