/* =====================================================================
   dumplify theme
   The frame around the store: header, navigation, footer, pages and
   posts. Store sections themselves are styled by dumplify Core.
   ===================================================================== */
:root {
  --th-bg: #F5EBDD;
  --th-bg-2: #EFE3D1;
  --th-card: #EADCC6;
  --th-crust: #E6D5BC;
  --th-cream: #FBF6EE;
  --th-ink: #111111;
  --th-ink-2: #2B2620;
  --th-muted: #5C5043;
  --th-line: rgba(17, 17, 17, .12);
  --th-line-2: rgba(17, 17, 17, .22);
  --th-on-ink: #F5EBDD;
  --th-on-ink-2: #C9B89F;
  --th-ink-line: rgba(245, 235, 221, .16);
  --th-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --th-header-h: 64px;
  --th-top: calc(var(--th-header-h) + var(--wp-admin--admin-bar--height, 0px));
  --th-gutter: max(16px, env(safe-area-inset-left, 0px));
  --th-gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --th-tabbar: 0px;
  --th-ease: cubic-bezier(.2, .75, .2, 1);
  --th-radius: 24px;
}
body.th-store { --th-tabbar: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--th-top) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--th-bg); color: var(--th-ink); font-family: var(--th-font); font-weight: 500; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word;
}
.th-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.th-main { flex: 1; }
.th-main:focus { outline: none; }
img, svg, video, canvas, iframe { max-width: 100%; }
img, video { height: auto; }
a { color: var(--th-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--th-ink-2); }
:focus-visible { outline: 2.5px solid var(--th-ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 1.6em 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.1em; }
b, strong { font-weight: 800; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--th-line-2); margin: 2.4em 0; }
::selection { background: var(--th-ink); color: var(--th-on-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; width: auto; height: auto; margin: 0; overflow: visible; white-space: normal; }
.th-skip:focus { position: fixed !important; z-index: 100005; left: 12px; top: 12px; padding: 12px 18px; border-radius: 999px; background: var(--th-ink); color: var(--th-on-ink); font-weight: 800; text-decoration: none; }
.th-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: var(--th-gutter); padding-right: var(--th-gutter-r); }
.th-narrow { max-width: 820px; } /* same measure as .th-page, so comments line up with the text */
.th-small { font-size: .85rem; color: var(--th-muted); }
.th-lead { font-size: 1.12rem; color: var(--th-muted); max-width: 62ch; }
.th-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- buttons & fields ---------- */
.th-btn, :where(.wp-element-button, .wp-block-button__link, input[type="submit"]) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--th-ink); background: var(--th-ink); color: var(--th-on-ink); font: 800 .95rem/1 var(--th-font); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--th-ease), background-color .2s, color .2s;
}
.th-btn:hover, :where(.wp-element-button, .wp-block-button__link, input[type="submit"]):hover { background: var(--th-ink-2); color: var(--th-on-ink); }
.th-btn:active { transform: translateY(1px); }
.th-btn--sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.th-btn--ghost, .is-style-outline .wp-block-button__link { background: transparent; color: var(--th-ink); }
.th-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--th-line); color: var(--th-ink); }
.th-input, :where(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select):not([class*="dm-"]) {
  width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--th-line-2); border-radius: 16px; background: var(--th-cream); color: var(--th-ink);
  font: 500 1rem/1.4 var(--th-font); transition: border-color .2s, box-shadow .2s;
}
:where(textarea):not([class*="dm-"]) { min-height: 130px; resize: vertical; }
.th-input:focus, :where(input, textarea, select):not([class*="dm-"]):focus { outline: none; border-color: var(--th-ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .1); }
:where(label) { font-weight: 800; font-size: .92rem; }
.th-search { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; margin: 18px 0 0; }
.th-search .th-input { flex: 1 1 220px; border-radius: 999px; }

/* ---------- header ---------- */
.th-header {
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 9000; background: var(--th-bg);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
@media screen and (max-width: 600px) { body.admin-bar .th-header { top: 0; } }
.th-header.is-scrolled { border-bottom-color: var(--th-line); }
.th-header__row { display: flex; align-items: center; gap: 12px; min-height: var(--th-header-h); }
.th-brand { display: inline-flex; align-items: center; gap: 9px; margin-right: auto; color: var(--th-ink); text-decoration: none; font-weight: 800; font-size: 1.32rem; letter-spacing: .1em; line-height: 1; padding-block: 8px; min-width: 0; }
.th-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; padding-block: 2px; }
.th-brand .th-mark { width: 30px; height: 30px; flex: none; color: var(--th-ink); }
.th-brand--logo img { display: block; max-height: 44px; width: auto; }
.th-brand:hover { color: var(--th-ink); }
.th-open { display: none; }
.th-header__actions { display: flex; align-items: center; gap: 4px; }
.th-cta { display: none; margin-left: 6px; }
.th-menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; background: transparent; color: var(--th-ink); cursor: pointer; margin-left: 2px; }
.th-menu-toggle:hover { background: var(--th-line); }
.th-menu-toggle__bars { position: relative; width: 20px; height: 12px; display: block; }
.th-menu-toggle__bars span { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--th-ease), top .25s var(--th-ease); }
.th-menu-toggle__bars span:first-child { top: 0; }
.th-menu-toggle__bars span:last-child { top: 10px; }
.th-menu-toggle[aria-expanded="true"] .th-menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.th-menu-toggle[aria-expanded="true"] .th-menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* mobile navigation panel */
.th-nav {
  position: fixed; left: 0; right: 0; top: calc(var(--th-top) - 1px); bottom: 0; z-index: 8999; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px var(--th-gutter-r) calc(var(--th-tabbar) + 30px) var(--th-gutter); background: var(--th-bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--th-ease), transform .22s var(--th-ease), visibility 0s .22s;
}
.th-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--th-ease), transform .22s var(--th-ease); }
.th-menu, .th-menu ul { list-style: none; margin: 0; padding: 0; }
.th-menu > li { border-bottom: 1px solid var(--th-line); }
.th-menu a { display: flex; align-items: center; min-height: 58px; color: var(--th-ink); text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.th-menu .sub-menu { padding: 0 0 12px 14px; }
.th-menu .sub-menu a { min-height: 44px; font-size: 1.05rem; color: var(--th-ink-2); }
.th-menu .current-menu-item > a, .th-menu .current_page_item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.th-nav__status { margin: 22px 0 0; }
html.th-nav-open { overflow: hidden; }

@media (min-width: 960px) {
  :root { --th-gutter: max(28px, env(safe-area-inset-left, 0px)); --th-gutter-r: max(28px, env(safe-area-inset-right, 0px)); --th-header-h: 72px; }
  body.th-store { --th-tabbar: 0px; }
  .th-open { display: inline-flex; }
  .th-menu-toggle { display: none; }
  .th-cta { display: inline-flex; }
  .th-nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; overflow: visible; z-index: auto; margin-left: auto; transition: none; }
  .th-nav__status { display: none; }
  .th-menu { display: flex; align-items: center; gap: 2px; }
  .th-menu > li { border: 0; position: relative; }
  .th-menu a { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .92rem; letter-spacing: 0; transition: background-color .2s; }
  .th-menu a:hover { background: var(--th-line); }
  .th-menu .current-menu-item > a, .th-menu .current_page_item > a { text-decoration: none; background: var(--th-line); }
  .th-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; border-radius: 18px; background: var(--th-cream); box-shadow: 0 2px 8px rgba(48, 32, 12, .08), 0 24px 50px -24px rgba(48, 32, 12, .42); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .th-menu li:hover > .sub-menu, .th-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .th-menu .sub-menu a { width: 100%; min-height: 40px; font-size: .9rem; color: var(--th-ink); }
  .th-brand { margin-right: 0; }
  .th-header__row { gap: 16px; }
  .th-header__actions { margin-left: 4px; }
}

/* ---------- pages, posts and lists ---------- */
.th-main:not(.th-main--store) { padding-block: 36px 64px; }
.th-pagehead { margin: 8px 0 26px; }
.th-pagehead .th-title { margin: 0; }
.th-page { max-width: 820px; }
.th-page--wide { max-width: 1200px; }
.th-hero-img { margin: 0 0 30px; border-radius: var(--th-radius); overflow: hidden; }
.th-hero-img img { display: block; width: 100%; }
.th-meta { margin: 0 0 10px; font-size: .85rem; font-weight: 800; color: var(--th-muted); letter-spacing: .02em; }
.th-entry > :first-child { margin-top: 0; }
.th-entry > * { max-width: 100%; }
.th-entry ul, .th-entry ol { padding-left: 1.3em; }
.th-entry li { margin-bottom: .35em; }
.th-entry blockquote:not([class]) { margin: 1.8em 0; padding-left: 1.2em; border-left: 4px solid var(--th-ink); font-size: 1.15rem; }
.th-entry table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6em 0; }
.th-entry th, .th-entry td { padding: 10px 12px; border-bottom: 1px solid var(--th-line); text-align: left; }
.th-entry pre { overflow-x: auto; padding: 16px; border-radius: 16px; background: var(--th-cream); font-size: .9rem; }
.th-entry code { font-size: .9em; background: var(--th-cream); padding: .1em .35em; border-radius: 6px; }
.th-entry pre code { background: none; padding: 0; }
.th-entry img { border-radius: 16px; }
.th-entry .alignwide { width: min(1200px, calc(100vw - var(--th-gutter) - var(--th-gutter-r))); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.th-entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.th-entry .alignfull img, .th-entry .alignwide img { border-radius: 0; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, figure { max-width: 100%; margin: 1.6em 0; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--th-muted); margin-top: .6em; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gallery-item { margin: 0; }
.gallery-caption { font-size: .85rem; color: var(--th-muted); margin-top: .4em; }
.sticky .th-card__title::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--th-ink); margin-left: 8px; vertical-align: middle; }
.bypostauthor > .comment-body .avatar { box-shadow: 0 0 0 2px var(--th-bg), 0 0 0 4px var(--th-ink); }
.th-entry::after { content: ""; display: table; clear: both; }
.th-pagelinks { display: flex; gap: 8px; margin-top: 30px; font-weight: 800; }
.th-entry-foot { margin-top: 40px; display: grid; gap: 22px; }
.th-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.th-tags a { padding: 6px 12px; border-radius: 999px; background: var(--th-card); text-decoration: none; font-size: .85rem; font-weight: 800; }
.th-postnav .nav-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.th-postnav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 20px; background: var(--th-cream); text-decoration: none; font-weight: 800; }
.th-postnav .nav-next { text-align: right; }

/* store sections placed inside a page's text run edge to edge */
.th-entry > .dm-section { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); margin-block: 32px; }
.th-front-extra { padding-block: 56px; max-width: 820px; }

/* post lists */
.th-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.th-card { display: grid; align-content: start; background: var(--th-cream); border-radius: var(--th-radius); overflow: hidden; border: 1px solid var(--th-line); }
.th-card__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.th-card__body { padding: 20px 22px 22px; }
.th-card__title { margin: 0 0 8px; font-size: 1.3rem; }
.th-card__title a { text-decoration: none; }
.th-card__title a:hover { text-decoration: underline; }
.th-card__excerpt { color: var(--th-muted); font-size: .98rem; }
.th-card__excerpt p { margin: 0; }
.th-pagination { margin-top: 36px; }
.th-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.th-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 800; background: var(--th-cream); }
.th-pagination .page-numbers.current { background: var(--th-ink); color: var(--th-on-ink); }

/* menu dishes in search results */
.th-section-title { font-size: 1.35rem; margin: 0 0 14px; letter-spacing: -.01em; }
.th-dishes { margin: 8px 0 40px; }
.th-dishes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.th-dish { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; height: 100%; padding: 16px 18px; border-radius: 18px; background: var(--th-cream); border: 1px solid var(--th-line); text-decoration: none; transition: border-color .15s; }
.th-dish:hover { border-color: var(--th-ink); }
.th-dish__name { font-weight: 800; font-size: 1.02rem; }
.th-dish__price { grid-column: 2; grid-row: 1; font-weight: 800; white-space: nowrap; }
.th-dish__desc { grid-column: 1 / -1; color: var(--th-muted); font-size: .92rem; line-height: 1.5; }

.th-admin-note { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--th-cream); border: 1px dashed var(--th-line-2); font-size: .95rem; }
.th-admin-note a { font-weight: 800; }

/* empty and 404 */
.th-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 50px 0; }
.th-empty__mark { width: 64px; height: 64px; color: var(--th-ink); opacity: .9; }
.th-empty h2, .th-empty .th-title { margin: 6px 0 4px; }
.th-empty .th-search { margin-inline: auto; }
.th-404__code { margin: 0; font-size: clamp(4rem, 20vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; }

/* comments */
.th-comments { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--th-line-2); }
.th-comments__title { font-size: 1.4rem; margin: 0 0 18px; }
.th-comment-list, .th-comment-list .children { list-style: none; margin: 0; padding: 0; }
.th-comment-list .children { padding-left: 22px; }
.th-comment-list .comment-body { padding: 20px 0; border-bottom: 1px solid var(--th-line); }
.th-comment-list .comment-meta { position: relative; min-height: 44px; padding-left: 58px; display: flex; flex-direction: column; justify-content: center; gap: 2px; margin-bottom: 10px; font-size: .88rem; }
.th-comment-list .comment-author .avatar { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--th-card); }
.th-comment-list .comment-author .fn { font-style: normal; font-weight: 800; font-size: .98rem; }
.th-comment-list .comment-author .fn a { text-decoration: none; }
.th-comment-list .comment-author .says { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.th-comment-list .comment-metadata { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.th-comment-list .comment-metadata a { color: var(--th-muted); text-decoration: none; }
.th-comment-list .comment-metadata a:hover { text-decoration: underline; }
.th-comment-list .comment-awaiting-moderation { font-size: .85rem; color: var(--th-muted); }
.th-comment-list .comment-content { padding-left: 58px; }
.th-comment-list .comment-content p { margin: 0 0 .6em; }
.th-comment-list .reply { padding-left: 58px; }
.th-comment-list .reply a { font-weight: 800; font-size: .85rem; }
.th-comment-list .pingback .comment-body, .th-comment-list .trackback .comment-body { font-size: .92rem; }
.comment-respond { margin-top: 36px; }
.th-comment-list .comment-respond { padding-left: 58px; margin-top: 12px; }
@media (max-width: 560px) { .th-comment-list .comment-content, .th-comment-list .reply, .th-comment-list .comment-respond { padding-left: 0; } .th-comment-list .children { padding-left: 14px; } }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent input { margin-top: 5px; }

/* ---------- footer ---------- */
.th-footer { background: var(--th-ink); color: var(--th-on-ink); padding-block: 48px calc(36px + var(--th-tabbar)); border-top: 1px solid var(--th-ink-line); }
.th-footer :focus-visible { outline-color: var(--th-on-ink); }
.th-footer a { color: var(--th-on-ink); }
.th-footer__grid { display: grid; gap: 30px; }
.th-footer__brand { display: grid; gap: 16px; container-type: inline-size; min-width: 0; }
.th-bigmark { margin: 0; font-size: clamp(3.2rem, 16vw, 8.5rem); font-size: min(8.5rem, 18cqi); font-weight: 800; letter-spacing: .04em; line-height: .9; color: var(--th-on-ink); overflow-wrap: anywhere; }
.th-footer .th-small { color: var(--th-on-ink-2); margin: 0; max-width: 46ch; }
.th-footer__side { display: grid; gap: 20px; align-content: start; }
.th-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.th-footer__menu a { display: flex; align-items: center; min-height: 44px; font-weight: 800; font-size: .92rem; text-decoration: none; opacity: .86; }
.th-footer__menu a:hover { opacity: 1; text-decoration: underline; color: var(--th-on-ink); }
.th-socials .dm-social { color: var(--th-on-ink); }
.th-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--th-ink-line); font-size: .82rem; color: var(--th-on-ink-2); }
.th-footer__bottom a { color: var(--th-on-ink-2); }
@media (min-width: 960px) {
  .th-footer { padding-bottom: 36px; }
  .th-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .th-footer__brand { grid-row: span 2; }
}

/* ---------- WordPress blocks ---------- */
.wp-block-image img { border-radius: 16px; }
.wp-block-separator { border-top-width: 1px; }
.wp-block-search__input { border-radius: 999px; }
.wp-block-pullquote { border-color: var(--th-ink); }
.wp-block-table thead { border-bottom: 2px solid var(--th-ink); }
.wp-block-cover, .wp-block-group.has-background { border-radius: var(--th-radius); }
.has-dough-background-color { background-color: #F5EBDD; }
.has-ink-background-color { background-color: #111111; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .th-header, .th-footer, .dm-tabbar, .dm-ui { display: none !important; }
  body { background: #fff; }
}
