:root {
  color-scheme: light;
  --ink: #520d20;
  --muted: #86656c;
  --line: #eadfe2;
  --paper: #ffffff;
  --accent: #520d20;
  font-family: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { --category-scroll-offset: 100px; scroll-behavior: smooth; scroll-padding-top: var(--category-scroll-offset); }
body { margin: 0; background: var(--paper); color: var(--ink); }
.site-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; min-height: 84px; padding: 12px max(28px, calc((100% - 1280px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.category-nav { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: flex-start; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav { overscroll-behavior-inline: contain; scroll-behavior: smooth; }
.category-nav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 50px; padding: 0 20px; border: 1px solid #cbaeb6; border-radius: 999px; color: var(--ink); background: var(--paper); text-decoration: none; font-size: 15px; line-height: 1; font-weight: 600; white-space: nowrap; transition: color .18s, background .18s, border-color .18s, transform .18s; }
.category-nav a:hover, .category-nav a:focus-visible { border-color: var(--accent); background: #f8f1f3; }
.category-nav a.active { border-color: var(--accent); color: #fff; background: var(--accent); box-shadow: 0 3px 10px rgba(82,13,32,.16); }
.category-nav a.active:hover { transform: translateY(-1px); }
main { width: min(1280px, calc(100% - 56px)); margin: 0 auto; padding: 24px 0 110px; }
.menu-section { scroll-margin-top: 0; padding: 0 0 32px; }
.menu-section + .menu-section { padding-top: 4px; }
h1, .menu-section h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.2; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 25px; }
.cold-drink-group + .cold-drink-group { margin-top: 38px; }
.cold-drink-group-title { margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 23px; line-height: 1.2; font-weight: 700; }
.product { min-width: 0; }
.product-visual { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.12 / 1; overflow: hidden; background: transparent; }
.product-photo { display: block; width: 88%; height: 88%; object-fit: contain; transform: translate(var(--image-x, 0%), var(--image-y, 0%)) scale(var(--image-scale, 1)); }
.product-photo-user { width: 98%; height: 98%; }
/* Keep desktop product photos inside their card even if an old admin crop is saved. */
@media (min-width: 561px) {
  .product-photo, .product-photo-user { width: 88%; height: 88%; transform: none; object-fit: contain; }
}
.product-copy { position: relative; min-height: 58px; padding: 10px 2px 0; }
.product-name { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 500; }
.product-description { margin: 6px 0 0; padding-right: 38px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.product-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.product-price { display: block; margin-top: 7px; font-size: 14px; line-height: 1; font-weight: 600; }
.product-badge { display: inline-block; margin-top: 6px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.product-name, .product-meta { padding-right: 38px; }
.product-add { position: absolute; top: 10px; right: 1px; display: grid; place-items: center; width: 29px; height: 29px; padding: 0 0 2px; border: 1px solid #d9c6cb; border-radius: 50%; color: #8d5f6b; background: #fff; font: 300 23px/1 Arial, sans-serif; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.product-add:hover, .product-add:focus-visible { border-color: var(--accent); color: #fff; background: var(--accent); outline: none; }
.product-add:disabled { opacity: .38; cursor: not-allowed; }
.product-availability-badge { display: block; margin-top: 6px; color: #956371; font-size: 11px; font-weight: 600; }
.product-unavailable .product-name, .product-unavailable .product-price { color: #88777b; }
.text-only-section { margin-top: 2px; padding-top: 22px !important; border-top: 1px solid var(--line); }
.text-only-section .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.text-only-product { position: relative; min-height: 88px; padding: 17px 42px 16px 2px; border-top: 1px solid #eadfe2; border-bottom: 1px solid #eadfe2; }
.text-only-product .product-copy { min-height: 52px; padding: 0; }
.text-only-product .product-name { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: .01em; }
.text-only-product .product-price { margin-top: 9px; color: var(--accent); font-size: 15px; }
.text-only-product .product-add { top: 15px; right: 1px; }
.cart-bar { position: fixed; z-index: 20; right: 24px; bottom: 22px; width: min(390px, calc(100vw - 32px)); }
.cart-bar-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; padding: 0 20px; border: 1px solid var(--accent); border-radius: 999px; color: #fff; background: var(--accent); box-shadow: 0 8px 28px rgba(82,13,32,.18); font: inherit; font-size: 15px; cursor: pointer; }
.cart-bar-button b { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-left: 6px; border-radius: 50%; color: var(--accent); background: white; font-size: 12px; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(40,14,21,.38); }
.variant-backdrop { z-index: 31; background: rgba(40,14,21,.46); backdrop-filter: blur(5px); }
.variant-modal { width: min(420px, 100%); padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 20px 70px rgba(38,8,17,.24); }
.variant-options { display: grid; gap: 10px; }
.variant-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 12px 16px; border: 1px solid #e7d9dd; border-radius: 13px; color: var(--ink); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .16s, background .16s; }
.variant-option:hover, .variant-option:focus-visible { border-color: var(--accent); background: #faf4f6; outline: none; }
.variant-option span { color: var(--muted); font-size: 15px; }
.variant-option strong { font-size: 16px; }
.cart-modal { width: min(520px, 100%); max-height: min(88vh, 820px); overflow: auto; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 20px 70px rgba(38,8,17,.2); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.modal-kicker, .form-label { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.modal-head h2 { margin: 5px 0 0; font-size: 25px; font-weight: 600; }
.close-modal { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
.empty-cart { padding: 32px 12px; text-align: center; }
.empty-cart b { font-size: 17px; }
.empty-cart p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.cart-items { border-top: 1px solid var(--line); }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line-copy { display: grid; gap: 4px; min-width: 0; }
.cart-line-copy b { font-size: 14px; line-height: 1.35; font-weight: 500; }
.cart-line-copy small { color: var(--muted); font-size: 12px; }
.cart-line-copy strong { font-size: 13px; }
.cart-quantity { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.cart-quantity button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 18px; cursor: pointer; }
.cart-quantity span { min-width: 13px; text-align: center; font-size: 14px; }
.fulfillment { margin-top: 20px; }
.fulfillment-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.fulfillment-switch button { min-height: 42px; border: 1px solid #dccbd0; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 14px; cursor: pointer; }
.fulfillment-switch button.selected { border-color: var(--accent); color: white; background: var(--accent); }
.fulfillment-prompt { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.fulfillment-details { display: grid; gap: 8px; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fdfafb; font-size: 13px; }
.fulfillment-details > span, .fulfillment-details small { color: var(--muted); }
.fulfillment-details a { color: var(--accent); text-decoration: none; }
.delivery-fields { gap: 11px; }
.form-field { display: grid; gap: 5px; }
.form-field span { font-size: 12px; }
.form-field input { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid #dfd0d4; border-radius: 6px; color: var(--ink); background: white; font: inherit; font-size: 13px; }
.form-field input:focus { border-color: var(--accent); outline: 2px solid rgba(82,13,32,.1); }
.delivery-small-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.delivery-note { color: var(--muted); line-height: 1.5; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.cart-summary strong { font-size: 18px; }
.button-order { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; min-height: 50px; padding: 0 17px; border-radius: 8px; color: #fff; background: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; }
.button-order[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.modal-footnote { margin: 9px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
body.modal-open { overflow: hidden; }
.admin-dialog { width: min(620px, calc(100% - 28px)); max-width: none; max-height: min(92vh, 900px); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px rgba(38,8,17,.24); }
.admin-dialog::backdrop { background: rgba(40,14,21,.48); }
.site-footer { display: flex; justify-content: center; padding: 12px 20px 26px; }
.admin-entry { color: #b9a7ab; text-decoration: none; font-size: 10px; letter-spacing: .04em; opacity: .45; transition: opacity .15s ease; }
.admin-entry:hover, .admin-entry:focus-visible { color: var(--accent); opacity: 1; }
.admin-auth-dialog { position: relative; width: min(380px, calc(100% - 28px)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 20px 70px rgba(38,8,17,.24); }
.admin-auth-dialog::backdrop { background: rgba(40,14,21,.48); }
.admin-auth-panel { position: relative; display: grid; gap: 14px; padding: 25px; }
.admin-auth-panel h2 { margin: -8px 0 0; font-size: 23px; font-weight: 600; }
.admin-auth-close { position: absolute; top: 18px; right: 18px; }
#admin-auth-status { color: var(--muted); font-size: 12px; line-height: 1.4; }
.admin-panel { display: grid; gap: 14px; padding: 26px; }
.admin-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-head h2 { margin: 5px 0 0; font-size: 24px; font-weight: 600; }
.admin-note { margin: -5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-panel select, .admin-panel textarea { width: 100%; padding: 10px; border: 1px solid #dfd0d4; border-radius: 7px; color: var(--ink); background: white; font: inherit; font-size: 14px; }
.admin-panel select { min-height: 42px; }
.admin-panel textarea { resize: vertical; line-height: 1.45; }
.admin-panel input[type="file"] { width: 100%; padding: 9px; border: 1px solid #dfd0d4; border-radius: 7px; background: #fff; font: inherit; font-size: 12px; }
.admin-panel small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.admin-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-product-list { display: grid; gap: 5px; max-height: 220px; overflow-y: auto; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #fdfafb; }
.admin-product-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; background: white; cursor: grab; }
.admin-product-row.selected { border-color: #cbaeb6; background: #f8f1f3; }
.admin-product-row.dragging { opacity: .45; }
.admin-product-row small { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.admin-move-buttons { display: flex; flex: 0 0 auto; gap: 3px; }
.admin-move-buttons button { width: 25px; height: 25px; padding: 0; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.admin-move-buttons button:hover, .admin-move-buttons button:focus-visible { border-color: var(--accent); background: #f8f1f3; }
.admin-product-pick { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 0; border: 0; color: var(--ink); background: transparent; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.admin-product-pick span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-drag-grip { color: #a98991; font-size: 18px; }
.admin-empty-list { margin: 5px; color: var(--muted); font-size: 12px; }
.admin-availability { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 13px; }
.admin-availability input { width: 17px; height: 17px; accent-color: var(--accent); }
.admin-photo-controls { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fdfafb; }
.admin-photo-controls .form-field { gap: 6px; }
.admin-photo-controls input[type="range"] { width: 100%; accent-color: var(--accent); }
.admin-photo-controls .admin-secondary { justify-self: start; }
.admin-live-preview { display: grid; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-live-preview #admin-preview-card { width: min(100%, 280px); }
.admin-live-preview > small, .admin-preview-category { color: var(--muted); font-size: 11px; line-height: 1.45; }
.admin-create-category, .admin-product-select { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 9px; }
.admin-create-category .admin-secondary, .admin-product-select .admin-secondary { min-height: 42px; white-space: nowrap; }
.admin-photo-preview { display: block; width: 145px; height: 145px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; background: #fff; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-save, .admin-secondary, .admin-reset { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.admin-save { border-color: var(--accent); color: #fff; background: var(--accent); }
.admin-save:hover { background: #6b1c30; }
.admin-secondary:hover, .admin-reset:hover { border-color: var(--accent); background: #f8f1f3; }
.admin-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; min-height: 34px; padding-top: 10px; border-top: 1px solid var(--line); }
.admin-footer span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.admin-reset { min-height: 34px; flex: 0 0 auto; padding-inline: 10px; color: #765c62; font-size: 11px; }
html.kiosk-mode .site-header { min-height: 104px; }
html.kiosk-mode { --category-scroll-offset: 120px; }
html.kiosk-mode .category-nav { flex: 0 1 920px; width: 100%; max-width: 920px; margin-inline: auto; justify-content: flex-start; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: none; }
html.kiosk-mode .category-nav a { flex: 0 0 170px; justify-content: center; min-height: 66px; padding-inline: 12px; font-size: 18px; scroll-snap-align: none; }
html.kiosk-mode .category-nav a.active { transform: scale(1.035); box-shadow: 0 5px 17px rgba(82,13,32,.2); }
@media (max-width: 850px) {
  .site-header { padding-inline: 18px; }
  .category-nav { justify-content: flex-start; gap: 8px; }
  .category-nav a { padding-inline: 16px; }
  main { width: calc(100% - 36px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .text-only-section .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 560px) {
  html { --category-scroll-offset: 84px; }
  html.kiosk-mode { --category-scroll-offset: 120px; }
  .site-header { min-height: 68px; padding: 10px 0; }
  .category-nav { justify-content: flex-start; min-height: 48px; gap: 8px; padding-inline: 0; scroll-snap-type: none; }
  .category-nav a { min-height: 44px; padding-inline: 15px; font-size: 14px; scroll-snap-align: none; }
  main { width: calc(100% - 28px); padding-top: 18px; padding-bottom: 90px; }
  .menu-section { padding-bottom: 25px; }
  h1, .menu-section h2 { margin-bottom: 13px; font-size: 21px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .cold-drink-group + .cold-drink-group { margin-top: 28px; }
  .cold-drink-group-title { margin-bottom: 14px; padding-bottom: 9px; font-size: 19px; }
  .product-visual { aspect-ratio: .88 / 1; }
  .product-photo { width: 88%; height: 88%; }
  .product-copy { min-height: 52px; padding-top: 8px; }
  .product-name { font-size: 13px; line-height: 1.32; }
  .product-description { margin-top: 5px; font-size: 11px; line-height: 1.4; }
  .product-meta { margin-top: 3px; font-size: 11px; }
  .product-price { margin-top: 6px; font-size: 13px; }
  .product-add { top: 8px; right: 0; width: 27px; height: 27px; font-size: 22px; }
  .text-only-section { padding-top: 17px !important; }
  .text-only-section .product-grid { gap: 10px; }
  .text-only-product { min-height: 78px; padding: 14px 34px 13px 1px; }
  .text-only-product .product-copy { min-height: 48px; }
  .text-only-product .product-name { font-size: 15px; line-height: 1.3; }
  .text-only-product .product-price { margin-top: 7px; font-size: 14px; }
  .text-only-product .product-add { top: 12px; right: 0; }
  .cart-bar { right: 16px; bottom: 14px; width: calc(100vw - 32px); }
  .cart-bar-button { min-height: 52px; padding-inline: 17px; }
  .cart-modal { padding: 20px 17px; border-radius: 14px; }
  .delivery-small-fields { gap: 6px; }
  .admin-panel { gap: 12px; padding: 19px 16px; }
  .admin-auth-panel { padding: 21px 18px; }
  .admin-head h2 { font-size: 20px; }
  .admin-two-fields { gap: 8px; }
  .admin-live-preview #admin-preview-card { width: min(100%, 220px); }
  .admin-create-category, .admin-product-select { grid-template-columns: 1fr; align-items: stretch; }
  .admin-create-category .admin-secondary, .admin-product-select .admin-secondary { width: 100%; }
  .admin-actions { display: grid; grid-template-columns: 1fr; }
  .admin-footer { align-items: flex-start; flex-direction: column; }
}

/* Admin panel redesign: all selectors are scoped to the administrator dialogs. */
.admin-dialog, .admin-auth-dialog {
  border: 1px solid #eadfe2;
  border-radius: 24px;
  color: #35131d;
  background: #fbf8f6;
  box-shadow: 0 28px 100px rgba(35, 8, 16, .32);
}
.admin-dialog { width: min(1020px, calc(100% - 32px)); max-height: min(94vh, 980px); overflow: auto; }
.admin-auth-dialog { width: min(440px, calc(100% - 32px)); overflow: visible; }
.admin-dialog::backdrop, .admin-auth-dialog::backdrop { background: rgba(39, 14, 20, .66); backdrop-filter: blur(5px); }
.admin-panel { gap: 20px; padding: 30px; }
.admin-head { align-items: center; padding-bottom: 18px; border-bottom: 1px solid #e9dcdf; }
.admin-title-wrap { display: grid; gap: 5px; }
.admin-eyebrow { color: #8b5965; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.admin-title-wrap h2, .admin-auth-panel h2 { margin: 0; color: #42101f; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.admin-title-wrap p { margin: 2px 0 0; color: #806c70; font-size: 13px; }
.admin-head .close-modal, .admin-auth-close { width: 42px; height: 42px; border-color: #e6d7db; border-radius: 14px; color: #6d303e; background: #fff; font-size: 27px; }
.admin-workspace { display: grid; grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr); align-items: start; gap: 18px; }
.admin-section { display: grid; gap: 15px; min-width: 0; padding: 20px; border: 1px solid #e9dcdf; border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(63, 21, 32, .035); }
.admin-section-title { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0e8e9; }
.admin-section-title > span { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 12px; color: #fff; background: #64182e; font-size: 14px; font-weight: 700; }
.admin-section-title h3 { margin: 0; color: #42101f; font-size: 16px; font-weight: 700; }
.admin-section-title p { margin: 3px 0 0; color: #917a80; font-size: 11px; }
.admin-panel .form-field { gap: 7px; }
.admin-panel .form-field > span { color: #563943; font-size: 12px; font-weight: 700; }
.admin-panel .form-field > span i { color: #a08c91; font-size: 10px; font-style: normal; font-weight: 400; }
.admin-panel .form-field input:not([type="range"]):not([type="file"]), .admin-panel select, .admin-panel textarea {
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #e4d8db;
  border-radius: 11px;
  color: #35131d;
  background: #fffdfc;
  font: inherit;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.admin-panel textarea { min-height: 84px; resize: vertical; }
.admin-panel .form-field input:focus, .admin-panel select:focus, .admin-panel textarea:focus { border-color: #9b5a6b; outline: 0; box-shadow: 0 0 0 3px rgba(119, 37, 59, .10); }
.admin-create-category, .admin-product-select { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.admin-create-category .admin-secondary, .admin-product-select .admin-secondary { min-height: 45px; padding-inline: 12px; border-radius: 11px; }
.admin-product-list { max-height: 310px; gap: 5px; padding: 6px; border-color: #eee5e7; border-radius: 13px; background: #faf7f6; }
.admin-product-row { min-height: 44px; padding: 5px 8px; border-radius: 9px; }
.admin-product-row.selected { border-color: #d6b7bf; background: #f8eef0; }
.admin-product-pick { font-size: 12px; }
.admin-product-row small { font-size: 10px; }
.admin-move-buttons button { border-radius: 7px; }
.admin-help { margin: -6px 0 0; color: #968187; font-size: 11px; line-height: 1.45; }
.admin-two-fields { gap: 10px; }
.admin-availability { align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid #eee4e6; border-radius: 12px; background: #fbf8f6; }
.admin-availability > input { margin-top: 1px; }
.admin-availability > span { display: grid; gap: 3px; }
.admin-availability b { font-size: 12px; }
.admin-availability small { color: #917d82; font-size: 10px; }
.admin-photo-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px; border: 1px solid #eee4e6; border-radius: 14px; background: #fbf8f6; }
.admin-photo-card > div { display: grid; justify-items: start; gap: 7px; }
.admin-photo-card b { color: #563943; font-size: 12px; }
.admin-photo-card small { max-width: 260px; }
.admin-photo-card input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.admin-upload-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 13px; border: 1px solid #decbd0; border-radius: 10px; color: #651a30; background: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-upload-button:hover, .admin-upload-button:focus-visible { border-color: #8c4053; background: #fbf3f4; outline: 0; }
.admin-photo-preview { flex: 0 0 90px; width: 90px; height: 90px; padding: 4px; border-color: #e8dcdf; border-radius: 12px; background: white; }
.admin-advanced, .admin-settings { border: 1px solid #eee4e6; border-radius: 12px; background: #fbf8f6; }
.admin-advanced summary, .admin-settings summary { padding: 12px 14px; color: #67434c; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-advanced[open] summary, .admin-settings[open] summary { border-bottom: 1px solid #eee4e6; }
.admin-photo-controls { margin: 12px; padding: 13px; border-color: #eee4e6; border-radius: 11px; background: #fff; }
.admin-photo-controls .form-field span { display: flex; justify-content: space-between; }
.admin-photo-controls .admin-secondary { min-height: 38px; }
.admin-actions { position: sticky; z-index: 2; bottom: 0; justify-content: flex-end; margin: 0 -30px -30px; padding: 14px 30px 20px; border-top: 1px solid #e9dcdf; background: rgba(251,248,246,.96); backdrop-filter: blur(10px); }
.admin-save, .admin-secondary, .admin-reset { min-height: 44px; padding-inline: 16px; border-color: #e2d3d7; border-radius: 11px; font-size: 12px; }
.admin-save { min-width: 190px; border-color: #64182e; background: #64182e; }
.admin-save:hover { background: #4f1023; }
.admin-secondary:hover, .admin-reset:hover { background: #f8eef0; }
.admin-live-preview { grid-template-columns: auto 1fr; align-items: start; border-color: #e9dcdf; border-radius: 14px; }
.admin-live-preview .modal-kicker { grid-column: 1 / -1; }
.admin-footer { align-items: center; gap: 12px; padding-top: 15px; border-color: #e9dcdf; }
.admin-footer > span { flex: 1 1 100%; color: #806c70; }
.admin-delete { color: #8b3347; }
.admin-settings { flex: 0 0 auto; }
.admin-settings summary { padding: 9px 12px; }
.admin-settings > div { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px 10px; }
.admin-settings .admin-secondary, .admin-settings .admin-reset { min-height: 36px; font-size: 11px; }
.admin-auth-panel { gap: 16px; padding: 34px; }
.admin-auth-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: #fff; background: #64182e; font-family: Georgia, serif; font-size: 28px; }
.admin-auth-panel .admin-note { margin: -8px 0 0; line-height: 1.55; }
.admin-auth-panel .form-field input { min-height: 48px; border-radius: 11px; font-size: 15px; }
.admin-auth-panel .admin-save { width: 100%; }
#admin-auth-status { min-height: 16px; color: #8b3347; }
@media (max-width: 760px) {
  .admin-dialog { width: min(680px, calc(100% - 20px)); max-height: 96vh; border-radius: 19px; }
  .admin-panel { gap: 14px; padding: 19px; }
  .admin-workspace { grid-template-columns: 1fr; gap: 12px; }
  .admin-section { gap: 12px; padding: 15px; border-radius: 15px; }
  .admin-product-list { max-height: 200px; }
  .admin-actions { margin: 0 -19px -19px; padding: 12px 19px 16px; }
}
@media (max-width: 520px) {
  .admin-dialog, .admin-auth-dialog { width: calc(100% - 14px); border-radius: 17px; }
  .admin-panel { padding: 16px 13px; }
  .admin-title-wrap h2, .admin-auth-panel h2 { font-size: 24px; }
  .admin-head { align-items: flex-start; }
  .admin-head .close-modal { width: 36px; height: 36px; }
  .admin-section { padding: 13px; }
  .admin-create-category, .admin-product-select { grid-template-columns: 1fr; }
  .admin-create-category .admin-secondary, .admin-product-select .admin-secondary { width: 100%; }
  .admin-two-fields { grid-template-columns: 1fr 1fr; }
  .admin-photo-card { align-items: flex-start; }
  .admin-photo-card small { max-width: 185px; }
  .admin-actions { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -13px -16px; padding: 10px 13px 13px; }
  .admin-actions .admin-save { min-width: 0; }
  .admin-actions button { padding-inline: 8px; font-size: 11px; }
  .admin-footer { align-items: stretch; flex-direction: column; }
  .admin-settings { width: 100%; }
  .admin-settings > div { flex-direction: column; }
  .admin-auth-panel { padding: 28px 20px; }
}

/* Cart-only visual refresh; menu and product cards keep their existing styles. */
#cart-bar .cart-bar-button {
  min-height: 62px;
  padding: 0 22px;
  border-color: #5a1427;
  border-radius: 18px;
  background: linear-gradient(115deg, #48101f, #6d1b32);
  box-shadow: 0 12px 32px rgba(57, 10, 25, .27);
  transition: transform .18s ease, box-shadow .18s ease;
}
#cart-bar .cart-bar-button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(57, 10, 25, .32); }
#cart-bar .cart-bar-button:focus-visible { outline: 3px solid rgba(109, 27, 50, .28); outline-offset: 3px; }
#cart-bar .cart-bar-button b { color: #5a1427; background: #f7e9e9; }
#cart-bar .cart-bar-arrow { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.cart-bar-arrow { display: none !important; }

/* Keep these photos inside the same fixed card frame as every other product. */
@media (min-width: 851px) {
  .product.product[data-stat-product-id="chocoball"] .product-visual,
  .product.product[data-stat-product-id="fresh-pineapple"] .product-visual {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.12 / 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .product.product[data-stat-product-id="chocoball"] .photo-open,
  .product.product[data-stat-product-id="fresh-pineapple"] .photo-open {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  .product.product[data-stat-product-id="chocoball"] .product-photo {
    display: block !important;
    width: 83% !important;
    height: 83% !important;
    max-width: 83% !important;
    max-height: 83% !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .product.product[data-stat-product-id="fresh-pineapple"] .product-photo {
    display: block !important;
    width: 72% !important;
    height: 72% !important;
    max-width: 72% !important;
    max-height: 72% !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Extra room for tall cutouts that were still meeting the card edge on desktop. */
  .product.product[data-stat-product-id="fruit-berry-cup"] .product-photo,
  .product.product[data-stat-product-id="strawberry-in-chocolate"] .product-photo,
  .product.product[data-stat-product-id="berry-box"] .product-photo,
  .product.product[data-stat-product-id="biscuit-donut"] .product-photo,
  .product.product[data-stat-product-id="dubai-cup"] .product-photo,
  .product.product[data-stat-product-id="dubai-cup-cream"] .product-photo,
  .product.product[data-stat-product-id="pineapple-juice-small"] .product-photo,
  .product.product[data-stat-product-id="pineapple-juice-large"] .product-photo,
  .product.product[data-stat-product-id="berry-mix-small"] .product-photo,
  .product.product[data-stat-product-id="berry-mix-large"] .product-photo,
  .product.product[data-stat-product-id="orange-drink"] .product-photo,
  .product.product[data-stat-product-id="mango-passion-small"] .product-photo,
  .product.product[data-stat-product-id="mango-passion-large"] .product-photo,
  .product.product[data-stat-product-id="blue-lagoon"] .product-photo,
  .product.product[data-stat-product-id="drink-strawberry-mojito"] .product-photo,
  .product.product[data-stat-product-id="drink-fresh-pineapple"] .product-photo,
  .product.product[data-stat-product-id="drink-fresh-orange"] .product-photo,
  .product.product[data-stat-product-id="drink-fresh-mixmania"] .product-photo {
    width: 74% !important;
    height: 74% !important;
    max-width: 74% !important;
    max-height: 74% !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Match neighboring cups and boxes while keeping each cutout clear of its frame. */
  .product.product[data-stat-product-id="strawberry-in-chocolate"] .product-photo {
    width: 80% !important;
    height: 80% !important;
    max-width: 80% !important;
    max-height: 80% !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .product.product[data-stat-product-id="berry-box"] .product-photo {
    width: 82% !important;
    height: 82% !important;
    max-width: 82% !important;
    max-height: 82% !important;
    object-fit: contain !important;
    transform: translateY(-8%) scale(1.02) !important;
  }
  .product.product[data-stat-product-id="hong-kong-waffle"] .product-photo {
    width: 78% !important;
    height: 78% !important;
    max-width: 78% !important;
    max-height: 78% !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .product.product[data-stat-product-id="dubai-cup-cream"] .product-photo {
    width: 70% !important;
    height: 70% !important;
    max-width: 70% !important;
    max-height: 70% !important;
    object-fit: contain !important;
    transform: none !important;
  }
}
#cart-modal.modal-backdrop { padding: 18px; background: rgba(36, 13, 20, .52); backdrop-filter: blur(6px); }
#cart-modal .cart-modal {
  width: min(560px, 100%);
  max-height: min(90vh, 850px);
  padding: 27px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 23px;
  background: linear-gradient(155deg, #fffefa 0%, #fff 52%, #fdf8f7 100%);
  box-shadow: 0 24px 80px rgba(35, 8, 18, .3);
  scrollbar-color: #d8bec4 transparent;
  scrollbar-width: thin;
}
#cart-modal .modal-head { align-items: center; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid #eee3e3; }
#cart-modal .modal-kicker { color: #a06b78; font-size: 10px; letter-spacing: .18em; }
#cart-modal .modal-head h2 { margin-top: 6px; color: #47101f; font-family: Georgia, "Times New Roman", serif; font-size: 29px; letter-spacing: -.02em; }
#cart-modal .close-modal { width: 40px; height: 40px; border-color: #eadde0; color: #6c3342; background: #fff; transition: background .18s ease, color .18s ease, transform .18s ease; }
#cart-modal .close-modal:hover { color: #fff; background: #5a1427; transform: rotate(90deg); }
#cart-modal .close-modal:focus-visible { outline: 3px solid rgba(109, 27, 50, .2); outline-offset: 2px; }
#cart-modal .empty-cart { padding: 40px 15px; border: 1px dashed #e5d2d7; border-radius: 16px; background: #fdf8f7; }
#cart-modal .empty-cart b { color: #4b1524; font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
#cart-modal .empty-cart p { color: #8a7379; }
#cart-modal .cart-items { display: grid; gap: 8px; border: 0; }
#cart-modal .cart-line { padding: 13px 14px; border: 1px solid #eee3e3; border-radius: 13px; background: rgba(255,255,255,.88); box-shadow: 0 3px 12px rgba(70, 25, 37, .035); }
#cart-modal .cart-line-copy { gap: 5px; }
#cart-modal .cart-line-copy b { color: #35131d; font-size: 14px; font-weight: 600; }
#cart-modal .cart-line-copy small { color: #8c737a; }
#cart-modal .cart-line-copy strong { color: #64182e; font-size: 14px; }
#cart-modal .cart-quantity { gap: 8px; padding: 3px; border: 1px solid #efe4e5; border-radius: 999px; background: #fdf9f8; }
#cart-modal .cart-quantity button { width: 31px; height: 31px; border-color: #e6d4d9; color: #5a1427; background: #fff; font-size: 17px; transition: background .15s ease, color .15s ease; }
#cart-modal .cart-quantity button:hover { color: white; background: #5a1427; }
#cart-modal .cart-quantity span { min-width: 18px; color: #4b1524; font-weight: 600; }
#cart-modal .fulfillment { margin-top: 20px; padding-top: 17px; border-top: 1px solid #eee3e3; }
#cart-modal .form-label { color: #a06b78; letter-spacing: .12em; }
#cart-modal .fulfillment-switch { gap: 9px; margin-top: 11px; }
#cart-modal .fulfillment-switch button { min-height: 46px; border-color: #e8dadd; border-radius: 12px; color: #59313c; background: #fff; font-weight: 600; transition: background .15s ease, color .15s ease, border-color .15s ease; }
#cart-modal .fulfillment-switch button:hover { border-color: #9d6473; }
#cart-modal .fulfillment-switch button.selected { border-color: #5a1427; color: #fff; background: #5a1427; box-shadow: 0 5px 13px rgba(90,20,39,.16); }
#cart-modal .fulfillment-prompt { color: #8b7379; font-size: 12px; }
#cart-modal .fulfillment-details { padding: 15px; border-color: #eadfe2; border-radius: 13px; background: #fffdfa; }
#cart-modal .form-field input { min-height: 44px; border-color: #e6d6da; border-radius: 9px; }
#cart-modal .cart-summary { margin-top: 18px; padding: 15px 16px; border: 1px solid #eadfe2; border-radius: 13px; color: #644650; background: #fdf8f7; }
#cart-modal .cart-summary strong { color: #4b1021; font-size: 21px; }
#cart-modal .button-order { min-height: 54px; margin-top: 12px; padding: 0 19px; border: 1px solid #5a1427; border-radius: 13px; background: linear-gradient(115deg, #48101f, #6d1b32); box-shadow: 0 7px 17px rgba(90,20,39,.17); transition: transform .16s ease, box-shadow .16s ease; }
#cart-modal .button-order:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(90,20,39,.23); }
#cart-modal .button-order:focus-visible { outline: 3px solid rgba(109, 27, 50, .24); outline-offset: 3px; }
#cart-modal .button-order[aria-disabled="true"] { box-shadow: none; }

.photo-open { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-open:focus-visible { outline: 3px solid rgba(109,27,50,.3); outline-offset: -3px; border-radius: 10px; }
.photo-viewer { position: fixed; z-index: 50; inset: 0; display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; gap: 10px; padding: 30px 24px 22px; background: rgba(28,13,18,.88); backdrop-filter: blur(8px); }
.photo-viewer-stage { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; }
.photo-viewer-stage img { display: block; width: auto; height: auto; max-width: min(92vw,1200px); max-height: 82vh; object-fit: contain; border-radius: 12px; box-shadow: 0 18px 70px rgba(0,0,0,.32); cursor: default; }
.photo-viewer-caption { max-width: min(70vw,700px); margin: 0; color: #fff; text-align: center; font-size: 14px; line-height: 1.35; }
.photo-viewer-close { position: fixed; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #35111c; background: rgba(255,255,255,.94); box-shadow: 0 4px 20px rgba(0,0,0,.18); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.photo-viewer-close { top: 18px; right: 18px; }
.photo-viewer-close:focus-visible { outline: 3px solid rgba(255,255,255,.55); outline-offset: 3px; }
@media (max-width: 640px) {
  .photo-viewer { padding: 54px 10px 56px; }
  .photo-viewer-stage img { max-width: 96vw; max-height: 78vh; }
  .photo-viewer-caption { max-width: calc(100vw - 100px); font-size: 13px; }
  .photo-viewer-close { top: 10px; right: 10px; width: 42px; height: 42px; }
}
#cart-modal .modal-footnote { color: #927c82; }
@media (max-width: 560px) {
  #cart-bar { right: 14px; bottom: 14px; width: calc(100vw - 28px); }
  #cart-bar .cart-bar-button { min-height: 56px; border-radius: 16px; }
  #cart-modal.modal-backdrop { place-items: end center; padding: 8px; }
  .variant-backdrop { place-items: end center; padding: 8px; }
  .variant-modal { padding: 22px 18px; border-radius: 18px 18px 12px 12px; }
  .variant-option { min-height: 54px; padding: 11px 14px; }
  #cart-modal .cart-modal { width: 100%; max-height: min(91dvh, 850px); padding: 20px 16px 17px; border-radius: 22px 22px 14px 14px; }
  #cart-modal .modal-head h2 { font-size: 26px; }
  #cart-modal .cart-line { align-items: flex-start; padding: 12px 10px; }
  #cart-modal .cart-quantity { gap: 5px; }
  #cart-modal .cart-quantity button { width: 29px; height: 29px; }
  #cart-modal .fulfillment-switch button { min-height: 43px; }
}

/* Keep cart add-ons visible and optional, attached to each dessert. */
#cart-modal .cart-modal { width: min(600px, 100%); padding: 25px; border-radius: 26px; }
#cart-modal .cart-offer { display: flex; align-items: center; gap: 12px; margin: 0 0 13px; padding: 14px 15px; border: 1px solid #ead5db; border-radius: 16px; background: linear-gradient(115deg, #fbf0f2, #fff9f6); }
#cart-modal .cart-offer[hidden] { display: none; }
#cart-modal .cart-offer-spark { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #64182e; font-size: 17px; }
#cart-modal .cart-offer > div { display: grid; gap: 3px; min-width: 0; }
#cart-modal .cart-offer > div b { color: #4b1524; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
#cart-modal .cart-offer > div small { color: #866c74; font-size: 11px; line-height: 1.4; }
#cart-modal .cart-offer-tag { margin-left: auto; color: #986b77; font-size: 9px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
#cart-modal .cart-items { gap: 0; }
#cart-modal .cart-line { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 11px; padding: 15px 4px; border: 0; border-bottom: 1px solid #eee3e5; border-radius: 0; background: transparent; box-shadow: none; }
#cart-modal .cart-line-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
#cart-modal .cart-line-addons { min-width: 0; padding: 12px; border: 1px solid #f0e4e6; border-radius: 14px; background: #fdf9f8; }
#cart-modal .cart-addon-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
#cart-modal .cart-addon-heading b { color: #5a1427; font-size: 11px; font-weight: 650; }
#cart-modal .cart-addon-heading small { color: #987e85; font-size: 10px; text-align: right; }
#cart-modal .cart-addons-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
#cart-modal .cart-addon-choice { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 10px; border: 1px solid #eee1e3; border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
#cart-modal .cart-addon-choice:hover { border-color: #cdaeb7; transform: translateY(-1px); }
#cart-modal .cart-addon-choice:has(input:checked) { border-color: #bb8795; background: #f9edef; }
#cart-modal .cart-addon-choice input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #5a1427; }
#cart-modal .cart-addon-choice > span { min-width: 0; color: #47202c; font-size: 11px; line-height: 1.25; }
#cart-modal .cart-addon-choice > b { margin-left: auto; color: #64182e; font-size: 11px; white-space: nowrap; }
@media (max-width: 560px) {
  #cart-modal .cart-modal { padding: 19px 15px 17px; border-radius: 23px 23px 14px 14px; }
  #cart-modal .cart-offer { gap: 9px; padding: 12px; }
  #cart-modal .cart-offer-tag { display: none; }
  #cart-modal .cart-line-addons { padding: 12px; }
  #cart-modal .cart-addon-choice { gap: 6px; padding: 8px; }
  #cart-modal .cart-addon-choice > span, #cart-modal .cart-addon-choice > b { font-size: 10px; }
}

/* Keep delivery controls visually aligned with the cart layout. */
#cart-modal .fulfillment { margin-top: 20px; padding-top: 17px; border-top: 1px solid #eee3e3; }
#cart-modal .fulfillment-switch { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px; margin-top: 11px; }
#cart-modal .fulfillment-switch > button { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #e8dadd; border-radius: 12px; color: #59313c; background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
#cart-modal .fulfillment-switch > button:hover { border-color: #9d6473; }
#cart-modal .fulfillment-switch > button.selected { border-color: #5a1427; color: #fff; background: #5a1427; box-shadow: 0 5px 13px rgba(90,20,39,.16); }
#cart-modal .fulfillment-prompt { margin: 8px 0 0; color: #8b7379; font-size: 12px; line-height: 1.5; }



/* Portrait tablet: a definite image box avoids percentage-height overflow. */
@media (min-width: 561px) and (max-width: 850px) {
  .product.product .product-visual { position: relative !important; width: 100% !important; height: auto !important; min-height: 0 !important; aspect-ratio: 1.12 / 1 !important; overflow: hidden !important; background: transparent !important; }
  .product.product .photo-open { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 0 !important; overflow: visible !important; background: transparent !important; }
  .product.product .product-photo { position: static !important; display: block !important; width: 86% !important; height: 86% !important; max-width: 86% !important; max-height: 86% !important; margin: auto !important; object-fit: contain !important; object-position: center !important; transform: none !important; }
}


/* Give cold drinks and coffee a definite photo frame on wider screens too. */
@media (min-width: 851px) {
  .cold-drinks-section .product.product .product-visual,
  #coffee .product.product .product-visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1.12 / 1 !important;
    overflow: hidden !important;
    background: transparent !important;
  }
  .cold-drinks-section .product.product .photo-open,
  #coffee .product.product .photo-open {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }
  .cold-drinks-section .product.product .product-photo,
  #coffee .product.product .product-photo {
    position: static !important;
    display: block !important;
    width: 86% !important;
    height: 86% !important;
    max-width: 86% !important;
    max-height: 86% !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
}

/* Text rows are scoped to the hot coffee subsection. */
#coffee .hot-coffee-list .text-only-product {
  min-height: 0;
  padding: 13px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
#coffee .hot-coffee-list .product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  column-gap: clamp(8px, 2vw, 22px);
  min-height: 30px;
}
#coffee .hot-coffee-list .product-name { padding: 0; }
#coffee .hot-coffee-list .product-price { margin: 0; white-space: nowrap; }
#coffee .hot-coffee-list .product-add { position: static; justify-self: end; }

/* Tea uses the text menu layout, with description and size below each name. */
#tea .product-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
#tea .text-only-product { min-height: 0; padding: 16px 2px; border: 0; border-bottom: 1px solid var(--line); }
#tea .text-only-product:first-child { border-top: 1px solid var(--line); }
#tea .product-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  align-items: center;
  column-gap: clamp(8px, 2vw, 22px);
  min-height: 30px;
}
#tea .product-name { grid-area: 1 / 1; padding: 0; }
#tea .product-description { grid-area: 2 / 1 / 3 / -1; padding: 0; font-size: 14px; }
#tea .product-meta { grid-area: 3 / 1; }
#tea .product-price { grid-area: 1 / 2; margin: 0; white-space: nowrap; }
#tea .product-add { grid-area: 1 / 3; position: static; justify-self: end; }
