/* Shared skin for the existing Oriza public pages. Controls, dialogs and data attributes keep their existing behavior. */
html[data-theme] {
  --serif: var(--theme-heading);
  --sans: var(--theme-body);
  --theme-faint: color-mix(in srgb, var(--theme-paper) 88%, var(--theme-ink));
  --theme-line: color-mix(in srgb, var(--theme-paper) 60%, var(--theme-ink));
  --theme-secondary: color-mix(in srgb, var(--theme-ink) 78%, var(--theme-paper));
}
html[data-theme] body {
  font-family: var(--theme-body);
}
html[data-theme] header:is(.header, :not([class])) {
  background: var(--theme-paper);
  color: var(--theme-ink);
  border-bottom: var(--theme-rule) solid var(--theme-line);
}
html[data-theme] header :is(.brand, .brand span, .brand small, .menu-toggle, .header-nav a, .language-choice),
html[data-theme] .header #navigation > a {
  color: var(--theme-ink);
}
html[data-theme] header .brand {
  font-family: var(--theme-heading);
  font-weight: var(--theme-weight);
}
html[data-theme] .header :is(.header-cta, .menu-toggle),
html[data-theme] header .language-choice select {
  border: 1px solid var(--theme-ink);
  border-radius: var(--theme-control-radius);
  background: var(--theme-paper);
  color: var(--theme-ink);
}
html[data-theme] .header .header-cta {
  background: var(--theme-ink);
  color: var(--theme-paper);
}
@media (max-width: 1023px) {
  html[data-theme] .header nav.open { background: var(--theme-paper); }
}
html[data-theme] #odkryj.story-showcase {
  background: var(--theme-pattern, none), var(--theme-paper);
  color: var(--theme-ink);
  border-block: var(--theme-rule) solid var(--theme-line);
}
html[data-theme] #odkryj .story-showcase-head :is(h2, p) { color: var(--theme-ink); }
html[data-theme] #odkryj .story-showcase-head :is(em,.eyebrow) { color: var(--theme-accent); }
html[data-theme] #odkryj .story-card {
  border-radius: var(--theme-photo-radius);
  border: var(--theme-rule) solid var(--theme-line);
}
html[data-theme] #odkryj .story-card :is(h3, h3 em, .story-card-desc, .story-card-num) { color: #fff; }
html[data-theme] #odkryj .story-card::before {
  background: linear-gradient(180deg,#1115,transparent 26%,#111b 61%,#111f);
}
html[data-theme] main > [data-stage]:not(.hero) h2,
html[data-theme] main > [data-stage] :is(.story-card h3,.event-card h3,.room-select,.contact-phone) {
  font-family: var(--theme-heading);
  font-weight: var(--theme-weight);
  letter-spacing: var(--theme-tracking);
}
html[data-theme] .stage-bg::after {
  background: linear-gradient(105deg,color-mix(in srgb,var(--theme-night) 92%,transparent),color-mix(in srgb,var(--theme-night) 72%,transparent) 48%,color-mix(in srgb,var(--theme-night) 55%,transparent));
}
html[data-theme] main > [data-stage]:not(:is(.hero,#odkryj)) :is(.restaurant-editorial,.rooms-editorial,.events-head,.contact-editorial) h2 { color:#fff; }
html[data-theme] main > [data-stage]:not(:is(.hero,#odkryj)) :is(.restaurant-editorial,.rooms-editorial,.events-head,.contact-editorial) :is(h2 em,.eyebrow) {
  color:var(--theme-light-accent);
}
html[data-theme] :is(#restauracja,#pokoje,#przyjecia,#kontakt) :is(.menu-glass-card,.room-glass-card,.event-format-card,.contact-card,.address-glass-card) {
  border-radius: var(--theme-card-radius);
  border-top: var(--theme-rule) solid var(--theme-light-accent);
}
html[data-theme] main > [data-stage]:not(.hero) :is(.glass-button,.cream-btn,.button),
html[data-theme] .stage-footer .back-top-pill { border-radius:var(--theme-control-radius); }
html[data-theme] .stage-footer { background:var(--theme-night); color:#fff; }
html[data-theme] :is(#dishes, .social-feed-grid) { gap:var(--theme-grid-gap, 28px 20px); }
html[data-theme] body:has(:is(#dishes,#nowosci-main)) {
  background:var(--theme-paper);
  color:var(--theme-ink);
}
html[data-theme] body:has(:is(#dishes,#nowosci-main))::before {
  background:var(--theme-pattern,none);
}
html[data-theme] main:has(:is(#dishes,#social-filters)) > .intro,
html[data-theme] .nowosci-hero .intro { max-width:var(--theme-title-width,900px); }
html[data-theme] main:has(:is(#dishes,#social-filters)) .intro h1 {
  font-family:var(--theme-heading);
  font-size:clamp(3.15rem,7.5vw,7.9rem);
  font-weight:var(--theme-weight);
  letter-spacing:var(--theme-tracking);
  line-height:.96;
  color:var(--theme-ink);
}
html[data-theme] main:has(:is(#dishes,#social-filters)) :is(.intro h1 em,.eyebrow) { color:var(--theme-accent); }
html[data-theme] main:has(:is(#dishes,#social-filters)) :is(.intro p:not(.eyebrow),.od-category,.nowosci-empty) { color:var(--theme-secondary); }
html[data-theme] #dishes .od-tile,
html[data-theme] .social-feed-card :is(h2,h3) { color:var(--theme-ink); font-family:var(--theme-heading); }
html[data-theme] #dishes .od-name { font-family:var(--theme-heading); font-weight:var(--theme-weight); letter-spacing:var(--theme-tracking); color:var(--theme-ink); }
html[data-theme] #dishes .od-square,
html[data-theme] #nowosci-main .social-card-media { background:var(--theme-faint); border:1px solid var(--theme-line); border-radius:var(--theme-photo-radius); }
html[data-theme] #dishes .od-square :is(.od-monogram,.fallback) { color:var(--theme-secondary); }
html[data-theme] :is(#categories,#social-filters) {
  border-bottom:var(--theme-rule) solid var(--theme-line);
  scrollbar-color:var(--theme-line) transparent;
}
html[data-theme] :is(#categories,#social-filters) button { color:var(--theme-secondary); }
html[data-theme] :is(#categories,#social-filters) button:is(:hover,[aria-pressed=true],.active) {
  color:var(--theme-accent);
  border-bottom-color:var(--theme-accent);
}
html[data-theme] #nowosci-main .social-feed-card {
  background:var(--theme-faint);
  border:var(--theme-rule) solid var(--theme-line);
  border-radius:var(--theme-card-radius);
}
html[data-theme] #nowosci-main .social-feed-card :is(p:not(.eyebrow),.note) { color:var(--theme-secondary); }
html[data-theme] #nowosci-main .social-feed-card a:not(.glass-button) { color:var(--theme-accent); }
html[data-theme] #nowosci-main .glass-button {
  color:var(--theme-paper); background:var(--theme-ink); border:1px solid var(--theme-ink);
  border-radius:var(--theme-control-radius);
}
html[data-theme] :is(#categories,#dishes,#nowosci-main,header) :focus-visible {
  outline:3px solid var(--theme-accent);
  outline-offset:3px;
}
@media (max-width:640px) {
  html[data-theme] #dishes { gap:24px 12px; }
  html[data-theme] main:has(:is(#dishes,#social-filters)) .intro h1 { font-size:clamp(2.85rem,12.5vw,5.2rem); overflow-wrap:break-word; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] { scroll-behavior:auto; }
  html[data-theme] :is(.story-card,.od-square img,.social-feed-card) { animation:none; transition:none; }
}
/* Live dish components shared by the standalone menu and restaurant view. */
html[data-theme] #dishes .od-price { color:var(--theme-accent); }
html[data-theme] #dishes .od-category { color:var(--theme-secondary); }
html[data-theme] #dishes .od-square .od-monogram { color:var(--theme-secondary); font-family:var(--theme-heading); }
html[data-theme] .header select.site-language {
  color:var(--theme-ink); background:var(--theme-paper); border-color:var(--theme-line); border-radius:var(--theme-control-radius);
}
html[data-theme] #restauracja .menu-glass-card.menu-showcase {
  background:var(--theme-night); border-radius:var(--theme-card-radius); border-color:var(--theme-light-accent);
}
html[data-theme] #restauracja .od-square {
  border-radius:var(--theme-photo-radius); background:color-mix(in srgb,var(--theme-night) 80%,white);
}
html[data-theme] #restauracja .od-name { font-family:var(--theme-heading); font-weight:var(--theme-weight); }
html[data-theme] #restauracja :is(.od-price,.od-monogram) { color:var(--theme-light-accent); }
html[data-theme] :is(dialog#card-modal,dialog#dish-detail).od-dialog {
  background:var(--theme-paper); color:var(--theme-ink); border-radius:var(--theme-card-radius);
}
html[data-theme] .od-dialog .od-title { color:var(--theme-ink); font-family:var(--theme-heading); font-weight:var(--theme-weight); letter-spacing:var(--theme-tracking); }
html[data-theme] .od-dialog .od-body { background:var(--theme-paper); color:var(--theme-ink); }
html[data-theme] .od-dialog :is(.od-eyebrow,.od-detail-price) { color:var(--theme-accent); }
html[data-theme] .od-dialog :is(.od-description,.od-note,.od-food-details,.od-detail-price span) { color:var(--theme-secondary); }
html[data-theme] .od-dialog .od-close { background:var(--theme-paper); color:var(--theme-ink); border:1px solid var(--theme-line); }
