/*
 Theme Name:   Bricks Child
 Theme URI:    https://bricksbuilder.io/
 Description:  Bricks Child Theme
 Author:       Redma
 Author URI:   https://redma.cz
 Template:     bricks
 Version:      1.0.0
 Text Domain:  bricks-child
*/

/* Menu sections – alternating layout (every other .sections-reversed, ignoring other sections) */
:nth-child(even of .sections-reversed) > .brxe-container > .brxe-block:first-child {
  order: 2;
}

:nth-child(even of .sections-reversed) > .brxe-container > .brxe-block:last-child {
  order: 1;
}

@media (max-width: 767px) {
  :nth-child(even of .sections-reversed) > .brxe-container > .brxe-block:first-child,
  :nth-child(even of .sections-reversed) > .brxe-container > .brxe-block:last-child {
    order: unset;
  }
}

a.header-logo {
  transition: 0.3s;
}

.food-name {
  color: black;
  display: block;
  text-align: center;
  font-family: "Josefin Sans";
  font-size: var(--text-l);
}

.food-description {    
  font-size: var(--text-m);
  color: #a78655;
  text-align: center;
}

.food-alergens {
  font-size: var(--text-m);
  color: #616161;
  text-align: center;
}

.brxe-menu-polozky, .brxe-deni-nabidka {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 60%;
}

.food-item {  
  display: flex;
  flex-direction: column;
}

.brxe-menu-polozky p,
.brxe-deni-nabidka p {
  margin: 0;
}

.food-divider {
  border-top: 1px solid #a78655;
  width: 100%;  
}

.food-price {
  font-size: var(--text-l);
  color: #000000;
  font-family: "Josefin Sans";
  text-align: center;
}

.food-category {
    font-size: var(--text-m);
    color: #616161;
    text-align: center;
}
@media screen and (max-width: 768px) {
  .brxe-menu-polozky, .brxe-deni-nabidka {
    gap: 20px;
    width: 100%;
  }

  .food-divider {
    width: 80%;
    margin: 0 auto;
  }

}

#bookio-iframe {
  border: none;
}

/* ── Denní nabídka – týdenní nadpis ── */
.menu-week-headline {
  text-align: center;
  font-family: "Josefin Sans";
  font-size: var(--h2-m);
  text-transform: uppercase;
  text-align: center;
  align-self: center;
  margin-bottom: 30px;
}

/* ── Denní nabídka – tabs ── */
.menu-day-tabs {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.menu-day-tab {
  font-family: "Josefin Sans";
  font-size: var(--text-m);
  background: transparent;
  color: #000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
}

@media screen and (max-width: 450px) {
  .menu-day-tab {
    flex: 0 0 100%;
  }

}

.menu-day-tab__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-day-tab svg {
  transition: 0.3s;
  flex: 0 0 19px;
  transform: translateY(-3px);
}

.menu-day-tab.active .menu-tab-name,
.menu-day-tab:hover .menu-tab-name {
  color: #a78655;
}

.menu-day-tab.active svg,
.menu-day-tab:hover svg {
  fill: #a78655;
}

.menu-tab-name {
  font-size: var(--h3-m);
    color: #000;
    text-align: left;
    text-transform: uppercase;
    font-family: "Josefin Sans";
    font-weight: 600;
    text-wrap: nowrap;
    letter-spacing: 1px;
    position: static;
    transition: 0.3s;
}

.menu-tab-date {
    color: #616161;
    font-size: var(--text-m);
    text-align: center;
    padding-right: 15px;
    font-family: "Times New Roman";
}

/* ── Denní nabídka – panely dnů ── */
.menu-day-content {
  display: none;
}

.menu-day-content.active {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Zavřeno text ── */
.menu-closed-text {
  text-align: center;
  color: #a78655;
  font-family: "Josefin Sans";
  font-size: var(--text-l);
  padding: 40px 0;
  margin: 0;
}

/* ── Týdenní sekce ── */
.menu-tydenni-section {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .menu-day-content.active {
    gap: 20px;
  }

  .menu-tydenni-section {
    gap: 20px;
  }
}

.weekly-item-icon--left {
    margin-right: 10px;
    margin-bottom: 5px;
    margin-left: 10px;
    width: 15px;
    transform: rotateY(180deg);
}

.weekly-item-icon--right {
    width: 15px;
    margin-bottom: 5px;
    margin-left: 10px;
}
.weekly-item-heading {
    font-size: var(--h2-m);
    text-transform: uppercase;
}

.weekly-item {
    margin-top: 3%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.weekly-item-divider {
    width: 80%;
    margin-top: 3%;
    margin-bottom: 0;
    color: #a78655;
}

/* ── Víno a drinky ── */
.brxe-vino-drinky {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.brxe-vino-drinky p {
  margin: 0;
}

.wine-tabs {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 50%;
  margin: 0 auto 40px;
}

@media screen and (max-width: 1080px) {
  .wine-tabs {
    width: 100%;
    justify-content: center;
  }

}

.wine-tab {
  font-family: "Josefin Sans";
  font-size: var(--text-m);
  background: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
}

.wine-tab.active,
.wine-tab:hover {
  color: #a78655;
}

.wine-tab-svg {
  width: 12px;
  height: auto;
  fill: currentColor;
  transition: 0.3s;
}

.wine-content {
  display: none;
  flex-direction: column;
}

.wine-content.active {
  display: flex;
}

/* Each item is a full-bleed split section: photo | text. Odd/even alternate sides. */
.wine-item {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 570px;
}

.wine-photo {
  order: 1;
  flex: 0 0 50%;
  width: 50%;
  height: auto;
  object-fit: cover;
}

.wine-item__info {
  order: 2;
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 60px 100px;
}

.wine-item:nth-child(even) .wine-photo {
  order: 2;
}

.wine-item:nth-child(even) .wine-item__info {
  order: 1;
}

.wine-name {
  font-family: "Josefin Sans";
  font-size: var(--h2-m);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
}

.wine-description {
  font-family: "Times New Roman";
  font-size: var(--text-m);
  line-height: 1.6;
  color: #1a1a1a;
  max-width: 480px;
}

.wine-price {
  font-family: "Times New Roman";
  font-size: var(--text-l);
  color: #a78655;
}

.wine-volume {
  font-family: "Times New Roman";
  font-size: var(--text-m);
  color: #1a1a1a;
}

@media screen and (max-width: 900px) {
  .wine-item {
    flex-direction: column;
    min-height: 0;
  }

  .wine-photo,
  .wine-item__info {
    width: 100%;
    flex: 0 0 auto;
    order: unset !important;
  }

  .wine-photo {
    height: 320px;
  }

  .wine-item__info {
    padding: 32px 24px;
    text-align: center;
  }

  .wine-description {
    max-width: none;
  }

  .wine-tabs {
    width: 100%;
  }
}

@media screen and (max-width: 540px) {
  .wine-tabs {
    gap: 28px;
  }

  .wine-tab {
    font-size: calc(var(--text-m) * 0.7);
    gap: 7px;
    letter-spacing: 1.4px;
  }

  .wine-tab-svg {
    width: 8px;
  }
}

@media screen and (max-width: 370px) {
  .wine-tabs {
    gap: 8px;
  }
}
