/* -----------------------------------------------
    CSS Styles 
--------------------------------------------------
    Project Name: Burger Restaurant
--------------------------------------------------

Table of Content
    - Reset
    - Global
    - Header Top
    - Header Banner
    - About us 
    - Recommanded Today 
    - Contact Us 
    - Footer
    - Responsive
-------------------------------------------------- */

/*--------------------------------------------------
		Reset
--------------------------------------------------- */
*,
::before,
::after {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

/*--------------------------------------------------
		Global
--------------------------------------------------- */

:root {
    --black: rgba(18, 18, 18, 0.9);
    --red: #ee022b;
    --lightred: rgba(255, 0, 0, 0.7);
    --white: #ffffff;
    --grey: #727273;
    --lightgrey: #f1f1f1;
    --margin-side: 160px;
    --transition-duration: 0.5s;
}

html {
    font-family: "Raleway", sans-serif;
    scroll-behavior: smooth;
}

section h2 {
    text-transform: uppercase;
    text-align: center;
    margin: 30px 0 15px 0;
    font-size: 2rem;
}

h3 {
    text-transform: uppercase;
}

iframe {
    height: 500px;
    border: 0;
    width: 100%;
    border-radius: 18px;
}

p {
    font-family: "Maven Pro", "sans-serif";
}

a {
    color: white;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
    margin: 50px auto;
}

#check {
    display: none;
}

#menu-burger:target {
    left: -100%;
}

#form-contact-status {
    display: none;
    width: fit-content;
    padding: 25px 50px;
    margin: 1rem auto;
    border-radius: 10px;
    transition: all 0.5s ease-out;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    transition: 0.5s ease;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    transition: 0.5s ease;
}

/* ---------- Buttons ---------  */
.check-button {
    background-color: rgba(18, 18, 18, 0.4);
    width: 50px;
    text-align: center;
    font-size: 45px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    display: none;
    z-index: 1;
}

.red-button {
    display: inline-block;
    position: relative;
    z-index: 1;
    width: 10rem;
    height: 2.8rem;
    border-radius: 18px;
    background-color: var(--red);
    color: var(--white);
    text-align: center;
    line-height: 2.8rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
}

.red-button::after,
.white-button::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transform: scale(0);
    transition: transform 0.3s ease-out;
    background-color: var(--lightred);
}

.red-button:hover {
    color: var(--red);
}

.red-button:hover::after {
    background-color: var(--white);
    color: var(--red);
    transform: scale(1);
}

.white-button {
    display: block;
    position: relative;
    margin-top: 2rem;
    width: 10rem;
    height: 2.8rem;
    border: 2px solid var(--red);
    border-radius: 18px;
    background-color: var(--white);
    color: var(--red);
    text-align: center;
    line-height: 2.8rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
}

.white-button:hover {
    background-color: var(--red);
    color: var(--white);
}

.white-button:hover::after {
    background-color: var(--red);
    color: var(--white);
    transform: scale(1);
}

/*--------------------------------------------------
		Header Topbar
--------------------------------------------------- */

.header-topbar {
    background-color: var(--black);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px var(--margin-side);
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 105px;
}
.header-topbar h1 {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    flex: 1 0 auto;
}

.header-topbar h1::first-letter {
    font-size: 3rem;
    color: var(--red);
}

.header-topbar-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-topbar-menu {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.header-topbar-menu li {
    margin-left: 1.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
}
.header-topbar-menu a {
    display: inline-block;
    color: var(--white);
    text-align: center;
    border-radius: 18px;
    width: 125px;
    height: 40px;
    line-height: 2.8rem;
    letter-spacing: 0.1rem;
}
.header-topbar-menu a:hover {
    background-color: var(--lightred);
}

/*--------------------------------------------------
		Header Banner
--------------------------------------------------- */
.header-banner {
    padding: 10vh var(--margin-side);
    position: relative;
}

.header-banner img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.header-banner h2::before {
    content: "The one and only\A";
    white-space: pre;
    color: var(--white);
    font-weight: 900;
    font-size: 0.8rem;
}
.header-banner h2 {
    font-family: "Raleway", "Montserrat", sans-serif;
    color: var(--white);
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 5.6rem;
    margin-top: 15px;
    transform: translateX(-100%);
}
.header-banner-price {
    font-family: "Maven Pro", sans-serif;
    color: var(--grey);
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 3rem;
    margin-top: 15px;
    transform: translateX(-100%);
}
.header-banner .header-banner-description {
    color: var(--white);
    font-size: 1rem;
    margin: 15px 0 30px 0;
    width: 50%;
    min-width: 320px;
    transform: translateX(300%);
}

.specials {
    font-size: 0.9rem;
    color: var(--red);
    font-weight: bolder;
}
/*--------------------------------------------------
		About us
--------------------------------------------------- */
.about-us {
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.about-us .about-us-item {
    flex-basis: 35%;
    margin-bottom: 3rem;
}
.about-us .about-us-item img {
    height: 500px;
}
.about-us h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.about-us p {
    font-size: 1.3rem;
    margin: 1rem 0;
    width: 400px;
}


/*--------------------------------------------------
		Recommanded Today
--------------------------------------------------- */
.recommanded {
    text-align: center;
}
.products {
    text-align: center;
    flex-wrap: wrap;
}
.product {
    flex: 1 0 30%;
    margin: 1rem 5px;
    border: 1px solid var(--lightgrey);
    padding: 1rem;
    transition: transform ease-in-out 0.3s;
    cursor: pointer;
    background-color: var(--white);

    /* Add this */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px; /* or a value that fits all your content */
}

.product:hover {
    transform: scale(1.1);
}

.product p {
    margin: 20px 80px;
}

.product .price {
    color: var(--red);
    font-weight: bolder;
    font-size: 1.8rem;
}

/*--------------------------------------------------
		Contact us
--------------------------------------------------- */
.contact-us .contact {
    flex-basis: 50%;
}

.form-contact {
    font-family: "Maven Pro", sans-serif;
    font-size: 1.2rem;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-group label {
    display: block;
}

.form-group label::after {
    content: "*";
}

.form-group:nth-child(1),
.form-group:nth-child(2) {
    width: 45%;
}

.form-group:nth-child(3),
.form-group:nth-child(4),
.form-group:nth-child(5) {
    width: 100%;
}

.form-group .form-control {
    width: 100%;
    border-radius: 18px;
    border: 2px solid var(--red);
    margin: 10px 40px 5px 0;
}

.form-group input {
    height: 35px;
    outline: none;
    padding: 10px;
}

textarea {
    height: 100px;
    outline: none;
    padding: 10px;
}

input[type="submit"] {
    background-color: var(--red);
    width: 100%;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    height: 50px;
    border-radius: 18px;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: var(--lightred);
}

.contact-us .contact h3 {
    margin: 20px 0;
    text-align: center;
    font-size: 1.5rem;
}

/*--------------------------------------------------
		Footer
--------------------------------------------------- */
.footer {
    background-color: var(--black);
    text-align: center;
    color: var(--white);
    padding: 50px 0;
    font-family: "Maven Pro";
}
.footer p:first-of-type {
    padding-top: 1rem;
    font-size: small;
}

/*--------------------------------------------------
		What's app
--------------------------------------------------- */
.whatsapp-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    cursor: pointer;
    transition-duration: var(--transition-duration);
}
.whatsapp-button:hover {
    transform: rotate(360deg);
}

/*--------------------------------------------------
		Responsive Design
--------------------------------------------------- */
@media screen and (max-width: 1200px) {
    :root {
        --margin-side: 30px;
    }

    html {
        font-size: 15px;
    }

    .product {
        flex-basis: 49%;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    iframe {
        height: 500px;
        border: 0;
        width: 100%;
    }

    .container {
        width: 90%;
    }

    .header-topbar h1 span {
        display: none;
    }

    .header-topbar-menu li {
        margin-left: 0.1rem;
    }

    .header-topbar-menu a {
        width: 100px;
    }

    .about-us .about-us-item img {
        height: 405px;
    }
}

@media screen and (max-width: 825px) {
    .contact-us .container {
        flex-direction: column;
    }

    .about-us .about-us-item {
        flex: 1 0 100%;
        margin-bottom: 1rem;
    }

    .about-us p {
        margin: 0.5rem 0;
        width: 100%;
    }

    .about-us .about-us-item img {
        display: none;
    }
}

@media screen and (max-width: 725px) {
    :root {
        --margin-side: 20px;
    }

    html {
        font-size: 13px;
    }

    
    .header-topbar {
        background-color: var(--black);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        height: 60px; /* smaller height for mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .header-topbar h1 {
        display: none;
    }

        /* Cart icon at top-left */
    #cart-summary {
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        right: auto;
        background-color: transparent;
        border: none;
        box-shadow: none;
        z-index: 1010;
    }

    .header-topbar li {
        display: block;
        width: 100%;
        margin: 1.5rem 0;
        background-color: transparent;
    }

    .header-topbar-menu {
        width: auto;
        height: 100vh; /* keeps dropdown full height */
        position: fixed;
        top: 0;
        right: -100%; /* hidden by default */
        padding-top: 60px; /* below topbar */
        background-color: var(--black);
        transition: right 0.5s;
        z-index: 1005;
    }

    .header-topbar-menu ul {
        display: unset;
    }

    :checked ~ .header-topbar-menu {
        right: 0;
    }

    .header-topbar-menu a {
        display: block;
        font-size: 1.3rem;
        width: 100%;
        border-radius: 0px;
        margin: 0;
    }

    .header-topbar-menu a:hover {
        background-color: transparent;
        color: var(--red);
    }

    .check-button {
        display: block;
        position: absolute;
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
        z-index: 1010;
    }

    .header-banner {
        padding: 1vh var(--margin-side);
        margin-top: 60px;
    }

    .header-banner-description {
        width: 300px;
    }

    .product {
        flex-basis: 100%;
    } 

    .red-button,
    .white-button {
        font-size: 1rem;
    }

    .red-button:first-child {
        background-color: transparent;
    }

    .contact .form-contact {
        padding: 0;
    }
}

@media screen and (max-width: 420px) {
    .header-banner h2 {
        font-size: 4.6rem;
    }

    .contact .form-contact {
        padding: 0;
    }
}

@media only screen and (min-width: 375px) and (max-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
    .header-banner {
        height: 100vh;
    }
    .header-banner h2 {
        font-size: 2.5rem;
    }
}


/*--------------------------------------------------
        Order Popup Styles
---------------------------------------------------*/
.order-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(18, 18, 18, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  font-family: "Maven Pro", sans-serif;
  pointer-events: auto;
}

.order-popup-content {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 18px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  animation: popupFadeIn 0.3s ease-out;
  border: 2px solid var(--red);
  z-index: 2001;
  pointer-events: auto;
    position: relative;
}

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

.order-popup-content h3 {
    color: var(--red);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Raleway", sans-serif;
}

.order-popup-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--black);
}

.store-phone {
    margin: 1.5rem 0;
}

.phone-number {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--red);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  transition: all 0.3s ease;
  background-color: transparent;
}

.phone-number:hover {
  background-color: var(--red);
  color: var(--white);
}


/* For mobile devices - makes it obvious it's clickable */
@media (hover: none) {
    .phone-number {
        text-decoration: underline;
        text-decoration-color: var(--red);
    }
}

.popup-close-btn {
    background-color: var(--red);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;

    /* Fix for being unclickable */
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.popup-close-btn:hover {
    background-color: var(--lightred);
}

/* Responsive adjustments */
@media screen and (max-width: 725px) {
    .order-popup-content {
        padding: 1.5rem;
    }
    
    .order-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .phone-number {
        font-size: 1.3rem;
        padding: 0.5rem;
    }
    
    .popup-close-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.see-pricing-btn {
    background-color: var(--lightred);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.see-pricing-btn:hover {
    background-color: var(--red);
}

.pricing-details {
    margin-top: 10px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
}

.price-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

.price-list li:last-child {
    border-bottom: none;
}

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

.price {
    font-weight: bold;
    color: var(--red);
    margin-top: 10px;
    font-size: 1.1em;
}

.deals {
    background-color: #fff8f0;
    padding: 3rem 1rem;
    text-align: center;
}

.deals h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #c0392b;
    font-family: 'Maven Pro', sans-serif;
}

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

.deal {
    background-color: #fff;
    border: 2px solid #f1c40f;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.deal h3 {
    color: #e67e22;
    margin-bottom: 0.5rem;
}

.deal-price {
    font-weight: bold;
    color: #2ecc71;
    margin-top: 0.5rem;
}

.product img {
  width: 100%;
  height: auto;
  max-height: 150px; /* keeps cards consistent */
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.image-wrapper {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0; /* light background for empty space */
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#cart-summary {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: transparent; /* no background */
    border: none; /* remove border */
    box-shadow: none; /* remove shadow */
    padding: 0; /* optional: remove padding */
    width: auto; /* shrink to content */
    z-index: 999;
    font-family: "Maven Pro", sans-serif;
    color: var(--white); /* make sure text is visible on dark topbar */
}
#cart-summary ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
#cart-summary li {
    margin: 0.2rem 0; /* spacing between items */
}


#cart-summary .cart-total {
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: right;
    color: var(--red);
}

#cart-summary button {
    width: 100%;
    margin-top: 5px;
    padding: 5px 0;
    font-size: 0.8rem;
    border-radius: 12px;
    background-color: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
}

#cart-summary button:hover {
    background-color: var(--lightred);
}

/* -------------------------------
   Multiple Sizes Styling
--------------------------------- */
.product .size-options {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.product .size-options button {
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.product .size-options button:hover {
    background-color: var(--lightred);
    color: var(--white);
    border-color: var(--red);
}

.product .size-options button.selected {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* -------------------------------
   Add to Cart Button Styling
--------------------------------- */
.product .add-to-cart-btn {
    background-color: var(--lightred);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.product .add-to-cart-btn:hover {
    background-color: var(--red);
}

/* -------------------------------
   Size List Styling
--------------------------------- */
.pricing-popup {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.size-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.size-list li {
    padding: 8px 12px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.size-list li:hover {
    background-color: var(--lightred);
    color: var(--white);
    border-color: var(--red);
}

.size-list li.selected {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* -------------------------------
   Add to Cart Button Styling
--------------------------------- */
.pricing-popup .add-to-cart-btn {
    background-color: var(--lightred);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pricing-popup .add-to-cart-btn:hover {
    background-color: var(--red);
}

#card-name {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 2px solid var(--red);
    border-radius: 18px;
    font-size: 1rem;
    font-family: "Maven Pro", sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#card-name:focus {
    border-color: var(--lightred);
    box-shadow: 0 0 5px var(--lightred);
}

.order-popup-content label[for="card-name"] {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--black);
    font-size: 1rem;
}

#card-button {
    background-color: var(--lightred);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
    font-weight: bold;
    width: 100%; /* optional: full width like a form button */
    position: relative;
    z-index: 10; /* force button above iframe */
    pointer-events: auto; /* ensure it can be clicked */
}

#card-button:hover {
    background-color: var(--red);
}

#card-container {
  position: relative;
  z-index: 1;
  width:100%;
  height:auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
}

#cart-items {
    display: none;
}

/* -------------------------------
   Toppings Selection Modal
--------------------------------- */
#toppingModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(18, 18, 18, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    font-family: "Maven Pro", sans-serif;
}

#toppingModal .modal-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 18px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    border: 2px solid var(--red);
    animation: popupFadeIn 0.3s ease-out;
}

#toppingModal h3 {
    color: var(--red);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Raleway", sans-serif;
}

#toppingList {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
}

#toppingList li {
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

#toppingList li:hover {
    background-color: var(--lightred);
    color: var(--white);
    border-color: var(--red);
}

#toppingList input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--red);
    cursor: pointer;
}

#addToppingCartBtn,
#closeToppingModal {
    display: inline-block;
    width: 45%;
    margin: 5px 2.5%;
    padding: 10px 0;
    border-radius: 18px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

#addToppingCartBtn {
    background-color: var(--lightred);
    color: var(--white);
}

#addToppingCartBtn:hover {
    background-color: var(--red);
}

#closeToppingModal {
    background-color: var(--white);
    color: var(--red);
    border: 2px solid var(--red);
}

#closeToppingModal:hover {
    background-color: var(--red);
    color: var(--white);
}

/* Responsive adjustments */
@media screen and (max-width: 725px) {
    #toppingModal .modal-content {
        padding: 1.5rem;
    }
    
    #toppingModal h3 {
        font-size: 1.5rem;
    }
    
    #addToppingCartBtn,
    #closeToppingModal {
        width: 100%;
        margin: 5px 0;
        font-size: 0.9rem;
    }
}

.order-summary {
  order: 0; /* default */
  position: relative;
  z-index: 10; /* above iframe, buttons clickable */
}

.order-popup-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-info {
  order: -1; /* move visually above summary */
  z-index: 1; /* stays behind Remove buttons */
}

#phone-number {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 2px solid var(--red);
    border-radius: 18px;
    font-size: 1rem;
    font-family: "Maven Pro", sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

#phone-number:focus {
    border-color: var(--lightred);
    box-shadow: 0 0 5px var(--lightred);
}

.order-popup-content label[for="phone-number"] {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--black);
    font-size: 1rem;
}


#phone {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 2px solid var(--red);
    border-radius: 18px;
    font-size: 1rem;
    font-family: "Maven Pro", sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#phone:focus {
    border-color: var(--lightred);
    box-shadow: 0 0 5px var(--lightred);
}

/* For mobile devices - underline to show clickable */
@media (hover: none) {
    #phone {
        text-decoration: underline;
        text-decoration-color: var(--red);
    }
}

.order-popup-content label[for="phone"] {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--black);
    font-size: 1rem;
}
#apple-pay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* space between Apple logo and text */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid black; /* default: outline style */
    background-color: white;  /* default: outline style */
    color: black;             /* default text color */
    width: auto; /* optional: full width */
    transition: background-color 0.3s, color 0.3s;
}

#apple-pay-button.black {
    background-color: black;
    color: white;
    border: none;
}

#apple-pay-button img {
    height: 24px; /* adjust the Apple logo size */
    width: auto;
}

.payment-info h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}




