:root {
  --color-dark: #111111;
  --color-gray-dark: #333333;
  --color-gray-light: #f8f8f7;
  --color-border: #e5e5e5;
  --color-accent-amber: #d97706;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", sans-serif;
  --container-max: 1140px;
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background: #ffffff; color: var(--color-dark); line-height: 1.8; font-size: 15px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: var(--container-max); margin: 0 auto; }

.be-header { background: #ffffff; border-bottom: 2px solid var(--color-dark); position: sticky; top: 0; z-index: 1000; padding: 18px 0; }
.be-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.be-brand { white-space: nowrap; }
.be-brand h1, .be-brand .logo-text { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.be-brand .logo-sub { font-size: 10px; color: #666; letter-spacing: 0.15em; white-space: nowrap; }
.be-nav { display: flex; list-style: none; gap: 24px; font-size: 13.5px; font-weight: 700; }
.be-nav li, .be-nav a { white-space: nowrap; }
.be-nav a:hover { opacity: 0.6; }
.btn-be-takeout { background: var(--color-dark); color: #fff; padding: 9px 20px; font-size: 13px; font-weight: 800; border-radius: 20px; white-space: nowrap; display: inline-block; }

.hero-be {
  background: linear-gradient(rgba(0,0,0,0.32), rgba(0,0,0,0.48)),
              url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff; padding: 120px 0 100px; text-align: center;
}
.hero-be .pill { display: inline-block; background: #fff; color: var(--color-dark); font-size: 11.5px; font-weight: 800; padding: 4px 16px; border-radius: 20px; margin-bottom: 20px; white-space: nowrap; }
.hero-be h2 { font-size: 42px; font-weight: 900; line-height: 1.35; margin-bottom: 20px; letter-spacing: -0.01em; color: #fff; }
.hero-be p.lead { font-size: 16px; color: #f5f5f5; max-width: 640px; margin: 0 auto 36px; line-height: 1.9; }

.sec-be { padding: 80px 0; }
.sec-head-be { text-align: center; margin-bottom: 50px; }
.sec-head-be .sub { font-size: 11px; font-weight: 800; color: #888; letter-spacing: 0.25em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.sec-head-be h2 { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; }

.timeline-box { max-width: 800px; margin: 0 auto; border: 2px solid var(--color-dark); border-radius: 6px; overflow: hidden; background: #fff; }
.baking-timeline-row { display: grid; grid-template-columns: 120px 1fr 140px; padding: 18px 24px; border-bottom: 1px solid var(--color-border); align-items: center; }
.baking-timeline-row:last-child { border-bottom: none; }
.baking-timeline-row.is-current { background: #fff1f2; }
.time-col { font-size: 20px; font-weight: 900; color: var(--color-dark); white-space: nowrap; }
.bread-info h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.bread-info p { font-size: 12.5px; color: #666; }
.status-pill { background: #f5f5f4; border: 1px solid var(--color-border); color: #333; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 20px; text-align: center; white-space: nowrap; display: inline-block; }

.shop-city-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.shop-city-btn { background: #fff; border: 1px solid var(--color-border); padding: 8px 20px; font-size: 13px; font-weight: 700; border-radius: 20px; cursor: pointer; white-space: nowrap; transition: var(--transition); }
.shop-city-btn.is-active, .shop-city-btn:hover { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.shop-grid-be { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shop-loc-card { border: 1px solid var(--color-border); border-radius: 6px; padding: 24px; background: #fafafa; }
.shop-loc-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.shop-loc-card p { font-size: 12.5px; color: #666; line-height: 1.8; }

.order-box-be { background: #fafafa; border: 2px solid var(--color-dark); border-radius: 6px; padding: 36px; max-width: 760px; margin: 0 auto; }
.order-grid-be { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-group-be { display: flex; flex-direction: column; gap: 6px; }
.order-group-be label { font-size: 13px; font-weight: 700; }
.order-ctrl-be { padding: 11px; border: 1px solid #d4d4d4; border-radius: 4px; font-family: inherit; font-size: 14px; background: #fff; width: 100%; }

.be-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.be-modal.is-active { opacity: 1; visibility: visible; }
.be-modal-card { background: #fff; padding: 32px; border-radius: 6px; max-width: 500px; width: 90%; border: 2px solid var(--color-dark); position: relative; }
.be-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; }

.be-footer { background: var(--color-dark); color: #fff; padding: 60px 0 24px; font-size: 13px; }
.be-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.be-footer h4 { color: #fff; font-size: 14px; font-weight: 800; border-bottom: 1px solid #333; padding-bottom: 8px; margin-bottom: 12px; }

@media (max-width: 992px) {
  .be-nav { display: none; }
  .baking-timeline-row { grid-template-columns: 90px 1fr; gap: 10px; }
  .status-pill { grid-column: 1 / -1; }
  .shop-grid-be { grid-template-columns: 1fr; }
  .order-grid-be { grid-template-columns: 1fr; }
  .be-footer-grid { grid-template-columns: 1fr; }
  .order-box-be { padding: 24px 18px; }
}

@media (max-width: 768px) {
  .hero-be { padding: 72px 0 60px; }
  .hero-be h2 { font-size: 26px; }
  .sec-head-be h2 { font-size: 24px; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="display:flex"][style*="gap:3"] { flex-wrap: wrap !important; gap: 12px !important; }
}
