/* JÍDELNÍ LÍSTEK PAGE */

.jidelnicek-body {
  background:
    radial-gradient(circle at 18% 18%, rgba(197, 157, 95, 0.12), transparent 34%),
    radial-gradient(circle at 82% 52%, rgba(197, 157, 95, 0.10), transparent 32%),
    var(--cream);
}

.jidelnicek-body .phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.jidelnicek-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 170px 20px 54px;
  background: url("../IMG/nahled.png") center 50% / cover no-repeat;
}

.jidelnicek-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.56)),
    linear-gradient(to bottom, rgba(43, 33, 28, 0.42), rgba(43, 33, 28, 0.30), rgba(43, 33, 28, 0.68));
}

.jidelnicek-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(43, 33, 28, 0.20);
  pointer-events: none;
}

.jidelnicek-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.jidelnicek-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(62px, 6.5vw, 96px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.jidelnicek-title-divider,
.jidelnicek-small-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--accent-light);
}

.jidelnicek-title-divider {
  width: min(360px, 78vw);
  margin: 24px auto 0;
}

.jidelnicek-title-divider span,
.jidelnicek-small-divider span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.jidelnicek-title-divider img,
.jidelnicek-small-divider img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(61%) sepia(29%) saturate(613%) hue-rotate(356deg) brightness(91%) contrast(87%);
}

.jidelnicek-page {
  position: relative;
  overflow: hidden;
  padding: 34px 24px 72px;
  background:
    radial-gradient(circle at 16% 24%, rgba(197, 157, 95, 0.08), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(197, 157, 95, 0.08), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, var(--cream) 100%);
}

.jidelnicek-page::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: radial-gradient(rgba(101, 89, 71, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
}

.jidelnicek-layout {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.98fr);
  gap: 24px;
  align-items: start;
}

.jidelnicek-right {
  max-height: 532px;
}

.jidelnicek-left,
.jidelnicek-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jidelnicek-card {
  position: relative;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(197, 157, 95, 0.23);
  box-shadow: 0 18px 52px rgba(43, 33, 28, 0.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.jidelnicek-daily-card {
  min-height: 456px;
  padding: 34px 36px 30px;
}

.jidelnicek-card-head {
  text-align: center;
  margin-bottom: 22px;
}

.jidelnicek-card-head > i {
  color: var(--accent);
  font-size: 30px;
  margin-bottom: 10px;
}

.jidelnicek-card h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--dark);
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.jidelnicek-card-head p {
  margin-top: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menicka-frame-wrap {
  position: relative;
  overflow: hidden;
  min-height: 305px;
  border-top: 1px dashed rgba(197, 157, 95, 0.42);
  padding-top: 18px;
}

.menicka-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 330px;
  border: 0;
  background: transparent;
}

.jidelnicek-week-btn {
  min-height: 78px;
  padding: 18px 30px;
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #b97927, var(--accent));
  box-shadow: 0 18px 36px rgba(151, 96, 28, 0.32);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition: 0.24s ease;
}

.jidelnicek-week-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(151, 96, 28, 0.38);
}

.jidelnicek-week-btn i:first-child {
  font-size: 31px;
}

.jidelnicek-order-card {
  padding: 28px 20px 18px;
}

.jidelnicek-contact-card {
  padding: 24px 28px 26px;
}

.jidelnicek-side-title {
  text-align: center;
  margin-bottom: 24px;
}

.jidelnicek-side-title h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.jidelnicek-small-divider {
  max-width: 320px;
  margin: 0 auto;
  gap: 14px;
}

.jidelnicek-small-divider img {
  width: 25px;
  height: 25px;
}

.online-order {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 23px 28px 21px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: 0.24s ease;
  width: 100%;
}

.online-order + .online-order {
  margin-top: 14px;
}

.online-order:hover {
  transform: translateY(-3px);
}

.online-order::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.85), transparent 12%);
  opacity: 0.9;
  pointer-events: none;
}

.menicka-order {
  background: linear-gradient(135deg, #ee1b69, #c80454);
  box-shadow: 0 18px 36px rgba(218, 5, 95, 0.36), 0 0 26px rgba(218, 5, 95, 0.32);
  animation: menickaGlow 2.7s ease-in-out infinite;
}

@keyframes menickaGlow {
  0%, 100% {
    box-shadow: 0 18px 36px rgba(218, 5, 95, 0.36), 0 0 22px rgba(218, 5, 95, 0.30);
  }
  50% {
    box-shadow: 0 20px 42px rgba(218, 5, 95, 0.46), 0 0 38px rgba(218, 5, 95, 0.50);
  }
}

.nesnezeno-order {
  width: 100%;
  padding: 15px 20px 14px;
  background: linear-gradient(135deg, #378244, #246333);
  box-shadow: 0 10px 22px rgba(40, 110, 48, 0.18);
  opacity: 0.9;
}

.nesnezeno-order:hover {
  opacity: 1;
}

.online-order-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
}

.online-order-main i:first-child {
  font-size: 36px;
}

.online-order-main strong {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nesnezeno-order .online-order-main {
  gap: 13px;
}

.nesnezeno-order .online-order-main i:first-child {
  font-size: 28px;
}

.nesnezeno-order .online-order-main strong {
  font-size: 28px;
}

.nesnezeno-order .online-order-main i:last-child {
  font-size: 21px;
}

.nesnezeno-order .online-order-time {
  padding-left: 38px;
  font-size: 14px;
}

.online-order-main i:last-child {
  font-size: 26px;
}

.online-order-time {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 45px;
  font-size: 17px;
  font-weight: 700;
  opacity: 0.96;
}

.jidelnicek-contact-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: 0.22s ease;
}

.jidelnicek-contact-row + .jidelnicek-contact-row {
  margin-top: 18px;
}

.jidelnicek-contact-row:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.jidelnicek-contact-row span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(197, 157, 95, 0.13);
  font-size: 23px;
}

.jidelnicek-decoration {
  position: absolute;
  z-index: 1;
  top: 26px;
  bottom: 34px;
  width: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: rgba(197, 157, 95, 0.26);
  pointer-events: none;
}

.jidelnicek-decoration i {
  font-size: 82px;
  filter: drop-shadow(0 8px 18px rgba(101, 89, 71, 0.08));
}

.jidelnicek-decoration-left {
  left: 28px;
}

.jidelnicek-decoration-right {
  right: 28px;
}

.jidelnicek-decoration-left i:nth-child(2),
.jidelnicek-decoration-right i:nth-child(2) {
  font-size: 100px;
}

@media (max-width: 1200px) {
  .jidelnicek-layout {
    max-width: 980px;
    grid-template-columns: 1fr;
  }

  .jidelnicek-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .jidelnicek-decoration {
    opacity: 0.45;
  }
}

@media (max-width: 800px) {
  .jidelnicek-hero {
    min-height: 340px;
    padding-top: 210px;
  }

  .jidelnicek-page {
    padding: 28px 16px 60px;
  }

  .jidelnicek-daily-card,
  .jidelnicek-contact-card,
  .jidelnicek-order-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .jidelnicek-right {
    display: flex;
  }

  .jidelnicek-week-btn {
    min-height: 68px;
    padding: 16px 18px;
    font-size: 16px;
  }

  .online-order {
    padding: 20px;
  }

  .online-order-main strong {
    font-size: 29px;
  }

  .online-order-time {
    padding-left: 0;
    font-size: 15px;
  }

  .jidelnicek-decoration {
    display: none;
  }
}

@media (max-width: 560px) {
  .jidelnicek-hero h1 {
    font-size: 54px;
  }

  .jidelnicek-card h2 {
    font-size: 29px;
  }

  .menicka-frame-wrap iframe {
    height: 380px;
  }

  .jidelnicek-contact-row {
    grid-template-columns: 46px 1fr;
    font-size: 15px;
    word-break: break-word;
  }

  .jidelnicek-contact-row span {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .jidelnicek-week-btn {
    grid-template-columns: auto 1fr;
  }

  .jidelnicek-week-btn i:last-child {
    display: none;
  }
}

.api-menu-box {
  min-height: 300px;
  padding: 22px 14px;
}

.api-menu-loading,
.api-menu-error {
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}

.api-menu-error {
  color: #9b2f2f;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.menu-text {
  font-weight: 600;
  color: #3a2f2a;
  line-height: 1.5;
}

.menu-item.soup {
  position: relative;
  margin-bottom: 35px;
  padding-bottom: 14px;
}

.menu-item.soup::after {
  content: "";
  position: absolute;
  left: 0;
  right: 80px; /* 🔥 sladěno s cenou */
  bottom: 0;
  height: 2px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-price {
  font-weight: 800;
  color: #2b211c;
  white-space: nowrap;
}

.menu-section-title {
  font-weight: 800;
  font-size: 14px;
  color: #b08b57;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  margin-top: 30px;
  margin-bottom: 12px;
}

.menu-section-title:first-of-type {
  margin-top: 10px; /* ať není obří mezera hned nahoře */
}

.menu-date {
  text-align: center;
  font-size: 13px;
  color: #8a7a65;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.jidelnicek-pdf-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 0px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f261f, #1f1814);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 34px rgba(43, 33, 28, 0.22);
  transition: 0.25s ease;
}

.jidelnicek-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(43, 33, 28, 0.28);
}

.jidelnicek-pdf-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(197, 157, 95, 0.18);
  color: var(--accent);
  font-size: 17px;
}

.jidelnicek-pdf-arrow {
  margin-left: auto;
  color: #fff;
  font-size: 22px;
  opacity: 0.9;
}

@media print {

  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  html,
  body {
    width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  header,
  footer,
  .jidelnicek-hero,
  .jidelnicek-right,
  .jidelnicek-week-btn,
  .jidelnicek-print-btn,
  .jidelnicek-pdf-btn,
  .jidelnicek-decoration {
    display: none !important;
  }

  .jidelnicek-page,
  .jidelnicek-layout,
  .jidelnicek-left {
    display: block !important;
    width: 100% !important;
    min-height: calc(297mm - 24mm) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border: none !important;
  }

  .jidelnicek-page::before {
    display: none !important;
    content: none !important;
  }

  .jidelnicek-card,
  .jidelnicek-card.jidelnicek-daily-card {
    display: block !important;
    width: 100% !important;
    min-height: calc(297mm - 24mm) !important;
    margin: 0 !important;
    padding: 20mm !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .jidelnicek-card::before,
  .jidelnicek-card::after {
    display: none !important;
    content: none !important;
  }

  .jidelnicek-card-head {
    margin-bottom: 28px !important;
  }

  .api-menu-box {
    padding: 0 !important;
    min-height: auto !important;
  }

  .menu-date {
    text-align: center;
    margin-bottom: 20px;
  }

  .menu-section-title {
    font-size: 14px;
    margin-top: 20px;
  }

  .menu-item {
    padding: 10px 0;
    break-inside: avoid;
  }

  .menu-price {
    color: #000 !important;
  }
}

@media print {

  .jidelnicek-card,
  .jidelnicek-daily-card {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    /* 👇 klíčový */
    background: #fff !important;
    background-image: none !important;
  }

  /* 👇 tohle je ten zlatej rámeček */
  .jidelnicek-card::before,
  .jidelnicek-card::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
  }

}

/* SJEDNOCENÝ HERO BANNER - stejný barevný cover jako index.html */

.jidelnicek-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 190px 24px 80px;
  background:
    linear-gradient(
      rgba(101, 89, 71, 0.65),
      rgba(101, 89, 71, 0.45)
    ),
    url("../IMG/nahled.png") center/cover no-repeat;
}

.jidelnicek-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)),
    linear-gradient(to bottom, rgba(43, 33, 28, 0.35), rgba(43, 33, 28, 0.2), rgba(43, 33, 28, 0.65));
}

.jidelnicek-hero::after {
  display: none;
  content: none;
}

.jidelnicek-hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  padding: 0 24px;
  text-align: center;
  color: var(--white);
}

.jidelnicek-hero-content h1,
.jidelnicek-hero h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.jidelnicek-hero-content p,
.jidelnicek-hero p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 850px) {
  .jidelnicek-hero {
    min-height: 520px;
    padding-top: 220px;
    padding-bottom: 70px;
  }
}

@media (max-width: 560px) {
  .jidelnicek-hero {
    min-height: 500px;
  }
}
