@charset "UTF-8";
/* Desktop menu (functions/template-parts/order-panel.php). Loaded with media="(min-width: 1024px)": below that
   width nothing here applies and the phone layout stays as it is. Colours, fonts and shapes are the phone's:
   the designer's variables, the same pills, chips, cards and buttons, laid out for a wide screen. */

:root {
  --inm-desk-width: 1604px; /* room for four 270px product cards next to the panel */
  --inm-desk-card: 760px;   /* pages without the panel */
  --inm-desk-panel: 380px;
  --inm-desk-line: color-mix(in srgb, var(--primary_text) 14%, transparent);
}

.inm-desk-wide {
  --inm-desk-card: var(--inm-desk-width);
}

.site {
  max-width: none;
}

/* ------------------------------
   Hero
--------------------------------*/
#site-header {
  width: calc(100% - 48px); /* as wide as the card below it */
  max-width: var(--inm-desk-card);
  margin: 0 auto;
  background-position: center;
}
#site-header[style*="--inm-hero-full"] {
  background-image: var(--inm-hero-full) !important;
}
#header-wrapper {
  height: 230px;
}
#site-logo-wrap {
  margin-top: 40px;
}
/* The phone's size, a fifth larger: wide logos keep their proportions, the box stays as it is */
.site-logo img {
  transform: scale(1.2);
}
.header-hours,
.header-lang {
  top: 72px;
  bottom: auto;
}
.header-hours {
  left: 32px;
}
.header-lang {
  right: 32px;
}

/* Fixed like on phones, just left of the card, clear of its content when the page scrolls */
#back_btn {
  left: max(8px, calc((100vw - var(--inm-desk-card)) / 2 - 53px));
}

/* ------------------------------
   The card
--------------------------------*/
#menu-body {
  width: calc(100% - 48px);
  max-width: var(--inm-desk-card);
  margin: -50px auto 24px;
  padding: 28px 32px 32px;
}
.inm-desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--inm-desk-panel);
  gap: 32px;
  align-items: start;
}
.inm-desk-main {
  min-width: 0;
}

#head-menu-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.header-wrapper {
  gap: 10px 24px;
  font-size: 16px;
}
.header-info {
  flex-basis: 100%;
}

#delivery-buttons {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-column-gap: 14px;
  max-width: 654px;
}
.delivery-btn {
  padding: 12px 15px;
}

/* ------------------------------
   Category chips
--------------------------------*/
.h-scroll-menu {
  overflow-x: auto;
  margin-bottom: 16px;
}
.product-category-list-horizontal a {
  display: inline-block;
  padding: 7px 24px;
  font-size: 17px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

/* ------------------------------
   Featured slider
--------------------------------*/
.inm-featured-viewport {
  height: 420px;
}
.inm-featured-slide {
  align-items: center;
  padding: 24px 64px;
}
.inm-featured .inm-featured-title {
  margin-bottom: 8px;
  font-size: 60px;
}
.inm-featured .inm-featured-price {
  margin-bottom: 20px;
  font-size: 36px;
}
.inm-featured .inm-featured-button {
  min-width: 260px;
  min-height: 60px;
  padding: 12px 20px;
  font-size: 24px;
}
/* After adding, − n + takes the button's place: same height, so the text above doesn't jump. */
.inm-featured .imx-controls .qty-input {
  gap: 12px;
}
.inm-featured .qty-count {
  width: 60px;
  height: 60px;
  font-size: 36px;
}
.inm-featured .imx-qty-val {
  min-width: 44px;
  font-size: 36px;
}

/* ------------------------------
   Category cards
--------------------------------*/
.categories-list,
.subcategories-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.category-card {
  margin-bottom: 0; /* height as on phones: the schedule tag stays clear of the centred name */
  padding: 16px;
}
.category-card .card-title {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.15;
}
.subcategories-list .category-card-link {
  display: block;
}

/* ------------------------------
   Product grid
--------------------------------*/
.tax-product_cat .woocommerce-breadcrumb {
  margin-bottom: 16px;
  color: var(--global_headings);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.woocommerce-breadcrumb a {
  color: inherit;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin: 0 0 20px;
}
.woocommerce ul.products li.lp-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 10px 12px 14px;
  border: 1px solid var(--inm-desk-line);
  border-radius: var(--radius-card, 26px);
  background: var(--menu_bg);
  transition: box-shadow .2s ease;
}
.woocommerce ul.products li.lp-product:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
li.lp-product > hr {
  display: none;
}
li.lp-product .lp-product-cover {
  margin: 0 -2px 8px;
  width: auto;
}
li.lp-product .lp-product-cover img {
  display: block;
  height: 170px;
  margin: 0;
  border-radius: 18px;
}
li.lp-product .lp-product-title {
  font-size: 20px;
}
li.lp-product .lp-product-title-wrap {
  margin-bottom: 6px;
}
li.lp-product .wc-spicy-pepper {
  width: 20px;
  height: 20px;
}
li.lp-product .lp-product-excerpt p {
  margin-bottom: 8px;
  font-size: 14px;
}
li.lp-product .csar-alergens {
  margin-bottom: 6px;
}
li.lp-product .csar-alergen-btn img {
  width: 24px;
  height: 24px;
}
.woocommerce li.lp-product form.cart .variations select {
  height: 40px;
  font-size: 14px;
}
li.lp-product .lp-addons {
  margin: 8px 0 4px;
}
li.lp-product .lp-addon {
  padding: 3px 8px;
  font-size: 14px;
}
li.lp-product .lp-addon input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
li.lp-product .lp-price-wrapper {
  flex-wrap: wrap; /* a sale price next to the − n + control needs two lines in a narrow card */
  gap: 8px;
  align-items: center;
  margin-top: auto; /* the price row lines up along a row of cards */
  padding-top: 8px;
}
li.lp-product .lp-price-wrapper .imx-controls,
li.lp-product .lp-price-wrapper .imx-unavailable {
  margin-left: auto;
}
li.lp-product .inm-product-price {
  font-size: 22px;
}
li.lp-product .imx-add-only,
li.lp-product .qty-count {
  width: 36px;
  height: 36px;
  font-size: 24px;
}
li.lp-product .imx-controls .qty-input {
  gap: 6px;
  min-width: 0;
}
li.lp-product .imx-unavailable {
  min-height: 36px;
}

/* ------------------------------
   Product page
--------------------------------*/
.lp-product-single {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  align-items: start;
}
.lp-product-single > * {
  grid-column: 2;
}
.lp-product-single > .lp-product-cover {
  grid-column: 1;
  grid-row: 1 / span 8;
}
.lp-product-single:not(:has(> .lp-product-cover)) {
  display: block;
}
.lp-product-single .lp-product-cover img {
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}
.lp-product-single > hr {
  display: none;
}

/* ------------------------------
   Order panel
--------------------------------*/
.inm-order-rail,
.inm-order-rail[hidden] {
  display: block;
  position: sticky;
  top: 20px;
}
.inm-order-panel {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 440px;
  max-height: calc(100vh - 40px);
  padding: 8px 22px 20px;
  border: 1px solid var(--inm-desk-line);
  border-radius: var(--radius-card, 26px);
  background: var(--menu_bg);
  color: var(--primary_text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}
.inm-order-panel__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--inm-desk-line);
  color: var(--global_headings);
}
.inm-order-panel__bell {
  flex: none;
  width: 42px;
  height: 42px;
  fill: var(--primary_btn);
}
.inm-order-panel .inm-order-panel__title {
  flex: 1;
  min-width: 0;
  color: inherit;
  font-size: 24px;
  line-height: 1.2;
}
.inm-order-panel .inm-cart-count {
  position: static;
  flex: none;
  min-width: 30px;
  height: 30px;
  font-size: 16px;
}

.inm-order-panel__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 8px;
  text-align: center;
}
.inm-order-panel__icon svg {
  display: block;
  width: 110px;
  height: 110px;
}
.inm-order-panel__empty-title {
  margin: 10px 0 4px;
  font-size: 20px;
  font-weight: 600;
}
.inm-order-panel__hint {
  margin: 0;
  font-size: 15px;
  opacity: .65;
}

.inm-order-panel__lines {
  flex: 1;
  min-height: 0;
  margin-right: -10px;
  padding-right: 10px;
  overflow-y: auto;
}
.inm-order-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--inm-desk-line);
}
.inm-order-line__thumb img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-icon, 16px);
}
.inm-order-line:last-child {
  border-bottom: 0;
}
.inm-order-line__title {
  color: var(--global_headings);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.inm-order-line__attr {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.3;
  opacity: .75;
}
.inm-order-line__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.inm-order-line__price {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.inm-order-line .imx-controls .qty-input {
  gap: 6px;
  min-width: 0;
}
.inm-order-line .qty-count {
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.inm-order-panel__foot {
  flex: none;
  padding-top: 14px;
  border-top: 1px solid var(--inm-desk-line);
}
.inm-order-panel__total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--global_headings);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.inm-order-panel .proceed-to-checkout-btn {
  box-sizing: border-box;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}
.inm-order-panel a.proceed-to-checkout-btn:hover {
  background-color: var(--primary_buttons_hover);
  color: var(--primary_buttons_text_hover);
}
.inm-order-panel .proceed-to-checkout-btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Waiter call, only with a table number from a table's QR code */
.inm-order-rail:has(.inm-order-waiter) .inm-order-panel {
  min-height: 0;
  max-height: calc(100vh - 210px);
}
.inm-order-waiter {
  margin-top: 12px;
  padding: 12px 22px 10px;
  border: 1px solid var(--inm-desk-line);
  border-radius: var(--radius-card, 26px);
  background: var(--menu_bg);
}
.inm-order-waiter .table_number-input {
  box-sizing: border-box;
  width: 100%;
}

/* The panel takes over from the cart bar at the bottom of the phone layout */
.inm-desk-wide .footer_cart {
  display: none;
}
.inm-desk-wide .site-main {
  padding-bottom: 24px;
}
.footer_cart {
  max-width: var(--inm-desk-card);
}

/* ------------------------------
   Cart: as wide as the menu, the items on the left, the panel as the summary on the right
   (total and the order button; its own lines would repeat the list, its button the one under it)
--------------------------------*/
.inm-desk-cart .inm-order-panel {
  min-height: 0;
}
.inm-desk-cart .inm-order-panel__lines {
  display: none;
}
.inm-desk-cart .inm-order-panel__foot {
  border-top: 0;
}
.inm-desk-cart .inm-desk-main a.proceed-to-checkout-btn:not(.inm-cart-empty__btn) {
  display: none;
}
.inm-desk-cart .inm-mini-cart {
  max-width: none; /* the column's width, in line with the title and the waiter call */
}
/* Empty cart: nothing to sum up, one column */
.inm-desk-cart .inm-desk-layout:has(.inm-cart-empty) {
  grid-template-columns: minmax(0, 1fr);
}
.inm-desk-cart .inm-desk-layout:has(.inm-cart-empty) > .inm-order-rail {
  display: none;
}
.inm-desk-cart .inm-cart-empty,
.inm-desk-cart .inm-desk-layout:has(.inm-cart-empty) #table_numberForm {
  max-width: 440px;
  margin-inline: auto;
}

/* ------------------------------
   Checkout: details on the left, order and payment on the right
   (only with the form: closed, empty cart and thank-you pages keep the narrow card)
--------------------------------*/
body:has(form.inm-custom-checkout) {
  --inm-desk-card: var(--inm-desk-width);
}
body:has(form.inm-custom-checkout) .footer_cart {
  display: none;
}
body:has(form.inm-custom-checkout) .site-main {
  padding-bottom: 24px;
}
form.inm-custom-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 24px 32px;
  align-items: start;
}
form.inm-custom-checkout > * {
  grid-column: 1 / -1; /* WooCommerce's error messages arrive here too */
}
form.inm-custom-checkout > #customer_details {
  grid-column: 1;
}
form.inm-custom-checkout > #order_review {
  position: sticky;
  top: 20px;
  grid-column: 2;
  padding: 16px 22px 12px;
  border: 1px solid var(--inm-desk-line);
  border-radius: var(--radius-card, 26px);
  background: var(--menu_bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}
.inm-billing-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  align-items: end;
}
.inm-billing-fields > .form-row {
  float: none;
  width: auto;
  min-width: 0;
}
/* Field order (functions/checkout/delivery-selector-logic.php): area, street, apartment, city on full rows
   (country and postcode are hidden, functions/checkout/city-field.php), then first + last name, phone + email. */
.inm-billing-fields > #billing_order_type_field,
.inm-billing-fields > #billing_delivery_info_field,
.inm-billing-fields > #billing_delivery_area_field,
.inm-billing-fields > #billing_address_1_field,
.inm-billing-fields > #billing_address_2_field,
.inm-billing-fields > #billing_city_field {
  grid-column: 1 / -1;
}
.inm-billing-fields > #billing_first_name_field {
  grid-column-start: 1;
}
/* Dine-in: the table number can carry a line under it ("scan the QR", the scan button), so the row lines up at the
   top instead of the bottom, or the email field beside it would sink (the user, 2026-11-12). */
.inm-billing-fields > #billing_table_number_field,
.inm-billing-fields > #billing_email_field {
  align-self: start;
}
/* Against the half-width row of country and city (functions/checkout/city-field.php): the grid does that here */
.woocommerce-checkout .inm-billing-fields > #billing_country_field,
.woocommerce-checkout .inm-billing-fields > #billing_city_field {
  float: none !important;
  width: auto !important;
  margin-right: 0 !important;
}
.inm-billing-fields .form-row select {
  width: 100%;
}
#billing_order_type_field {
  margin-bottom: 16px;
}
/* A sideways scrolling row on phones; here all the choices fit on two lines */
#order_review .inm-tip-chips {
  flex-wrap: wrap;
  overflow: visible;
}

/* ------------------------------
   Social links under the columns
--------------------------------*/
.social-links {
  display: flex;
  align-items: center;
  margin-top: 28px;
}
.social-links::before,
.social-links::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--inm-desk-line);
}
.social-links::before {
  margin-right: 16px;
}
.social-links::after {
  margin-left: 16px;
}

/* ------------------------------
   Narrower desktop windows
--------------------------------*/
@media (max-width: 1365px) {
  :root {
    --inm-desk-panel: 340px;
  }
}
@media (max-width: 1329px) {
  :root {
    --inm-desk-panel: 300px; /* three product cards still fit at 1280 */
  }
  form.inm-custom-checkout {
    grid-template-columns: minmax(0, 1fr) 380px;
    column-gap: 24px;
  }
  .inm-order-line {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .inm-order-line__thumb img {
    width: 64px;
    height: 64px;
  }
  .inm-desk-layout {
    gap: 24px;
  }
}
@media (max-width: 1199px) {
  .categories-list,
  .subcategories-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inm-featured-slide {
    padding: 20px 32px;
  }
}
