/* Valley Isle Shave Ice — shared styles for the standalone sub-pages
   (/menu, /food, /find-us, /hours).

   The homepage keeps its own inline <style>: it is a single-page document on
   live ad traffic, where inlining avoids a render-blocking request. These
   tokens are copied from it and must stay visually in step — if you restyle
   the homepage, mirror the change here. */

:root {
  /* Brand navy (logo) */
  --navy: #143258;
  --navy-mid: #1c4576;
  --navy-deep: #0c1f3a;
  /* Sunset */
  --coral: #ff5e6c;
  --coral-soft: #ff9aa6;
  --sun: #ffc24b;
  --sun-deep: #ff9a3c;
  /* Ocean / island */
  --aqua: #27b9c9;
  --aqua-deep: #127d8c;
  --leaf: #2e8b57;
  /* Paper */
  --cream: #fff8ef;
  --cream-warm: #fcecd8;
  --ink: #243044;
  --rainbow: linear-gradient(90deg, #5bc8ff, #ff5d8f, #ffd23f, #7ed957, #9b6dff);
  --display: "Pacifico", cursive;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --shadow-soft: 0 18px 50px -18px rgba(12, 31, 58, 0.35);
  --shadow-card: 0 8px 28px -12px rgba(12, 31, 58, 0.22);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(255,154,166,0.18), transparent 55%),
    radial-gradient(120% 70% at -10% 6%, rgba(39,185,201,0.16), transparent 50%),
    var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
.wrap { width: min(1080px, 92vw); margin-inline: auto; }

/* ---------- SUB-PAGE HEADER ---------- */
.subhead { background: linear-gradient(160deg, var(--navy-deep), var(--navy-mid)); color: #fff; padding: 1.4rem 0 0; position: relative; }
.subhead .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.subhead .brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; }
.subhead .brand .bt { font-family: var(--display); font-size: 1.15rem; line-height: 1; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.subhead .brand .emblem { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.subnav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.subnav a {
  color: #fff; text-decoration: none; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: rgba(253,248,241,0.14); border: 1px solid rgba(253,248,241,0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.subnav a:hover { background: rgba(253,248,241,0.3); transform: translateY(-1px); }
.subnav a[aria-current="page"] { background: var(--coral); border-color: var(--coral); }

.page-title { text-align: center; padding: 1.6rem 0 2.2rem; }
.page-title .script { font-family: var(--display); font-size: clamp(2rem, 5.5vw, 3rem); color: #fff; line-height: 1.1; }
.page-title .sub { color: rgba(255,248,239,0.86); font-size: 0.95rem; margin-top: 0.5rem; font-family: var(--serif); font-style: italic; }

.wave { line-height: 0; }
.wave svg { width: 100%; height: 60px; display: block; }

main { padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(3rem, 6vw, 4.5rem); }

/* ---------- SHARED COMPONENTS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 22px -8px var(--coral); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px var(--coral); }

.panel { background: #fff; border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-card); border: 1px solid rgba(12,31,58,0.06); }
.panel h4 { font-family: var(--serif); font-style: italic; color: var(--aqua-deep); font-size: 1.15rem; margin-bottom: 0.9rem; }

.sec-head { text-align: center; margin-bottom: 2rem; }
.sec-head .script { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); }
.sec-head .sub { color: var(--ink); opacity: 0.75; font-size: 0.94rem; margin-top: 0.3rem; }

.combo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.combo-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); border: 1px solid rgba(27,42,85,0.06); position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.combo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.combo-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--rainbow); }
.combo-card h3 { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.2rem; }
.combo-card .flavors { color: var(--ink); opacity: 0.78; font-size: 0.92rem; margin-top: 0.35rem; }
.badge { display: inline-block; margin-top: 0.7rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: 999px; }
.badge.top { background: var(--coral); color: #fff; }
.badge.staff { background: var(--sun); color: var(--navy); }

.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.4rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px dashed rgba(27,42,85,0.14); }
.price-row .n { color: var(--navy); font-weight: 600; }
.price-row .p { font-family: var(--serif); font-weight: 900; color: var(--coral); }

.flavor-note { text-align: center; font-family: var(--serif); font-style: italic; color: var(--coral); margin-bottom: 1.2rem; font-size: 1.05rem; }
.flavor-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 620px) { .flavor-cols { grid-template-columns: 1fr; } }
.flavor-cols h5 { font-family: var(--serif); font-style: italic; color: var(--aqua-deep); font-size: 1.05rem; margin-bottom: 0.6rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { background: var(--cream-warm); color: var(--navy); border-radius: 999px; padding: 0.3rem 0.75rem; font-size: 0.82rem; }

.addons-strip { background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-top: 1.4rem; }
.addons-strip h4 { font-family: var(--display); font-weight: 400; color: var(--sun); margin-bottom: 0.8rem; }
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.5rem 1.4rem; }
.addons-grid .a { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(253,248,241,0.2); padding: 0.35rem 0; font-size: 0.9rem; }
.addons-grid .a .p { color: var(--sun); font-weight: 600; }

.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.food-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); border: 1px solid rgba(27,42,85,0.06); }
.food-card h3 { font-family: var(--serif); font-weight: 900; color: var(--navy); font-size: 1.25rem; }
.food-card .note { font-size: 0.8rem; color: var(--coral); margin: 0.4rem 0 0.9rem; font-style: italic; }
.addon-line { font-size: 0.82rem; color: var(--ink); opacity: 0.75; display: flex; justify-content: space-between; padding: 0.2rem 0; }
.cro-flavor { margin-top: 0.6rem; font-size: 0.86rem; }
.cro-flavor b { color: var(--navy); }

.hours-table { width: 100%; }
.hours-table .h-row { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px dashed rgba(27,42,85,0.12); }
.hours-table .h-row.today { font-weight: 700; color: var(--coral); }
.hours-table .h-row.today .day::after { content: " · Today"; font-size: 0.72rem; letter-spacing: 0.06em; opacity: 0.8; }
.hours-table .day { color: var(--navy); }

.loc-address { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; }
.loc-address .pin { color: var(--coral); flex: none; font-size: 1.1rem; line-height: 1.3; }
.loc-address .addr-place { font-weight: 700; color: var(--navy); }
.loc-address .addr-line { color: var(--ink); opacity: 0.85; font-size: 0.92rem; }

.cruise-card { background: linear-gradient(135deg, rgba(39,185,201,0.10), rgba(255,194,75,0.12)); border: 1px solid rgba(18,125,140,0.22); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.4rem; }
.cruise-card h4 { margin: 0 0 0.6rem; color: var(--navy); font-family: var(--serif); font-style: italic; }
.cruise-card .cruise-walk { margin: 0 0 0.35rem; font-weight: 600; }
.cruise-card .cruise-where { margin: 0 0 1rem; opacity: 0.85; font-size: 0.92rem; }

.map-wrap { margin-top: 1.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid rgba(12,31,58,0.08); line-height: 0; }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }
@media (max-width: 700px) { .map-wrap iframe { height: 260px; } }

/* Shown only when menu.json cannot be loaded — the page keeps its frame. */
.data-msg { text-align: center; background: #fff; border: 1px dashed rgba(12,31,58,0.2); border-radius: var(--radius); padding: 1.6rem; color: var(--ink); }
.data-msg a { color: var(--coral); }

/* ---------- FOOTER ---------- */
.subfoot { background: var(--navy-deep); color: var(--cream); text-align: center; padding: 2.4rem 1rem; position: relative; margin-top: 2rem; }
.subfoot::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--rainbow); }
.subfoot .fname { font-family: var(--display); color: var(--sun); font-size: 1.3rem; }
.subfoot .fmeta { font-size: 0.85rem; opacity: 0.8; margin-top: 0.4rem; }
.subfoot .flinks { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.9rem; }
.subfoot .flinks a { color: var(--cream); font-size: 0.85rem; }
