/* Overrides layered on top of the vendor stylesheets.
   Loaded last so it wins without editing any third-party CSS. */

/* ---------------------------------------------------------------
   Slider arrows
   flexslider.css draws these with content:'\f001' in the webfont
   "flexslider-icon", which 404s on the origin, so both arrows were
   invisible. Draw them with ordinary characters instead.
   --------------------------------------------------------------- */
.flex-direction-nav a:before {
  font-family: inherit;
  content: '\276E';           /* heavy left angle bracket */
  font-size: 34px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.flex-direction-nav a.flex-next:before {
  content: '\276F';           /* heavy right angle bracket */
}

.flex-direction-nav a {
  opacity: .75;
  transition: opacity .2s ease-in-out;
}

.flex-direction-nav a:hover,
.flex-direction-nav a:focus {
  opacity: 1;
}

/* Keyboard users need to see where focus is. */
.flex-direction-nav a:focus-visible,
.colorlib-social-icons a:focus-visible,
.menu-items a:focus-visible,
.menu-note a:focus-visible {
  outline: 2px solid #f96e5b;
  outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Menu page
   Category headers expand to these lists. The items are generated
   from the ordering backend's markup by fix_menu() in enhance.py.
   --------------------------------------------------------------- */
.menu-hint {
  margin-top: -10px;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b3b3b3;
}

/* One white card per dish, laid out like the ordering menu's .btn_cate button:
   same width and 2.5% indent as the category heading above it, name left,
   price right on the same line, italic description underneath. */
.sub_cate .menu-items {
  list-style: none;
  margin: 0 0 0 2.5%;
  padding: 0;
  width: 100%;
}

.sub_cate .menu-items li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 16px;
  min-height: 50px;
  margin-bottom: 5px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .01), 0 6px 20px 0 rgba(0, 0, 0, .05);
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

/* The theme puts a bottom margin on every span; inside a card it just
   inflates the row. */
.sub_cate .menu-items li span {
  margin: 0;
}

.sub_cate .menu-items li .mi-desc {
  margin-top: 2px;
}

.mi-name {
  font-weight: 600;
}

.mi-price {
  font-weight: 400;
  text-align: right;
  white-space: nowrap;
}

.mi-desc {
  grid-column: 1 / -1;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #666;
}

/* "raw" badge carried over from the ordering menu. */
.mi-raw {
  vertical-align: text-bottom;
  margin-left: 6px;
}

.menu-note {
  margin: 0 0 0 2.5%;
  padding: 10px 10px 4px;
  font-size: 15px;
  color: #777;
}

.menu-note a {
  color: #f96e5b;
  text-decoration: underline;
}

/* Categories are collapsed by default; give the open one room to breathe. */
.sub_cate {
  padding-bottom: 6px;
}

/* ---------------------------------------------------------------
   Contact page
   --------------------------------------------------------------- */
.colorlib-social-icons a {
  margin-right: 8px;
}

.colorlib-menu .tab-content iframe {
  display: block;
  max-width: 100%;
}

/* The contact columns are fixed at 60%/40% inline, which overflows on
   phones. Stack them instead. */
@media screen and (max-width: 768px) {
  .colorlib-menu .row[style*="60%"],
  .colorlib-menu .tab-content[style*="40%"] {
    width: 100% !important;
    float: none !important;
  }

  .colorlib-menu .tab-content iframe {
    height: 320px;
  }
}

/* ---------------------------------------------------------------
   "Online Order" chooser
   Opened by every Online Order button (js/order-modal.js). Built
   from the theme's own pieces: the nav overlay's dark backdrop and
   spring easing, Lora uppercase headings, Poppins body text, and
   the #FF6107 pill buttons.
   --------------------------------------------------------------- */
html.order-modal-open {
  overflow: hidden;
}

.order-modal {
  width: calc(100% - 32px);
  max-width: 440px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.order-modal::backdrop {
  background: rgba(0, 0, 0, .8);
}

.order-modal[open] {
  animation: order-modal-in .5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-modal[open]::backdrop {
  animation: order-modal-fade .3s ease-out;
}

.order-modal.is-closing {
  animation: order-modal-out .2s ease-in forwards;
}

.order-modal.is-closing::backdrop {
  animation: order-modal-fade .2s ease-in reverse forwards;
}

@keyframes order-modal-in {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes order-modal-out {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(.92); }
}

@keyframes order-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.order-modal-card {
  position: relative;
  padding: 44px 36px 36px;
  background: #FBFBFB;
  border-top: 4px solid #FF6107;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  text-align: center;
  font-family: "Poppins", Arial, sans-serif;
  color: #7d7d7d;
}

.order-modal-icon {
  display: block;
  margin: 0 0 10px;
  color: #FF6107;
}

.order-modal-icon i:before {
  font-size: 46px;
  line-height: 1;
}

/* style_sheet.css (menu and legal pages) gives every h2 a fixed 100px
   height and 90% width; reset both so the title sits centred. */
.order-modal h2 {
  width: auto;
  height: auto;
  margin: 0 0 6px;
  font-weight: 400;
  line-height: 1.3;
  font-family: "Lora", Georgia, serif;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #404044;
}

.order-modal-card > p {
  margin: 0 0 26px;
  font-size: 15px;
}

.order-options {
  display: grid;
  gap: 12px;
}

/* Each choice is one of the theme's pill buttons, with a small note
   under the label. Direct ordering is the solid primary; DoorDash is
   the theme's outline variant. */
.order-option {
  display: block;
  padding: 12px 24px 11px;
  border: 2px solid #FF6107;
  border-radius: 30px;
  background: transparent;
  color: #FF6107;
  text-decoration: none;
  transition: .3s;
}

.order-option:hover,
.order-option:focus {
  background: #FF6107;
  color: #fff;
  text-decoration: none;
}

.order-option-primary {
  background: #FF6107;
  color: #fff;
}

.order-option-primary:hover,
.order-option-primary:focus {
  background: #ff7121;
  border-color: #ff7121;
}

/* Only one button is filled at a time: while the pointer (or keyboard focus)
   is on another option, the default one drops back to its outline. */
.order-options:has(.order-option:not(.order-option-primary):hover) .order-option-primary,
.order-options:has(.order-option:not(.order-option-primary):focus-visible) .order-option-primary {
  background: transparent;
  border-color: #FF6107;
  color: #FF6107;
}

.order-option span {
  display: block;
  margin: 0;
}

.order-option-name {
  font-family: "Lora", Georgia, serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.order-option-note {
  font-size: 12px;
  line-height: 1.5;
  opacity: .85;
}

.order-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #b3b3b3;
  cursor: pointer;
  transition: color .3s;
}

.order-modal-close:hover {
  color: #404044;
}

.order-option:focus-visible,
.order-modal-close:focus-visible {
  outline: 2px solid #FF6107;
  outline-offset: 3px;
}

@media screen and (max-width: 480px) {
  .order-modal-card {
    padding: 40px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-modal[open],
  .order-modal[open]::backdrop,
  .order-modal.is-closing,
  .order-modal.is-closing::backdrop {
    animation: none;
  }
}
