body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to top,#FCA311, #264653, #14213D );
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #241414;
}
h1 {
    color: #ffc107;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.navbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.sauce-select {
  display: block;
  margin: 20px auto;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffc107;
  color: #1f1f1f;
  font-weight: bold;
  padding: 10px 10px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231f1f1f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding : 12pxo;
}

.sauce-select:hover {
  background-color: #ffb300;
}

.sauce-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.4);
}

.navbar .logo h2 {
    color: #FCA311;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin: 0;
}

.navbar .logo a {
    text-decoration: none;
    color: inherit;
}

.navbar .user-actions {
    display: flex;
    gap: 10px;
}

.navbar .user-actions button {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.navbar .user-actions button:hover {
    background-color: rgba(255, 255, 255, 0.35);
    color: #000000;
}

.main-content {
  padding: 1rem;
}

#menu {
    flex: 2;
    padding-right: 30px;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

#sauce-fries-maison, #sauce-patate-douce, #sauce-cheesy, #sauce-loaded {
    border-radius: 30px;
    text-align: center;
}

.burger-item {
    background: rgba(255, 255, 255, 0.2);
    margin: 10px;
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.burger-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.burger-item img {
    width: 60%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.burger-item h3 {
    font-size: 1.4rem;
    margin: 15px 0;
    color: #FFD700;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFDA44;
    margin-bottom: 15px;
}

.add-to-cart,
.delete-item {
  align-self: flex-end;
  background-color: #ffc107;
  padding: 6px 14px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  color: black;
  cursor: pointer;
  transition: background-color 0.2s;
}

.add-to-cart:hover,
.delete-item:hover {
    background: linear-gradient(to right, #FF5722, #FFC107);
    transform: scale(1.03);
}

#order-summary {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    overflow: hidden;
}

#order-list {
    margin-bottom: 20px;
}

.order-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



.order-item button {
    background-color: #f44336;
    padding: 6px 12px;
    border-radius: 5px;
    border: none;
    color: white;
}

#order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
}

#checkout-button {
    background: linear-gradient(to right, #11998e, #38ef7d);
    width: 100%;
    padding: 12px;
    border-radius: 30px;
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

#checkout-button:hover {
    filter: brightness(1.1);
}

#floating-cart-btn {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #264653;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    cursor: pointer;
}


.modal-content.counter-style {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  color: white;
  font-family: 'Outfit', sans-serif;
}

.counter-style h2 {
  font-size: 24px;
  color: #222;
  margin-bottom: 10px;
}

.counter-style p {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.counter-style input[type="email"],
.counter-style input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-size: 15px;
  transition: 0.3s;
}

.counter-style input[type="email"]::placeholder,
.counter-style input[type="tel"]::placeholder {
  color: #999;
}

.counter-style input[type="email"]:focus,
.counter-style input[type="tel"]:focus {
  border-color: #28a745;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
  outline: none;
}

.form-buttons {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
}

.btn-confirm {
  flex: 1;
  background-color: #28a745;
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.btn-confirm:hover {
  background-color: #218838;
}

.btn-cancel {
  flex: 1;
  background-color: #f0f0f0;
  color: #333;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.btn-cancel:hover {
  background-color: #ddd;
}



#pay-counter-form h2 {
  color: #ffd700;
  font-size: 24px;
  margin-bottom: 15px;
}


#pay-counter-form p {
  font-size: 16px;
  color: white !important;
  margin-bottom: 20px;
}


#pay-counter-form input[type="email"],
#pay-counter-form input[type="tel"] {
  width: 90%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  color: black !important;
  backdrop-filter: blur(5px);
}

#pay-counter-form input[type="email"]::placeholder,
#pay-counter-form input[type="tel"]::placeholder {
  color: #666 !important;
}

#pay-counter-form input[type="email"]:focus,
#pay-counter-form input[type="tel"]:focus {
  background-color: rgba(255, 255, 255, 0.3);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

#pay-counter-form .form-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

#pay-counter-form .form-buttons button {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

#pay-counter-form .form-buttons button[type="submit"] {
  background: linear-gradient(to right, #28a745, #42d392);
  color: white;
}

#pay-counter-form .form-buttons button[type="submit"]:hover {
  filter: brightness(1.1);
}

#pay-counter-form .form-buttons button[type="button"] {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
}

#pay-counter-form .form-buttons button[type="button"]:hover {
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
}

/* 🎨 Modale du panier */
.cart-style {
  background: linear-gradient(to bottom, #14213D, #FCA311);
  color: white;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cart-style h2 {
  margin-bottom: 20px;
  color: #ffffff;
}

.cart-style .order-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-style .order-item button {
  background-color: #ffc107;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
}

.cart-style #checkout-button {
  background: linear-gradient(to right, #00c9a7, #92fe9d);
  color: white;
  font-size: 1.2rem;
  padding: 12px;
  border: none;
  border-radius: 30px;
  margin-top: 20px;
  width: 100%;
  cursor: pointer;
}

.cart-style #checkout-button:hover {
  filter: brightness(1.1);
}



/* Onglets de catégories */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-link {
    padding: 10px 20px;
    background-color: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tab-link.active {
    background-color: #FF6600;
    color: white;
}

/* Grand écran */
@media screen and (min-width: 768px) {
    .burger-item {
        width: 45%;
    }
}

modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  font-family: "Segoe UI", sans-serif;
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
}

.modal-content label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.modal-content input[type="email"],
.modal-content input[type="tel"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal-buttons button {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.modal-buttons button.secondary {
  background-color: #ddd;
  color: #333;
}

.modal-buttons button:not(.secondary) {
  background-color: #007bff;
  color: white;
}


#payment-choice-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

#payment-choice-modal .modal-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  color: white;
  font-family: 'Outfit', sans-serif;
}

#payment-choice-modal h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: #FFD700;
}

.payment-buttons button {
  display: block;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 14px 20px;
  margin-bottom: 15px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-buttons button:hover {
  background-color: rgba(255, 255, 255, 0.35);
  color: black;
}

.payment-buttons span {
  margin-left: 8px;
}

.back-btn {
  margin-top: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.back-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
}




#customize-modal {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#customize-modal .modal-content,
#customize-form {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  max-width: 440px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  font-family: 'Outfit', sans-serif;
  text-align: left;
}

#customize-form h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 25px;
  color: #FCA311;
}

#customize-form label {
  display: block;
  margin: 12px 0;
  font-size: 17px;
  cursor: pointer;
  padding-left: 6px;
}

#customize-form input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.3);
  accent-color: #FCA311;
}

#customize-form .modal-buttons,
#customize-form .form-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

#customize-form button[type="submit"],
#customize-form button[type="button"] {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

#customize-form button[type="submit"] {
  background: linear-gradient(to right, #11998e, #38ef7d);
  color: white;
}

#customize-form button[type="submit"]:hover {
  filter: brightness(1.15);
}

#customize-form button[type="button"] {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#customize-form button[type="button"]:hover {
  background-color: rgba(255, 255, 255, 0.4);
  color: black;
}



/* ✅ Mobile */
@media screen and (max-width: 767px) {
    .main-content {
        flex-direction: column-reverse;
    }

    #menu,
    #order-summary {
        width: 100%;
        padding: 0;
    }

    .burger-item {
        width: 90%;
        max-width: none;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .user-actions {
        margin-top: 10px;
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .tabs {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
        gap: 10px;
        padding: 10px 0;
    }

    .tab-link {
        flex-shrink: 0;
        padding: 10px 15px;
    }

    #order-summary {
        padding: 20px;
        margin-bottom: 80px;
    }

    #checkout-button {
        font-size: 1.1rem;
        padding: 10px;
    }

    
}

#ingredients-options label {
    display: block;
    margin: 8px 0;
}


/* Modale panier */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}


.modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.modal-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal-buttons button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#modal-close {
  background: #ddd;
  color: #333;
}

#modal-checkout {
  background: #28a745;
  color: white;
}

#modal-order-list {
  max-height: 300px;
  overflow-y: auto;
  margin: 15px 0;
  text-align: left;
}

#modal-order-list .item-line {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

#modal-total-price {
  font-weight: bold;
  font-size: 1.2rem;
}




#cancel-customization {
    background-color: #ccc;
    color: #333;
}

#cancel-customization:hover {
    background-color: #bbb;
}

#customize-form button[type="submit"] {
    background-color: #28a745;
    color: white;
}

#customize-form button[type="submit"]:hover {
    background-color: #218838;
}
/* 🔁 Animation d'apparition des cartes */
.burger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.soulmade-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
}

.soulmade-title span {
    font-weight: 400;
}



/* Style moderne pour la modale panier */
.cart-style {
background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 50%;
  width: 90%;
  text-align: center;
}

.cart-style h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #fff;
}

.cart-style .order-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-style .order-item button {
  background-color: #ffc107;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
}

.cart-style #modal-checkout {
  background: linear-gradient(to right, #11998e, #38ef7d);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 30px;
  margin-top: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  width: 100%;
}

.cart-style #modal-checkout:hover {
  filter: brightness(1.1);
}

.cart-style #modal-close {
  background: #264653;
  color: white;
  font-weight: bold;
  border-radius: 12px;
  padding: 12px;
  margin-top: 15px;
  border: none;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
}

.cart-style #modal-close:hover {
  background: #1f3e4d;
}
.checkout-button {
  background: linear-gradient(to right, #00c9a7, #92fe9d);
  color: white;
  font-size: 1.2rem;
  padding: 14px;
  border: none;
  border-radius: 30px;
  margin-top: 20px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkout-button:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

span {
    padding-right: 20px;
}

.user-actions {
    display: flex;
    gap: 10px;
    min-width: 150px; /* 🔥 force un espace réservé pour que les boutons s’affichent bien */
}


@keyframes cartPopGlow {
  0% {
    transform: scale(1);
    background-color: #264653;
  }
  25% {
    background-color: #28a745;
  }
  50% {
    transform: scale(1.3);
    background-color: #28a745;
  }
  75% {
    background-color: #28a745;
  }
  100% {
    transform: scale(1);
    background-color: #264653;
  }
}

.cart-animate {
  animation: cartPopGlow 0.6s ease-in-out;
}

