.sticky-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sticky-cart-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 8px 10px;
}

.sticky-cart-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #ff3b30;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.sticky-cart-total {
  font-weight: 800;
}

.sticky-cart-cta {
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ff8c00;
  color: #fff;
  font-weight: 900;
}

/* 하단바 때문에 컨텐츠 마지막이 가려지는 문제 방지 */
.app-menu {
  padding-bottom: 70px;
}


/* 리스트 썸네일 크기 고정 */
.content-menu-item .menu-item .thumbnail {
  width: 120px;
  /* 원하는 값으로 조절 */
  height: 120px;
  /* width와 동일하게 */
  flex: 0 0 120px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
}

/* 이미지가 박스를 꽉 채우게 */
.content-menu-item .menu-item .thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* 비율 유지하며 잘라서 맞춤 */
}

/* TIME OUT 배지 크기 축소 */
.item-sold-out.text-success {
  position: absolute;
  /* 기존 위치 유지 */
  top: 10px;
  right: 10px;
}

.item-sold-out.text-success span {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 4px 10px;
  /* 🔽 핵심 */
  font-size: 12px;
  /* 🔽 글자 줄이기 */
  font-weight: 800;

  border-radius: 999px;
  /* pill badge */
  background: rgba(34, 197, 94, .12);
  color: #16a34a;

  line-height: 1;
}

/* 시계 아이콘도 같이 축소 */
.item-sold-out.text-success i {
  width: 14px;
  height: 14px;
}

/* SOLD OUT 배지 전체 크기 줄이기 */
.content-menu-item .item-sold-out {
  padding: 6px 10px !important;
  border-width: 1px !important;
  border-radius: 8px !important;
}

/* SOLD OUT 텍스트 */
.content-menu-item .item-sold-out span {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
}

/* 아이콘 크기 줄이기 */
.content-menu-item .item-sold-out i {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}

/* --------------------------------------
/* 프로모션 
-------------------------------------- */

/* overlay */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: none;
  /* default hidden */
  align-items: center;
  justify-content: center;
  padding: 14px;
}

/* modal */
.promo-modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  position: relative;
  animation: promoPop 180ms ease-out;
}

@keyframes promoPop {
  from {
    transform: translateY(10px);
    opacity: 0.6;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* close btn */
.promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:active {
  transform: scale(0.98);
}

/* image */
.promo-img {
  width: 100%;
  display: block;
  background: #f3f4f6;
  aspect-ratio: 4/3;
  /* keep shape even if slow loading */
  object-fit: cover;
}

/* body */
.promo-body {
  padding: 16px 16px 14px;
}

.promo-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.25;
}

.promo-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.45;
}

.promo-badge {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff3cd;
  color: #856404;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}

.promo-note {
  font-size: 12px;
  color: #777;
  line-height: 1.35;
  margin: 0;
}

/* actions */
.promo-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
}

.promo-btn {
  flex: 1;
  border: 0;
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.promo-btn-primary {
  background: #111827;
  color: #fff;
}

.promo-btn-ghost {
  background: #f3f4f6;
  color: #111827;
}

/* small screens */
@media (max-width: 360px) {
  .promo-title {
    font-size: 17px;
  }
}

/* ✅ Delivery Slim Hero Banner (Image) */
.delivery-hero {
  margin: 10px 12px 8px 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 86px;
}

@media (max-width: 480px) {
  .delivery-hero {
    min-height: 74px;
  }
}

#delivery_closed_banner {
  word-break: keep-all;
  line-height: 1.25;
}

#delivery_closed_banner b {
  font-weight: 800;
}

.today-order-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin: 4px 0 6px 0;
  background: #fff3cd;
  color: #856404;
}