:root {
  --mj-green: #5f9164;
  --mj-green-dark: #3e6042;
  --mj-green-soft: #eef5ef;
  --mj-ink: #1f2521;
  --mj-muted: #666d68;
  --mj-line: #dde4de;
  --mj-warm: #faf8f4;
  --mj-radius: 22px;
}

body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-inner > header,
body:is(.in-kde-ochutnat, .in-kam-dodavame) .breadcrumbs,
body:is(.in-kde-ochutnat, .in-kam-dodavame) #content-wrapper aside.sidebar.sidebar-left,
body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-wrapper-in > aside.sidebar {
  display: none !important;
}

body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-wrapper-in,
body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-inner,
body:is(.in-kde-ochutnat, .in-kam-dodavame) .content {
  max-width: none !important;
}

body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-wrapper-in {
  display: block !important;
}

body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-wrapper-in > .content,
body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-wrapper-in > main.content {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
}

body:is(.in-kde-ochutnat, .in-kam-dodavame) .content-inner {
  padding-top: 0 !important;
}

.mj-taste-page,
.mj-taste-page * {
  box-sizing: border-box;
}

.mj-taste-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 70px;
  color: var(--mj-ink);
}

/*
 * Pojistka pro případ, kdy v editoru zůstane starý obal
 * mj-taste-hero a celý nový obsah se vloží dovnitř něj.
 */
.pageArticleDetail > [itemprop="about"] > .mj-taste-hero:has(> .mj-taste-hero) {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto 70px;
  padding: 0;
  color: var(--mj-ink);
  text-align: left;
}

.mj-taste-page h1,
.mj-taste-page h2,
.mj-taste-page h3,
.mj-taste-page p {
  margin-top: 0;
}

.mj-taste-page h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 400;
}

.mj-taste-page h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 400;
}

.mj-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--mj-green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mj-taste-hero {
  max-width: 900px;
  margin: 20px auto 38px;
  padding: 50px 20px 10px;
  text-align: center;
}

.mj-taste-hero p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--mj-muted);
  font-size: 19px;
  line-height: 1.65;
}

.mj-section-heading {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}

.mj-section-heading p {
  margin-bottom: 0;
  color: var(--mj-muted);
  font-size: 17px;
  line-height: 1.6;
}

.mj-online-section {
  margin-top: 54px;
}

.mj-online-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mj-online-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--mj-line);
  border-radius: var(--mj-radius);
  background: #fff;
}

.mj-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  margin-bottom: 23px;
  padding: 24px;
  border-radius: 16px;
  background: var(--mj-warm);
}

.mj-logo-box img {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 62px;
}

.mj-logo-box--wolt {
  background: #effbfe;
}

.mj-logo-box--wolt img {
  max-width: 195px;
  max-height: 56px;
}

.mj-online-copy > span {
  display: block;
  margin-bottom: 7px;
  color: var(--mj-green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mj-online-copy h3 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 400;
}

.mj-online-copy p {
  margin-bottom: 22px;
  color: var(--mj-muted);
  line-height: 1.55;
}

.mj-online-card > a {
  margin-top: auto;
  color: var(--mj-green-dark) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.mj-online-card > a:hover {
  text-decoration: underline !important;
}

.mj-map-section {
  margin-top: 70px;
}

.mj-availability-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto 22px;
  padding: 25px 28px;
  border: 1px solid #d4e2d5;
  border-radius: var(--mj-radius);
  background: var(--mj-green-soft);
}

.mj-note-icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
}

.mj-availability-note h3 {
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 400;
}

.mj-availability-note p {
  margin-bottom: 10px;
  color: var(--mj-muted);
  line-height: 1.6;
}

.mj-availability-note strong {
  display: block;
  color: var(--mj-ink);
  line-height: 1.5;
}

.mj-map-shell {
  overflow: hidden;
  position: relative;
  height: 620px;
  border: 1px solid var(--mj-line);
  border-radius: calc(var(--mj-radius) + 4px);
  background: var(--mj-green-soft);
}

.mj-map-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mj-map-help {
  margin: 14px 0 0;
  color: var(--mj-muted);
  font-size: 14px;
  text-align: center;
}

.mj-own-stores {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 50px;
  padding: 34px;
  border-radius: var(--mj-radius);
  background: var(--mj-green-soft);
}

.mj-own-stores > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  font-size: 23px;
}

.mj-own-stores .mj-eyebrow {
  margin-bottom: 7px;
}

.mj-own-stores h2 {
  margin-bottom: 7px;
  font-size: 28px;
}

.mj-own-stores p {
  margin-bottom: 0;
  color: var(--mj-muted);
  line-height: 1.55;
}

.mj-own-stores > a {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: -5px;
  padding: 10px 17px;
  border: 1px solid var(--mj-green);
  border-radius: 999px;
  color: var(--mj-green-dark) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
}

.mj-own-stores > a:hover {
  text-decoration: underline !important;
}

@media (max-width: 991px) {
  .mj-online-grid {
    grid-template-columns: 1fr;
  }

  .mj-online-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 24px;
    min-height: 0;
  }

  .mj-logo-box {
    grid-row: 1 / span 2;
    height: 140px;
    margin-bottom: 0;
  }

  .mj-online-card > a {
    grid-column: 2;
  }

  .mj-own-stores {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .mj-taste-page {
    width: min(100% - 24px, 1180px);
    margin-bottom: 42px;
  }

  .mj-taste-hero {
    padding: 30px 6px 0;
    margin-bottom: 28px;
  }

  .mj-taste-hero p {
    font-size: 17px;
  }

  .mj-online-section {
    margin-top: 42px;
  }

  .mj-online-card {
    display: flex;
    min-height: 0;
    padding: 20px;
  }

  .mj-logo-box {
    width: 100%;
    height: 98px;
    margin-bottom: 20px;
  }

  .mj-online-card > a {
    margin-top: 0;
  }

  .mj-map-section {
    margin-top: 54px;
  }

  .mj-availability-note {
    gap: 14px;
    padding: 20px;
  }

  .mj-note-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .mj-availability-note h3 {
    font-size: 22px;
  }

  .mj-map-shell {
    height: 500px;
    margin-right: -12px;
    margin-left: -12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .mj-own-stores {
    grid-template-columns: 1fr;
    gap: 13px;
    margin: 42px -12px 0;
    padding: 30px 24px;
    border-radius: 0;
  }

  .mj-own-stores > span {
    width: 44px;
    height: 44px;
  }

  .mj-own-stores > a {
    grid-column: 1;
    white-space: normal;
  }
}
