/* Maydos daylight themes: day → dusk → night */

:root,
html[data-theme="day"] {
  color-scheme: light;
  --maydos-wine: #5c0000;
  --maydos-wine-deep: #3a0000;
  --maydos-ink: #1a1210;
  --maydos-muted: #5e534c;
  --maydos-line: rgba(92, 0, 0, 0.18);
  --maydos-paper: #f7f2ea;
  --maydos-paper-2: #efe6d8;
  --maydos-surface: #ffffff;
  --maydos-surface-2: #f3ebe0;
  --maydos-header-bg: #ffffff;
  --maydos-header-fg: #000000;
  --maydos-sky-a: rgba(255, 236, 210, 0.45);
  --maydos-sky-b: rgba(210, 230, 245, 0.28);
  --maydos-sky-c: rgba(247, 242, 234, 0.2);
  --maydos-shadow: rgba(20, 14, 8, 0.18);
  --maydos-cta-fg: #f4ebe0;
}

html[data-theme="dusk"] {
  color-scheme: light;
  --maydos-wine: #6b2424;
  --maydos-wine-deep: #4a1818;
  --maydos-ink: #2a2624;
  --maydos-muted: #6b6560;
  --maydos-line: rgba(70, 64, 58, 0.22);
  --maydos-paper: #e6e2db;
  --maydos-paper-2: #d8d3cb;
  --maydos-surface: #efece7;
  --maydos-surface-2: #ddd8d0;
  --maydos-header-bg: #ebe7e1;
  --maydos-header-fg: #1f1c1a;
  --maydos-sky-a: rgba(120, 110, 100, 0.28);
  --maydos-sky-b: rgba(150, 100, 80, 0.18);
  --maydos-sky-c: rgba(90, 100, 120, 0.22);
  --maydos-shadow: rgba(30, 26, 22, 0.22);
  --maydos-cta-fg: #f3ebe3;
}

html[data-theme="night"] {
  color-scheme: dark;
  --maydos-wine: #c45a5a;
  --maydos-wine-deep: #8b2e2e;
  --maydos-ink: #f2ebe3;
  --maydos-muted: #b5a89c;
  --maydos-line: rgba(196, 90, 90, 0.28);
  --maydos-paper: #141110;
  --maydos-paper-2: #1c1714;
  --maydos-surface: #1e1916;
  --maydos-surface-2: #26201c;
  --maydos-header-bg: #12100e;
  --maydos-header-fg: #f2ebe3;
  --maydos-sky-a: rgba(60, 20, 24, 0.55);
  --maydos-sky-b: rgba(20, 24, 40, 0.45);
  --maydos-sky-c: rgba(8, 8, 12, 0.35);
  --maydos-shadow: rgba(0, 0, 0, 0.45);
  --maydos-cta-fg: #1a1210;
}

html {
  background-color: var(--maydos-paper);
}

body.site-live,
#main_wrapper,
.article {
  background-color: transparent;
  color: var(--maydos-ink);
  transition:
    background-color 1.4s ease,
    color 1.2s ease,
    border-color 1.2s ease;
}

/* Ambient sky — daylight motion */
.maydos-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at var(--maydos-sky-x, 18%) var(--maydos-sky-y, 8%), var(--maydos-sky-a), transparent 58%),
    radial-gradient(760px 480px at calc(100% - var(--maydos-sky-x, 18%)) 12%, var(--maydos-sky-b), transparent 55%),
    linear-gradient(180deg, var(--maydos-sky-c), transparent 42%, var(--maydos-paper-2));
  opacity: 0.95;
  transform-origin: 50% 20%;
  transition: background 1.8s ease, opacity 1.8s ease;
  animation: maydosSkyDrift 56s ease-in-out infinite alternate;
}

@keyframes maydosSkyDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 0.88;
    filter: saturate(0.95);
  }
  to {
    transform: scale(1.07) translate3d(-2.5%, 1.5%, 0);
    opacity: 1;
    filter: saturate(1.08);
  }
}

#main_wrapper,
.article,
.maydos_footer,
.footer {
  position: relative;
  z-index: 1;
}

/* Header must sit above .article — otherwise the open mobile nav
   (position:fixed inside this stacking context) renders behind content. */
.maydos_header {
  position: relative;
  z-index: 3000;
}

/* Menü CTA — MENÜ ↔ yeme-içme ikonları, yanıp sönen renk */
.maydos_header .right-menu {
  gap: 12px;
}

.maydos_header .right-menu .maydos-menu-cta {
  --menu-cta-a: #8a1a1a;
  --menu-cta-b: #5c0000;
  --menu-cta-c: #3a0000;
  --menu-cta-fg: #fff8eb;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 42px;
  padding: 0 22px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  background: linear-gradient(180deg, var(--menu-cta-a), var(--menu-cta-b) 55%, var(--menu-cta-c));
  color: var(--menu-cta-fg);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  overflow: hidden;
  animation: maydosMenuCtaPulse 1.1s ease-in-out infinite;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.maydos_header .right-menu .maydos-menu-cta[data-tone="wine"] {
  --menu-cta-a: #9a2020;
  --menu-cta-b: #5c0000;
  --menu-cta-c: #2e0000;
  --menu-cta-fg: #fff8eb;
}

.maydos_header .right-menu .maydos-menu-cta[data-tone="gold"] {
  --menu-cta-a: #c4a46a;
  --menu-cta-b: #8a6a2e;
  --menu-cta-c: #5c4518;
  --menu-cta-fg: #fffaf0;
}

.maydos_header .right-menu .maydos-menu-cta[data-tone="ink"] {
  --menu-cta-a: #2a221e;
  --menu-cta-b: #1a1210;
  --menu-cta-c: #0c0a09;
  --menu-cta-fg: #f7f2ea;
}

.maydos_header .right-menu .maydos-menu-cta[data-tone="cream"] {
  --menu-cta-a: #f0e2cf;
  --menu-cta-b: #e8cfc0;
  --menu-cta-c: #d4b5a0;
  --menu-cta-fg: #1a1210;
}

.maydos_header .right-menu .maydos-menu-cta-stage {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  text-transform: uppercase;
}

.maydos_header .right-menu .maydos-menu-cta-stage.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.maydos_header .right-menu .maydos-menu-cta-stage[data-stage="icon"] {
  font-size: 1.15rem;
  letter-spacing: 0;
}

.maydos_header .right-menu .maydos-menu-cta:hover,
.maydos_header .right-menu .maydos-menu-cta:focus-visible {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08);
  outline: none;
}

@keyframes maydosMenuCtaPulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(92, 0, 0, 0);
  }
  50% {
    filter: brightness(1.14);
    box-shadow: 0 0 0 4px rgba(92, 0, 0, 0.16);
  }
}

html[data-theme="night"] .maydos_header .right-menu .maydos-menu-cta[data-tone="wine"] {
  --menu-cta-a: #f0a8a0;
  --menu-cta-b: #e8cfc0;
  --menu-cta-c: #d4b5a0;
  --menu-cta-fg: #1a1210;
}

html[data-theme="night"] .maydos_header .right-menu .maydos-menu-cta[data-tone="gold"] {
  --menu-cta-a: #f2d9a0;
  --menu-cta-b: #d4b56a;
  --menu-cta-c: #b89848;
  --menu-cta-fg: #1a1210;
}

@media (prefers-reduced-motion: reduce) {
  .maydos_header .right-menu .maydos-menu-cta {
    animation: none !important;
  }

  .maydos_header .right-menu .maydos-menu-cta-stage {
    transition: none;
  }
}

/* Header adapts */
.maydos_header .main_header,
.maydos_header.header-sticky-fixed {
  background-color: var(--maydos-header-bg) !important;
  color: var(--maydos-header-fg);
  transition: background-color 1.2s ease, color 1.2s ease, box-shadow 1.2s ease;
}

.maydos_header .navbar .navbar-collapse .nn_navbar li a {
  color: var(--maydos-header-fg) !important;
  background-color: transparent !important;
}

.maydos_header .navbar .navbar-collapse .nn_navbar li a:hover,
.maydos_header .navbar .navbar-collapse .nn_navbar li a:focus,
.maydos_header .navbar .navbar-collapse .nn_navbar li a.active {
  color: var(--maydos-wine) !important;
}

.maydos_header .navbar .navbar-header .navbar-toggle .icon-bar {
  background-color: var(--maydos-header-fg) !important;
}

.maydos_header .right-menu .maydos-reserve-cta {
  background: var(--maydos-wine);
  border-color: var(--maydos-wine);
  color: var(--maydos-cta-fg);
}

html[data-theme="night"] .maydos_header .right-menu .maydos-reserve-cta {
  color: #1a1210;
  background: #e8cfc0;
  border-color: #e8cfc0;
}

html[data-theme="night"] .maydos_header.header-sticky-fixed {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a {
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a:hover,
html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a:focus,
html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a.active {
  color: #f0a8a0 !important;
}


@media (max-width: 960px) {
  html[data-theme="night"] .maydos_header .navbar .navbar-collapse {
    background: #1a1512 !important;
  }

  html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li {
    border-color: rgba(242, 235, 227, 0.12) !important;
  }

  html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a {
    color: #f2ebe3 !important;
  }

  html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a:hover,
  html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a:focus,
  html[data-theme="night"] .maydos_header .navbar .navbar-collapse .nn_navbar li a.active {
    background-color: rgba(242, 235, 227, 0.06) !important;
    color: #f0a8a0 !important;
  }

  .maydos_header .main_header .right-menu .maydos-menu-cta,
  .maydos_header .main_header .right-menu .maydos-reserve-cta {
    min-height: 38px;
    font-size: 0.88rem;
    padding: 0 16px;
  }
}

/* Homepage light panels — night readability */
html[data-theme="night"] .section-one .nn_row .nn_col:first-child {
  background: #1e1916 !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .section-one .title {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .section-one .head,
html[data-theme="night"] .section-one .head em,
html[data-theme="night"] .section-one .head p {
  color: #fff8f0 !important;
}

html[data-theme="night"] .section-one .text,
html[data-theme="night"] .section-one .text p,
html[data-theme="night"] .section-one .text span {
  color: #d9cfc4 !important;
}

html[data-theme="night"] .section-one .link {
  color: #f2ebe3 !important;
  border-color: rgba(242, 235, 227, 0.45) !important;
  background: transparent !important;
}

html[data-theme="night"] .section-two .grid .col2,
html[data-theme="night"] .section-two .grid .col4,
html[data-theme="night"] .section-two .grid .col5 .content {
  background: #1a1512;
}

html[data-theme="night"] .section-two .grid .col2 .title,
html[data-theme="night"] .section-two .grid .col4 .title,
html[data-theme="night"] .section-two .grid .title {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .section-two .grid .col2 .head,
html[data-theme="night"] .section-two .grid .col4 .head,
html[data-theme="night"] .section-two .grid .col4 .head p,
html[data-theme="night"] .section-two .grid .col4 .head em,
html[data-theme="night"] .section-two .grid .head {
  color: #fff8f0 !important;
}

html[data-theme="night"] .section-two .grid .link {
  color: #f2ebe3 !important;
  border-color: rgba(242, 235, 227, 0.45) !important;
}

html[data-theme="night"] .dijifis-content-wrap {
  color: #f2ebe3;
}

html[data-theme="night"] .dijifis-section-head h3 {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .dijifis-campaign-card {
  background: #1e1916 !important;
  border-bottom-color: rgba(242, 235, 227, 0.14) !important;
}

html[data-theme="night"] .dijifis-campaign-card h4 {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .dijifis-campaign-card p,
html[data-theme="night"] .dijifis-campaign-card > div {
  color: #d9cfc4 !important;
}

/* Gallery / classic menu light panels — night readability */
html[data-theme="night"] .maydos_gallery .gallery-one .nn_row .nn_col:last-child,
html[data-theme="night"] .maydos_menu .menu-one .nn_row .nn_col:last-child {
  background: #1e1916 !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_gallery .title,
html[data-theme="night"] .maydos_menu .title {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .maydos_gallery .head,
html[data-theme="night"] .maydos_gallery .head p,
html[data-theme="night"] .maydos_gallery .head em,
html[data-theme="night"] .maydos_menu .head,
html[data-theme="night"] .maydos_menu .head p,
html[data-theme="night"] .maydos_menu .head em {
  color: #fff8f0 !important;
}

html[data-theme="night"] .maydos_gallery .text,
html[data-theme="night"] .maydos_gallery .text p,
html[data-theme="night"] .maydos_gallery .text em,
html[data-theme="night"] .maydos_menu .text,
html[data-theme="night"] .maydos_menu .text p,
html[data-theme="night"] .maydos_menu .text em {
  color: #d9cfc4 !important;
}

html[data-theme="dusk"] .maydos_header .navbar .navbar-collapse .nn_navbar li a {
  color: #2a2624 !important;
}

html[data-theme="dusk"] .maydos_header .navbar .navbar-collapse .nn_navbar li a:hover,
html[data-theme="dusk"] .maydos_header .navbar .navbar-collapse .nn_navbar li a.active {
  color: #6b2424 !important;
}

/* Brand pages using CSS variables */
.maydos-menu-page,
.maydos-event-page,
.maydos-pay-page,
.maydos-reserve-section,
.maydos_contact {
  background:
    radial-gradient(1200px 480px at 10% -10%, color-mix(in srgb, var(--maydos-wine) 12%, transparent), transparent 60%),
    linear-gradient(180deg, var(--maydos-paper) 0%, var(--maydos-surface) 42%, var(--maydos-paper-2) 100%) !important;
  color: var(--maydos-ink);
  transition: background 1.6s ease, color 1.2s ease;
}

.menu-cat-nav,
.menu-cat-nav.is-fixed {
  background: color-mix(in srgb, var(--maydos-paper) 92%, transparent);
  border-bottom-color: var(--maydos-line);
}

/* Menu page — night (hero + cats must follow theme) */
html[data-theme="night"] .maydos-menu-page {
  background:
    radial-gradient(1000px 420px at 12% -8%, rgba(196, 90, 90, 0.16), transparent 55%),
    linear-gradient(180deg, #100e0c 0%, #161210 46%, #1a1512 100%) !important;
  color: #f2ebe3;
}

html[data-theme="night"] .menu-hero-bleed {
  color: #f2ebe3;
  border-bottom-color: rgba(242, 235, 227, 0.12);
}

html[data-theme="night"] .menu-hero-media {
  background-color: #14100e !important;
  background-image: none !important;
  opacity: 1;
  filter: none;
}

html[data-theme="night"] .menu-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/menu-hero-icons.svg");
  background-size: 180px 180px;
  background-repeat: repeat;
  opacity: 0.12;
  filter: invert(1) brightness(1.4);
  pointer-events: none;
}

html[data-theme="night"] .menu-hero-veil {
  background:
    linear-gradient(
      90deg,
      rgba(16, 12, 10, 0.96) 0%,
      rgba(16, 12, 10, 0.82) 45%,
      rgba(16, 12, 10, 0.55) 100%
    ) !important;
}

html[data-theme="night"] .menu-brand {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .menu-title,
html[data-theme="night"] .menu-lead,
html[data-theme="night"] .menu-status {
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-lead {
  color: #cbbfb3 !important;
}

html[data-theme="night"] .menu-status.is-open {
  color: #8fd0a8 !important;
}

html[data-theme="night"] .menu-status.is-closed {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .menu-cta {
  background: #e8cfc0 !important;
  border-color: #e8cfc0 !important;
  color: #1a1210 !important;
}

html[data-theme="night"] .menu-cta-ghost {
  background: transparent !important;
  border-color: rgba(242, 235, 227, 0.55) !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-cta-ghost:hover,
html[data-theme="night"] .menu-cta-ghost:focus {
  background: rgba(242, 235, 227, 0.1) !important;
  color: #fff !important;
}

html[data-theme="night"] .menu-cat-nav,
html[data-theme="night"] .menu-cat-nav.is-fixed {
  background: rgba(18, 14, 12, 0.96) !important;
  border-bottom-color: rgba(242, 235, 227, 0.12) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="night"] .menu-cat-nav a {
  color: #cbbfb3 !important;
}

html[data-theme="night"] .menu-cat-nav a:hover,
html[data-theme="night"] .menu-cat-nav a.is-active {
  color: #f0a8a0 !important;
  border-bottom-color: #f0a8a0 !important;
}

html[data-theme="night"] .category-title,
html[data-theme="night"] .maydos-menu-item .item-title {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .maydos-menu-item .item-desc,
html[data-theme="night"] .category-ornament {
  color: #cbbfb3 !important;
}

html[data-theme="dusk"] .menu-hero-media {
  background-color: #ddd6cc !important;
  background-image:
    linear-gradient(180deg, rgba(214, 208, 198, 0.35), rgba(200, 194, 184, 0.65)),
    url("../images/menu-hero-icons.svg") !important;
}

html[data-theme="dusk"] .menu-hero-veil {
  background:
    linear-gradient(
      90deg,
      rgba(230, 226, 219, 0.94) 0%,
      rgba(230, 226, 219, 0.75) 42%,
      rgba(230, 226, 219, 0.35) 100%
    ) !important;
}

html[data-theme="dusk"] .menu-cat-nav,
html[data-theme="dusk"] .menu-cat-nav.is-fixed {
  background: rgba(230, 226, 219, 0.96) !important;
}

.menu-detail-panel,
.menu-cart-panel,
.event-form-col,
.event-plan-col,
.maydos-reserve-panel,
.pay-summary,
.pay-checkout,
.pay-fallback {
  background: var(--maydos-surface) !important;
  color: var(--maydos-ink);
  box-shadow: 0 18px 40px var(--maydos-shadow);
}

html[data-theme="night"] .menu-cart-panel {
  background: #161210 !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-cart-header {
  border-bottom-color: rgba(242, 235, 227, 0.12) !important;
}

html[data-theme="night"] .menu-cart-header h2,
html[data-theme="night"] .menu-cart-close,
html[data-theme="night"] .menu-cart-line-info strong,
html[data-theme="night"] .menu-cart-line-info span,
html[data-theme="night"] .menu-cart-line-qty span,
html[data-theme="night"] .menu-cart-empty,
html[data-theme="night"] .menu-cart-total,
html[data-theme="night"] .menu-cart-total strong,
html[data-theme="night"] .menu-cart-note,
html[data-theme="night"] .menu-cart-code,
html[data-theme="night"] .menu-cart-qr-msg {
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-cart-line {
  border-bottom-color: rgba(242, 235, 227, 0.1) !important;
}

html[data-theme="night"] .menu-cart-line-qty button {
  background: #2a221e !important;
  border-color: rgba(242, 235, 227, 0.28) !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-cart-footer {
  background: #1e1916 !important;
  border-top-color: rgba(242, 235, 227, 0.12) !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .menu-cart-qr-btn {
  background: #e8cfc0 !important;
  color: #1a1210 !important;
}

html[data-theme="night"] .menu-cart-qr-box img {
  background: #fff;
}

html[data-theme="night"] .menu-cart-fab {
  background: #e8cfc0 !important;
  color: #1a1210 !important;
}

.menu-detail-body,
.event-selection,
.event-review,
.maydos-reserve-hint {
  color: var(--maydos-ink);
}

.event-selection,
.event-review {
  background: var(--maydos-surface-2) !important;
  border-left-color: var(--maydos-wine);
}

.menu-detail-add,
.event-submit,
.maydos-reserve-form .form-submit button,
.pay-mock-btn,
.menu-cta {
  background: var(--maydos-ink);
  color: var(--maydos-paper);
}

html[data-theme="night"] .menu-detail-add,
html[data-theme="night"] .event-submit,
html[data-theme="night"] .maydos-reserve-form .form-submit button,
html[data-theme="night"] .pay-mock-btn {
  background: #e8cfc0;
  color: #1a1210;
}

.event-join-form input,
.event-join-form textarea,
.maydos-reserve-form .form-field input,
.maydos-reserve-form .form-field textarea,
.maydos-reserve-form .form-field select {
  background: transparent;
  color: var(--maydos-ink);
  border-color: var(--maydos-line);
}

html[data-theme="night"] .maydos-reserve-section {
  background:
    radial-gradient(900px 360px at 90% 0%, rgba(196, 90, 90, 0.12), transparent 55%),
    linear-gradient(180deg, #14110f 0%, #1a1512 100%) !important;
}

html[data-theme="night"] .maydos-reserve-panel {
  background: #1e1916 !important;
  color: #f2ebe3 !important;
  border-top-color: #c45a5a !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* .maydos_form ships a white gradient card — flatten into night panel */
html[data-theme="night"] .maydos-reserve-form.maydos_form,
html[data-theme="night"] .maydos-reserve-panel .maydos_form {
  background: transparent !important;
  box-shadow: none !important;
  color: #f2ebe3 !important;
  padding: 0;
  transform: none !important;
}

html[data-theme="night"] .maydos-reserve-form.maydos_form:hover,
html[data-theme="night"] .maydos-reserve-panel .maydos_form:hover {
  box-shadow: none !important;
  transform: none !important;
}

html[data-theme="night"] .maydos-reserve-form .form-field label,
html[data-theme="night"] .maydos-reserve-form .field-required label,
html[data-theme="night"] .maydos-reserve-hint,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field label,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field:hover label {
  color: #cbbfb3 !important;
}

html[data-theme="night"] .maydos-reserve-form .field-required label::after {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .maydos-reserve-form .form-field input,
html[data-theme="night"] .maydos-reserve-form .form-field textarea,
html[data-theme="night"] .maydos-reserve-form .form-field select,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field input,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field textarea,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field select,
html[data-theme="night"] .nano_form .form-field input,
html[data-theme="night"] .nano_form .form-field textarea,
html[data-theme="night"] .nano_form .form-field select {
  background: #14110f !important;
  background-color: #14110f !important;
  color: #f7f2ea !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(242, 235, 227, 0.28) !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #f7f2ea;
  color-scheme: dark;
}

html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field input:hover:not(:focus),
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field textarea:hover:not(:focus),
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field input:focus,
html[data-theme="night"] .maydos-reserve-form.maydos_form .form-field textarea:focus {
  background: #1a1512 !important;
  background-color: #1a1512 !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-theme="night"] .maydos-reserve-form .form-field input::placeholder,
html[data-theme="night"] .maydos-reserve-form .form-field textarea::placeholder {
  color: rgba(242, 235, 227, 0.45) !important;
  opacity: 1;
}

html[data-theme="night"] .maydos-reserve-form .form-field input:focus,
html[data-theme="night"] .maydos-reserve-form .form-field textarea:focus,
html[data-theme="night"] .maydos-reserve-form .form-field select:focus {
  border-bottom-color: #f0a8a0 !important;
  background: #1a1512 !important;
}

html[data-theme="night"] .maydos-reserve-form .form-field select {
  background-image: linear-gradient(45deg, transparent 50%, #f0a8a0 50%),
    linear-gradient(135deg, #f0a8a0 50%, transparent 50%) !important;
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55% !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  background-color: #14110f !important;
}

html[data-theme="night"] .maydos-reserve-form .form-field input:disabled,
html[data-theme="night"] .maydos-reserve-form .form-field select:disabled {
  background-color: #12100e !important;
  color: rgba(242, 235, 227, 0.45) !important;
  -webkit-text-fill-color: rgba(242, 235, 227, 0.45);
  opacity: 1;
}

html[data-theme="night"] .maydos-reserve-form .form-submit button {
  background: #e8cfc0 !important;
  color: #1a1210 !important;
}

html[data-theme="night"] .maydos-reserve-form .form-submit button:hover,
html[data-theme="night"] .maydos-reserve-form .form-submit button:focus-visible {
  background: #f0a8a0 !important;
  color: #1a1210 !important;
}

html[data-theme="night"] .event-join-form input,
html[data-theme="night"] .event-join-form textarea {
  background: #14110f !important;
  color: #f7f2ea !important;
  border-color: rgba(242, 235, 227, 0.28) !important;
  color-scheme: dark;
}

.maydos-menu-item .item-title,
.category-title,
#menu-detail-title,
.event-form-head h2,
.event-plan-head h2,
.maydos-reserve-intro .head {
  color: var(--maydos-wine);
}

.item-desc,
.menu-detail-desc,
.event-step-lead,
.event-when,
.menu-lead {
  color: var(--maydos-muted);
}

.menu-cart-fab {
  background: var(--maydos-ink);
  color: var(--maydos-paper);
  box-shadow: 0 10px 28px var(--maydos-shadow);
}

/* Soft page wash for classic maydos sections */
html[data-theme="dusk"] .nn_section,
html[data-theme="night"] .nn_section {
  transition: background-color 1.4s ease, color 1.2s ease;
}

html[data-theme="dusk"] body.site-live {
  background-color: #e4e0d9;
}

html[data-theme="night"] body.site-live {
  background-color: #100e0c;
}

/* Soft diagonal logo watermark in main footer */
.maydos_footer .main-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.maydos_footer .main-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(720px, 92vw);
  height: min(380px, 70%);
  background: url("../images/maydos-logo-white.svg") center / contain no-repeat;
  opacity: 0.11;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
  z-index: 0;
  filter: brightness(1.05);
}

.maydos_footer .main-footer > .nn_container {
  position: relative;
  z-index: 1;
}

html[data-theme="day"] .maydos_footer .main-footer::before {
  opacity: 0.14;
}

html[data-theme="dusk"] .maydos_footer .main-footer::before {
  opacity: 0.12;
}

html[data-theme="night"] .maydos_footer .main-footer::before {
  opacity: 0.09;
  filter: brightness(1.15);
}

@media (max-width: 960px) {
  .maydos_footer .main-footer::before {
    width: min(520px, 110vw);
    height: 46%;
    opacity: 0.1;
    transform: translate(-46%, -48%) rotate(-16deg);
  }
}

html[data-theme="night"] .maydos_footer .main-footer {
  background-color: #14110f !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_footer .head,
html[data-theme="night"] .maydos_footer .text,
html[data-theme="night"] .maydos_footer .time,
html[data-theme="night"] .maydos_footer .time p,
html[data-theme="night"] .maydos_footer .address,
html[data-theme="night"] .maydos_footer .address a,
html[data-theme="night"] .maydos_footer .footer-menu li a,
html[data-theme="night"] .maydos_footer .social a {
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_footer .link {
  border-color: rgba(242, 235, 227, 0.7) !important;
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_footer .social a:hover {
  color: #f0a8a0 !important;
}

html[data-theme="dusk"] .maydos_footer .main-footer {
  background-color: #6d7a78 !important;
  color: #f7f2ea !important;
}

html[data-theme="dusk"] .maydos_footer .address a,
html[data-theme="dusk"] .maydos_footer .footer-menu li a,
html[data-theme="dusk"] .maydos_footer .social a,
html[data-theme="dusk"] .maydos_footer .link {
  color: #f7f2ea !important;
}

html[data-theme="night"] .maydos-menu-item .item-price,
html[data-theme="night"] .maydos-menu-item .item-price:hover,
html[data-theme="night"] .maydos-menu-item .item-price:focus-visible {
  color: #ffffff !important;
}

html[data-theme="night"] .maydos_header .maydos-logo {
  filter: none;
}

/* Contact + classic content readability (night) */
html[data-theme="night"] .maydos_contact,
html[data-theme="night"] .maydos_contact .head,
html[data-theme="night"] .maydos_contact .title,
html[data-theme="night"] .maydos_contact .address,
html[data-theme="night"] .maydos_contact .text,
html[data-theme="night"] .maydos_contact .address a,
html[data-theme="night"] .maydos_contact .text a,
html[data-theme="night"] #dijifis-open-status,
html[data-theme="night"] #dijifis-hours,
html[data-theme="night"] #dijifis-hours p,
html[data-theme="night"] #dijifis-hours strong {
  color: #f2ebe3 !important;
}

html[data-theme="night"] .maydos_contact .title,
html[data-theme="night"] .maydos_contact .head {
  color: #fff8f0 !important;
}

html[data-theme="night"] .maydos_contact .address,
html[data-theme="night"] .maydos_contact .text,
html[data-theme="night"] #dijifis-hours {
  color: #d9cfc4 !important;
}

html[data-theme="night"] .maydos_contact .link {
  border-color: rgba(242, 235, 227, 0.45) !important;
  color: #f2ebe3 !important;
  background: transparent;
}

html[data-theme="night"] .maydos_contact .link.one {
  background-color: #2a221e !important;
  color: #f2ebe3 !important;
  border: 1px solid rgba(242, 235, 227, 0.25) !important;
}

html[data-theme="night"] .maydos_contact .link.two {
  background-color: #5c0000 !important;
  border-color: rgba(242, 235, 227, 0.55) !important;
  color: #fff8f0 !important;
}

html[data-theme="night"] .article .head,
html[data-theme="night"] .article .title,
html[data-theme="night"] .article .text,
html[data-theme="night"] .article p,
html[data-theme="night"] .article h1,
html[data-theme="night"] .article h2,
html[data-theme="night"] .article h3,
html[data-theme="night"] .article h4,
html[data-theme="night"] .article h5,
html[data-theme="night"] .article a:not(.btn-default):not(.maydos-reserve-cta):not(.link) {
  color: #f2ebe3;
}

html[data-theme="night"] .article a:not(.btn-default):not(.maydos-reserve-cta):not(.link):hover {
  color: #f0a8a0;
}

html[data-theme="night"] .maydos-reserve-kicker {
  color: #f0a8a0 !important;
}

html[data-theme="night"] .maydos-reserve-lead {
  color: #cbbfb3 !important;
}

html[data-theme="night"] .maydos-reserve-intro .head {
  color: #fff8f0 !important;
}

html[data-theme="night"] .footer_copyright,
html[data-theme="night"] .footer_copyright a,
html[data-theme="night"] .footer_copyright p,
html[data-theme="night"] .footer-copy {
  color: #d9cfc4 !important;
}

.maydos_footer .footer_copyright {
  background-color: #1b1a22;
  color: #f2ebe3;
  padding: 18px 0;
}

.maydos_footer .footer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  min-height: 56px;
}

.maydos_footer .footer-copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(242, 235, 227, 0.88);
}

.maydos_footer .footer-copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 6px;
}

.maydos_footer .maydos-logo-footer {
  display: block;
  max-height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 0.95;
}

/* Sitenano credit bar — Maydos wine/cream adaptation */
.maydos_footer .footer-credit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 10px auto 0;
  padding: 1.15rem 1rem 0.35rem;
  border-top: 1px solid rgba(196, 90, 90, 0.28);
}

.maydos_footer .footer-credit-ornament {
  flex: 1 1 3rem;
  max-width: 5.5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(242, 235, 227, 0.2) 20%,
    rgba(232, 160, 144, 0.9) 50%,
    rgba(242, 235, 227, 0.2) 80%,
    transparent
  );
  position: relative;
}

.maydos_footer .footer-credit-ornament::after,
.maydos_footer .footer-credit-ornament::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, #e8a090, #c45a5a);
  box-shadow: 0 0 10px rgba(196, 90, 90, 0.45);
}

.maydos_footer .footer-credit-ornament:first-of-type::after {
  right: 0;
}

.maydos_footer .footer-credit-ornament:last-of-type::before {
  left: 0;
}

.maydos_footer .footer-credit-text {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: rgba(242, 235, 227, 0.88);
}

.maydos_footer .footer-credit-line {
  display: inline;
}

.maydos_footer .footer-credit-line-by {
  display: block;
  margin-top: 0.35rem;
}

.maydos_footer .footer-credit-text a {
  color: rgba(232, 160, 144, 0.98);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.maydos_footer .footer-credit-text a:hover {
  color: #fff8f0;
  text-shadow: 0 0 12px rgba(196, 90, 90, 0.55);
}

.maydos_footer .footer-credit-sep {
  margin: 0 0.2rem;
  color: rgba(242, 235, 227, 0.55);
  font-weight: 400;
}

.maydos_footer .footer-credit-by {
  margin-right: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 235, 227, 0.65);
}

.maydos_footer .footer-credit-brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #e8a090, #fff8f0 45%, #c45a5a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.25s ease;
}

.maydos_footer .footer-credit-brand:hover {
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(196, 90, 90, 0.65));
}

html[data-theme="night"] .maydos_footer .footer-credit-text,
html[data-theme="night"] .maydos_footer .footer-credit-sep,
html[data-theme="night"] .maydos_footer .footer-credit-by {
  color: rgba(242, 235, 227, 0.88) !important;
}

html[data-theme="night"] .maydos_footer .footer-credit-text a {
  color: rgba(232, 160, 144, 0.98) !important;
}

.maydos-theme-switch {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
}

.maydos-theme-switch button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #f2ebe3;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 9px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.maydos-theme-switch button:hover,
.maydos-theme-switch button:focus-visible {
  opacity: 1;
  outline: none;
  border-color: rgba(255, 255, 255, 0.75);
}

.maydos-theme-switch button.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
  .maydos_footer .footer-bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .maydos-theme-switch {
    justify-content: center;
  }

  .maydos_footer .footer-credit-wrap {
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .maydos_footer .footer-credit-ornament {
    max-width: 2.5rem;
  }
}

html[data-theme="night"] .maydos_footer .footer_copyright {
  background-color: #0c0a09;
}

html[data-theme="dusk"] .maydos_footer .footer_copyright {
  background-color: #2a2926;
}

@media (prefers-reduced-motion: reduce) {
  .maydos-sky {
    animation: none;
  }

  body.site-live,
  .article,
  .maydos_header .main_header,
  .maydos_header.header-sticky-fixed,
  .maydos-menu-page,
  .maydos-event-page,
  .maydos-pay-page,
  .maydos-reserve-section {
    transition: none;
  }
}
