/* Outer View Container */
/* .view-cotc-menu .view-content {
  display: block;
  padding: 2rem 1rem;
  background-color: #f4ebd8;
} */

/* Individual Section Wrappers (The 'Page Halves') */
.cotc-menu-section-wrapper {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 1rem;
}

/* Section Typography */
.menu-section-title {
  font-family: var(--cotc-battlesbridge, var(--cotc-battllesbridge, 'Times New Roman'));
  font-size: 3.5rem;
  text-align: inherit;
  color: var(--cotc-heading, #810808);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.menu-section-desc {
  font-family: var(--cotc-roboto, sans-serif);
  font-size: 1rem;
  color: #333;
  text-align: inherit;
  max-width: 100%;
}

/* Inner items container (Stacking) */
.menu-section-content {
  /* Removed flex so CSS columns work natively */
  display: block;
}

/* Individual Row */
.view-cotc-menu .horizon-menu-row {
  position: relative;
}

/* The actual item card - Flat Text Layout like the PDF */
.horizon-menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin-bottom: 0.25rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.view-cotc-menu .horizon-menu-row:hover .horizon-menu-item {
  /* Subtle hover if desired, but remove the giant box-shadow jump */
  transform: none;
}

.menu-item-header {
  margin-bottom: 0.1rem;
  width: 100%;
}

/* Item Titles (Copperplate, lowercase) */
.menu-item-title {
  font-family: var(--cotc-copperplate, 'Copperplate', serif);
  text-transform: lowercase;
  color: var(--cotc-menu-red, #be1d2c);
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.1;
  font-weight: bold;
}

.menu-item-badges {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  margin-bottom: 0;
  vertical-align: middle;
}

.menu-item-badges .dietary-icon-wrapper,
.menu-item-badges .dietary-icon-wrapper img,
.menu-item-badges .dietary-icon-wrapper svg,
.dietary-icon-wrapper img,
.dietary-icon-wrapper svg {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.menu-item-price {
  font-family: var(--cotc-copperplate);
  font-weight: bold;
  white-space: nowrap;
  color: var(--cotc-heading, #810808);
/*  letter-spacing: 0.2px;
  white-space: nowrap; */
}
/* .menu-item-price.table-prices {
    font-weight: unset;
    font-size: 1.3rem;
} */
/* When displayed in a section table, item title is normal weight */
.is-table-row .menu-item-title,
.is-table-row .table-item-name {
  font-weight: normal !important;
}

.menu-item-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Item Descriptions (Roboto, no italics, normal case) */
.menu-item-desc {
  font-family: var(--cotc-roboto, sans-serif);
  font-size: 1.1rem;
  color: #111;
  line-height: 1.4;
  font-weight: 300;
  text-transform: none;
  font-style: normal;
}

.menu-modifiers-toggles, .pizza-modifiers-inline {
  margin-top: auto;
  padding-top: 1rem;
}

/* Modifier Popover Colors */
.clover-modifier-popover {
  background-color: #fff !important;
  color: #111 !important;
}
.clover-modifier-popover .popover-body {
  color: #111;
  background-color: #fff;
}
.clover-modifier-popover .popover-header {
  background-color: #f8f9fa;
  color: #111;
  border-bottom: 1px solid #dee2e6;
}

.menu-item-sold-out {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  font-family: var(--cotc-copperplate, 'Copperplate', serif);
  color: #ff0000;
  border: 4px solid #ff0000;
  padding: 0.5rem 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  background: rgba(0,0,0,0.7);
  box-shadow: 0 0 20px rgba(255,0,0,0.5);
  pointer-events: none;
}

.menu-item-desc p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
