/* v078.00 특별메뉴 전용 장바구니 - 일반 장바구니와 분리 */
.special-cart-action{grid-area:specialAction;grid-column:auto;display:flex;align-items:center;gap:8px;min-width:0}
.special-cart-add{width:100%;min-height:44px;border:0;border-radius:12px;background:#f97316;color:#fff;font-size:14px;font-weight:900;cursor:pointer}
.special-cart-add:hover{filter:brightness(.97)}
.special-cart-stepper{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;border:1px solid #fed7aa;background:#fff7ed;border-radius:12px;overflow:hidden}
.special-cart-stepper[hidden]{display:none!important}
.special-cart-stepper button{height:44px;border:0;background:#fff;color:#9a3412;font-size:22px;font-weight:900;cursor:pointer}
.special-cart-stepper button:disabled{opacity:.45;cursor:not-allowed}
.special-cart-stepper strong{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;color:#7c2d12}
.special-cart-stepper strong span{font-size:13px;color:#9a3412;font-weight:800}
.special-cart-bar{position:fixed;left:50%;bottom:86px;transform:translateX(-50%);z-index:9998;width:min(720px,calc(100% - 28px));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px 11px 16px;border-radius:18px;background:rgba(17,24,39,.96);color:#fff;box-shadow:0 14px 34px rgba(15,23,42,.28);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.special-cart-bar[hidden]{display:none!important}
.special-cart-bar-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.special-cart-bar-copy strong{font-size:15px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.special-cart-bar-copy span{font-size:13px;color:#fed7aa;font-weight:800}
.special-cart-bar-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:13px;background:#f97316;color:#fff;text-decoration:none;font-size:14px;font-weight:900;white-space:nowrap}
.special-cart-mini-note{display:block;margin-top:5px;font-size:13px;color:#6b7280;font-weight:700}
@media(min-width:900px){
  .special-cart-bar{bottom:106px;width:min(820px,calc(100% - 40px));padding:12px 14px 12px 18px}
  .special-cart-bar-copy strong{font-size:16px}
  .special-cart-bar-copy span,.special-cart-mini-note{font-size:13px}
  .special-cart-bar-link{min-height:48px;font-size:15px;padding:0 22px}
}
@media(max-width:480px){
  .special-cart-bar{bottom:76px;width:calc(100% - 18px);gap:8px;padding:9px 9px 9px 12px;border-radius:15px}
  .special-cart-bar-copy strong{font-size:14px}
  .special-cart-bar-copy span{font-size:13px}
  .special-cart-bar-link{min-height:44px;padding:0 13px;font-size:14px}
  .special-cart-stepper{grid-template-columns:42px minmax(0,1fr) 42px}
}

/* 특별메뉴 묶음예약 checkout */
.special-cart-product-list{display:grid;gap:10px;width:100%}
.special-cart-product-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid #f1f5f9;border-radius:14px;background:#fff}
.special-cart-product-row img,.special-cart-product-placeholder{width:64px;height:64px;border-radius:12px;object-fit:cover;background:#fff7ed;display:flex;align-items:center;justify-content:center;font-size:24px}
.special-cart-product-copy{min-width:0}
.special-cart-product-copy strong{display:block;font-size:15px;line-height:1.35;color:#111827;word-break:keep-all}
.special-cart-product-copy span{display:block;margin-top:4px;font-size:13px;color:#6b7280;font-weight:700}
.special-cart-product-price{text-align:right;white-space:nowrap}
.special-cart-product-price strong{display:block;font-size:15px;color:#111827}
.special-cart-product-price span{display:block;margin-top:3px;font-size:13px;color:#f97316;font-weight:900}
.special-cart-edit-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #fed7aa;border-radius:11px;background:#fff7ed;color:#9a3412;text-decoration:none;font-size:13px;font-weight:900}
.special-cart-summary-items{display:grid;gap:7px;margin:4px 0 12px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}
.special-cart-summary-item{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#4b5563}
.special-cart-summary-item strong{color:#111827;text-align:right}
.special-cart-complete-list{display:grid;gap:8px;margin:14px 0}
.special-cart-complete-item{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.special-cart-complete-item span,.special-cart-complete-item strong{font-size:13px}
@media(max-width:620px){
  .special-cart-product-row{grid-template-columns:56px minmax(0,1fr);gap:9px}
  .special-cart-product-row img,.special-cart-product-placeholder{width:56px;height:56px}
  .special-cart-product-price{grid-column:2;text-align:left;display:flex;gap:8px;align-items:center}
}
.special-cart-history-card{display:grid;gap:12px}
.special-cart-history-items{display:grid;gap:7px;padding:10px 0;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9}
.special-cart-history-items>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:13px;color:#4b5563}
.special-cart-history-items>div span{min-width:0;line-height:1.45;word-break:keep-all}
.special-cart-history-items>div strong{flex:0 0 auto;font-size:13px;color:#111827;white-space:nowrap}
.special-history-status.mixed{background:#f3f4f6;color:#4b5563}
.special-cart-action .special-menu-reserve-btn.special-cart-add{grid-area:auto!important;width:100%!important;min-width:0!important;justify-self:stretch!important;margin:0!important;background:linear-gradient(135deg,#f97316,#ea580c)!important;box-shadow:0 6px 14px rgba(234,88,12,.16)!important}

.special-cart-bar.with-regular-cart{bottom:146px}
@media(min-width:900px){.special-cart-bar.with-regular-cart{bottom:172px}}
/* v078.00 묶음예약 완료/예약내역 보조 스타일 */
.special-complete-app{min-height:100vh;padding:28px 16px;display:flex;align-items:center;justify-content:center;background:#f4f5f7}
.special-complete-card{width:min(620px,100%);padding:26px;border:1px solid #e7e9ee;border-radius:22px;background:#fff;box-shadow:0 16px 40px rgba(17,24,39,.08)}
.special-complete-icon{width:64px;height:64px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#fff2e8;color:#ea580c;font-size:32px;font-weight:950}
.special-complete-card>span{display:block;text-align:center;color:#ea580c;font-size:13px;font-weight:900}
.special-complete-card>h1{margin:5px 0 8px;text-align:center;font-size:24px;line-height:1.3;letter-spacing:-.04em}
.special-complete-card>p{margin:0 0 18px;text-align:center;color:#667085;font-size:14px}
.special-complete-number{margin:14px 0;padding:14px;border:1px solid #fed7aa;border-radius:14px;background:#fff7ed;text-align:center}
.special-complete-number span,.special-complete-number small{display:block;font-size:13px;color:#7c5a3a}
.special-complete-number strong{display:block;margin:3px 0;font-size:20px;color:#9a3412}
.special-complete-detail{display:grid;gap:0;margin-top:14px;border:1px solid #e7e9ee;border-radius:14px;overflow:hidden}
.special-complete-detail>div{display:flex;justify-content:space-between;gap:14px;padding:11px 13px;border-bottom:1px solid #eef0f3;font-size:13px}
.special-complete-detail>div:last-child{border-bottom:0}
.special-complete-detail span{color:#667085}.special-complete-detail strong{color:#111827;text-align:right}
.special-complete-detail .full{display:grid;gap:4px}
.special-complete-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.special-complete-actions a{min-height:46px;display:flex;align-items:center;justify-content:center;border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#9a3412;text-decoration:none;font-size:14px;font-weight:900}
.special-complete-actions a:first-child{border-color:#f97316;background:#f97316;color:#fff}
.special-history-app{min-height:100vh;background:#f4f5f7}
.special-history-body{width:min(760px,100%);margin:0 auto;padding:18px 14px 80px}
.special-history-member-head,.special-history-lookup,.special-history-empty{margin-bottom:14px;padding:18px;border:1px solid #e7e9ee;border-radius:17px;background:#fff}
.special-history-member-head>span,.special-history-lookup>span{color:#ea580c;font-size:13px;font-weight:900}
.special-history-member-head h2,.special-history-lookup h2,.special-history-empty h2{margin:4px 0 5px;font-size:19px;line-height:1.35}
.special-history-member-head p,.special-history-lookup p{margin:0;color:#667085;font-size:13px;line-height:1.5}
.special-history-lookup form{display:grid;grid-template-columns:1fr 150px auto;gap:8px;margin-top:12px}
.special-history-lookup input{min-height:44px;padding:0 11px;border:1px solid #d9dee7;border-radius:10px;background:#fff;font-size:14px}
.special-history-lookup button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:#f97316;color:#fff;font-size:14px;font-weight:900}
.special-history-list{display:grid;gap:12px}
.special-history-card{padding:16px;border:1px solid #e7e9ee;border-radius:17px;background:#fff;box-shadow:0 6px 18px rgba(17,24,39,.04)}
.special-history-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.special-history-card-head>div span{display:block;color:#667085;font-size:13px}.special-history-card-head>div strong{display:block;margin-top:2px;font-size:17px;color:#111827}
.special-history-status{display:inline-flex;min-height:30px;align-items:center;padding:0 10px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:13px;font-weight:900}
.special-history-status.completed{background:#ecfdf3;color:#047857}.special-history-status.cancelled,.special-history-status.noshow{background:#fef2f2;color:#b91c1c}.special-history-status.ready{background:#eff6ff;color:#1d4ed8}
.special-history-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px;border-top:1px solid #eef0f3}
.special-history-info>div{display:flex;justify-content:space-between;gap:10px;padding:10px 6px;border-bottom:1px solid #f2f4f6;font-size:13px}
.special-history-info span{color:#667085}.special-history-info strong{text-align:right;color:#111827}
.special-history-empty{text-align:center}.special-history-empty>span{font-size:30px}.special-history-empty a{display:inline-flex;margin-top:10px;min-height:42px;align-items:center;padding:0 14px;border-radius:10px;background:#f97316;color:#fff;text-decoration:none;font-size:14px;font-weight:900}
@media(max-width:620px){
  .special-complete-app{padding:14px 10px;align-items:flex-start}.special-complete-card{padding:18px 13px;border-radius:17px}.special-complete-card>h1{font-size:21px}
  .special-complete-actions{grid-template-columns:1fr}
  .special-history-body{padding:12px 10px 76px}.special-history-card{padding:13px}.special-history-info{grid-template-columns:1fr}
  .special-history-lookup form{grid-template-columns:1fr}.special-history-lookup input,.special-history-lookup button{width:100%}
}
.special-history-app>.special-reservation-header{position:sticky;top:0;z-index:20;min-height:64px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 16px;border-bottom:1px solid #e7e9ee;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.special-history-app>.special-reservation-header button{width:40px;height:40px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;color:#111827;font-size:28px;line-height:1}
.special-history-app>.special-reservation-header>div{min-width:0}.special-history-app>.special-reservation-header>div span{display:block;color:#ea580c;font-size:13px;font-weight:900}.special-history-app>.special-reservation-header h1{margin:1px 0 0;font-size:18px;line-height:1.25}.special-history-app>.special-reservation-header>a{display:inline-flex;min-height:38px;align-items:center;padding:0 12px;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed;color:#9a3412;text-decoration:none;font-size:13px;font-weight:900}


/* v078.01 메인 선예약 카드 장바구니 수량조절 표시 보정
   - PC/모바일 모두 메뉴 이미지+정보 아래 전체 폭 사용
   - "2개 담김" 문구 줄바꿈 방지 */
.special-menu-showcase-card .special-cart-action{
  grid-area:specialAction!important;
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  margin-top:2px!important;
  display:block!important;
}
.special-menu-showcase-card .special-cart-action .special-cart-add{
  width:100%!important;
  min-height:46px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:14px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.special-menu-showcase-card .special-cart-stepper{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  grid-template-columns:48px minmax(110px,1fr) 48px!important;
  align-items:stretch!important;
  border:1px solid #fed7aa!important;
  border-radius:12px!important;
  background:#fff7ed!important;
  overflow:hidden!important;
}
.special-menu-showcase-card .special-cart-stepper button{
  width:48px!important;
  min-width:48px!important;
  height:46px!important;
  min-height:46px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#9a3412!important;
  font-size:22px!important;
  line-height:1!important;
  font-weight:950!important;
}
.special-menu-showcase-card .special-cart-stepper strong{
  min-width:0!important;
  min-height:46px!important;
  padding:0 10px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:#7c2d12!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:950!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow:hidden!important;
}
.special-menu-showcase-card .special-cart-stepper strong b,
.special-menu-showcase-card .special-cart-stepper strong span{
  display:inline!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
}
.special-menu-showcase-card .special-cart-stepper strong span{
  color:#9a3412!important;
}
@media(max-width:380px){
  .special-menu-showcase-card .special-cart-stepper{
    grid-template-columns:44px minmax(96px,1fr) 44px!important;
  }
  .special-menu-showcase-card .special-cart-stepper button{
    width:44px!important;
    min-width:44px!important;
  }
  .special-menu-showcase-card .special-cart-stepper strong,
  .special-menu-showcase-card .special-cart-stepper strong b,
  .special-menu-showcase-card .special-cart-stepper strong span{
    font-size:13px!important;
  }
}

/* v078.07 특별 장바구니 주문페이지 수량 UI - /cart.php와 동일한 조작감 */
.special-cart-product-row{
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
}
.special-cart-product-info{min-width:0}
.special-cart-product-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
}
.special-cart-product-copy{min-width:0}
.special-cart-product-subtotal{
  flex:0 0 auto;
  color:#111827;
  font-size:16px;
  font-weight:950;
  white-space:nowrap;
}
.special-cart-product-bottom{
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.special-cart-product-row .cart-qty{
  display:grid;
  grid-template-columns:30px 34px 30px;
  align-items:center;
  height:30px;
  overflow:hidden;
  border:1px solid #dfe3e8;
  border-radius:9px;
  background:#fff;
}
.special-cart-product-row .cart-qty button{
  width:30px;
  height:30px;
  padding:0;
  border:0;
  background:#f8f9fb;
  color:#374151;
  font-size:17px;
  font-weight:700;
  cursor:pointer;
}
.special-cart-product-row .cart-qty span{
  text-align:center;
  color:#111827;
  font-size:15px;
  font-weight:900;
}
.special-cart-product-row .cart-remove-btn{
  min-width:45px;
  height:30px;
  padding:0 9px;
  border:0;
  border-radius:8px;
  background:#f3f4f6;
  color:#6b7280;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.special-cart-product-row .cart-qty button:disabled,
.special-cart-product-row .cart-remove-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
  background:#f1f5f9;
  color:#94a3b8;
}
@media(max-width:620px){
  .special-cart-product-row{grid-template-columns:56px minmax(0,1fr);gap:9px}
  .special-cart-product-row img,.special-cart-product-placeholder{width:56px;height:56px}
}
@media(max-width:360px){
  .special-cart-product-row .cart-qty{
    grid-template-columns:28px 30px 28px;
    height:28px;
  }
  .special-cart-product-row .cart-qty button{
    width:28px;
    height:28px;
  }
  .special-cart-product-row .cart-remove-btn{height:28px}
}
@media(min-width:900px){
  .special-cart-product-bottom{margin-top:16px}
  .special-cart-product-row .cart-qty{
    grid-template-columns:34px 42px 34px;
    height:34px;
    border-radius:10px;
  }
  .special-cart-product-row .cart-qty button{
    width:34px;
    height:34px;
    font-size:18px;
  }
  .special-cart-product-row .cart-remove-btn{
    min-width:52px;
    height:34px;
    font-size:13px;
  }
}

/* v078.08 특별 장바구니 하단 주문서 - /order.php UI/UX 통일 */
.special-reservation-left > .order-form-card{
  margin:0;
}
.special-order-card{
  min-width:0;
}
.special-order-badge{
  display:inline-flex;
  min-height:30px;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:1px solid #fed7aa;
  border-radius:999px;
  background:#fff7ed;
  color:#c2410c;
  font-size:13px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.special-receive-date-field{
  margin-top:16px;
}
.special-delivery-rule-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.special-order-card .field-block select{
  min-height:44px;
  font-size:15px;
}
/* order.css의 일부 예전 소형 텍스트가 특별장바구니에서 12px 이하로 내려가지 않게 보강 */
.special-order-card .receive-tabs small,
.special-order-card .pay-options small,
.special-order-card .field-block label,
.special-order-card .field-block label .optional,
.special-order-card .time-picker-copy small,
.special-order-card .time-range-note,
.special-order-card .saved-address-head span,
.special-order-card .saved-address-head a,
.special-order-card .saved-address-chip,
.special-order-card .saved-address-chip small,
.special-order-card .delivery-address-preview-row span,
.special-order-card .delivery-address-preview p,
.special-order-card .delivery-fee-guide-head span,
.special-order-card .delivery-fee-rule-list span,
.special-order-card .delivery-fee-rule-list strong,
.special-order-card .delivery-fee-note,
.special-order-card .delivery-fee-selected span,
.special-order-card .delivery-fee-selected strong,
.special-order-card .delivery-request-select-copy small,
.special-order-card .delivery-request-help,
.special-order-card .member-prefill-note,
.special-order-card .member-warning-note,
.special-order-card .member-autofill-guide p,
.special-order-card .guest-saved-info-guide p,
.special-order-card .guest-saved-info-guide button{
  font-size:13px!important;
}
@media(max-width:620px){
  .special-delivery-rule-list{grid-template-columns:1fr}
  .special-order-badge{min-height:28px;padding:0 9px}
}


/* v078.19 특별 장바구니 전체삭제 - 일반 /cart.php와 같은 보조버튼 느낌 */
.special-cart-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:2px;
}
.special-cart-section-head .special-form-title{
  flex:1 1 auto;
  min-width:0;
  margin:0;
}
.special-cart-clear-btn{
  flex:0 0 auto;
  min-width:62px;
  height:30px;
  padding:0 10px;
  border:1px solid #dfe3e8;
  border-radius:999px;
  background:#fff;
  color:#697386;
  font-size:13px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
}
.special-cart-clear-btn:disabled{
  opacity:.4;
  cursor:default;
}
@media(max-width:620px){
  .special-cart-section-head{align-items:center;gap:8px}
  .special-cart-clear-btn{
    min-width:68px;
    height:34px;
    padding:0 11px;
    font-size:13px;
  }
}
