/* ===================== RESET & VARIABLES ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #eaad06;
  --gold-light: #E8C97A;
  --gold-pale: #FAF3E0;
  --gold-dim: #d5c29e;
  --white: #FFFFFF;
  --off-white: #FDFBF7;
  --text-dark: #111111;
  --text-muted: #8a7a5a;
  --border: rgba(201, 168, 76, 0.2);
  --border-strong: rgba(201, 168, 76, 0.5);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --max: 1140px;
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 16px;            /* was 30px */
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===================== HEADER ===================== */
.seaside-page-header {
  position: relative;
  width: 100%;
  height: 84px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 66px;
  background: #1a1208;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.seaside-brand {
  display: inline-flex;
  flex-direction: column;
  color: #f5ead5;
  transition: opacity 0.25s ease;
}
.seaside-brand:hover { opacity: 0.8; }

.seaside-brand-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.12em;
}

.seaside-brand-branch {
  margin-top: 8px;
  margin-left: 74px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1;
  color: #d7aa4b;
}

.seaside-main-nav { display: flex; align-items: center; gap: 34px; }

.seaside-main-nav a,
.seaside-main-nav .glf-button {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}
.seaside-main-nav a:hover,
.seaside-main-nav .glf-button:hover { color: var(--gold-light); }

/* ===================== SECTION HEADER ===================== */
.section-header {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after { content: ''; width: 32px; height: 1px; background: var(--gold-dim); }

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-header h2 em { font-style: italic; color: var(--gold); }

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

/* ===================== ORDER CARDS ===================== */
.order-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
}

.order-card {
  flex: 0 1 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.order-card::before {
  content: '';
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.order-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26,18,8,0.1), 0 0 0 1px var(--border-strong);
  border-color: var(--border-strong);
}

/* Official (takeout) card: dark */
.order-card.is-official { background: var(--text-dark); border-color: rgba(201,168,76,0.4); }
.order-card.is-official::before { background: linear-gradient(to right, transparent, var(--gold-light), transparent); }
.order-card.is-official:hover { box-shadow: 0 24px 60px rgba(234,173,6,0.15), 0 0 0 1px var(--gold); border-color: var(--gold); }

.order-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.order-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 18px;
  flex-shrink: 0;
  background: var(--gold-pale);
  border: 1px solid var(--border);
}
.order-card.is-official .order-icon { background: rgba(234,173,6,0.12); border-color: rgba(234,173,6,0.3); }

.order-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.order-card.is-official .order-name { color: var(--white); }

.order-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}
.order-card.is-official .order-desc { color: rgba(255,255,255,0.6); }

/* ===================== BUTTONS ===================== */
.order-btn {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--text-dark);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.order-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,173,6,0.3); }

.order-card:not(.is-official) .order-btn { background: transparent; color: #9a6f00; border: 1px solid var(--gold); }
.order-card:not(.is-official) .order-btn:hover { background: var(--gold); color: var(--text-dark); }

/* ===================== INFO BANNER ===================== */
.info-banner { max-width: var(--max); margin: 0 auto 64px; padding: 0 24px; }

.info-banner-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-pale), var(--off-white));
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.info-icon { font-size: 1.8rem; }
.info-text { flex: 1; min-width: 220px; }

.info-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-text p { font-size: 14px; color: var(--text-muted); font-weight: 400; line-height: 1.6; }

.info-call {
  display: inline-block;
  padding: 12px 24px;
  background: var(--text-dark);
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.info-call:hover { background: var(--gold); color: var(--text-dark); }

/* ===================== BACK TO TOP ===================== */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(234,173,6,0.45);
  z-index: 99;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--text-dark);
  color: var(--gold-dim);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 300;
  border-top: 1px solid rgba(234,173,6,0.15);
}
.footer a { color: var(--gold); }

/* ===================== MOBILE ===================== */
@media (max-width: 600px) {
  .seaside-page-header { height: 70px; padding: 0 24px; }
  .seaside-brand-name { font-size: 25px; }
  .seaside-brand-branch { margin-top: 6px; margin-left: 55px; font-size: 7px; }
  .seaside-main-nav { gap: 14px; }
  .seaside-main-nav a, .seaside-main-nav .glf-button { font-size: 11px; }

  .section-header { padding: 32px 20px 16px; }
  .order-grid { padding: 12px 20px 36px; gap: 22px; }
  .order-card { flex: 1 1 100%; padding: 34px 24px 28px; }
  .info-banner { padding: 0 20px; }
  .info-banner-inner { padding: 22px 20px; }
  .info-call { width: 100%; text-align: center; }
}

/* =====================================================================
   OVERRIDES (win over shared.css; scoped with body.order-page)
===================================================================== */

/* --- Compact section headings (takeout + delivery) --- */
body.order-page .section-header { padding: 20px 20px 4px; }
body.order-page .section-eyebrow { font-size: 10px; margin-bottom: 6px; }
body.order-page .section-header h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 4px;
}
body.order-page .section-header p {
  font-size: 14px;
  line-height: 1.5;
  max-width: none;
}

/* --- Cards: no forced height, tighter padding --- */
body.order-page .order-grid { padding: 14px 20px 28px; gap: 24px; }
body.order-page .takeout-section .order-card,
body.order-page .delivery-section .order-card {
  min-height: 0;
  padding: 32px 28px 28px;
}
body.order-page .delivery-section .order-card { flex: 0 1 360px; }
body.order-page .takeout-section .order-card { flex: 0 1 400px; }

body.order-page .order-icon,
body.order-page .delivery-section .order-icon {
  width: 60px; height: 60px; font-size: 1.7rem;
  border-radius: 16px; margin-bottom: 14px;
}
body.order-page .order-name,
body.order-page .delivery-section .order-name { font-size: 1.5rem; margin-bottom: 6px; }
body.order-page .order-desc,
body.order-page .delivery-section .order-desc {
  font-size: 14px; line-height: 1.6; margin-bottom: 16px;
}

/* --- Buttons: normal case, no wide letter-spacing --- */
body.order-page .order-btn,
body.order-page .delivery-section .order-btn {
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 13px 20px;
}

/* --- Nav ORDER button: match HOME / MENU / 予約 (Gloria adds its own orange style) --- */
body.order-page .seaside-main-nav .glf-button {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
}
body.order-page .seaside-main-nav .glf-button:hover { color: var(--gold-light) !important; }

/* --- Info banner --- */
body.order-page .info-banner { margin-bottom: 40px; }
body.order-page .info-call { font-size: 15px; padding: 11px 22px; }

@media (max-width: 600px) {
  body.order-page .section-header { padding: 16px 20px 0; }
  body.order-page .order-grid { padding: 12px 16px 24px; gap: 18px; }
  body.order-page .delivery-section .order-card,
  body.order-page .takeout-section .order-card { flex: 1 1 100%; padding: 28px 22px 24px; }
}

/* --- Info lines inside delivery cards (same look as the card description) --- */
body.order-page .order-card .order-points {
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--border) !important;
  text-align: center !important;
  flex: 1;
}
body.order-page .order-card .order-points .order-point {
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
body.order-page .order-card .order-points .order-point:last-child { margin-bottom: 0 !important; }

/* --- Takeout card: a bit taller, more breathing room --- */
body.order-page .takeout-section .order-card {
  flex: 0 1 420px;
  min-height: 460px;
  padding: 44px 36px 36px;
}
body.order-page .takeout-section .order-icon { margin-bottom: 18px; }
body.order-page .takeout-section .order-name { margin-bottom: 10px; }
body.order-page .takeout-section .order-desc { margin-bottom: 20px; flex: 0 0 auto; }
body.order-page .order-card.is-official .order-points { border-top-color: rgba(234,173,6,0.25) !important; }
body.order-page .order-card.is-official .order-points .order-point { color: rgba(255,255,255,0.6) !important; }