/*
 * Mimis Coffee — shared styles for booking, ordering and order status.
 * The widget stylesheets (booking.css, order.css) were written against a
 * different palette; the aliases below map those names onto Mimis' pink and
 * charcoal, so the widgets pick up the café's look.
 */
:root {
  --forest-2: var(--ink);        /* main dark: buttons, headings in widgets */
  --green: var(--charcoal);      /* dark hover */
  --gold: var(--pink-deep);      /* selected / highlight */
  --gold-2: var(--pink-mid);
  --copper: #b45d78;             /* links and accents, deep pink */
  --text: var(--ink);
  --paper: #fff;
  --line: rgba(22, 22, 22, .12);
  --line-dark: rgba(255, 255, 255, .15);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

[hidden] { display: none !important; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn-green { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-green:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-green:disabled { opacity: .45; cursor: not-allowed; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Nav: the "Book a table" pill */
.site-nav { align-items: center; gap: 1.6rem; }
.site-nav .nav-book { background: var(--ink); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; border: 0; }
.site-nav .nav-book:hover, .site-nav .nav-book.active { background: var(--pink-deep); color: var(--ink); }
@media (max-width: 1000px) { .site-nav { gap: 1.1rem; } .site-nav a { font-size: .9rem; } }
@media (max-width: 800px) {
  .site-nav { align-items: stretch; }
  .site-nav .nav-book { margin-top: 1rem; text-align: center; padding: .9rem; }
}

/* Slim page hero for booking / ordering */
.page-hero-slim { height: 30vh; min-height: 220px; }
.page-hero-slim h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Booking page layout */
.booking-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(36px, 6vw, 80px); padding-top: 60px; padding-bottom: 100px; align-items: start; }
.booking-side-title { font-size: 2rem; }
.booking-side p { color: var(--charcoal); margin-bottom: 1rem; }
.booking-notice { padding: 16px 20px; border-left: 3px solid var(--pink-deep); background: var(--pink); border-radius: 0 10px 10px 0; }
.booking-notice strong { font-weight: 500; }
.booking-side .hours { margin: 26px 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.booking-photo { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; margin-top: 30px; }
.booking-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(22, 22, 22, .35); }
@media (max-width: 900px) { .booking-layout { grid-template-columns: 1fr; padding-top: 28px; } .booking-main { order: -1; } .booking-photo { display: none; } }

/* Forms */
.field { margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
@media (max-width: 560px) { .field-row { flex-direction: column; gap: 0; } }
.field label, .field-label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid rgba(22, 22, 22, .16); border-radius: 10px; background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(217, 147, 168, .3); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .85rem; margin: 6px 0 0; }
.field-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.optional { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--charcoal); cursor: pointer; }
.consent-label input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.field .consent-label { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 400; }
.privacy-note { font-size: .85rem; color: var(--muted); margin: 12px 0 16px; }
.form-alert { padding: 14px 18px; border-radius: 10px; background: #fbeceb; color: #8c1d18; margin-bottom: 24px; }
.confirmation { text-align: center; padding: 20px 0; }
.confirmation h2 { margin-bottom: .8rem; }
.confirmation p { margin-bottom: .8rem; }

/* Home page: compact "book & order" panel */
.quick-actions { background: var(--ink); color: #f4eeee; }
.quick-actions .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); }
.qa-card { background: var(--ink); padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .6rem; }
.qa-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; color: #fff; }
.qa-card p { color: #cfc6c8; margin: 0 0 .6rem; }
.qa-card .eyebrow { color: var(--pink-mid); margin: 0; }
.qa-card .btn { align-self: flex-start; background: var(--pink); color: var(--ink); border-color: var(--pink); }
.qa-card .btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.qa-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .6rem; }
.qa-slots a { text-decoration: none; padding: .45rem .9rem; border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font-weight: 500; font-size: .95rem; }
.qa-slots a:hover { background: var(--pink-deep); color: var(--ink); }
@media (max-width: 700px) { .quick-actions .wrap { grid-template-columns: 1fr; } }

/* Respond (email links) and unsubscribe pages */
.respond-section { padding-top: 2.5rem; }
.respond-wrap { max-width: 34rem; }
.respond-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: 0 6px 20px rgba(22, 22, 22, .06); }
.respond-card h1 { font-size: 2rem; margin: .2rem 0 .8rem; }
.respond-kind { margin: 0; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--copper); }
.respond-status { color: var(--muted); }
.respond-summary { list-style: none; padding: .8rem 1rem; margin: 0 0 1rem; background: var(--pink); border-radius: 10px; }
.respond-summary li { margin: .2rem 0; }
.respond-contact { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.respond-email { color: var(--muted); word-break: break-all; }
.respond-form label { display: block; font-weight: 500; margin: .5rem 0 .3rem; }
.respond-form textarea { width: 100%; font: inherit; padding: .6rem; border: 1.5px solid var(--line); border-radius: 10px; }
.respond-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
.respond-decline { background: #fff; color: #a3261b; border: 1.5px solid #a3261b; }
.respond-decline:hover { background: #a3261b; color: #fff; }
.respond-buttons .is-dim { opacity: .55; }
.respond-note, .respond-foot { font-size: .88rem; color: var(--muted); margin-top: .8rem; }
.respond-result { padding: .7rem .9rem; border-radius: 10px; font-weight: 500; }
.respond-result.is-ok { background: #e2f4e7; color: #1d6b37; }
.respond-result.is-warn { background: #fff4d6; color: #7a5a00; }
.text-link { color: var(--copper); }

/* Cookie notice */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200; }
.cookie[hidden] { display: none !important; }
.cookie-inner { max-width: 880px; margin: 0 auto; background: var(--ink); color: #f4eeee; border-radius: 16px; padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.cookie-text { font-size: .88rem; margin: 0; flex: 1; }
.cookie-text a { color: var(--pink-mid); }
.cookie-do { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-do .btn { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-light { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.btn-light:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
@media (max-width: 640px) { .cookie-inner { flex-direction: column; align-items: stretch; } .cookie-do { width: 100%; } .cookie-do .btn { flex: 1; } }
.map-declined { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; font-size: .95rem; }
.map-declined-note { display: block; color: var(--muted); font-size: .85rem; margin-top: .4rem; }

/* Footer extras */
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a, .footer-links button { color: #a59c9e; font: inherit; font-size: .85rem; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--pink); }
.footer-signup { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.signup-form label { display: block; margin-bottom: .7rem; }
.signup-form label span { display: block; color: #a59c9e; font-size: .9rem; }
.signup-row { display: flex; gap: .6rem; max-width: 520px; }
.signup-row input[type=email] { flex: 1; min-width: 0; font: inherit; padding: .75rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.signup-row input[type=email]::placeholder { color: #a59c9e; }
.signup-row .btn { padding: .75rem 1.4rem; }
.signup-msg { margin-top: .6rem; color: var(--pink-mid); }
@media (max-width: 520px) { .footer-base { flex-direction: column; gap: .8rem; } }

/* Privacy notice and other plain text pages */
.prose { max-width: 760px; padding-top: 50px; padding-bottom: 90px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; margin-bottom: .5rem; }
.prose p, .prose ul { margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--copper); }
.site-footer p + h4 { margin-top: 1.6rem; }
