/* =========================================
   delivery-page / style.css
   ========================================= */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── 전체 레이아웃 ── */
body {
  font-family: 'Noto Sans KR', sans-serif;
  background: #FFF8F0;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.page {
  width: 100%;
  max-width: 420px;   /* 모바일 최대 너비 */
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── 헤더 ── */
.header {
  background: #FFCF40;
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 3px solid #F5A623;
}

.header-icon {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.header-text h1 {
  font-size: 20px;
  font-weight: 900;
  color: #3D2000;
  line-height: 1.2;
}

.header-text p {
  font-size: 12px;
  font-weight: 500;
  color: #7A4800;
  margin-top: 2px;
}

/* ── 히어로 ── */
.hero {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #2D1A0E;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

/* 이미지 없을 때 폴백 */
.hero-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3D1A00 0%, #7A3B00 40%, #C46200 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.hero-overlay h2 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}

/* ── 버튼 영역 ── */
.buttons {
  padding: 20px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 4px;
}

/* ── 공통 버튼 ── */
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn:active {
  transform: scale(0.97);
  filter: brightness(0.92);
}

.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.btn-label { flex: 1; }

.btn-arrow {
  font-size: 20px;
  opacity: 0.55;
}

/* ── 브랜드 색상 ── */
/*  ✏️ 색상 바꾸고 싶으면 여기서 수정  */
.baemin  { background: #2AC1BC; color: #fff; }
.coupang { background: #fff;    color: #1A1A2E; border: 2px solid #E0E0E0; }
.ddangyo { background: #FF7800; color: #fff; }
.yogiyo  { background: #FA2D72; color: #fff; }
.kakao   { background: #FEE500; color: #3C1E1E; }
.call    { background: #F1F3F5; color: #2D3748; }
.naver   { background: #03C75A; color: #fff; }
.custom  { background: #5B4FE8; color: #fff; }  /* 추가 버튼 기본 색 */

/* 쿠팡 아이콘은 배경 없이 */
.coupang .btn-icon { background: transparent; }

/* 전화 버튼 레이블 */
.phone-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.phone-label small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.6;
  line-height: 1;
}

.phone-label strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ── 푸터 ── */
.footer {
  margin-top: auto;
  padding: 16px 20px 28px;
  border-top: 1px solid #F0EEEA;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: #B0AAA0;
  line-height: 1.7;
}

/* ── 데스크탑에서 카드처럼 보이게 ── */
@media (min-width: 420px) {
  .page {
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    border-radius: 24px;
    overflow: hidden;
    min-height: auto;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}
