/* 10AM Artisan Bakery — colours taken from the logo */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root {
  --tan: #c19d77;        /* logo background */
  --tan-deep: #a9845e;
  --espresso: #463526;   /* logo ink */
  --espresso-2: #5e4733;

  /* names used across pages */
  --crust: var(--espresso);
  --crust-2: var(--espresso-2);
  --sun: #8b6a4a;
  --sun-soft: #ecdfcf;
  --cream: #f7f1e8;
  --paper: #fffcf7;
  --flour: #efe4d6;
  --ink: #2f241a;
  --muted: #7a6652;
  --line: #e3d5c3;
  --ok: #3f6b45;
  --err: #a3312a;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(70, 53, 38, .06), 0 6px 18px rgba(70, 53, 38, .06);
  --display: "Zilla Slab", Rockwell, Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--espresso); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); color: var(--espresso); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: 12px; font-weight: 600; color: var(--sun); margin: 0 0 10px; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--espresso); }
.brand img { height: 42px; width: auto; }
.brand-name { font: 700 18px/1 var(--display); }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--sun); }
.nav .btn { color: #fff; }
@media (max-width: 680px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer; background: var(--espresso); color: #fff; font: 600 15px/1 var(--body); padding: 13px 22px; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--espresso-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--espresso); border: 1.5px solid currentColor; }
.btn-ghost:hover { background: rgba(70, 53, 38, .06); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero — same tan as the logo, so the logo sits naturally */
.hero { background: var(--tan); padding: 64px 0 72px; text-align: center; }
.hero img.logo { width: min(560px, 88%); margin: 0 auto 28px; }
.hero p { font-size: 18px; color: var(--espresso); max-width: 36ch; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-ghost:hover { background: rgba(70, 53, 38, .08); }

.announce { background: var(--espresso); color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; }
.announce:empty { display: none; }

/* Sections */
section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }
.section-head p { color: var(--muted); margin: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }

/* Order */
.order-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .order-grid { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.step { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.step h3 { margin-bottom: 4px; }
.step .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }

.qty { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 48px; height: 48px; border: 0; background: none; font-size: 24px; color: var(--espresso); cursor: pointer; border-radius: 50%; }
.stepper button:hover:not(:disabled) { background: var(--flour); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 60px; text-align: center; font: 700 28px/1 var(--display); color: var(--espresso); }
.qty-label { font-size: 15px; color: var(--muted); }
.qty-label strong { color: var(--ink); }

.options { display: grid; gap: 10px; }
.option { position: relative; display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; }
.option:hover { border-color: #cdb79c; }
.option input { position: absolute; opacity: 0; }
.option .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9b296; flex: none; margin-top: 2px; }
.option:has(input:checked) { border-color: var(--espresso); }
.option:has(input:checked) .dot { border: 6px solid var(--espresso); }
.option:has(input:focus-visible) { outline: 3px solid var(--sun-soft); }
.option strong { display: block; }
.option small { color: var(--muted); font-size: 14px; }
.option .tag { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
label.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
label.f .opt { color: var(--muted); font-weight: 400; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=search], textarea, select {
  width: 100%; font: 16px var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--tan-deep); box-shadow: 0 0 0 3px var(--sun-soft); }
textarea { min-height: 80px; resize: vertical; }
.address { margin-top: 16px; }

/* Summary */
.summary { position: sticky; top: 88px; }
.summary h3 { margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.sum-row span:first-child { color: var(--muted); }
.sum-total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.sum-total strong { font: 700 30px/1 var(--display); color: var(--espresso); }
.sum-big { background: var(--cream); border-radius: 12px; padding: 16px; margin-bottom: 12px; text-align: center; }
.sum-big .big { font: 700 40px/1 var(--display); color: var(--espresso); }
.sum-big .sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.error { background: #f9e9e6; color: var(--err); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 14px; }
.error:empty { display: none; }
.notice { background: var(--sun-soft); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }

/* Locations & contact */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
.card h3 { margin-bottom: 6px; }
.alt { background: var(--paper); border-block: 1px solid var(--line); }
.channel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.channel:hover { border-color: var(--tan-deep); }
.channel .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--cream); flex: none; }
.channel strong { display: block; }
.channel small { color: var(--muted); }
.channel.soon { opacity: .55; pointer-events: none; }

footer { background: var(--espresso); color: #e9dccb; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer img { height: 34px; width: auto; }
footer a { color: #e9dccb; }

/* Utility pages */
.center-page { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 16px; }
.center-page .panel { max-width: 520px; width: 100%; text-align: center; }
