/* Drinks Menu */

.drinks-section {
  width: 90%;
  margin: auto;
}

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

.drinks-section h2 {
  font-family: "Marcellus SC", Sans-serif;
  font-size: 50px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--e-global-color-primary);
  text-align: center;
}

h3.drinks-card__title {
  padding-bottom: 0px !important;
  font-family: "Marcellus SC", Sans-serif;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--e-global-color-primary);
}

.card_wrapper {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  margin-bottom: 10px !important;
}

.price_list_separator {
  border-bottom-style: dotted;
  border-bottom-width: 2px;
  border-bottom-color: #222056;
  margin-left: 5px;
  margin-right: 5px;
  flex: 1 1;
}

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

.drinks-card__price {
  font-family: "Manrope", Sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #603813;
}

.drinks-card__description {
  font-family: "Manrope", Sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--e-global-color-text);
}

.section-title-row {
  padding-bottom: 20px !important;
  text-align: center;
}

.section-title-row p {
  font-weight: 700;
}

@media only screen and (max-width: 500px) {
  .drinks-section {
    width: 95%;
  }

  .card_wrapper {
    width: 100%;
  }

  h3.drinks-card__title {
    font-size: 15px;
  }

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

/* Food Menu */

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

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

.food-section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-family: "FuturaBook", Sans-serif;
  font-size: 50px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--e-global-color-primary);
}

.food-card {
  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: 18px;
  font-weight: 500;
  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: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1px;
  color: #ffffff;
}

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

@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: 38px;
  }

  /* ==========================================================================
     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: 30px;
  }

  /* ==========================================================================
     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;
     ========================================================================== */
}
