/* ==========================================================================
   Drinks page — /bremerton-the-boat-shed-drink-menu/
   Title band + tabbed price lists (Beer / Wine / Cocktails / Spirits).
   ========================================================================== */

/* ---------- Section: photo background with 95% white overlay ---------- */
.drinks {
  padding: 100px 20px;
  gap: 20px;
  background: url("/images/boatshedbremerton-backgrond2.jpg") center center / cover no-repeat;
  z-index: 0;
}
.drinks::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--c-white); opacity: .95;
}
@media (min-width: 1401px) { .drinks { background-attachment: fixed; } }

/* ---------- "Our Drinks" line-through title (divider widget) ---------- */
.drinks-title { display: flex; align-items: center; width: 100%; }
.drinks-title::before, .drinks-title::after {
  content: ""; display: block; flex-grow: 1;
  border-top: 1px solid var(--c-primary);
}
.drinks-title h1 {
  flex-shrink: 0; max-width: 95%;
  margin: 0 10px;
  font-size: 3.5em; line-height: 1;
}

/* ---------- Bordered box hanging from the title line ---------- */
.drinks-box {
  border: 1px solid var(--c-primary); border-top: 0;
  margin-top: -48px;               /* box top edge meets the divider line */
  padding: 75px 40px 50px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ---------- Tabs ---------- */
.drink-tabs { display: flex; flex-direction: column; gap: 20px; width: 100%; min-width: 0; }
.drink-tabs .tab-list {
  display: flex; flex-wrap: nowrap; gap: 20px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.drink-tabs .tab-list::-webkit-scrollbar { display: none; }
/* centred when it fits, scrollable (not clipped) when it does not */
.drink-tabs .tab-btn:first-child { margin-left: auto; }
.drink-tabs .tab-btn:last-child  { margin-right: auto; }
.drink-tabs .tab-btn {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--c-secondary);
  border: 2px solid var(--c-secondary);
  border-radius: 0;
  padding: 10px 20px;
  font-family: var(--f-display); font-weight: 400;
  font-size: 42px;                 /* 1.2 × the 35px kit button size */
  line-height: normal;
  text-transform: uppercase; letter-spacing: 2px; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: background .3s, color .3s, border .3s;
}
.drink-tabs .tab-btn:hover, .drink-tabs .tab-btn:focus {
  background: transparent; color: var(--c-accent); border-color: var(--c-accent);
}
.drink-tabs .tab-btn.active, .drink-tabs .tab-btn[aria-selected="true"],
.drink-tabs .tab-btn.active:hover, .drink-tabs .tab-btn.active:focus {
  background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent);
}
.drink-tabs .tab-btn:focus:not(:focus-visible) { outline: none; }
.drink-tabs .tab-panel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.drink-tabs .tab-panel[hidden] { display: none; }

/* ---------- Two menu columns (boxed, 1300px) ---------- */
.menu-cols {
  width: 100%; max-width: var(--content-width); margin: 0 auto;
  display: flex; flex-direction: row; gap: 0;
}
.menu-col {
  flex: 1 1 0; min-width: 0; padding: 10px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ---------- Slate cards ---------- */
.card {
  background: var(--c-slate); border-radius: 15px;
  padding: 40px 40px 40px 20px;
  display: flex; flex-direction: column; gap: 0;
}
.card h2 { color: var(--c-white); text-align: center; font-size: 1.5em; }
.card-list {
  margin-top: 20px; padding-left: 20px;
  border-left: 1px solid var(--c-white);
}

/* ---------- Price list (Elementor price-list + wp-custom-css overrides) ---------- */
.price-list { color: var(--c-white); }
.price-list li { display: flex; flex-wrap: wrap; align-items: flex-start; }
.price-list li:not(:last-child) { margin-bottom: 20px; border-bottom: 1px solid #fff; }
.item-head {
  flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  font-size: 22px; font-weight: 600; margin-bottom: 10px;
}
.item-title { max-width: 80%; }
.item-price { font-weight: 600; }
.item-desc {
  flex-basis: 100%; margin: 0; padding-bottom: 10px;
  font-size: 19px; line-height: 1.45;
}

/* ---------- Cocktails intro note ---------- */
.bar-note {
  width: 80%; max-width: 80%; align-self: center; margin: 20px 0 0;
  text-align: center;
  font-family: var(--f-ui); font-weight: 500; font-size: 20px; line-height: 24px;
  color: var(--c-slate);
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .drinks { padding: 50px 20px; }
  .drinks-box { padding: 50px 20px; }
  .card { padding: 30px 20px; }
  .card-list { padding-left: 10px; }
  .bar-note { width: 95%; max-width: 95%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .drinks { padding: 50px 10px; }
  .drinks-box { padding: 50px 10px; }
  .drink-tabs .tab-btn { font-size: 35px; }
  .menu-cols { flex-wrap: wrap; }
  .menu-col { flex-basis: 100%; padding: 0; }
  .menu-col + .menu-col { margin-top: 20px; }
  .item-title { max-width: 70%; }
}
