/* Dark, compact café menu. External CSS for strict Content Security Policy. */
:root{--red:#ef493b;--white:#f5f0e8;--muted:#aaa29b}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;background:#090909;color:var(--white);font-family:'Trebuchet MS',Arial,sans-serif}
.page{max-width:680px;margin:auto;min-height:100vh;padding:28px 22px 30px}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{font-size:13px;letter-spacing:.12em;font-weight:900}.brand span{color:var(--red)}
.switch{display:flex;gap:5px}
.switch button{border-radius:20px;font:800 13px Arial,sans-serif;border:1px solid #5c5551;color:var(--white);background:none;padding:8px 12px;cursor:pointer}
.switch button[aria-pressed=true]{background:var(--red);border-color:var(--red);color:#090909}
.switch button:focus-visible{outline:2px solid var(--white);outline-offset:3px}
.headline{text-align:center;margin:38px 0 34px}
.headline h1{font-size:clamp(33px,8vw,57px);letter-spacing:.06em;line-height:1.04;margin:8px 0;font-weight:1000;text-transform:uppercase;transform:rotate(-2deg)}
.headline h1 span{color:var(--red)}
.section-title{color:var(--red);font-size:14px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin:32px 0 15px}
.item{margin:0 0 19px}.line{display:grid;grid-template-columns:minmax(0,auto) minmax(15px,1fr) auto;gap:9px;align-items:center}
.name{font-size:clamp(16px,3.8vw,22px);font-weight:900;text-transform:uppercase;line-height:1.25}
.leader{border-bottom:1px solid #524744;min-width:12px;align-self:center;height:1px}
.price{white-space:nowrap;font-size:19px;font-weight:900;min-width:48px;text-align:right;color:#f06a54;font-variant-numeric:tabular-nums}
.desc{font-size:13px;color:#c5bfb8;line-height:1.45;margin:5px 0 0}
.ingredients{font-size:11px;color:#8e8983;line-height:1.5;margin:5px 0 0}
.item-image{width:74px;height:74px;object-fit:cover;border-radius:7px;float:left;margin:0 14px 8px 0}
.item::after{content:'';display:block;clear:both}
.status{font-size:13px;color:var(--muted);margin:8px 0;min-height:18px}
.status:empty{display:none}
.status.error{color:#ff9a91}
.bottom{text-align:center;margin-top:44px}.footer-meta{font-size:12px;line-height:1.9;color:#aaa}
@media(max-width:440px){.page{padding:20px 15px 30px}.name,.price{font-size:16px}.desc{font-size:12px}}
/* Art Café Handy header/footer branding (without the old flashing overlay). */
.top{margin-bottom:35px}
.header-logo{display:block;max-width:min(260px,70%);max-height:155px;width:auto;height:auto;object-fit:contain}
.footer-logo{width:65px;height:auto;vertical-align:middle;margin-bottom:12px}
.footer-meta a{color:inherit;text-decoration:none}
.footer-meta a:hover{color:var(--red)}

/* Unavailable combos remain visible but cannot be ordered in the calculator. */
.item-unavailable{opacity:.53;filter:grayscale(.55);padding:12px 13px 11px;margin:0 -13px 19px;border:1px dashed #73635f;border-radius:8px;background:#191715}
.item-unavailable .name,.item-unavailable .price{color:#c1b3ab}
.item-unavailable .leader{border-color:#665953}
.item-unavailable-label{display:inline-block;margin:7px 0 2px;padding:4px 8px;border:1px solid #be8078;border-radius:4px;color:#ffb7a8;font-size:11px;font-weight:800;letter-spacing:.03em}

/* v20: Disabled items remain visible, including ordinary products. */
.item-unavailable{
 opacity:.2;
 filter:grayscale(.55);
 padding:12px 13px 11px;
 margin:0 auto 19px;
 border:1px dashed #73635f;
 border-radius:8px;
 background:#191715;
 width:90%;
}
/* Explicit visual theme for a lunch combo (independent from availability). */
.item-combo-lunch-1:not(.item-unavailable){
 position:relative;
 padding:16px 15px 14px;
 margin:10px 0 23px;
 width:100%;
 background:linear-gradient(140deg,#38291b,#1f1a16);
 border:2px solid #d7a35b;
 border-radius:12px;
 box-shadow:0 3px 16px rgba(186,118,40,.14);
}

.item-combo-lunch-1:not(.item-unavailable) .name{color:#ffe1b4}
.item-combo-lunch-1:not(.item-unavailable) .price{color:#ffbd62}

/* v22: combos match the full text width; make their components prominent. */
.item.item-combo-lunch-1{width:100%;margin-left:0;margin-right:0}
.item.item-unavailable{width:100%;margin-left:0;margin-right:0}
.item-combo-components{font-size:14px;font-weight:800;line-height:1.5;color:#f1d1a1;margin:9px 0 4px;letter-spacing:.01em}
.item-unavailable .item-combo-components{color:#e0c3b2}
@media(max-width:440px){.item-combo-components{font-size:13px}}

/* v24.2: compact, frameless hours timeline */
.cafe-hours{margin:3px 0 17px;padding:0;background:transparent;border:0;border-radius:0;min-width:0;width:100%;box-sizing:border-box}
.cafe-hours-top{display:flex;justify-content:flex-end;align-items:center;min-height:16px;margin:0 0 2px}
#cafe-hours-status{font-size:11px;font-weight:800;letter-spacing:.05em;color:#bab3ab}
.cafe-hours.is-open #cafe-hours-status{color:#6cdda0}
.cafe-hours.is-closed #cafe-hours-status{color:#ff8c8c}
.cafe-hours-track-wrap{position:relative;padding-top:30px;min-width:0}
.cafe-hours-track{height:7px;background:#a75050;border-radius:5px;overflow:hidden;position:relative}
.cafe-hours-segment{position:absolute;top:0;bottom:0;background:#2fa568}
.cafe-hours-pointer{position:absolute;top:0;left:0;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:0;color:#ff8c8c;font-weight:800;font-size:11px;white-space:nowrap;z-index:1;transition:left .4s ease;font-variant-numeric:tabular-nums}
.cafe-hours.is-open .cafe-hours-pointer{color:#6cdda0}
.cafe-hours-arrow{font-size:12px;line-height:11px}
.cafe-hours-ticks{display:flex;justify-content:space-between;margin-top:5px;color:#a49d96;font-size:9px;font-variant-numeric:tabular-nums}
.cafe-hours-note{font-size:10px;color:#aca59c;margin:5px 0 0;line-height:1.3}
.cafe-hours-note:empty{display:none}
.cafe-hours.is-unavailable .cafe-hours-track{background:#666}
@media(max-width:480px){
 .cafe-hours{margin:2px 0 13px}
 .cafe-hours-track-wrap{padding-top:27px}
 .cafe-hours-ticks{font-size:9px}
 .cafe-hours-ticks span:nth-child(even){display:none}
 #cafe-hours-status{font-size:10px}
 .cafe-hours-pointer{font-size:10px}
}


/* v25: optional layout for combo items only. Neighbouring styled combos form
   pairs; normal products and the existing lunch style keep their layout. */
.menu-combo-two-column-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
  margin:10px 0 20px;
}
.menu-combo-two-column-grid > .item-combo-columns-2 {
  width:100%;min-width:0;margin:0;
  padding:12px 11px;
  border-radius:9px;
  background:#211d19;
}
.menu-combo-two-column-grid .item-combo-columns-2 .line {
  grid-template-columns:minmax(0,1fr);
  gap:5px;
}
.menu-combo-two-column-grid .item-combo-columns-2 .leader {display:none}
.menu-combo-two-column-grid .item-combo-columns-2 .name {
  font-size:clamp(13px,2.6vw,17px);overflow-wrap:anywhere;
}
.menu-combo-two-column-grid .item-combo-columns-2 .price {
  text-align:left;font-size:16px;
}
.menu-combo-two-column-grid .item-combo-columns-2 .item-combo-components {
  font-size:12px;overflow-wrap:anywhere;
}
.menu-combo-two-column-grid > .item-unavailable {
  opacity:.4;filter:grayscale(.55);border-style:dashed;
}
@media(max-width:520px) {
  .menu-combo-two-column-grid {grid-template-columns:minmax(0,1fr);gap:9px}
}


/* v25: light/dark theme switch with daytime auto mode */
:root{
  --bg:#090909;--text:#f5f0e8;--muted:#aaa29b;--panel:#111;--line:#524744;--price:#f06a54;--link:#ef493b;
  --hours-bg:transparent;
}
body{background:var(--bg);color:var(--text);transition:background-color .2s,color .2s}
.status{color:var(--muted)}
.switch button,.theme-switch button{border-radius:20px;font:800 13px Arial,sans-serif;border:1px solid #5c5551;color:var(--text);background:none;padding:8px 12px;cursor:pointer}
.theme-switch{display:flex;gap:5px;justify-content:flex-end}
.theme-switch button[aria-pressed=true],.switch button[aria-pressed=true]{background:var(--red);border-color:var(--red);color:#090909}
.top-controls{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.leader{border-bottom-color:var(--line)}
.price{color:var(--price)}
.desc{color:color-mix(in srgb, var(--text) 78%, transparent)}
.ingredients,.footer-meta,.cafe-hours-note{color:var(--muted)}
.footer-meta a{color:inherit}
body[data-theme="light"]{
  --bg:#ffffff;--text:#151515;--muted:#636363;--panel:#ffffff;--line:#bdbdbd;--price:#d34b34;--link:#d44934;
}
body[data-theme="light"] .switch button,
body[data-theme="light"] .theme-switch button{border-color:#d9d9d9;color:#222;background:#fff}
body[data-theme="light"] .switch button[aria-pressed=true],
body[data-theme="light"] .theme-switch button[aria-pressed=true]{background:#151515;border-color:#151515;color:#fff}
body[data-theme="light"] .header-logo{filter:none}
body[data-theme="light"] .item-unavailable{background:#f8f8f8;border-color:#d8d8d8}
body[data-theme="light"] .item-unavailable .name,
body[data-theme="light"] .item-unavailable .price{color:#777}
body[data-theme="light"] .item-combo-lunch-1:not(.item-unavailable){background:linear-gradient(140deg,#fff5e8,#fff)}
body[data-theme="light"] .item-combo-lunch-1:not(.item-unavailable) .name{color:#643719}
body[data-theme="light"] .item-combo-components{color:#7b4d22}
body[data-theme="light"] .item-unavailable .item-combo-components{color:#8c7b70}
body[data-theme="light"] .cafe-hours-track{background:#ececec}
body[data-theme="light"] .cafe-hours-tick{color:#7c7c7c}
body[data-theme="light"] .cafe-hours-pointer span#cafe-hours-time{background:#151515;color:#fff}
body[data-theme="light"] .cafe-hours-status-open{color:#1d8a46}
body[data-theme="light"] .cafe-hours-status-closed{color:#a33a32}
body[data-theme="light"] .cafe-hours-note{color:#666}
body[data-theme="light"] .status.error{color:#c83f2f}
@media(max-width:560px){.top{align-items:flex-start}.top-controls{width:100%;align-items:flex-end}.header-logo{max-width:180px}.theme-switch button,.switch button{padding:7px 10px;font-size:12px}}


/* v27: isolated theme controls, two original logos; stronger light-mode contrast. */
.cafe-top-controls{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.cafe-theme-switch{display:flex;gap:5px;align-items:center}
.cafe-theme-switch button{font:800 13px Arial,sans-serif;border:1px solid #5c5551;color:#f5f0e8;border-radius:20px;padding:8px 12px;background:transparent;cursor:pointer}
.cafe-theme-switch button[aria-pressed="true"]{background:#ef493b;color:#111;border-color:#ef493b}
.cafe-theme-switch button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.cafe-logo-light[hidden],.cafe-logo-dark[hidden]{display:none!important}
.header-logo-link{display:inline-flex;align-items:center;justify-content:flex-start;max-width:100%}
body[data-theme="light"] .cafe-theme-switch button{background:#fff;color:#151515;border-color:#d9d9d9}
body[data-theme="light"] .cafe-theme-switch button[aria-pressed="true"]{background:#151515;color:#fff;border-color:#151515}
/* Time number and arrow: plain black on the white theme. */
body[data-theme="light"] .cafe-hours-pointer,
body[data-theme="light"] .cafe-hours.is-open .cafe-hours-pointer,
body[data-theme="light"] .cafe-hours.is-closed .cafe-hours-pointer,
body[data-theme="light"] #cafe-hours-time,
body[data-theme="light"] .cafe-hours-arrow{color:#111!important;background:transparent!important}
/* Two-column combo cards remain dark in both themes; text remains bright. */
body[data-theme="light"] .menu-combo-two-column-grid > .item-combo-columns-2:not(.item-unavailable){background:#211d19!important}
body[data-theme="light"] .menu-combo-two-column-grid > .item-combo-columns-2:not(.item-unavailable) .name{color:#fff!important}
body[data-theme="light"] .menu-combo-two-column-grid > .item-combo-columns-2:not(.item-unavailable) .price{color:#ffcf96!important}
body[data-theme="light"] .menu-combo-two-column-grid > .item-combo-columns-2:not(.item-unavailable) .item-combo-components{color:#f0e5dd!important}
@media(max-width:560px){.cafe-top-controls{flex-shrink:0}.cafe-theme-switch button{padding:7px 10px;font-size:12px}}


/* v28: compact schedule above the timeline, from opening_hours.json */
.cafe-weekly-hours{margin:6px 0 16px;color:var(--text,#f5f0e8);}
.cafe-weekly-hours[hidden]{display:none!important}
.cafe-weekly-heading{display:block;font-weight:900;font-size:14px;letter-spacing:.025em;margin-bottom:7px}
.cafe-weekly-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
.cafe-weekly-row{display:flex;align-items:baseline;justify-content:space-between;gap:7px;padding:3px 0;border-bottom:1px solid var(--line,#524744);min-width:0}
.cafe-weekly-day{font-size:12px;font-weight:750;flex:none}
.cafe-weekly-time{font-size:12px;font-variant-numeric:tabular-nums;text-align:right}
.cafe-weekly-time.is-closed{color:var(--muted,#aaa29b)}
@media(max-width:520px){.cafe-weekly-grid{grid-template-columns:1fr;gap:1px}.cafe-weekly-row{padding:4px 0}.cafe-weekly-hours{margin-bottom:14px}}

/* v29: Optional product images in the published public menu.
   Keep the original text layout when an item has no image. */
.item-image{width:92px;height:92px;object-fit:cover;object-position:center;border-radius:8px;float:left;margin:1px 14px 8px 0;display:block}
@media(max-width:440px){.item-image{width:76px;height:76px;margin-right:11px;margin-bottom:6px}}

.footer-studio-logo{display:block;width:95px;height:auto;margin:8px auto 12px}body:not([data-theme="light"]) .footer-studio-logo{filter:brightness(0) invert(1)}

/* PACK 7.05.4: keep only the studio mark in the footer, even with legacy markup. */
footer.bottom .footer-logo,footer.bottom .header-logo,footer.bottom .header-logo-link,footer.bottom img[src*="art_cafe_handy_logo_alt.gif"],footer.bottom img[src*="handy_cafe_morph_sharp.gif"]{display:none!important}
