.ghc2-online {
    --ghc2-ink: #17201b;
    --ghc2-muted: #6f746f;
    --ghc2-gold: #bd8b43;
    --ghc2-gold-dark: #93672d;
    --ghc2-cream: #f5f0e6;
    --ghc2-line: #e1d8c8;
    color: var(--ghc2-ink);
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 18px 72px;
    font-size: 15px;
    line-height: 1.55;
}
.ghc2-online *, .ghc2-online *::before, .ghc2-online *::after { box-sizing: border-box; }
.ghc2-online h1, .ghc2-online h2, .ghc2-online h3 { color: var(--ghc2-ink); line-height: 1.2; margin: 0; }
.ghc2-online p { margin: 0 0 12px; }
.ghc2-menu-intro { text-align: center; max-width: 700px; margin: 0 auto 28px; }
.ghc2-menu-intro h1 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 12px; }
.ghc2-menu-intro p { color: var(--ghc2-muted); }
.ghc2-eyebrow { color: var(--ghc2-gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.ghc2-menu-group { margin: 0 0 28px; }
.ghc2-menu-group > h2 { border-bottom: 1px solid var(--ghc2-line); font-size: 22px; margin: 0 0 15px; padding: 0 0 9px; }
.ghc2-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ghc2-menu-card { background: #fff; border: 1px solid var(--ghc2-line); border-radius: 10px; box-shadow: 0 8px 24px rgba(34, 28, 18, .06); display: flex; flex-direction: column; overflow: hidden; }
.ghc2-menu-card-image { aspect-ratio: 4 / 3; background: var(--ghc2-cream); display: block; object-fit: cover; width: 100%; }
.ghc2-menu-card-image--empty { align-items: center; color: var(--ghc2-gold-dark); display: flex; font-size: 12px; font-weight: 700; justify-content: center; letter-spacing: .12em; }
.ghc2-menu-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; }
.ghc2-menu-card h3 { font-size: 19px; }
.ghc2-menu-card p { color: var(--ghc2-muted); font-size: 13px; flex: 1; margin: 0; }
.ghc2-menu-card-footer { align-items: center; border-top: 1px solid var(--ghc2-line); display: flex; gap: 12px; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.ghc2-menu-card-footer strong { color: var(--ghc2-gold-dark); white-space: nowrap; }
.ghc2-button { background: var(--ghc2-gold); border: 1px solid var(--ghc2-gold); border-radius: 4px; color: #fff; cursor: pointer; display: inline-block; font: inherit; font-size: 13px; font-weight: 700; padding: 9px 15px; text-decoration: none; transition: background .2s, border-color .2s; }
.ghc2-button:hover, .ghc2-button:focus { background: var(--ghc2-gold-dark); border-color: var(--ghc2-gold-dark); color: #fff; }
.ghc2-button:disabled { cursor: not-allowed; opacity: .45; }
.ghc2-button-primary { padding: 11px 18px; }
.ghc2-order-area { background: var(--ghc2-cream); border-top: 3px solid var(--ghc2-gold); display: grid; gap: 26px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); margin-top: 34px; padding: 26px; }
.ghc2-section-heading { margin-bottom: 17px; }
.ghc2-section-heading h2 { font-size: 25px; margin-top: 4px; }
.ghc2-cart-panel, .ghc2-checkout-panel { min-width: 0; }
.ghc2-cart-panel { border-right: 1px solid var(--ghc2-line); padding-right: 26px; }
.ghc2-cart-list { display: grid; gap: 10px; }
.ghc2-empty-cart { color: var(--ghc2-muted); font-size: 14px; }
.ghc2-cart-row { align-items: center; background: rgba(255,255,255,.72); border: 1px solid var(--ghc2-line); border-radius: 6px; display: grid; gap: 8px; grid-template-columns: minmax(0,1fr) auto auto auto; padding: 10px; }
.ghc2-cart-row div:first-child { display: grid; gap: 2px; min-width: 0; }
.ghc2-cart-row div:first-child span { color: var(--ghc2-muted); font-size: 12px; }
.ghc2-cart-row > strong { white-space: nowrap; }
.ghc2-quantity { align-items: center; display: flex; gap: 7px; }
.ghc2-quantity button, .ghc2-remove { background: transparent; border: 0; color: var(--ghc2-gold-dark); cursor: pointer; font-size: 19px; line-height: 1; padding: 2px 4px; }
.ghc2-remove { color: #916b55; font-size: 20px; }
.ghc2-cart-total, .ghc2-order-total { align-items: center; border-top: 1px solid var(--ghc2-line); display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; }
.ghc2-cart-total strong, .ghc2-order-total strong { color: var(--ghc2-gold-dark); font-size: 20px; }
.ghc2-checkout-form { display: grid; gap: 14px; }
.ghc2-form-grid { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.ghc2-form-grid label { color: var(--ghc2-ink); display: grid; font-size: 13px; font-weight: 700; gap: 5px; }
.ghc2-form-grid input, .ghc2-form-grid select, .ghc2-form-grid textarea { background: #fff; border: 1px solid #d8cfbf; border-radius: 4px; color: var(--ghc2-ink); font: inherit; font-size: 14px; font-weight: 400; padding: 9px 10px; width: 100%; }
.ghc2-form-grid textarea { resize: vertical; }
.ghc2-wide-field { grid-column: 1 / -1; }
.ghc2-field-help, .ghc2-checkout-note { color: var(--ghc2-muted); font-size: 12px; }
.ghc2-is-hidden { display: none; }
.ghc2-submit-row { margin: 0; }
.ghc2-home-row { margin: -5px 0 0; }
.ghc2-button-home {
    background: transparent;
    border-color: var(--ghc2-gold-dark);
    color: var(--ghc2-gold-dark);
    text-align: center;
}
.ghc2-button-home:hover, .ghc2-button-home:focus { color: #fff; }
.ghc2-notice { border-left: 3px solid var(--ghc2-gold); margin: 0 0 22px; padding: 12px 15px; }
.ghc2-notice-error { background: #fff2ef; border-color: #a74b35; }
.ghc2-notice-warning { background: #fff9eb; }
.ghc2-notice ul { margin: 7px 0 0 18px; }
.ghc2-order-result { background: var(--ghc2-cream); border-top: 3px solid var(--ghc2-gold); margin: 0 auto; max-width: 900px; padding: clamp(22px, 4vw, 44px); }
.ghc2-order-result h1 { font-size: clamp(28px, 4vw, 42px); margin: 5px 0 8px; }
.ghc2-result-lead { color: var(--ghc2-muted); }
.ghc2-order-code { background: #fff; border: 1px dashed var(--ghc2-gold); display: inline-grid; gap: 3px; margin: 18px 0; padding: 12px 16px; }
.ghc2-order-code span, .ghc2-summary-grid span { color: var(--ghc2-muted); font-size: 12px; }
.ghc2-order-code strong { font-size: 24px; letter-spacing: .08em; }
.ghc2-order-summary { background: rgba(255,255,255,.58); border: 1px solid var(--ghc2-line); padding: 18px; }
.ghc2-summary-grid { display: grid; gap: 15px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.ghc2-summary-grid div { display: grid; gap: 2px; }
.ghc2-order-items { border-top: 1px solid var(--ghc2-line); margin-top: 18px; padding-top: 15px; }
.ghc2-order-items h2, .ghc2-payment-instructions h2, .ghc2-payment-instructions h3 { font-size: 19px; margin: 0 0 10px; }
.ghc2-order-items ul { list-style: none; margin: 0; padding: 0; }
.ghc2-order-items li { border-bottom: 1px solid var(--ghc2-line); display: flex; gap: 12px; justify-content: space-between; padding: 7px 0; }
.ghc2-order-items li strong { white-space: nowrap; }
.ghc2-whatsapp-action { margin: 22px 0 10px; }
.ghc2-whatsapp-action p { color: var(--ghc2-muted); font-size: 12px; margin-top: 8px; }
.ghc2-result-links { font-size: 13px; margin-top: 20px; }
.ghc2-result-links a, .ghc2-order-result > p a { color: var(--ghc2-gold-dark); font-weight: 700; }
.ghc2-payment-instructions { background: transparent; border: 0; margin-top: 24px; padding: 0; }
.ghc2-bank-details { display: grid; gap: 0; margin-bottom: 18px; max-width: 620px; }
.ghc2-bank-details p { border-bottom: 1px solid var(--ghc2-line); display: grid; gap: 12px; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr); margin: 0; padding: 7px 0; }
.ghc2-bank-details span { color: var(--ghc2-muted); }
.ghc2-qris-image { display: block; max-height: 320px; max-width: 100%; object-fit: contain; width: 320px; }
.ghc2-payment-followup { border-left: 3px solid var(--ghc2-gold); color: var(--ghc2-muted); margin-top: 20px; padding-left: 12px; }
.ghc2-invoice-view { margin: 0 auto; max-width: 900px; }
.ghc2-invoice-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ghc2-invoice { background: #fff; border: 1px solid var(--ghc2-line); padding: clamp(22px, 4vw, 44px); }
.ghc2-invoice header { border-bottom: 2px solid var(--ghc2-gold); margin-bottom: 20px; padding-bottom: 16px; }
.ghc2-invoice header h1 { font-size: clamp(28px, 4vw, 40px); margin: 4px 0 8px; }
.ghc2-invoice header p, .ghc2-invoice-customer p { margin: 4px 0; }
.ghc2-invoice-customer { border-bottom: 1px solid var(--ghc2-line); margin-bottom: 20px; padding-bottom: 14px; }
.ghc2-invoice-customer h2 { font-size: 18px; margin-bottom: 8px; }
.ghc2-invoice-table { border-collapse: collapse; table-layout: fixed; width: 100%; }
.ghc2-invoice-table th, .ghc2-invoice-table td { border-bottom: 1px solid var(--ghc2-line); overflow-wrap: anywhere; padding: 9px 7px; text-align: left; white-space: normal; word-break: break-word; }
.ghc2-invoice-table th:nth-child(1), .ghc2-invoice-table td:nth-child(1) { width: 42%; }
.ghc2-invoice-table th:nth-child(2), .ghc2-invoice-table td:nth-child(2) { width: 14%; }
.ghc2-invoice-table th:nth-child(3), .ghc2-invoice-table td:nth-child(3) { width: 22%; }
.ghc2-invoice-table th:nth-child(4), .ghc2-invoice-table td:nth-child(4) { width: 22%; }
.ghc2-invoice-table th:nth-child(n+2), .ghc2-invoice-table td:nth-child(n+2) { text-align: right; }
.ghc2-invoice-table tfoot th { border-bottom: 0; color: var(--ghc2-gold-dark); font-size: 17px; }
.ghc2-invoice footer { border-top: 1px solid var(--ghc2-line); color: var(--ghc2-muted); margin-top: 22px; padding-top: 14px; }
@media print {
    @page { size: A4 portrait; margin: 8mm; }
    .ghc2-invoice-actions, .ghc2-invoice-view > p { display: none !important; }
    body { background: #fff !important; }
    .ghc2-invoice-view { margin: 0; max-width: none; }
    .ghc2-invoice { border: 0; margin: 0; padding: 0; break-inside: avoid; page-break-inside: avoid; }
    .ghc2-online { max-width: none; padding: 0; }
    .ghc2-invoice-header { align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 11px; padding-bottom: 8px; }
    .ghc2-invoice-logo { flex-basis: 44px; height: 44px; width: 44px; }
    .ghc2-invoice-brand { flex: 1 1 56%; gap: 9px; min-width: 0; }
    .ghc2-invoice-brand-copy h1 { font-size: 23px; line-height: 1.15; margin: 0 0 3px; overflow-wrap: anywhere; }
    .ghc2-invoice-meta { flex: 1 1 34%; font-size: 11px; max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
    .ghc2-invoice-meta p { margin: 1px 0; }
    .ghc2-invoice-customer { margin-bottom: 12px; padding-bottom: 9px; }
    .ghc2-invoice-customer p { margin: 2px 0; font-size: 12px; }
    .ghc2-invoice-table th, .ghc2-invoice-table td { padding: 5px 6px; font-size: 12px; }
    .ghc2-invoice-table tfoot th { font-size: 14px; }
    .ghc2-invoice-table tr { break-inside: avoid; page-break-inside: avoid; }
    .ghc2-invoice footer { margin-top: 10px; padding-top: 8px; font-size: 11px; }
    .site-header, .site-footer, header.site-header, footer.site-footer, #wpadminbar, .ghc2-cafe-global-ui { display: none !important; }
}

.ghc2-invoice-header { align-items: center; display: flex; gap: 18px; justify-content: space-between; text-align: left; }
.ghc2-invoice-brand { align-items: center; display: flex; gap: 14px; min-width: 0; }
.ghc2-invoice-logo { align-items: center; background: #fff; border: 1px solid var(--ghc2-line); display: flex; flex: 0 0 64px; height: 64px; justify-content: center; overflow: hidden; width: 64px; }
.ghc2-invoice-logo img { display: block; max-height: 100%; max-width: 100%; object-fit: contain; }
.ghc2-invoice-brand-copy { min-width: 0; }
.ghc2-invoice-brand-copy h1 { font-size: 24px !important; line-height: 1.15; margin: 4px 0 3px !important; }
.ghc2-invoice-meta { color: var(--ghc2-muted); font-size: 13px; text-align: right; white-space: nowrap; }
.ghc2-invoice-meta p { margin: 2px 0; }
.ghc2-invoice-address { color: var(--ghc2-muted); font-size: 11px; line-height: 1.5; margin: 0 0 7px; }
.ghc2-invoice-address strong { color: var(--ghc2-gold-dark); font-size: 12px; }
.ghc2-invoice-context .entry-title,
.ghc2-invoice-context .page-title,
.ghc2-invoice-context .page-header-title,
.ghc2-invoice-context .wp-block-post-title,
.ghc2-invoice-context .entry-header>h1,
.ghc2-invoice-context .page-header h1 { display: none !important; }
.ghc2-cafe-page .entry-title,
.ghc2-cafe-page .page-title,
.ghc2-cafe-page .page-header-title,
.ghc2-cafe-page .wp-block-post-title,
.ghc2-cafe-page .entry-header > h1,
.ghc2-cafe-page .page-header h1 { display: none !important; }
@media print {
    .ghc2-invoice-header { align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 11px; padding-bottom: 8px; }
    .ghc2-invoice-logo { flex-basis: 44px; height: 44px; width: 44px; }
    .ghc2-invoice-brand { flex: 1 1 56%; gap: 9px; min-width: 0; }
    .ghc2-invoice-brand-copy h1 { font-size: 20px !important; line-height: 1.15; overflow-wrap: anywhere; }
    .ghc2-invoice-meta { flex: 1 1 34%; max-width: 100%; min-width: 0; overflow-wrap: anywhere; white-space: normal; }
    .ghc2-invoice-address { font-size: 9px; line-height: 1.25; margin-bottom: 4px; }
    .ghc2-invoice-address strong { font-size: 10px; }
}

/* Global café menu rail and popup. All selectors are prefixed so the
   booking theme and the Homestay Management screens remain isolated. */
.ghc2-cafe-global-ui {
    --ghc2-ink: #17201b;
    --ghc2-muted: #6f746f;
    --ghc2-gold: #bd8b43;
    --ghc2-gold-dark: #93672d;
    --ghc2-cream: #f5f0e6;
    --ghc2-line: #e1d8c8;
    color: var(--ghc2-ink);
    font-size: 15px;
    line-height: 1.45;
    left: 0;
    margin: 0;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 99990;
}
.ghc2-cafe-global-ui,
.ghc2-cafe-global-ui *,
.ghc2-cafe-global-ui *::before,
.ghc2-cafe-global-ui *::after { box-sizing: border-box; }
.ghc2-cafe-global-ui [hidden] { display: none !important; }
.ghc2-cafe-rail {
    background: rgba(245, 240, 230, .93);
    border-top: 0;
    box-shadow: 0 -8px 24px rgba(34, 28, 18, .16);
    padding: 18px 20px 20px;
}
.ghc2-cafe-rail-inner { margin: 0 auto; max-width: 1180px; }
.ghc2-cafe-rail-title {
    color: var(--ghc2-ink);
    font-size: 19px;
    font-weight: 400;
    margin: 0 0 12px;
    text-align: center;
}
.ghc2-cafe-rail-viewport {
    overflow: hidden;
    padding: 2px 4px 5px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ghc2-cafe-rail-track {
    align-items: stretch;
    display: flex;
    gap: 12px;
    width: max-content;
    animation: ghc2-cafe-rail-move 120s linear infinite;
}
.ghc2-cafe-rail-viewport:hover .ghc2-cafe-rail-track,
.ghc2-cafe-rail-viewport:focus-within .ghc2-cafe-rail-track { animation-play-state: paused; }
@keyframes ghc2-cafe-rail-move {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
}
.ghc2-cafe-rail-item {
    align-items: center;
    background: rgba(255, 255, 255, .80);
    border: 0;
    border-radius: 6px;
    color: var(--ghc2-ink);
    cursor: pointer;
    display: flex;
    flex: 0 0 205px;
    gap: 10px;
    min-height: 68px;
    padding: 6px;
    text-align: left;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ghc2-cafe-rail-item:hover,
.ghc2-cafe-rail-item:focus-visible {
    border-color: var(--ghc2-gold);
    box-shadow: 0 6px 14px rgba(34, 28, 18, .10);
    outline: 2px solid rgba(189, 139, 67, .28);
    outline-offset: 1px;
    transform: translateY(-1px);
}
.ghc2-cafe-rail-image {
    background: var(--ghc2-cream);
    border-radius: 4px;
    flex: 0 0 56px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}
.ghc2-cafe-image-empty {
    align-items: center;
    color: var(--ghc2-gold-dark);
    display: flex;
    font-size: 8px;
    font-weight: 700;
    justify-content: center;
    letter-spacing: .08em;
    text-align: center;
}
.ghc2-cafe-rail-copy { display: grid; gap: 5px; min-width: 0; }
.ghc2-cafe-rail-copy strong { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghc2-cafe-rail-copy small { color: var(--ghc2-gold-dark); font-size: 12px; font-weight: 700; }
.ghc2-cafe-popup-layer {
    align-items: flex-end;
    background: rgba(18, 25, 21, .56);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 100000;
}
.ghc2-cafe-popup-scrim {
    background: transparent;
    border: 0;
    cursor: pointer;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}
.ghc2-cafe-popup {
    background:
        radial-gradient(circle at 100% 0, rgba(189, 139, 67, .22), transparent 38%),
        linear-gradient(145deg, #17261f 0%, #26392f 52%, #142119 100%);
    border-top: 2px solid #d5ad68;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
    max-height: min(86vh, 760px);
    max-width: 760px;
    overflow: auto;
    padding: 22px;
    position: relative;
    width: min(100%, 760px);
    z-index: 1;
}
.ghc2-cafe-popup-head { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.ghc2-cafe-popup h2 { color: #fff8ec; font-size: 25px; font-weight: 400; margin: 0; }
.ghc2-cafe-popup-head p { color: rgba(248, 241, 230, .72); font-size: 13px; margin: 4px 0 0; }
.ghc2-cafe-popup-close {
    background: transparent;
    border: 1px solid rgba(213, 173, 104, .55);
    border-radius: 4px;
    color: #f8f1e6;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 12px;
    padding: 6px 9px;
}
.ghc2-cafe-popup-close:hover, .ghc2-cafe-popup-close:focus-visible { border-color: #d5ad68; color: #fff; }
.ghc2-cafe-popup-selected {
    background: rgba(213, 173, 104, .16);
    border-left: 3px solid #d5ad68;
    color: #f5d79e;
    font-size: 13px;
    margin: 18px 0 14px;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 9px 12px;
    white-space: normal;
}
.ghc2-cafe-popup-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ghc2-cafe-popup-item { background: rgba(255, 255, 255, .96); border: 0; border-radius: 7px; box-shadow: 0 8px 22px rgba(0, 0, 0, .20); display: flex; flex-direction: column; overflow: hidden; }
.ghc2-cafe-popup-item { min-width: 0; }
.ghc2-cafe-popup-image { aspect-ratio: 4 / 3; background: var(--ghc2-cream); display: block; object-fit: cover; width: 100%; }
.ghc2-cafe-popup-item-body { display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 12px; }
.ghc2-cafe-popup-item-body h3 { color: #17201b; font-size: 17px; font-weight: 400; margin: 0; }
.ghc2-cafe-popup-item-body p { color: var(--ghc2-muted); flex: 1; font-size: 12px; margin: 0; }
.ghc2-cafe-popup-item-footer { align-items: center; border-top: 1px solid #e8dccb; display: flex; gap: 8px; justify-content: space-between; margin-top: auto; padding-top: 9px; }
.ghc2-cafe-popup-item-footer strong { color: var(--ghc2-gold-dark); font-size: 13px; white-space: nowrap; }
.ghc2-cafe-popup-add { font-size: 12px; padding: 7px 9px; }
.ghc2-cafe-popup-cart { align-items: center; border-top: 1px solid rgba(213, 173, 104, .35); display: flex; gap: 16px; justify-content: space-between; margin-top: 18px; padding-top: 15px; }
.ghc2-cafe-popup-cart > div { display: grid; gap: 3px; }
.ghc2-cafe-popup-cart strong { color: #fff8ec; font-size: 14px; }
.ghc2-cafe-popup-cart span { color: rgba(248, 241, 230, .72); font-size: 13px; }
.ghc2-cafe-popup-cart .ghc2-button { white-space: nowrap; }
.ghc2-cafe-popup-status { color: var(--ghc2-gold-dark); font-size: 12px; min-height: 16px; margin: 8px 0 0; }
.ghc2-popup-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .ghc2-cafe-rail-track { animation: none; }
}

@media (max-width: 850px) {
    .ghc2-menu-page .ghc2-menu-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
    .ghc2-order-area { grid-template-columns: 1fr; }
    .ghc2-cart-panel { border-bottom: 1px solid var(--ghc2-line); border-right: 0; padding-bottom: 24px; padding-right: 0; }
}
@media (max-width: 560px) {
    .ghc2-online { padding: 22px 12px 48px; }
    .ghc2-menu-page .ghc2-menu-grid { gap: 6px; grid-template-columns: repeat(4, minmax(0,1fr)); }
    .ghc2-menu-page .ghc2-menu-group { margin-bottom: 20px; }
    .ghc2-menu-page .ghc2-menu-group > h2 { font-size: 16px; margin-bottom: 9px; padding-bottom: 6px; }
    .ghc2-menu-page .ghc2-menu-card { border-radius: 6px; }
    .ghc2-menu-page .ghc2-menu-card-image { aspect-ratio: 1 / 1; }
    .ghc2-menu-page .ghc2-menu-card-body { gap: 5px; padding: 6px; }
    .ghc2-menu-page .ghc2-menu-card h3 { font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
    .ghc2-menu-page .ghc2-menu-card p { font-size: 9px; line-height: 1.2; max-height: 2.4em; overflow: hidden; }
    .ghc2-menu-page .ghc2-menu-card-footer { align-items: stretch; flex-direction: column; gap: 4px; padding-top: 5px; }
    .ghc2-menu-page .ghc2-menu-card-footer strong { font-size: 10px; }
    .ghc2-menu-page .ghc2-menu-card-footer .ghc2-button { font-size: 9px; padding: 4px 3px; width: 100%; }
    .ghc2-order-area { padding: 18px 14px; }
    .ghc2-form-grid, .ghc2-summary-grid { grid-template-columns: 1fr; }
    .ghc2-wide-field { grid-column: auto; }
    .ghc2-cart-row { grid-template-columns: minmax(0,1fr) auto auto; }
    .ghc2-cart-row > strong { grid-column: 2; grid-row: 2; }
    .ghc2-remove { grid-column: 3; grid-row: 1 / span 2; }
    .ghc2-bank-details p { align-items: flex-start; flex-direction: column; gap: 0; }
}

@media (max-width: 850px) {
    .ghc2-cafe-rail-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        touch-action: pan-x;
    }
    .ghc2-cafe-rail-viewport::-webkit-scrollbar { display: none; }
    .ghc2-cafe-rail-viewport.ghc2-touching .ghc2-cafe-rail-track { animation-play-state: paused !important; }
    .ghc2-cafe-popup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.ghc2-popup-open header,
    body.ghc2-popup-open .site-header { position: relative; z-index: 100001 !important; }
}
@media (max-width: 560px) {
    .ghc2-cafe-rail {
        background: rgba(245, 240, 230, .93);
        border-top: 0;
        padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    }
    .ghc2-cafe-rail-title { font-size: 14px; margin-bottom: 8px; }
    .ghc2-cafe-rail-item {
        background: rgba(255, 255, 255, .78);
        border: 0;
        box-shadow: 0 5px 16px rgba(34, 28, 18, .12);
        flex-basis: 166px;
        min-height: 58px;
    }
    .ghc2-cafe-rail-image { flex-basis: 46px; height: 46px; width: 46px; }
    .ghc2-cafe-rail-copy strong { font-size: 12px; }
    .ghc2-cafe-rail-copy small { font-size: 11px; }
    .ghc2-cafe-popup-layer {
        align-items: flex-start;
        max-width: 100vw;
        overflow-x: hidden;
        padding: var(--ghc2-popup-top, 104px) 8px 8px;
        width: 100vw;
    }
    .ghc2-cafe-popup {
        border-radius: 14px;
        max-height: calc(100dvh - var(--ghc2-popup-top, 104px) - 8px);
        max-width: 100%;
        min-width: 0;
        padding: 12px 8px 10px;
        width: 100%;
    }
    .ghc2-cafe-popup h2 { font-size: 19px; }
    .ghc2-cafe-popup-head p, .ghc2-cafe-popup-selected, .ghc2-cafe-popup-item-body p { font-size: 12px; }
    .ghc2-cafe-popup-grid { gap: 7px; }
    .ghc2-cafe-popup-image { aspect-ratio: 1 / 1; }
    .ghc2-cafe-popup-item-body { gap: 5px; padding: 6px; }
    .ghc2-cafe-popup-item-body h3 { font-size: 11px; line-height: 1.2; }
    .ghc2-cafe-popup-item-body p { font-size: 10px; line-height: 1.25; }
    .ghc2-cafe-popup-item-footer { align-items: flex-start; flex-direction: column; }
    .ghc2-cafe-popup-item-footer { gap: 4px; padding-top: 5px; }
    .ghc2-cafe-popup-item-footer strong { font-size: 10px; }
    .ghc2-cafe-popup-item-footer .ghc2-button { font-size: 10px; padding: 5px 6px; width: 100%; }
    .ghc2-cafe-popup-cart { align-items: stretch; flex-direction: column; gap: 10px; }
    .ghc2-cafe-popup-cart .ghc2-button { text-align: center; }
    .ghc2-home-row .ghc2-button { display: block; width: 100%; }
}

@media (max-width: 600px) {
    .ghc2-invoice-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .ghc2-invoice-brand { width: 100%; }
    .ghc2-invoice-brand-copy { min-width: 0; }
    .ghc2-invoice-brand-copy h1 {
        font-size: 24px !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .ghc2-invoice-meta {
        font-size: 11px;
        max-width: 100%;
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .ghc2-invoice-meta p { margin: 2px 0; }
    .ghc2-invoice-table {
        font-size: 11px;
        table-layout: fixed;
        width: 100%;
    }
    .ghc2-invoice-table th,
    .ghc2-invoice-table td {
        overflow-wrap: anywhere;
        padding: 6px 3px;
        white-space: normal;
        word-break: break-word;
    }
    .ghc2-invoice-table th:nth-child(1), .ghc2-invoice-table td:nth-child(1) { width: 38%; }
    .ghc2-invoice-table th:nth-child(2), .ghc2-invoice-table td:nth-child(2) { width: 14%; }
    .ghc2-invoice-table th:nth-child(3), .ghc2-invoice-table td:nth-child(3) { width: 24%; }
    .ghc2-invoice-table th:nth-child(4), .ghc2-invoice-table td:nth-child(4) { width: 24%; }
    .ghc2-invoice-table th:nth-child(n+2), .ghc2-invoice-table td:nth-child(n+2) { text-align: right; }
    .ghc2-invoice-customer p,
    .ghc2-invoice footer p { overflow-wrap: anywhere; }
}

/* Premium, elegant café treatment on the mobile menu popup. */
@media (max-width: 560px) {
    .ghc2-cafe-popup-layer { background: rgba(10, 20, 15, .72); }
    .ghc2-cafe-popup {
        background:
            radial-gradient(circle at 100% 0, rgba(189, 139, 67, .22), transparent 38%),
            linear-gradient(145deg, #17261f 0%, #26392f 52%, #142119 100%);
        border-top: 2px solid #d5ad68;
        color: #f8f1e6;
    }
    .ghc2-cafe-popup h2,
    .ghc2-cafe-popup-item-body h3,
    .ghc2-cafe-popup-cart strong { color: #fff8ec; }
    .ghc2-cafe-popup-head p,
    .ghc2-cafe-popup-cart span { color: rgba(248, 241, 230, .72); }
    .ghc2-cafe-popup-close { border-color: rgba(213, 173, 104, .55); color: #f8f1e6; }
    .ghc2-cafe-popup-selected { background: rgba(213, 173, 104, .16); border-left-color: #d5ad68; color: #f5d79e; }
    .ghc2-cafe-popup-item { background: rgba(255, 255, 255, .96); border: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
    .ghc2-cafe-popup-item-footer { border-top-color: #e8dccb; }
    .ghc2-cafe-popup-cart { border-top-color: rgba(213, 173, 104, .35); }
}

/* The plugin marks the active mobile navigation so the theme logo remains
   visible above the full-screen menu. */
@media (max-width: 850px) {
    body.ghc2-mobile-menu-open { overflow: hidden; }
    .ghc2-mobile-menu-target {
        background: rgba(18, 32, 25, .98) !important;
        color: #fff !important;
        inset: 0 !important;
        max-height: none !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
        padding: 88px 24px 32px !important;
        position: fixed !important;
        width: 100% !important;
        z-index: 9998 !important;
    }
    body.ghc2-mobile-menu-open header,
    body.ghc2-mobile-menu-open .site-header,
    .ghc2-mobile-header-top { position: relative !important; z-index: 100001 !important; }
    .ghc2-mobile-menu-target a { color: #fff !important; }
}
