/* Drinks Menu — list layout (name ····· price, description below),
   styled to match the food menu */

.drinks-row {
  margin-bottom: 40px;
}

/* Section title — same as the food menu section titles */
.drinks-section h2 {
  margin-bottom: 10px;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #ffffff;
  text-align: left;
}

/* title (+ description) on the left, Hot / Iced labels (if any) on the right,
   sitting on the title's baseline */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  align-items: last baseline;
  gap: 20px;
  padding-bottom: 10px;
  text-align: left;
}

.section-title-row__text {
  min-width: 0;
}

.section-title-row p {
  margin: 0;
  padding-bottom: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1px;
  color: #ffffff;
}

.card_wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.drinks-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

/* Item name — same as the food card title */
h3.drinks-card__title {
  margin: 0;
  padding-bottom: 0px !important;
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.drinks-card__alcohol-icon {
  vertical-align: middle;
}

/* dotted line between name and price */
.price_list_separator {
  flex: 1 1;
  margin: 0 10px;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.3);
}

/* Price — same as the food card price */
p.drinks-card__price {
  margin: 0;
  padding-bottom: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #E51589;
}

/* Description — same as the food card description */
p.drinks-card__description {
  margin: 0;
  padding-bottom: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Price columns (Hot / Iced) — the Iced column has a fixed width so both columns line up,
   the Hot column hugs its price so the dots run right up to it */
.price_row {
  display: flex;
}

.drinks-price-header {
  display: flex;
  flex-shrink: 0;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.drinks-price-header__label + .drinks-price-header__label,
.drinks-section--price-columns p.drinks-card__price + p.drinks-card__price {
  min-width: 100px;
  padding-left: 16px;
  text-align: right;
}

.drinks-price-header__label {
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

/* "—" when an item has no price in that column */
p.drinks-card__price--empty {
  color: rgba(255, 255, 255, 0.5);
}

@media only screen and (max-width: 980px) {
  .drinks-section h2 {
    font-size: 48px;
  }
}

@media only screen and (max-width: 500px) {
  .drinks-section h2 {
    font-size: 40px;
  }

  .drinks-price-header__label + .drinks-price-header__label,
  .drinks-section--price-columns p.drinks-card__price + p.drinks-card__price {
    min-width: 80px;
  }
}

/* Food Menu */

.food-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

/* ==========================================================================
   DISABLED — capped section width, kept in case we bring it back later
   .food-section {
     max-width: 1400px;
     margin-left: auto;
     margin-right: auto;
   }
   ========================================================================== */

/* Section title — matches the site page titles (Elementor heading, Bebas Neue) */
.food-section h2 {
  text-align: left;
  margin-bottom: 10px;
  font-family: "Bebas Neue", Sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #ffffff;
}

.food-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0px 0px;
  width: calc((100% - 60px) / 3);
  text-align: center;
}

/* ==========================================================================
   DISABLED — stale old-site page-ID override (4 columns), those page IDs
   don't exist on this site, kept in case similar per-page overrides are
   needed later
   .page-id-47 .food-card,
   .page-id-1414 .food-card,
   .page-id-1329 .food-card {
     padding: 25px 35px;
     width: 25%;
     text-align: center;
   }
   ========================================================================== */

/* Food Menu — wide screens, mirrors the carousel breakpoints in custom.js */
@media only screen and (min-width: 1600px) {
  .food-card {
    width: calc((100% - 90px) / 4);
  }
}

@media only screen and (min-width: 1900px) {
  .food-card {
    width: calc((100% - 120px) / 5);
  }
}

@media only screen and (min-width: 2200px) {
  .food-card {
    width: calc((100% - 150px) / 6);
  }
}

.food-card__body {
  flex: 1;
  background-color: #363634;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

p.food-card__price {
  margin: 0;
  margin-top: auto;
  margin-bottom: -5px;
  font-family: "Montserrat", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 1px;
  color: #E51589;
}

h3.food-card__title {
  margin: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.food-card__description {
  margin: -2px 0 0;
  padding-bottom: 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1px;
  color: #ffffff;
}

.food-card__allergens {
  display: flex;
  justify-content: center;
  column-gap: 5px;
  margin: 0.5rem 0;
}

/* Nutrition badge */
.food-card__badge {
  padding: 8px 12px;
  background-color: #161616;
  border-radius: 6px;
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  color: #E51589;
}

/* with an image — overlays the top of the image, inset matches the card body padding */
.food-card > .food-card__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
}

/* without an image — sits at the top of the card body */
.food-card__body > .food-card__badge {
  align-self: flex-start;
}

@media only screen and (max-width: 980px) {
  .food-card {
    padding: 0px 0px;
    width: calc((100% - 30px) / 2);
  }
  /* ==========================================================================
     DISABLED — stale old-site page-ID override (2 columns), those page IDs
     don't exist on this site, kept in case similar per-page overrides are
     needed later
     .page-id-47 .food-card,
     .page-id-1414 .food-card,
     .page-id-1329 .food-card {
       padding: 25px 35px;
       width: 45%;
       text-align: center;
     }
     ========================================================================== */

  .food-section h2 {
    font-size: 48px;
  }

  /* ==========================================================================
     DISABLED — old tablet card typography overrides, now unified with the
     base card styles (title/description/price stay the same at every size),
     kept in case we bring size-specific overrides back later
     h3.food-card__title { font-size: 22px; }
     .food-card__description { font-size: 16px; line-height: 26px; }
     p.food-card__price { font-size: 22px; }
     ========================================================================== */

  /* ==========================================================================
     DISABLED — gap between image and content box, kept in case we bring it
     back later
     .food-card > img { margin-bottom: 20px; }
     ========================================================================== */
}

@media only screen and (max-width: 500px) {
  .food-card {
    padding: 0px 0px;
    width: 100%;
  }

  /* ==========================================================================
     DISABLED — stale old-site page-ID override (1 column), those page IDs
     don't exist on this site, kept in case similar per-page overrides are
     needed later
     .page-id-47 .food-card,
     .page-id-1414 .food-card,
     .page-id-1329 .food-card {
       padding: 25px 35px;
       width: 90%;
       text-align: center;
     }
     ========================================================================== */

  .food-section h2 {
    font-size: 40px;
  }

  /* ==========================================================================
     DISABLED — old mobile card typography overrides, now unified with the
     base card styles (title/description/price stay the same at every size),
     kept in case we bring size-specific overrides back later
     h3.food-card__title { font-size: 22px; }
     .food-card__description { font-size: 16px; line-height: 23px; }
     p.food-card__price { font-size: 22px; }
     ========================================================================== */

  /* ==========================================================================
     DISABLED — gap between image and content box, kept in case we bring it
     back later
     .food-card > img { margin-bottom: 20px; }
     ========================================================================== */
}

.vat-notice {
  text-align: left;
  margin: 25px 0 0;
  font-family: "Montserrat", Sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #E51589;
}

/* Allergens */
/* Allergen Legend Popup Styles */
.allergen-legend-trigger {
  background-color: #015ca8;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 20px;
  font-family: "Patriona Default", Helvetica, Arial, Lucida, sans-serif;
  transition: background-color 0.3s;
}

.allergen-legend-trigger:hover {
  background-color: #015ca8;
}

.allergen-modal {
  display: none;
  position: fixed;
  z-index: 999999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.allergen-modal-content {
  background-color: #fefefe;
  margin: 0;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000000 !important;
}

.allergen-modal-content h3 {
  font-size: 34px;
  text-align: center;
}

.allergen-modal-close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}

.allergen-modal-close:hover,
.allergen-modal-close:focus {
  color: #015ca8;
}

.allergen-modal-content h2 {
  color: #015ca8;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "Patriona Default", Helvetica, Arial, Lucida, sans-serif;
  text-align: center;
}

.allergen-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.allergen-legend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 10px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.allergen-legend-item:hover {
  box-shadow: 0 2px 8px rgba(96, 56, 19, 0.2);
}

.allergen-legend-item img {
  margin-bottom: 0;
}

.allergen-legend-item span {
  font-size: 14px;
  color: #015ca8;
  font-weight: 500;
  font-family: "Patriona Default", Helvetica, Arial, Lucida, sans-serif;
}

.food-card__allergens {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  cursor: pointer;
  padding: 5px;
  margin-left: -5px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.food-card__allergens img {
  transition: transform 0.2s;
}

.food-card__allergens:hover img {
  transform: scale(1.1);
}

.food-card__spicy-inline {
  display: inline-flex;
  gap: 0;
  align-items: center;
  vertical-align: middle;
  white-space: nowrap;
  margin-bottom: 4px;
}

.food-card__spicy-inline img {
  vertical-align: middle;
  display: inline-block;
}

@media only screen and (max-width: 768px) {
  .allergen-modal-content {
    width: 95%;
    padding: 20px;
  }

  .allergen-legend-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
  }
}

.allergen-modal-open #cws-menu-submenu {
  display: none !important;
}

/* img styles */
.food-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;

  /* ==========================================================================
     DISABLED — circular avatar style (round shape, white padding frame,
     solid border, dotted outline ring), kept in case we bring it back later
     border-radius: 1000px;
     border: 2px solid #015ca8;
     padding: 8px;
     background-color: #fff;
     outline: 2px dotted #015ca8;
     outline-offset: -7px;
     ========================================================================== */
}

/* Food Menu — compact mobile cards, fits more cards per scroll screen.
   Kept at the end of the file so it overrides the img and allergens rules above */
@media only screen and (max-width: 500px) {
  .food-row {
    gap: 16px;
  }

  .food-card > img {
    aspect-ratio: 5 / 2;
  }

  .food-card__body {
    padding: 14px;
    gap: 6px;
  }

  .food-card > .food-card__badge {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .food-card__allergens {
    gap: 6px;
    margin: 0;
    padding: 0;
  }

  .food-card__allergens img {
    width: 18px;
    height: 18px;
  }
}
