body {
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}

/* Add this media query to target mobile devices */
@media only screen and (max-width: 599px) {
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling on mobile devices */
    }
}

/* Mobile-specific styling */
@media only screen and (max-width: 768px) {  /* This is a common breakpoint for tablets and mobile devices */
   body {
        overflow-x: hidden; /* Prevent horizontal scrolling on mobile devices */
    }
}

#menuToggle {
    display: none;
}

#menuButton {
    display: none;
    position: absolute;
    z-index: 101;
    top: 0; 
    right: 0;
}



#menu {
    display: none;
}
/* Hide both menus by default */
#horizontalMenu, #verticalMenu {
    display: none;
}

/* Show hamburger menu and make vertical menu on smaller screens */
@media only screen and (max-width: 599px) {
    #menuButton {
        display: block; 
        transform: translateX(-20px); /* Moves the button 20px to the left */
    }

    #menu {
        display: none; /* hide menu by default on smaller screens */
    }

    #menuToggle:checked ~ #menu {
        display: block; /* show menu when menuToggle is checked */
    }

    #menuToggle:not(:checked) ~ #menu {
        display: none; /* hide menu when menuToggle is unchecked */
    }
}


/* CSS for larger screens */
@media only screen and (min-width: 600px) {
    #horizontalMenu {
        display: flex; /* show horizontal menu */
    }
     #menu {
        display: flex; /* show menu */
    }
}

/* CSS for smaller screens and mobile responsiveness */
@media only screen and (max-width: 599px) {
    #horizontalMenu {
        display: none; /* hide horizontal menu */
    }
    #verticalMenu {
        display: none; /* initially hide vertical menu */
    }
    /* Rest of your code... */
}

/* Other styles, such as font-size adjustments, omitted for brevity */

/* zacs */
#smartbytz {
    color: #ed0f0f; /* Adjust color as needed */

      font-family: 'Alegreya';font-size: 30px;
    font-style: solid;
    white-space: nowrap; /* Prevent text from wrapping */
    margin-left: -10px;
}



/* Style for navigation bar */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: white;
}

nav li {
    float: left;
}

/* navigation text */
nav li a {
    display: block;
    color: black; /* changed color to black */
    font-size: 20px;
    font-weight: bold; /* change font-style to font-weight for bold */
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav li a:hover {
    background-color: #6f797e;
}

/* navigation bar */
#navigation {
    background-color: #ffffff;
    z-index: 1;
    top: 0px;
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    justify-content: flex-start; /* align items to the left */
    flex-wrap: wrap; /* allow items to wrap onto next line */
    position: sticky;
    align-items: center;
    text-overflow: ellipsis;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    height: 50px;
}
#menu .navMenuLink a img {
    vertical-align: middle; /* centers the image vertically */
}

.cart-link svg {
     fill: red;
  transform: scale(1.5);
  
  
}
.cart-link {
    margin-right: -57%;
}

@media only screen and (max-width: 599px) {
 .cart-link {
    margin-right: -23%;
}

}

#menuButtonIcon svg {
   /* transform: scale(1.5);
}


.navMenuLinkContent {
    color:green;
     font-size: 15px;
   
}
.navMenuLink {
    margin-right: -10px; /* Adjust the margin as needed */
    
}


.navMenuLink:last-child {
    margin-right: 0; /* Remove the margin for the last menu item */
}

/* Style for vertical menu (mobile) */
#verticalMenu {
    display: flex; /* initially show as horizontal */
    flex-direction: column; /* make it vertical */
}

.header-container {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
    display: flex;
    justify-content: space-between; /* aligns items to both ends */
    align-items: center; /* vertically centers items */
}

/* zacsmansion */
#BMXenTgpbloRwTMx {
    color: #20cd8d;
    text-align: left;
    font-style: italic;
    font-size: 2em; /* adjust size as needed */
    margin-left: 20px;
}


/* Override Bootstrap container padding */
.container, .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
/* Adjust the column width for responsiveness */
/*
.col-lg-6 {
    width: 100%; 
}
*/

/* Set a minimum width for the container */
/* .container {
    min-width: 1000px; 
} */


/* Rest of your code stays the same */

.offset-anchor::before {
    content: '';
    display: block;
    height: 50px; /* match your header's height */
    margin: -50px 0 0; /* negative of your header's height */
    visibility: hidden;
}
/* Styles for Add to Cart Button */
.add-to-cart-btn {
    font-size: 14px !important
}

/* Styles for text inside image description */
.image-description span {
    color: black; /* Red text color */
  
    font-size: 24px; /* Text size */
    display: block; /* Displays the text in block format */
   
}

/* Styles add to cart button inside image description */
.image-description button {
    background-color: #f40b0b; /* Red background color */
    border: none; /* No border */
    color: white; /* White text color */
    padding: 8px 8px; /* Padding around text */
    text-align: center; /* Centers the text */
    text-decoration: none; /* No underline */
    display: inline-block; /* Aligns items in a line */
    font-size: 10px; /* Text size */
    cursor: pointer; /* Makes the cursor a hand when over the button */
    transition-duration: 0.4s; /* Transition duration for hover effect */
    margin-top: -17px;
}

/* Hover effect for the button inside image description */
.image-description button:hover {
    background-color: #45a049; /* Green background color on hover */
}

/* Styles for 'Out of Stock' text */
.out-of-stock {
    color: red; /* Red text color */
    font-size: 14px;
    margin-top: -5px; /* Space above the text */
}



/* Styles for price text */
.item-price {
    font-size: 1.0em; /* Text size */
    color: #000; /* Black text color */
  
    margin-top: 10px; /* Space above the text */
    margin-bottom: 10px; /* Space below the text */
    line-height: 1.0; /* Space between lines of text */
}

/* Styles for the container that holds the input and button */
.action-container {
    display: flex; /* Aligns items in a row */
   
    align-items: center; /* Vertically aligns items in the center */
   
}
/* Styles for the food name and price container */
.item-details {
   margin-top: -20px; /* Space above the container */
  
}

/* food name at bottom of all pages */
.image-description {
    padding: 1em;
    text-align: center;
    color: #000; 
    font-family: 'Garbata Black'; 
    font-size: 1.5em; 
    border-radius: 5px; 
    margin: 0.5em; 
    line-height: 1.0;
}
/* meesage when cart is clicked... x item added to cart */


.image-description .add-message {
    display: block;  
    margin-top: 10px;
    color: rgb(35, 8, 245);
    font-size: 16px;
}

#close-cart {
    color: #2e0ff5; /* change to your preferred color */
    background-color: yellow;
    float: right;
    cursor: pointer;
}
#close-cart1 {
    color: #f5070b; /* change to your preferred color */
    float: right;
    cursor: pointer;
}

/* The Cart Modal (background) */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.cart-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 12% auto;
    padding: 16px;
    border: 1px solid #888;
    width: 100%;
    font-size: 12px;
    height: auto;
    max-height: 1000px;
    overflow-y: auto; /* Changed from 'hidden' to 'auto' */
}



.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item {
    display: grid;
    grid-template-columns: 4fr 5fr 2fr 2fr 0fr; /* Add 1fr for the remove button */
    gap: 1px; /* Reduce the gap */
    align-items: center;
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: -4px;
}
.cart-item .item-name,
.cart-item .item-qty,
.cart-item .item-price,
.cart-item .item-total {
    padding: 5px;
    text-align: center;
}

.qty-container {

    display: flex;
    align-items: center;
    flex-direction: column;
}

.qty-button {
    background-color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.qty-button.decrease {
    margin-right: 24px;
    margin-top: 5px;
}

.qty-button.increase {
    margin-left: -5px;
    margin-top: 5px;
}
.qty-container,
.qty-container .qty-input,
.qty-container .qty-button,
.qty-container .add-to-cart-btn {
    display: inline-block;
    
}

.qty-container .qty-input {
    display: inline-block;
    width: 54px; /* or whatever width you want */
}
.qty-container .qty-button {
    background-color: transparent;
    border: 1px solid #ccc; /* Optional: add a border */
    color: black; /* Set text color to black */
    font-size: 14px;
      font-weight: bold;
}
.qty-container .qty-button.increase {
    margin-right: 6px;
}

.qty-container .qty-button.decrease {
    margin-left: -5px;
}



.qty-input {
    font-size: 16px;
    width: 28%;
    height: 28px;
    margin-right: 10px;
    margin-bottom: 15px;
}


@media (max-width: 767px) {
    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .qty-input {
        display: block;
        margin-bottom: -6px;
    }
}

@media (min-width: 768px) {
    .qty-input {
        width: 42px;
        height: 22px;
        margin-right: 10px;
    }
}


/* Styles for the Remove Button */
.remove-button {
    background-color: #f44336 !important;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 4px 2px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    transition-duration: 0.4s;
}

.remove-button:hover {
    background-color: #d32f2f;
    color: white;
}

.remove-button-container {
    background-color: #f44336;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    transition-duration: 0.4s;
}

.remove-button-container button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

/* Styles for Total, GST, and Grand Total */
.cart-total,
.cart-cgst,
.cart-sgst,
.cart-delivery-charges,
.cart-final-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-total span,
.cart-cgst span,
.cart-sgst span,
.cart-delivery-charges span,
.cart-final-total span {
    text-align: right;
    width: 50%;
}

/* Styles for Delivery Address and Your Cart text */
.cart-modal-content h2,
.cart-modal-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.place-order-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
    border: none;
    margin-left: 200px;
}

.place-order-btn:hover {
    background-color: #d32f2f;
    color: white;
}

.delete-button {
    border: none;
    background: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    width: 60px;
    height: 30px;
    font-size: 14px;
}

.delete-button:hover,
.delete-button:focus {
    background-color: rgba(255, 0, 0, 0.1);
}



/* Styles for iPhone and iPad devices */
.iphone .cart-modal-content {
    width: 100%;
    height: auto; /* Reset to auto */
    max-height: 100vh; /* Set max-height instead */
    overflow-y: hidden; /* Start with hidden overflow */
}



/* Styles for reducing image size by 10% */
#productGrid img {
    max-width: 100%;
    height: auto;
}

/* Styles for moving the entire image to the right by 1% */
#productGrid {
    margin-left: 2%;
}

#bottom-cart-row {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;  /* Adjust background color as needed */
    border-top: 1px solid #ccc; /* Add a border to the top */
    z-index: 1000;              /* Ensure it stays above other content */
}
#total-price {
    font-weight: bold;
    margin-left: 100px;  /* This applies to all devices by default */
}

/* Mobile-specific styling */
@media only screen and (max-width: 768px) {  /* This is a common breakpoint for tablets and mobile devices */
    #total-price {
         font-weight: bold;
         font-size: 20px;
        /* Add any mobile-specific styling here */
        /* Example: if you want a different margin-left for mobile: */
        margin-left: 50px;  /* Adjust as needed */
    }
}

#city.form-control::placeholder {
    color: lightgray;  /* This gives the placeholder text a light gray color */
    font-weight: normal;  /* This ensures the font weight is normal */
}
#address.form-control::placeholder {
    color: lightgray;  /* This gives the placeholder text a light gray color */
    font-weight: normal;  /* This ensures the font weight is normal */
}
#apartment.form-control::placeholder {
    color: lightgray;  /* This gives the placeholder text a light gray color */
    font-weight: normal;  /* This ensures the font weight is normal */
}

.page-2 {
    display: block;
    width: 55%; /* Adjust this to desired width */
    height: auto;
    margin: 20px 267px; /* Add a margin to top and bottom of the image */
}


@media (max-width: 600px) { /* Adjust the breakpoint value as needed */
  .page-2 {
    width: 88%;
    height: auto;
    margin-top: 20px;
    margin-left: 18px;
  }
}



#page-22 {
    background-color: rgb(7, 7, 95); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    color: white;
    position: relative;
    height: 100vh; 
}

#page-22 .logo {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 1.3in;  
    height: auto;
}

#page-22 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-top: 150px; 
    margin-left: 50px;
}

#page-22 .left-side .left-image {
    width: 82%; 
    height: auto;
    margin-top: -19px;
    margin-left: 0px;
}
.android#page-22 .left-side .left-image {
    width: 82%; 
    height: auto;
    margin-top: -19px;
    margin-left: 0px;
}

#page-22 .left-side .phone-numbers {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 16px;
    margin-top: 104px;
    margin-left: 101px;
    white-space: nowrap; /* This prevents text wrapping */
   
}
#page-22 .left-side .phone-numbers a {
    color: rgb(30, 20, 226);
    text-decoration: underline;
    font-size: 7px;

     margin-top: 2px;  /* Moved down by 20px */
        margin-left: 4px; /* Moved left by 30px (from the original 20px) */
}
#page-22 .left-side .phone-numbers .click-to-call {
    font-size: 8px;
    font-style: italic;
    color: blue;
  
         margin-top: -38px;  /* Moved down by 20px */
        margin-left: 13px; /* Moved left by 30px */
}

#page-22 .right-side {
    margin-left: auto;
    margin-right: 86px;
    margin-top: -107px; /* This should move the element up by 150px */
}

#page-22 .right-side p {
    color: white;
    font-size: 20px;
    margin-bottom: 179px;
     white-space: nowrap; /* Prevents the text from breaking to the next line */
        overflow: hidden;   /* Ensures the text won't overflow its container */
        text-overflow: ellipsis; /
}

#page-22 .right-side .yellow-text {
    color: yellow;
    font-size: 20px;
    margin-top: -164px;
    margin-right: 20px;
}

#page-22 .left-side a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    margin-left: 20px;
  /*  margin-top: 20px; */
}




#page-22 .footer-text {
    color: white;
    position: absolute;
    bottom: 0px;
    right: 60px;
    font-size: 16px;
    margin-bottom: 32px;
}

/* Desktop styles */
@media (min-width: 768px) { /* Keeping your desktop styles intact within this media query */
    #page-22 {
    background-color: rgb(7, 7, 95); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    color: white;
    position: relative;
    height: 100vh; 
}

#page-22 .logo {
    position: absolute;
    top: 48px;
    right: 30px;
    width: 1.3in;  
    height: auto;
}

#page-22 .left-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-top: 150px; 
    margin-left: 50px;
}

#page-22 .left-side .left-image {
    width: 40%; 
    height: auto;
    margin-top: -100px;
}



#page-22 .left-side a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}

#page-22 .right-side {
    margin-left: auto;
    margin-right: 75px;
    margin-top: -235px; /* This should move the element up by 150px */
}

#page-22 .right-side p {
    color: white;
    font-size: 24px;
    margin-bottom: 350px;
}

#page-22 .right-side .yellow-text {
    color: yellow;
    font-size: 20px;
    margin-top: -320px;
}
#page-22 .left-side .phone-numbers {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 18px;
    margin-top: 21px;
    margin-left: 126px;
}
#page-22 .left-side .phone-numbers a {
    color: rgb(30, 20, 226);
    text-decoration: underline;
    font-size: 15px;
    margin-top: 0px;
    margin-left:25px;
}
#page-22 .left-side .phone-numbers .click-to-call {
    font-size: 14px;
    font-style: italic;
    color: blue;
    margin-top: -6px;
    margin-left: 45px;
}


#page-22 .footer-text {
    color: white;
    position: absolute;
    bottom: 0px;
    right: 60px;
    font-size: 16px;
    margin-bottom: 32px;
}
    /* ...Your existing CSS for #page-22 on desktop goes here... */
}




/* end of page 22*/
#page23 {
    background-color: black;
    padding: 30px;
    color: white;
}

#page23 #company-name {
    color: red;
    font-size: 29px;
    margin-bottom: 10px;
    text-align: center; /* Centering the company name */
    font-style: italic; /* Add this if you wanted the 'SMART BYTZ' to be italicized, remove if not */
}

#page23 .contact-details, 
#page23 .address {
    text-align: left; /* Aligning the text to the left */
    margin-bottom: 20px; /* Space below address */
    padding-left: 30px; /* Indenting the address slightly to allow space for the pin icon */
    position: relative; /* Making the container relative so we can position the icon */
}
#page23 .address i.fas.fa-map-marker-alt {
    position: absolute;
    color: red;
    left: 24px;
    top: 0;
    font-size: 1.0em; /* Adjust size as needed */
}


#page23 .bullet-links {
    text-align: left; /* Aligning the links to the left */
    margin-top: 20px; /* Space above links */
}

#page23 .bullet-links a {
    color: white;
    display: block;
    margin: 5px 0;
    text-decoration: none;
}




.card-img-top{
    /* width: 100%;
    height: 25vw;
    object-fit: cover; */
}
.rupee-figure {
    text-align: right;
}
.cost-value {
    display: inline-block;
    width: 50px; /* Adjust as necessary */
    text-align: right;
}
#banner {
    background-color: white;
}

.desktop-banner-image {
    width: 50%;
    margin-top: 43px;
    margin-left: 63px;
}

.phone-icon {
    font-size: 3em;
    position: absolute;
    top: 71px;
    right: 87px;
}

#banner-details {
    text-align: center;
    margin-top: -36px;
    margin-left: -202px;
    transform: scale(0.75);
}

.smart-bytz-logo {
    font-family: 'Alegreya';
    font-size: 2.5em;
    color: red;
}

.page-description {
    font-size: 1.9em;
    margin-bottom: 1%;
    margin-top: -9%;
}

.free-delivery p {
    font-size: 1em;
    color: blue;
    position: relative;
    margin-left: 0;
    margin-top: 0;
}

.status-open {
    color: green;
}

.status-closed {
    color: red;
}

.mobile-image-container {
    display: none;
}

.mobile-banner-image {
    width: 100%;
}

@media only screen and (max-width: 768px) {


    .desktop-banner-image {
        display: none;
    }

    .mobile-image-container {
        display: block;
    }

    .mobile-banner-image {
        width: 60%;
        margin-left: 6%; /* Adjust this to move the image left or right */
        margin-top: -12%; /* Adjust this to move the image up or down */
    }

    .phone-icon {
        right: 45px;
    }

    .free-delivery p {
        margin-top: 3%;
        margin-left: 2%;
    }

    #banner-details {
        margin-left: -7%;
        margin-top: 7%; /* Adjust this to move all the text up or down */
    }
      .page-description {
        margin-top: 8%; /* Adjust this to move the text up or down */
        margin-left: 5%;
    }
       .text-container {
        margin-left: 10%; /* Adjust this to move the text left or right */
    }
     #banner {
        margin-top: -10%;
    }
      #banner-details {
        margin-left: -2%;
    }
}

/* Ensures that the page takes up the full viewport height */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif; /* or any font-family you prefer */
}

/* Contains the main content and pushes the footer to the bottom */
body {
    display: flex;
    flex-direction: column;
}

footer {
    font-size: 10px; /* Adjust as needed for the smallest font */
    flex-shrink: 0; /* Prevents the footer from shrinking in flex container */
    width: 100%; /* Ensures the footer takes the full width of the page */
    white-space: nowrap; /* Prevents the content from wrapping to a new line */
    overflow: hidden; /* Hides any overflowing content */
    text-overflow: ellipsis; /* Adds ... for overflowing content */
}

/* If the content of the footer is too long for the viewport width, it will wrap around */
@media (max-width: 600px) { /* This breakpoint is arbitrary. Adjust as needed. */
    footer {
        white-space: normal;
    }
}
