/* Restaurant website: shared shell + homepage components. AZ settings remain authoritative. */
.az-child-food-site { --az-child-food-accent: #8bc510; background: var(--az-color-surface, #fff); color: var(--az-color-text, #444); font-family: var(--az-font-main, Arial, sans-serif); }
.az-child-food, .az-child-food *, .az-child-food-footer, .az-child-food-footer * { box-sizing: border-box; }
.az-child-food { font-size: var(--az-body-size, 16px); font-weight: var(--az-font-weight, 400); line-height: var(--az-body-line-height, 1.55); letter-spacing: var(--az-body-letter-spacing, normal); }
.az-child-food [hidden] { display: none; }
.az-child-food :is(a, button, summary):focus-visible, .az-child-food-footer a:focus-visible { outline: 3px solid var(--az-child-food-accent); outline-offset: 4px; }
.az-child-food a { color: inherit; text-decoration: none; }
.az-child-food__container, .az-child-food-footer__container { width: min(calc(100% - var(--az-gutter, 24px) * 2), var(--az-container, 1110px)); margin-inline: auto; }
.az-child-food :is(h2, h3, h4), .az-child-food-footer h2 { font-family: var(--az-font-heading, Arial, sans-serif); font-weight: var(--az-heading-weight, 600); line-height: var(--az-heading-line-height, 1.2); letter-spacing: var(--az-heading-letter-spacing, normal); }
.az-child-food h2 { font-size: var(--az-h2-size, 34px); }
.az-child-food h3 { font-size: var(--az-h3-size, 26px); }
.az-child-food h4 { font-size: var(--az-h4-size, 18px); }
/* The same header is used on home, content and commerce pages. */
#page.az-child-food-site .az-shared-header { --az-header-blue: var(--az-child-food-accent); --az-header-blue-dark: var(--az-child-food-accent); --az-header-red: var(--az-child-food-accent); border-bottom: 1px solid var(--az-color-border, #e5e5e5); box-shadow: 0 2px 7px #0000000a; }
#page.az-child-food-site .az-shared-header .az-steel-logo { flex: 0 0 auto; }
#page.az-child-food-site .az-steel-logo .az-logo { display: block; }
#page.az-child-food-site .az-shared-header .az-steel-logo img { width: var(--az-child-logo-width, 80px); max-height: min(var(--az-header-main-height, 80px), 100px); height: auto; object-fit: contain; }
#page.az-child-food-site .az-shared-brandbar { gap: 20px; }
#page.az-child-food-site .az-shared-hotline { gap: 8px; padding: 8px 16px; background: var(--az-child-food-accent); color: #fff; border-radius: 24px; }
#page.az-child-food-site .az-shared-header.az-steel-site .az-shared-hotline:is(:hover, :focus-visible, :active) { color: #fff; }
#page.az-child-food-site .az-shared-hotline :is(small, strong) { color: inherit; font-size: .8em; }
#page.az-child-food-site .az-shared-hotline > svg { width: 22px; height: 22px; color: inherit; }
#page.az-child-food-site .az-shared-header .az-steel-menu { justify-content: center; }
#page.az-child-food-site :is(.az-steel-menu, .az-sticky-menu) > li > a { font-size: var(--az-navigation-size, 16px); font-weight: var(--az-navigation-weight, 600); letter-spacing: var(--az-navigation-letter-spacing, normal); }
.az-child-food-site .az-child-sticky-header .az-sticky-header__logo img { width: var(--az-child-logo-width, 80px); max-height: 60px; object-fit: contain; }
.az-child-food-site .az-mobile-header__logo img, .az-child-food-site .az-mobile-menu__brand img { width: var(--az-child-logo-width-mobile, 60px); max-height: 64px; object-fit: contain; }
@media (min-width: 783px) {
  #page.az-child-food-site .az-shared-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
  #page.az-child-food-site .az-shared-header .az-steel-topbar { flex-basis: 100%; }
  #page.az-child-food-site .az-shared-header .az-shared-brandbar { flex: 1 1 100%; }
  #page.az-child-food-site .az-shared-header.az-child-home-overlay { position: absolute; z-index: 30; inset: 0 0 auto; background: #ffffffed; }
  #page.az-child-food-site .az-shared-header:has(.az-shared-navrow--no-category):not(:has(.az-steel-search)) { position: relative; }
  #page.az-child-food-site .az-shared-header:has(.az-shared-navrow--no-category):not(:has(.az-steel-search)) .az-steel-navband { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(var(--az-container, 1110px) - 400px); }
  #page.az-child-food-site .az-shared-header:has(.az-shared-navrow--no-category):not(:has(.az-steel-search)) .az-shared-navrow { width: auto; min-height: 44px; }
  #page.az-child-food-site .az-shared-header.az-child-home-overlay:has(.az-shared-navrow--no-category):not(:has(.az-steel-search)) { position: absolute; }
}
/* Shared Banner data + existing child carousel controller. */
.az-child-food-banner { position: relative; margin-bottom: 0; }
.az-child-food-banner__stage { position: relative; overflow: hidden; }
.az-child-food-banner [data-az-steel-slide] img { display: block; width: 100%; height: var(--az-child-banner-height, auto); object-fit: cover; }
.az-child-food-banner__fallback img { display: block; width: 100%; height: auto; }
.az-child-food-banner__overlay { position: absolute; top: 50%; left: 6%; transform: translateY(-50%); width: min(620px, 80%); padding: 24px; color: #fff; background: rgb(0 0 0 / var(--az-child-banner-overlay, .35)); }
.az-child-food-banner__overlay h2 { color: inherit; }
.az-child-food-banner__prev, .az-child-food-banner__next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; background: #0007; color: #fff; font-size: 28px; cursor: pointer; }
.az-child-food-banner__prev { left: 12px; }
.az-child-food-banner__next { right: 12px; }
.az-child-food-banner__tools { display: flex; justify-content: center; align-items: center; padding: 5px; }
.az-child-food-banner__tools button { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #aaa; cursor: pointer; }
.az-child-food-banner__tools [aria-pressed=true] { color: var(--az-child-food-accent); }
.az-child-food__services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 80px 6px 32px; }
.az-child-food__service { display: flex; min-width: 0; flex-direction: column; justify-content: center; overflow: hidden; border: 1px solid var(--az-child-food-accent); border-radius: 4px; text-align: center; transition: box-shadow .2s, transform .2s; }
.az-child-food__service img { display: block; align-self: center; width: 64px; height: 68px; margin: 6px 0; object-fit: contain; }
.az-child-food__service strong { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 50px; padding: 4px 8px 10px; color: var(--az-child-food-accent); font: var(--az-heading-weight, 600) var(--az-h4-size, 18px)/1.2 var(--az-font-heading, Arial, sans-serif); text-transform: uppercase; overflow-wrap: anywhere; }
.az-child-food__service > span:not(.az-sr-only) { padding: 6px; background: var(--az-child-food-accent); color: #fff; font-size: .8em; }
.az-child-food__service:hover { transform: translateY(-3px); box-shadow: var(--az-shadow-card, 0 4px 16px #0002); }
.az-child-food__service[aria-selected=true] { box-shadow: var(--az-shadow-card, 0 4px 16px #0002); border-width: 2px; }
.az-child-food__service-panel { scroll-margin-top: 100px; }
.az-child-food__service-panels { scroll-margin-top: 100px; }
.az-child-food__service-panel h2 { color: var(--az-child-food-accent); }
.az-child-food__service-panel--text { grid-template-columns: 1fr; }
.az-child-food__about { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; margin: 0 22px 88px; }
.az-child-food__about > img { width: 100%; height: auto; }
.az-child-food__about h2 { margin: 0 0 16px; }
.az-child-food__about p { margin: 0 0 24px; }
.az-child-food .az-child-food__button, .az-child-food .az-child-food__more { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--az-child-food-accent); color: #fff; font: inherit; text-decoration: none; }
.az-child-food .az-child-food__section-title { margin: 0 0 32px; color: var(--az-child-food-accent); text-align: center; text-transform: uppercase; }
.az-child-food__section-title::after { content: ''; display: block; width: 60px; height: 2px; margin: 12px auto 0; background: currentColor; opacity: .55; }
.az-child-food__menu-layout { display: grid; grid-template-columns: minmax(0, 24fr) minmax(0, 42fr) minmax(0, 32fr); align-items: start; gap: 24px; }
.az-child-food__menu-layout--no-cart { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.az-child-food__menu-layout--empty { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.az-child-food__menu-layout--empty.az-child-food__menu-layout--no-cart { grid-template-columns: minmax(0, 1fr); }
.az-child-food__rail { display: flex; flex-direction: column; padding: 12px 18px; border-radius: 8px; background: var(--az-child-food-accent); color: #fff; box-shadow: 0 3px 14px #0003; }
.az-child-food__rail ul { width: 100%; margin: 0; padding: 0; list-style: none; }
.az-child-food__rail .sub-menu { padding-inline-start: 12px; }
.az-child-food__rail a { display: block; padding: 12px 0; border-bottom: 1px solid #ffffff50; font-size: .85em; font-weight: 600; overflow-wrap: anywhere; }
.az-child-food__rail > a:last-child, .az-child-food__rail > ul > li:last-child > a { border: 0; }
.az-child-food__rail a:hover { text-decoration: underline; text-underline-offset: 4px; }
.az-child-food .az-child-food__fire { display: inline-block; width: 1.5em; height: 1.5em; margin-inline-start: .25em; vertical-align: middle; object-fit: contain; }
.az-child-food__groups { min-width: 0; }
.az-child-food__dishes { display: grid; grid-template-columns: minmax(0, 1fr); }
.az-child-food__dishes:has(> :nth-child(2)) { align-items: start; }
.az-child-food__group { padding: 10px; margin: 0 0 24px; border: 1px solid var(--az-child-food-accent); border-radius: 6px; scroll-margin-top: 100px; }
.az-child-food__group > h3 { margin: 0; padding: 6px 0 14px; color: var(--az-child-food-accent); border-bottom: 1px solid var(--az-color-border, #e5e5e5); font-size: var(--az-h4-size, 18px); text-align: center; }
.az-child-food__sample { display: grid; min-width: 0; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--az-color-border, #e5e5e5); }
.az-child-food__sample:last-child { border: 0; }
.az-child-food__sample-image { display: block; align-self: start; aspect-ratio: var(--az-product-image-ratio, 1); overflow: hidden; border-radius: 4px; }
.az-child-food__sample-image img { display: block; width: 100%; height: var(--az-product-card-image-height, 100%); object-fit: var(--az-child-product-image-fit, cover); }
.az-child-food__placeholder { display: grid; place-items: center; align-self: start; aspect-ratio: 1; background: #f5f7f6; color: #c6d3bc; border-radius: 4px; font-size: 52px; }
.az-child-food__sample h4 { margin: 8px 0; color: var(--az-child-food-accent); text-transform: uppercase; overflow-wrap: anywhere; }
.az-child-food__sample p { margin: 8px 0; font-size: .85em; }
.az-child-food .az-child-food__more { display: flex; width: 100%; padding: 7px; text-transform: uppercase; font-size: .8em; font-weight: 600; }
.az-child-food__empty { margin: 14px 0; color: var(--az-color-muted, #777); font-size: .85em; }
.az-child-food__cart { padding: 20px 16px; border: 1px solid var(--az-child-food-accent); border-radius: 8px; background: var(--az-color-surface, #fff); box-shadow: 0 2px 14px #0003; font-size: .85em; }
.az-child-food__cart > h3 { margin: 0 0 18px; color: var(--az-child-food-accent); font-size: var(--az-h4-size, 18px); text-transform: uppercase; }
.az-child-food__cart .woocommerce-mini-cart { padding: 0; margin: 0; list-style: none; }
.az-child-food__cart .woocommerce-mini-cart-item { position: relative; padding: 10px 24px 10px 0; border-bottom: 1px solid var(--az-color-border, #eee); }
.az-child-food__cart .woocommerce-mini-cart-item img { float: left; width: 45px; height: 45px; margin-right: 8px; object-fit: cover; }
.az-child-food__cart .remove { position: absolute; right: 0; top: 8px; font-size: 20px; }
.az-child-food__cart .quantity { display: block; }
.az-child-food__cart .woocommerce-mini-cart__buttons { display: grid; gap: 8px; }
.az-child-food__cart .button { padding: 9px; border-radius: 3px; background: var(--az-child-food-accent); color: #fff; text-align: center; }
/* Parent cards keep prices, AJAX links, variation behavior and purchase visibility. */
#page.az-child-food-site .az-child-food__product { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); align-items: start; gap: 16px; padding: 14px 0; margin: 0; border: 0; border-bottom: 1px dashed var(--az-color-border, #eee); border-radius: 0; box-shadow: none; text-align: left; }
#page.az-child-food-site .az-child-food__product .az-product-card__body { min-width: 0; gap: 10px; padding: 4px 0; }
#page.az-child-food-site .az-child-food__product .az-product-card__title { display: block; overflow: visible; -webkit-line-clamp: unset; color: var(--az-child-food-accent); font-size: var(--az-h4-size, 18px); text-transform: uppercase; overflow-wrap: anywhere; }
#page.az-child-food-site .az-child-food__product .az-product-card__price { margin: 0; }
#page.az-child-food-site .az-child-food__product .az-product-card__image { align-self: start; aspect-ratio: var(--az-product-image-ratio, 1); }
#page.az-child-food-site .az-child-food__product .az-product-card__image img { height: var(--az-product-card-image-height, 100%); object-fit: var(--az-child-product-image-fit, cover); }
.az-child-food-site .az-product-card .az-product-card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.az-child-food-site .az-product-card .az-product-card__actions :is(.button, .az-child-catalog-details) { padding: 7px 10px; min-height: 36px; border: 1px solid var(--az-child-food-accent); border-radius: 4px; color: var(--az-child-food-accent); background: #fff; font: inherit; font-size: .8em; text-align: center; text-decoration: none; white-space: normal; }
.az-child-food-site .az-product-card .az-product-card__actions .button { background: var(--az-child-food-accent); color: #fff; }
#page.az-child-food-site .az-child-food__product .az-product-card__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#page.az-child-food-site .az-child-food__product .az-product-card__actions > :is(.button, .az-child-catalog-details) { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 40px; }
#page.az-child-food-site .az-child-food__product .az-product-card__actions > .added_to_cart { grid-column: 1 / -1; }
.az-child-food__gallery { margin-top: 80px; }
.az-child-food__gallery > p { margin: 0 0 5px; text-align: center; color: var(--az-color-muted, #777); font-size: .8em; }
.az-child-food__gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.az-child-food__gallery-grid a { display: block; overflow: hidden; }
.az-child-food__gallery-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; transition: transform .2s; }
.az-child-food__gallery-grid a:hover img { transform: scale(1.035); }
.az-child-food__stats { position: relative; isolation: isolate; margin-top: 70px; overflow: hidden; color: #fff; background: #343a29; }
.az-child-food__stats > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.az-child-food__stats::before { content: ''; position: absolute; z-index: -1; inset: 0; background: #0007; }
.az-child-food__stats > div { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 28px; padding-block: 54px; text-align: center; }
.az-child-food__stats > div > div { flex: 1 1 150px; }
.az-child-food__stats span { display: block; font-size: 42px; line-height: 1.3; }
.az-child-food__stats strong { display: block; margin: 14px 0; font-size: var(--az-h2-size, 34px); }
.az-child-food__stats p { margin: 0; text-transform: uppercase; font-size: .85em; }
.az-child-food__dialog { width: min(100% - 32px, 1000px); max-height: 92vh; padding: 20px; border: 0; border-radius: 8px; background: var(--az-color-surface, #fff); color: var(--az-color-text, #444); }
.az-child-food__dialog::backdrop { background: #000b; }
.az-child-food__dialog img { display: block; max-width: 100%; max-height: 72vh; margin: auto; object-fit: contain; }
.az-child-food__dialog button { display: block; width: 44px; height: 44px; margin: 0 0 10px auto; padding: 0; border: 0; background: #f5f5f5; color: #333; font-size: 28px; cursor: pointer; }
.az-child-food__dialog p { margin: 12px 0 0; text-align: center; }
/* Footer content comes from the same AZ settings on every page. */
.az-child-food-footer { padding: 40px 0 clamp(72px, 8vw, 240px); background-color: var(--az-color-surface, #fff); background-image: url("../../../uploads/2024/09/bg-ft.png"); background-position: center bottom; background-repeat: no-repeat; background-size: 100% auto; color: var(--az-color-text, #444); font-size: var(--az-body-size, 16px); line-height: var(--az-body-line-height, 1.55); }
.az-child-food-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.az-child-food-footer__grid > section { min-width: 0; }
.az-child-food-footer h2 { margin: 0 0 16px; color: var(--az-child-food-accent); font-size: var(--az-h4-size, 18px); }
.az-child-food-footer h2::after { content: ''; display: block; width: 28px; height: 2px; margin-top: 8px; background: currentColor; }
.az-child-food-footer a { color: inherit; text-decoration: none; }
.az-child-food-footer a:hover { color: var(--az-child-food-accent); }
.az-child-food-footer__brand > a > img { display: block; width: 160px; max-width: 100%; height: auto; margin: 0 auto 20px; }
.az-child-food-footer :is(p, li) { font-size: .8em; }
.az-child-food-footer ul { padding: 0; margin: 0; list-style: none; }
.az-child-food-footer li { margin: 0 0 10px; overflow-wrap: anywhere; }
.az-child-food-footer .az-footer-contact-list li { display: flex; align-items: start; gap: 7px; }
.az-child-food-footer .az-footer-contact-list svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 3px; }
.az-child-food-footer .az-contact-branches { width: 100%; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.az-child-food-footer .az-contact-branches__grid { grid-template-columns: 1fr; gap: 12px; }
.az-child-food-footer .az-contact-branch__info { display: none; }
.az-child-food-footer .az-contact-branch__map iframe { display: block; width: 100%; height: 230px; border: 0; }
.az-child-food-footer .az-child-footer-statistics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--az-color-border, #eee); font-size: .8em; }
.az-child-food-footer .az-child-footer-statistics[hidden] { display: none; }
.az-child-food-footer .az-child-footer-statistics__item { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 8px 12px; }
.az-child-food-footer .az-child-footer-statistics__item strong { color: var(--az-color-heading, #222); font-weight: 600; }
.az-child-food-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-top: 24px; }
.az-child-food-footer .az-footer-payments img { width: auto; max-width: 100px; height: 30px; object-fit: contain; }
@media (max-width: 1100px) and (min-width: 783px) {
  /* Compact header needs a separate nav row when available width cannot hold it. */
  #page.az-child-food-site .az-shared-header:has(.az-shared-navrow--no-category):not(:has(.az-steel-search)) .az-steel-navband { position: static; transform: none; width: 100%; max-width: none; }
  #page.az-child-food-site .az-shared-header .az-shared-brandbar { flex-basis: 100%; }
}
@media (max-width: 960px) {
  .az-child-food__menu-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 20px; }
  .az-child-food__cart { grid-column: 2; grid-row: 1; }
  .az-child-food__groups { grid-column: 2; }
  .az-child-food__menu-layout--empty :is(.az-child-food__groups, .az-child-food__cart) { grid-column: auto; }
  .az-child-food__rail { grid-row: 1 / span 2; }
  .az-child-food-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-child-food-footer .az-child-footer-statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  /* Keep the mobile badge square despite the compact desktop phone icon. */
  #page.az-child-food-site .az-child-mobile-controls .az-shared-hotline > svg {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    color: var(--az-child-food-accent);
  }
  .az-child-food-banner [data-az-steel-slide] img { height: var(--az-child-banner-mobile-height, auto); }
  .az-child-food__services { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; gap: 8px; }
  .az-child-food__about { margin: 0 0 44px; gap: 20px; }
  .az-child-food__sample { gap: 12px; }
  .az-child-food__gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .az-child-food__stats { margin-top: 36px; }
  .az-child-food__stats > div { padding-block: 32px; }
}
@media (max-width: 640px) {
  .az-child-food__container, .az-child-food-footer__container { width: calc(100% - var(--az-mobile-gutter, 24px) * 2); }
  .az-child-food__menu-layout, .az-child-food__menu-layout--no-cart { display: flex; flex-direction: column; gap: 20px; }
  .az-child-food__rail { flex-direction: row; flex-wrap: nowrap; width: 100%; gap: 10px; padding: 10px 12px; overflow-x: auto; box-shadow: none; }
  .az-child-food__rail a { flex: 0 0 auto; padding: 10px 12px; border: 1px solid #fff6; border-radius: 4px; }
  .az-child-food__rail > ul { display: flex; align-items: start; gap: 10px; }
  .az-child-food__rail li { flex: 0 0 auto; }
  .az-child-food__groups, .az-child-food__cart { width: 100%; }
  .az-child-food__cart { order: 3; }
  .az-child-food__about { grid-template-columns: 1fr; }
  .az-child-food__gallery { margin-top: 48px; }
  .az-child-food-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .az-child-food-footer__brand > a > img { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .az-child-food__service, .az-child-food__gallery-grid img { transition: none; }
}
