/* =====================================================
   ORDER MENU PAGE — HERO SECTION
===================================================== */
.pickup-hero {
  width: 100%;
  height: 450px;
  background: url("images/coffee-machines.png") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 60px;
}

.custom-cake-hero {
  width: 100%;
  height: 450px;
  background: url("images/custom-cake.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 60px;
}

.hero-text {
  max-width: 420px;
  background: rgba(255, 255, 255, 0.78);
  padding: 30px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  backdrop-filter: blur(3px);
  text-align: left;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  margin-bottom: 16px;
  color: #222;
}

.hero-text p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
}

.notice-banner {
  width: 100%;
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #ffe3a3;
  background: #fff8e6;
  color: #8a5b00;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.kitchen-busy-banner {
  border: 1px solid #ff9ea6;
  background: linear-gradient(90deg, #fff0f2, #ffe5e8);
  color: #7a0010;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.kitchen-busy-banner::before {
  content: "\26A0";
  font-size: 20px;
}

.schedule-section {
  max-width: 900px;
  margin: 30px auto 10px;
  padding: 18px 20px;
  background: #fafafa;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'DM Sans', sans-serif;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.schedule-subtitle {
  color: #555;
  font-size: 14px;
  margin-top: 4px;
}

.schedule-selection {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  color: #111;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.pickup-scroll-box {
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #e5e5e5;
  background: #f9f9f9;
  border-radius: 10px;
  padding-right: 4px;
}

.pickup-day-btn,
.pickup-time-btn {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: #eee;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s;
}

.pickup-day-btn.active,
.pickup-time-btn.active {
  background: #006aff;
  color: #fff;
}

.pickup-day-btn.disabled,
.pickup-time-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pickup-days,
.pickup-times {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.schedule-lock-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px solid #ffe3a3;
  color: #8a5b00;
  font-size: 14px;
}


/* =====================================================
   MENU LIST + CATEGORY HEADERS
===================================================== */
.menu-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
}

body.kitchen-busy .menu-container {
  position: relative;
}

body.kitchen-busy .menu-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 247, 0.6);
  border-radius: 14px;
  pointer-events: none;
}

body.kitchen-busy .category-tabs button,
body.kitchen-busy .menu-grid .item,
body.kitchen-busy .menu-grid .clickable-item {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(0.2);
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: all 0.18s ease;
}

.tab-button:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.tab-button.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.menu-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Category label */
.menu-category-header {
  margin-top: 35px;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  padding-left: 4px;
  color: #333;
}

.menu-category-header span {
  background: #f2f2f2;
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid #ddd;
  display: inline-block;
}


/* =====================================================
   ITEM CARD STYLING
===================================================== */
.item {
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid #e5e5e5;
}

.item:last-child {
  border-bottom: none;
}

.clickable-item {
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.clickable-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.clickable-item:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.hot-sandwich-item.hot-sandwich-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.hot-sandwich-item.hot-sandwich-disabled:hover,
.hot-sandwich-item.hot-sandwich-disabled:active {
  transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.item-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.clickable-item p {
  margin-top: 8px;
  color: #555;
  font-size: 15px;
  line-height: 1.45;
}

.item-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.inventory-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: #eef8ed;
  color: #1c7c2f;
  border: 1px solid #c7e7c7;
}

.inventory-pill.low-stock {
  background: #fff6e5;
  color: #a86a00;
  border-color: #ffe0a3;
}

.inventory-pill.sold-out {
  background: #fde8e8;
  color: #b20000;
  border-color: #f5b5b5;
}

.clickable-item.inventory-sold-out {
  cursor: not-allowed;
  opacity: 0.65;
}

.clickable-item.inventory-sold-out:hover,
.clickable-item.inventory-sold-out:active {
  transform: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


/* =====================================================
   MOBILE TUNING
===================================================== */
@media (max-width: 500px) {
  .item-header h3 {
    font-size: 17px;
  }

  .price {
    font-size: 17px;
  }

  .clickable-item {
    padding: 18px;
  }
}


/* =====================================================
   CART DRAWER
===================================================== */
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 360px;
  height: 100%;
  background: #fff;
  padding: 24px;
  border-left: 1px solid #ddd;
  box-shadow: -2px 0 5px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 999;
  font-size: 16px;
}

#cart-drawer h2 {
  font-size: 24px;
  margin: 0;
}

.cart-tabs {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
}

.cart-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cart-tab:hover:not(.active) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.cart-tab.active {
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
  transform: translateY(-1px);
  border-width: 2px;
}

.pickup-tab {
  background: #fff;
  color: #111;
}

.pickup-tab.active {
  border-color: #111;
  background: #f9f9f9;
}

.pickup-tab .cart-tab-icon {
  color: #cf9e25;
}

.custom-tab {
  background: #cf9e25;
  color: #fff;
  border-color: #b8871f;
}

.custom-tab.active {
  background: #b8871f;
}

.custom-tab .cart-tab-icon {
  color: #fff;
}

.cart-tab-icon {
  font-size: 22px;
}

.cart-tab-qty {
  min-width: 28px;
  height: 28px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding: 0 8px;
}

.add-more-tab-btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-more-tab-btn.custom {
  border-color: #b8871f;
  background: #fff8e6;
  color: #8a5b00;
}

.add-more-tab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.add-more-tab-btn.custom:hover {
  background: #f6d479;
}

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.cart-controls button {
  padding: 4px 10px;
  border: none;
  background: #eee;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.cart-controls button:hover {
  background: #ddd;
}

#cart-total {
  margin-top: 12px;
  font-size: 18px;
}

.continue-btn {
  margin-top: 22px;
  width: 100%;
  padding: 12px;
  background: #111;
  border: none;
  color: #fff;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.continue-btn:hover {
  opacity: 0.85;
}

.continue-btn-gold {
  background: #cf9e25;
  color: #fff;
}

.cart-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-section-icon {
  font-size: 22px;
  color: #cf9e25;
}

.cart-empty-state {
  color: #666;
  margin: 8px 0;
}

.cart-section-row {
  margin-bottom: 14px;
}

.cart-row-main {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-variation {
  font-size: 13px;
  color: #555;
}

.cart-modifier {
  font-size: 13px;
  color: #666;
  margin-left: 10px;
}

.cart-row-meta {
  text-align: right;
}

.cart-row-price {
  font-weight: 700;
}

.cart-subtotal {
  font-weight: 700;
}

.cart-proceed {
  margin-bottom: 14px;
}

.custom-title {
  color: #b8871f;
}
