/* Cart item row styling */
.cart-item-row {
  list-style: none;
  margin-bottom: 0.5em;
  font-size: 1.08em;
  display: flex;
  align-items: center;
}
.cart-item-name {
  font-weight: bold;
  letter-spacing: 0.01em;
  font-size: 1.35em;
  margin-right: 0.3em;
}
.cart-item-price {
  color: #222;
  font-size: 1.35em;
  font-weight: bold;
}
/* Remove button with bin icon in cart */
.remove-cart-item-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-left: 1em !important;
  cursor: pointer;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.remove-cart-item-btn:focus {
  outline: 2px solid #b01111;
}
.bin-icon {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.remove-cart-item-btn:hover .bin-icon {
  background: none !important;
  filter: none;
}
/* Style for Proceed to Checkout button on cart page */
#proceed-to-checkout-btn {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0.18em 0.08em !important;
  font-weight: 500 !important;
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  padding: 0.38em 1.05em !important;
  font-size: 1.05em !important;
  cursor: pointer !important;
  text-shadow: none !important;
}
#go-to-checkout-btn {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.7em 1.5em !important;
  font-size: 1em !important;
  cursor: pointer !important;
  box-shadow: none !important;
  opacity: 1 !important;
  margin-left: 1em !important;
}
body.allergens-page.app-body, body.allergens-page.app-body * {
  color: #000 !important;
}
/* --- Larger pizza size dropdown for better proportion --- */
/* --- Elegant divider and spacing for menu items --- */
/* --- Menu item divider and heading --- */
.menu-item {
  padding-bottom: 1.1em;
  margin-bottom: 0.7em;
  border-bottom: 1px solid #000;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item > strong {
  color: #000;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px #eee;
}
/* --- MAKE ADD BUTTONS SMALLER IN MENU --- */
/* --- Menu add button style --- */
#dynamic-menu button {
  border-radius: 0 !important;
  margin: 0.18em 0.08em !important;
  font-weight: 400 !important;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #bbb !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
/* --- MENU PAGE TITLES PROPORTIONAL HIERARCHY --- */
#menu .menu-heading {
  /* removed duplicate, see end of file for correct rule */
  font-weight: bold;
  margin-top: 1.2rem;
  margin-bottom: 0.05rem;
  letter-spacing: 0.01em;
  color: #222;
  text-align: center;
}
#menu .section-heading {
  /* removed duplicate, see end of file for correct rule */
  font-weight: bold;
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  color: #333;
  text-align: left;
}
/* --- FORCE CHECKOUT BUTTON ALWAYS VISIBLE AND STYLED --- */
.pay-card, .pay-cash {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
  box-shadow: 0 2px 10px #0002 !important;
  font-weight: bold !important;
  font-size: 1.15em !important;
  padding: 0.8em 2em !important;
  margin: 0.7em 0.3em !important;
  cursor: pointer !important;
  outline: none !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
  z-index: 10 !important;
}
/* Make h2 in the first section of each page larger and bold like a title */
section:first-of-type h2 {
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  color: #000;
  margin-top: 1.2rem;
  margin-bottom: 1.1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
}
/* --- GLOBAL HEADER STYLES FOR CONSISTENCY --- */
h2, h3 {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.01em;
  color: #000;
}
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
/* Center all section elements on every page */
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* --- PROFESSIONAL CHECKOUT STYLES --- */
#checkout-cart {
  background: none;
  /* box-shadow removed for flat look */
  border-radius: 1.2rem;
  padding: 1rem 0.7rem 1rem 0.7rem;
  max-width: 290px;
  margin: 2.5rem auto 2rem auto;
  border: none;
}
#order-details {
  background: #f8f8f8;
  border-radius: 0.7rem;
  padding: 1.2rem 1rem 1rem 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 6px 0 rgba(0,0,0,0.04);
  border: 1px solid #ececec;
}
#order-details label,
#order-details input,
#order-details textarea,
#order-details select {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
#order-details input,
#order-details textarea,
#order-details select {
  border: 1px solid #bbb;
  border-radius: 0.3rem;
  padding: 0.5rem 0.7rem;
  width: 95%;
  margin-bottom: 0.7rem;
  background: #fff;
  box-sizing: border-box;
}
#order-details textarea {
  min-height: 70px;
  resize: vertical;
}
#order-details input:focus,
#order-details textarea:focus,
#order-details select:focus {
  outline: 2px solid #635bff;
  border-color: #635bff;
}
/* Make the Your Cart section smaller font but keep everything proportional */
#cart {
  font-size: 0.92rem;
  max-width: 320px;
  margin: 1.2rem auto 1.2rem auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
#cart h2 {
  font-size: 1.15rem;
  margin-bottom: 0.7em;
}
#cart-items {
  font-size: 0.95em;
  margin-bottom: 0.7em;
}
#cart-total {
  font-size: 1.08em;
  color: #222;
  margin: 0.7em 0 0.7em 0;
}
#cart-total-bottom {
  font-weight: bold;
  font-size: 1.08em;
  color: #b01111;
  letter-spacing: 0.01em;
  margin: 1.2em 0 1.2em 0;
}
#voucher-section {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}
.voucher-input {
  width: 60%;
  padding: 0.5rem 0.7rem;
  border-radius: 0.3rem;
  border: 1px solid #bbb;
  font-size: 1rem;
}
.voucher-message {
  color: #27ae60;
  margin-top: 0.3rem;
  font-size: 1.05rem;
}
#pay-with-card, #pay-with-cash {
  width: 90%;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
body#index-page {
  text-align: center;
}
body {
  text-align: center;
}
html {
  font-size: 25px;
}
body, body * {
  color: #000 !important;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  text-align: center !important;
}
html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #fff url('pizza-shop-logo.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
  overflow-y: scroll;
}



body > * {
  position: relative;
  z-index: 1;
}
header {
  background: transparent;
  color: #000;
  padding: 1rem;
  text-align: center;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}
.main-nav {
  text-align: center;
  margin-bottom: 1.2rem;
}
.main-nav a {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold !important;
  color: #000;
  text-decoration: none;
  margin: 0 1.2rem;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #b01111;
  text-decoration: underline;
}
.main-heading {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: bold;
  text-align: center;
  margin: 1.2rem 0 0.7rem 0;
  text-decoration: underline;
  letter-spacing: 0.01em;
  text-underline-offset: 0.18em;
}
#contact, #contact address {
  text-align: center;
}
footer#contact {
  background: none !important;
  /* border-top: 1px solid #eee; */
  flex-shrink: 0;
  margin-top: auto;
  padding: 1.5rem 0 0.5rem 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#contact address {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- BUTTON STYLES: ALL BUTTONS BLACK WITH WHITE TEXT --- */
button, .pay-card, .pay-cash {
  border-radius: 0 !important;
  margin: 0.18em 0.08em !important;
  font-weight: 500 !important;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #bbb !important;
  box-shadow: none !important;
  opacity: 1 !important;
  padding: 0.38em 1.05em !important;
  font-size: 1.05em !important;
  cursor: pointer !important;
  text-shadow: none !important;
}
/* --- Menu Item Styling --- */
.menu-item {
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: #3a2a00;
  text-align: left;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  display: block;
  position: static;
  width: auto;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
}
#dynamic-menu {
  background: transparent !important;
  position: relative;
  z-index: 2;
  border-radius: 0;
  padding-bottom: 1.5em;
}
button:active, .menu-item:active, .pay-card:active, .pay-cash:active {
  background: #222 !important;
  color: #fff !important;
  transform: scale(0.96);
}
button:hover, .pay-card:hover, .pay-cash:hover,
button:focus, .pay-card:focus, .pay-cash:focus {
  background: #444 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px #0004 !important;
}
.menu-item:hover, .menu-item:focus {
  background: none !important;
  color: #3a2a00 !important;
  box-shadow: none !important;
}
html {
  font-size: 22px;
}

#menu .menu-heading {
  font-size: 2.7rem;
  font-weight: bold;
  margin-top: 1.2rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
  color: #222;
  text-align: center;
}

#menu .section-heading {
  font-size: 1.4rem;
  font-weight: bold;
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  color: #333;
  text-align: left;
}

.menu-item > strong {
  color: #000;
  font-weight: 700;
  font-size: 1.18em;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px #eee;
}



#dynamic-menu button {
  font-size: 0.75em !important;
  padding: 0.13em 0.55em !important;
  border-radius: 0 !important;
  margin: 0.13em 0.06em !important;
  font-weight: 400 !important;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #bbb !important;
  box-shadow: none !important;
  opacity: 0.92 !important;
}

/* --- Menu select style --- */
#dynamic-menu select {
  background: #e7dacb !important;
  border: none !important;
  color: #3a2a00 !important;
  font-size: 1.05em;
  font-family: 'Segoe UI', Arial, sans-serif !important;
  padding: 0.22em 0.7em;
  border-radius: 6px !important;
  margin-bottom: 0.08em;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  position: relative;
}
#dynamic-menu select::-ms-expand {
  display: none;
}
#dynamic-menu .custom-select-arrow {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 1em;
  height: 1em;
  background: url('data:image/svg+xml;utf8,<svg fill="%233a2a00" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat center center;
  background-size: 1em 1em;
}
/* --- Custom Pizza Banner --- */
/* --- Custom Pizza Section --- */
.custom-pizza-section {
  border: 2px solid #ff9800;
  background: #fff8e1;
  border-radius: 12px;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 8px #ff980033;
  padding: 1.1em 1em 1.2em 1em;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
}
/* --- Toppings List and Items (Custom Pizza Only) --- */
.custom-pizza-section .toppings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
  margin: 0.5em 0 0.5em 0;
  padding: 0.2em 0.1em 0.2em 0.1em;
  background: none;
}
.custom-pizza-section .topping-item {
  display: inline-flex;
  align-items: center;
  background: #e7dacb !important; /* Match new dropdown and checkbox color */
  border: none !important;
  border-radius: 4px !important;
  padding: 0.18em 0.6em 0.18em 0.4em !important;
  font-size: 0.98em !important;
  margin-bottom: 0.2em !important;
  margin-right: 0.2em !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  color: #3a2a00 !important;
  font-weight: bold !important;
  text-shadow: none !important;
}
.custom-pizza-section .toppings-note {
  width: 100%;
  display: block;
  margin-bottom: 0.2em;
}
.custom-pizza-banac0ner {
  background: #ff9800;
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0.7em;
  text-align: center;
  font-size: 1.1em;
  letter-spacing: 0.02em;
}
/* --- Toppings List and Items --- */
.toppings-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
  margin: 0.5em 0 0.5em 0;
  padding: 0.2em 0.1em 0.2em 0.1em;
  background: none;
}
.topping-item {
  display: inline-flex;
  align-items: center;
  background: #e7dacb !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.18em 0.6em 0.18em 0.4em !important;
  font-size: 0.98em !important;
  margin-bottom: 0.2em !important;
  margin-right: 0.2em !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  color: #3a2a00 !important;
  font-weight: bold !important;
  text-shadow: none !important;
}
.toppings-note {
  width: 100%;
  display: block;
  margin-bottom: 0.2em;
}
/* --- Responsive: Mobile Menu Items --- */

input[type="checkbox"] {
  accent-color: #e7dacb !important;
  width: 1.3em;
  height: 1.3em;
  border-radius: 6px !important;
  border: 1px solid #e7dacb !important;
  box-shadow: none !important;
  background: #e7dacb !important;
  outline: none !important;
}
input[type="checkbox"]:checked {
  accent-color: #e7dacb !important;
  background: #e7dacb !important;
  border-color: #e0c97f !important;
}

/* --- Custom Checkbox Styling for Perfect Match with Dropdowns --- */
.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
}
.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 1.3em;
  height: 1.3em;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  cursor: pointer;
}
.custom-checkbox .checkbox-box {
  width: 1.3em;
  height: 1.3em;
  background: #e7dacb !important;
  border: 1px solid #e7dacb !important;
  border-radius: 6px;
  box-shadow: none;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s;
}
.custom-checkbox input[type="checkbox"]:checked + .checkbox-box {
  background: #e7dacb !important;
  border-color: #e0c97f !important;
}
.custom-checkbox .checkbox-box::after {
  content: "";
  display: block;
  position: absolute;
  left: 0.32em;
  top: 0.12em;
  width: 0.5em;
  height: 0.8em;
  border: solid #3a2a00;
  border-width: 0 0.18em 0.18em 0;
  opacity: 0;
  transform: rotate(45deg);
  transition: opacity 0.2s;
}
.custom-checkbox input[type="checkbox"]:checked + .checkbox-box::after {
  opacity: 1;
}
