/* Shared content, with layouts designed for each available screen width. */
:root { --mobile-bar-height: calc(68px + env(safe-area-inset-bottom, 0px)); }
.mobile-quick-nav, .admin-menu-toggle { display: none; }
.storefront, .admin-body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.storefront main, .storefront section, .admin-main, .admin-content { min-width: 0; }
button, a, input, select, textarea, summary { touch-action: manipulation; }
.account-link { display: inline-flex; align-items: center; min-height: 44px; max-width: none; padding: 6px 8px; font-size: 12px; }
.admin-nav-link, .icon-button, .cart-button { min-height: 44px; }
.icon-button { min-width: 44px; }
.cart-button #cart-count { width: auto; min-width: 22px; padding-inline: 5px; }
.search-field { min-height: 46px; }
.search-field svg { flex-shrink: 0; }
.search-field input { font-size: 14px; }
.category-tabs button, .filter-button { min-height: 44px; font-size: 12px; }
.category-tabs { min-width: 0; max-width: 100%; }
.filter-row { flex-wrap: wrap; padding-block: 8px; }
.filter-button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--rust); font-weight: 600; }
.filter-button[aria-expanded=true] { background: var(--cream); border-color: var(--rust); }
.filter-button svg, #filter-count { flex-shrink: 0; }
.filter-button[aria-expanded=true] .filter-chevron { transform: rotate(180deg); }
.filter-summary { margin: 2px 0 16px; color: var(--rust); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.filter-panel fieldset { display: block; min-width: 0; margin: 0; font-size: 13px; }
.filter-panel legend { font-size: 15px; margin-bottom: 0; }
.filter-panel #allergen-help { font-size: 13px; margin: 8px 0 16px; line-height: 1.6; color: var(--ink); }
.allergen-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.filter-panel label { min-height: 44px; }
.allergen-options label { gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); line-height: 1.5; }
.allergen-options label:has(input:checked) { border-color: var(--rust); background: #f7e7dd; }
.allergen-options label span { min-width: 0; overflow-wrap: anywhere; }
.filter-panel #clear-filters { min-height: 44px; font-size: 13px; }
.faq summary { min-height: 44px; }
.filter-panel input[type=checkbox] { width: 19px; height: 19px; flex-shrink: 0; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; }
.product-picture { aspect-ratio: 1; flex-shrink: 0; }
.product-picture > button { height: 100%; }
.product-picture .illustration-photo, .cart-photo .illustration-photo { height: 100%; }
.product-body { display: flex; flex: 1; flex-direction: column; }
.product-title { min-height: 0; font-size: 24px; line-height: 1.25; }
.product-meta { gap: 10px; font-size: 11px; }
.product-meta > span:first-child { min-width: 0; }
.product-bottom { margin-top: auto; padding-top: 16px; flex-wrap: wrap; gap: 10px; }
.product-bottom .add-button { min-height: 44px; max-width: 100%; font-size: 12px; }
.product-price { font-size: 18px; }
.catalog-note { font-size: 12px; line-height: 1.7; }
.cart-photo { aspect-ratio: 1; }
.cart-item > div { min-width: 0; }
.cart-item h3, .order-summary li > span:first-child { overflow-wrap: anywhere; }
.quantity-control { height: 44px; }
.quantity-control button { width: 44px; height: 42px; }
.quantity-control span { width: 28px; font-size: 14px; }
.remove-button { min-height: 44px; font-size: 12px; }
.checkout-back { min-height: 44px; font-size: 13px; }
dialog { overscroll-behavior: contain; scroll-padding-block: 86px 28px; overflow-wrap: anywhere; }
.dialog-header { position: sticky; top: -30px; z-index: 3; background: var(--paper); padding-top: 10px; }
.cart-dialog .dialog-header { top: -28px; }
.detail-dialog { max-width: 900px; }
.detail-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.detail-photo { height: auto; align-self: start; }
.detail-photo .illustration-photo { aspect-ratio: 1; height: auto; min-height: 0; }
.detail-copy { max-height: none; overflow: visible; }
.detail-copy .ingredients, .detail-copy .allergens { font-size: 12px; }
.order-summary li > span:last-child { flex-shrink: 0; }
.login-gate { max-width: 540px; margin: 10vh auto; padding: 28px; }
.login-gate h1 { font-size: clamp(36px, 7vw, 49px); }
.login-gate .button { justify-content: center; gap: 14px; max-width: 100%; }

/* Wide screens retain a full navigation and a denser catalogue. */
@media (min-width: 1440px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
  .product-title { font-size: 23px; }
}
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .account-link { display: inline-flex; }
  .mobile-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; border-radius: 4px; background: var(--cream); font-size: 14px; }
  .mobile-nav { max-height: calc(100dvh - 110px); overflow-y: auto; }
}
@media (max-width: 1000px) {
  .allergen-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .product-bottom { flex-direction: row; align-items: center; }
  .hero h1 { font-size: clamp(58px, 8vw, 78px); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .storefront { padding-bottom: var(--mobile-bar-height); }
  .wrap { width: calc(100% - 36px); }
  .nav-wrap { height: 72px; gap: 10px; }
  .brand { gap: 8px; }
  .brand > span { font-size: 23px; }
  .brand small { font-size: 6px; letter-spacing: 1.5px; }
  .brand-icon { width: 30px; height: 38px; }
  .nav-actions { gap: 4px; flex-shrink: 0; }
  .nav-actions .admin-nav-link, .nav-actions .saved-button, .nav-actions .cart-button { display: none; }
  .nav-actions .account-link { display: inline-flex; font-size: 12px; padding-inline: 6px; }
  .nav-actions .menu-button { min-width: 44px; font-size: 22px; }
  .mobile-nav { padding: 12px 18px 18px; gap: 8px; }
  .mobile-quick-nav { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: var(--mobile-bar-height); padding: 6px max(10px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -3px 18px #34282008; }
  .mobile-quick-nav > a, .mobile-quick-nav > button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 50px; padding: 3px; border-radius: 7px; font-size: 11px; color: var(--rust); }
  .mobile-quick-nav svg { display: block; width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-quick-nav .mobile-cart-action { background: var(--cream); }
  .mobile-cart-icon { position: relative; display: block; }
  .mobile-cart-count { position: absolute; top: -5px; left: 17px; min-width: 18px; padding-inline: 4px; height: 18px; line-height: 18px; border-radius: 10px; color: white; background: var(--rust); font-size: 9px; }
  .dialog-open .mobile-quick-nav { visibility: hidden; }
  .storefront .toast { bottom: calc(var(--mobile-bar-height) + 12px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; min-height: 0; padding-block: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(62px, 15vw, 82px); margin-block: 16px 22px; }
  .hero-description { max-width: 440px; font-size: 15px; line-height: 1.75; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 24px; }
  .hero-actions .text-link { font-size: 12px; min-height: 44px; }
  .hero-footnote { display: none; }
  .hero-visual { height: clamp(240px, 68vw, 390px); margin: 0; border-radius: 85px 6px 6px 6px; }
  .hero-stamp { right: 12px; top: 16px; width: 100px; height: 100px; }
  .values { grid-template-columns: 1fr; padding-block: 18px; gap: 12px; }
  .values > div, .values > div + div { border: 0; padding: 0; }
  .values p { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; }
  .values strong { font-size: 12px; }
  .values small { font-size: 11px; text-align: right; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .catalog-section { padding-block: 44px; }
  .category-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; scroll-padding-inline: 4px; }
  .category-tabs button { flex-shrink: 0; padding: 10px 14px; }
  .filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; }
  .filter-row > p { grid-column: 1; grid-row: 2; margin: 0; padding: 0; border: 0; font-size: 12px; }
  .filter-button { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; justify-content: flex-start; font-size: 13px; }
  .filter-chevron { margin-left: auto; }
  .sort-label { grid-column: 2; grid-row: 2; font-size: 0; }
  .sort-label select { font-size: 13px; min-height: 44px; max-width: 160px; }
  .filter-panel fieldset { gap: 8px 20px; font-size: 13px; }
  .supplier-filter { flex-wrap: wrap; gap: 8px; font-size: 13px; }
  .supplier-filter select { max-width: 100%; }
  .product-grid { gap: 26px 14px; }
  .product-title { font-size: 21px; min-height: 0; }
  .product-meta { font-size: 11px; flex-direction: column; gap: 2px; }
  .product-meta > span:first-child { white-space: normal; overflow-wrap: anywhere; }
  .product-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; }
  .product-bottom .add-button { width: 100%; justify-content: space-between; font-size: 12px; gap: 8px; }
  .product-price { font-size: 17px; }
  .product-price del { font-size: 12px; }
  .illustration-label { font-size: 9px; right: 5px; bottom: 5px; padding: 3px 5px; }
  .reservation-title { flex-direction: column; align-items: flex-start; gap: 20px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps p { max-width: none; font-size: 13px; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 48px; }
  .story-image { height: 340px; }
  .story-copy > p:not(.eyebrow), .contact-details p, .faq summary { font-size: 14px; }
  .faq-list details p { font-size: 13px; }
  .contact-section { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 24px; }
  .contact-details { min-width: 0; overflow-wrap: anywhere; }
  .footer-top { gap: 16px 22px; }
  .footer-top .text-link { min-height: 44px; font-size: 12px; }
  .footer-bottom { font-size: 11px; }
  .offer-banner { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .offer-banner p:not(.eyebrow) { font-size: 14px; }
}

@media (max-width: 600px) {
  .allergen-options { grid-template-columns: minmax(0, 1fr); }
}

/* Dialogs and inputs remain usable on a phone with the keyboard open. */
@media (max-width: 600px) {
  dialog, .cart-dialog, .detail-dialog, .info-dialog, .editor-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); }
  .dialog-header, .cart-dialog .dialog-header { top: calc(-1 * max(18px, env(safe-area-inset-top))); padding-block: 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
  .dialog-header h2 { font-size: 32px; }
  .detail-dialog { padding: 0; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-copy { padding: 26px 22px max(30px, env(safe-area-inset-bottom)); }
  .detail-copy h2 { font-size: 36px; }
  .detail-copy > p, .detail-copy .ingredients, .detail-copy .allergens { font-size: 14px; }
  .detail-photo { display: block; }
  .detail-photo .illustration-photo { max-width: 100%; }
  .floating-close { position: sticky; top: max(12px, env(safe-area-inset-top)); right: auto; margin: max(12px, env(safe-area-inset-top)) 12px -56px auto; z-index: 4; box-shadow: 0 2px 12px #34282022; }
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); gap: 10px 14px; align-items: start; }
  .cart-item-end { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; font-size: 15px; }
  .cart-item h3 { font-size: 20px; }
  .cart-item .weight { font-size: 12px; }
  .cart-total { font-size: 17px; }
  .order-actions { flex-direction: column; align-items: stretch; }
  .order-actions .button, .order-actions .text-link { min-height: 46px; justify-content: center; }
  .demo-notice, .order-summary, .confirmation p, .info-dialog p { font-size: 13px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .checkout-form label { font-size: 14px; }
  .checkout-form input, .checkout-form select, .checkout-form textarea { font-size: 16px; min-height: 48px; }
  .login-gate { margin-block: 5vh; padding: 24px; }
}
@media (max-width: 359px) {
  .brand > span { font-size: 21px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
  .product-body { padding-top: 0; }
  .product-title { font-size: 20px; }
  .product-meta { font-size: 10px; }
  .illustration-label { font-size: 8px; right: 2px; padding-inline: 3px; }
  .values p { display: block; }
  .values small { text-align: left; }
}
@media (pointer: coarse) {
  .search-field input, .filter-panel select, .sort-label select, .admin-tools input, .admin-tools select,
  .admin-form input, .admin-form select, .admin-form textarea, .checkout-form input, .checkout-form select, .checkout-form textarea { font-size: 16px; }
}

/* Administration: sidebar + tables on desktop, menu + cards on phones. */
.admin-body { grid-template-columns: 235px minmax(0, 1fr); }
.admin-main { width: 100%; max-width: 1600px; justify-self: center; }
.admin-sidebar { height: 100dvh; overflow-y: auto; }
.admin-menu-toggle { min-height: 44px; padding: 8px 12px; border: 1px solid #d8cbbb; border-radius: 5px; font-size: 13px; align-items: center; gap: 12px; }
.admin-header-actions, .panel-heading, .report-toolbar, .report-summary { flex-wrap: wrap; }
.admin-body .table-action { min-height: 44px; font-size: 12px; padding: 10px 14px; }
.admin-body .data-table { font-size: 12px; }
.admin-body .data-table td small { font-size: 11px; }
.admin-body .table-product strong { font-size: 13px; overflow-wrap: anywhere; }
.admin-body .admin-tools input, .admin-body .admin-tools select { min-height: 44px; font-size: 14px; }
.admin-form .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form .checkbox-label { min-height: 44px; align-items: center; }
.admin-form input[type=checkbox] { width: 20px; min-width: 20px; height: 20px; }
.admin-form label, .admin-form legend { font-size: 13px; }
.admin-form .hint { font-size: 12px; }
.admin-form fieldset { min-width: 0; }
.admin-form input[type=file] { max-width: 100%; }
.photo-upload label { min-width: 0; }
.reservation-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reservation-detail p { overflow-wrap: anywhere; }
.admin-form .form-footer { bottom: -30px; flex-wrap: wrap; }
.admin-sidebar nav button, .admin-profile a { min-height: 44px; }
.admin-profile a { display: flex; align-items: center; }
@media (min-width: 1440px) {
  .admin-main { padding-inline: 48px; }
  .admin-header { align-items: center; flex-direction: row; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .admin-body { grid-template-columns: 195px minmax(0, 1fr); }
  .admin-main { padding-inline: 22px; }
}
@media (max-width: 800px) {
  .admin-body { display: block; }
  .admin-sidebar { position: sticky; top: 0; z-index: 25; height: auto; max-height: 85dvh; overflow-y: auto; padding: max(12px, env(safe-area-inset-top)) 18px 12px; border-right: 0; border-bottom: 1px solid #ded2c1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .admin-sidebar .footer-brand { font-size: 25px; min-width: 0; }
  .admin-menu-toggle { display: inline-flex; }
  .admin-sidebar > .eyebrow { display: none; }
  .admin-sidebar nav, .admin-sidebar .admin-profile { display: none; grid-column: 1 / -1; }
  .admin-sidebar[data-menu-open=true] nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; padding: 0; overflow: visible; }
  .admin-sidebar nav button { font-size: 13px; padding: 12px; gap: 8px; white-space: normal; }
  .admin-sidebar[data-menu-open=true] .admin-profile { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; padding-top: 8px; }
  .admin-profile strong { font-size: 12px; max-width: 100%; }
  .admin-profile small { font-size: 12px; max-width: 100%; }
  .admin-profile a { margin: 0 0 0 auto; font-size: 12px; }
  .admin-main { padding: 26px 18px max(32px, env(safe-area-inset-bottom)); }
  .admin-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .admin-header h1 { font-size: clamp(30px, 6vw, 38px); scroll-margin-top: 95px; }
  .admin-header .eyebrow { font-size: 9px; }
  .admin-header-actions { width: 100%; gap: 10px; }
  .admin-header-actions .button { min-height: 44px; font-size: 12px; }
  .admin-header-actions a { margin-left: auto; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { padding: 17px; min-width: 0; }
  .stat-card span { font-size: 12px; }
  .stat-card small { font-size: 11px; }
  .admin-panel { padding: 20px 16px; }
  .panel-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .panel-heading .button { min-height: 44px; font-size: 12px; }
  .panel-heading p, .admin-section-copy { font-size: 13px; }
  .admin-tools { gap: 10px; }
  .admin-body .admin-tools input, .admin-body .admin-tools select { font-size: 16px; max-width: 100%; }
  .admin-tools input[type=search] { min-width: 0; width: 100%; flex-basis: 100%; }
  .admin-tools input[type=date] { max-width: 100%; flex: 1; }
  .admin-tools select { flex: 1; min-width: 0; }
  .admin-tools .button { min-height: 46px; font-size: 12px; }
  .admin-tools .text-link { min-height: 44px; font-size: 12px; }
  .report-toolbar { flex-direction: column; align-items: flex-start; }
  .report-summary { gap: 5px 14px; font-size: 12px; margin-bottom: 16px; }
  .data-table-wrap { overflow: visible; }
  .responsive-table { display: block; border: 0; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .responsive-table tbody { display: grid; gap: 14px; }
  .responsive-table tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
  .responsive-table tbody tr:hover { background: var(--paper); }
  .admin-body .responsive-table td { display: block; padding: 0; border: 0; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
  .responsive-table td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-bottom: 5px; }
  .responsive-table td:first-child, .responsive-table .cell-actions { grid-column: 1 / -1; }
  .responsive-table .cell-actions::before { display: none; }
  .responsive-table .cell-actions:empty { display: none; }
  .responsive-table .cell-actions .table-action { width: 100%; min-height: 46px; text-align: center; }
  .responsive-table .badge { white-space: normal; font-size: 11px; padding: 5px 9px; }
  .responsive-table .table-price { white-space: normal; }
  .responsive-table .table-product { min-width: 0; gap: 12px; }
  .admin-body .responsive-table .table-product strong { max-width: none; font-size: 16px; }
  .table-product > div { min-width: 0; }
  .orders-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .orders-table td:nth-child(4) { grid-column: 2; grid-row: 1; }
  .orders-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .orders-table td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .items-table tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .promo-card { padding: 22px; }
  .promo-card p { overflow-wrap: anywhere; }
  .promo-actions { flex-wrap: wrap; align-items: center; }
  .promo-actions .text-link { min-height: 44px; }
  .staff-form { flex-direction: column; }
  .staff-form input { max-width: 100%; }
  .admin-form .form-row, .reservation-detail { grid-template-columns: minmax(0, 1fr); }
  .admin-form input, .admin-form select, .admin-form textarea { font-size: 16px; min-height: 48px; }
  .admin-form input[type=checkbox] { min-height: 20px; }
  .admin-form .checkbox-label { font-size: 13px; display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 8px 10px; }
  .admin-form .checkbox-label .hint { grid-column: 2; }
  .stock-status .checkbox-label { flex: 1 1 220px; }
  .allergen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .editor-dialog .dialog-header { top: -22px; }
  .photo-upload { flex-wrap: wrap; align-items: flex-start; }
  .photo-upload label { flex: 1 1 200px; }
  .reservation-detail p { font-size: 14px; }
  .order-action-list { flex-direction: column; align-items: stretch; }
  .order-action-list .button { min-height: 48px; justify-content: center; font-size: 13px; }
}
@media (max-width: 600px) {
  .editor-dialog .dialog-header { top: calc(-1 * max(18px, env(safe-area-inset-top))); }
  .admin-form .form-footer { position: static; padding: 18px 0 0; }
  .form-footer > .button { min-height: 48px; flex: 1; justify-content: center; gap: 8px; }
  .form-footer .form-error { flex-basis: 100%; }
  .allergen-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-main { padding-inline: 14px; }
  .admin-panel { padding: 18px 12px; }
  .admin-sidebar .footer-brand { font-size: 24px; }
}
@media (hover: none) {
  .button:hover, .product-picture:hover .real-product-photo, .product-picture:hover .product-photo { transform: none; }
}
@media (pointer: coarse) {
  .admin-body .admin-tools input, .admin-body .admin-tools select,
  .admin-body .admin-form input, .admin-body .admin-form select, .admin-body .admin-form textarea { font-size: 16px; }
}

/* Shop details and product photos. */
.contact-details .hours-heading, .operator-details h3 { margin: 22px 0 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.contact-details .opening-hours { font-size: 17px; font-weight: 600; }
.operator-details { margin-top: 22px; padding-top: 2px; border-top: 1px solid var(--line); }
.operator-details p { font-size: 13px; line-height: 1.8; }
.product-picture .real-product-photo, .cart-photo .real-product-photo, .table-photo .real-product-photo { object-fit: contain; background: var(--cream); }
.detail-photo .real-product-photo { object-fit: contain; width: 100%; height: auto; background: var(--cream); }

/* Shop information is readable without scripts or signing in. */
.footer-info-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 28px; padding: 0 0 32px; }
.footer-info-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.footer-info-links a:hover { color: var(--rust); }
.checkout-legal { font-size: 12px; line-height: 1.7; margin: 12px 0 22px; color: var(--muted); }
.checkout-legal a, .info-article a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.session-message { margin-block: 16px; padding: 16px 20px; background: var(--cream); color: var(--rust); font-size: 14px; line-height: 1.6; }
.session-message .text-link { min-height: 44px; margin-left: 8px; white-space: normal; }
.info-page { min-width: 0; }
.info-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.info-header .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.info-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; padding-block: 64px 80px; }
.info-sidebar nav { display: grid; gap: 4px; margin-top: 18px; }
.info-sidebar nav a { font-size: 13px; line-height: 1.5; min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 4px; }
.info-sidebar a[aria-current] { background: var(--cream); color: var(--rust); font-weight: 600; }
.info-article { min-width: 0; overflow-wrap: anywhere; }
.info-article h1 { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.12; font-weight: 400; margin: 14px 0 24px; }
.info-article h2 { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.35; margin: 32px 0 12px; }
.info-article p, .info-article li, .business-details { font-size: 15px; line-height: 1.8; }
.info-article p { margin: 12px 0; }
.info-article .info-lead { font-size: 19px; line-height: 1.65; color: var(--muted); margin-bottom: 28px; }
.info-article .info-note { border-left: 3px solid var(--rust-light); background: var(--cream); padding: 18px 22px; margin-block: 24px; font-size: 14px; line-height: 1.7; }
.info-note p { font-size: 14px; margin-bottom: 0; }
.business-details { margin: 24px 0; }
.business-details > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.business-details dt { color: var(--muted); font-size: 13px; }
.business-details dd { margin: 0; }
.preserve-lines { white-space: pre-line; }
.supplier-list, .shopping-steps { padding-left: 24px; }
.supplier-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.shopping-steps li { padding-left: 10px; }
.info-article .info-updated { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 850px) {
 .info-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 48px; }
 .info-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
 .info-sidebar .eyebrow { font-size: 10px; }
 .info-header { padding-block: 20px; }
}
@media (max-width: 600px) {
 .footer-info-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
 .footer-info-links a { font-size: 12px; line-height: 1.6; }
 .info-header { flex-wrap: wrap; gap: 6px 16px; }
 .info-header .footer-brand { font-size: 28px; }
 .info-header .text-link { font-size: 11px; }
 .info-sidebar nav a { font-size: 12px; padding: 9px; }
 .info-article h2 { font-size: 23px; }
 .business-details > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
 .info-article .info-note { padding: 15px; }
 .checkout-legal { font-size: 13px; }
}
@media print {
 .info-page .info-sidebar, .info-page .demo-strip, .info-page .skip-link { display: none; }
 .info-page .info-layout { display: block; padding-block: 24px; }
 .info-page .wrap { width: 100%; }
 .info-page .info-article h2 { break-after: avoid; }
}

/* Preserve the supplied storage and nutrition paragraphs in product details. */
.detail-copy > p { white-space: pre-line; }

.photo-missing { display: grid; place-items: center; width: 100%; height: 100%; padding: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.table-photo .photo-missing { font-size: 8px; padding: 2px; }
