/* Hanzu Kōhi Digital Menu */
.hanzu-menu {
    --hanzu-navy: #10233f;
    --hanzu-brown: #8b5e3c;
    --hanzu-gold: #b28a4a;
    --hanzu-cream: #f4eddf;
    --hanzu-paper: #fbf8f0;
    --hanzu-line: rgba(16, 35, 63, .22);
    max-width: 1180px;
    margin: 30px auto;
    padding: clamp(22px, 4vw, 52px);
    background:
        radial-gradient(circle at 15% 20%, rgba(139,94,60,.06), transparent 25%),
        radial-gradient(circle at 85% 70%, rgba(16,35,63,.045), transparent 25%),
        var(--hanzu-paper);
    color: var(--hanzu-navy);
    border: 1px solid rgba(16,35,63,.14);
    box-sizing: border-box;
    font-family: Georgia, "Times New Roman", serif;
}

.hanzu-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 28px;
    border-bottom: 2px solid var(--hanzu-navy);
}

.hanzu-menu__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hanzu-menu__logo {
    display: block;
    width: min(310px, 42vw);
    height: auto;
    max-height: 130px;
    object-fit: contain;
    object-position: left center;
}

.hanzu-menu__title-wrap {
    text-align: right;
}

.hanzu-menu__title-jp {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.hanzu-menu__title {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: .85;
    letter-spacing: .04em;
}

.hanzu-menu__intro {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .18em;
    border-bottom: 1px solid var(--hanzu-line);
}

.hanzu-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(30px, 6vw, 90px);
    row-gap: 34px;
    padding: 38px 0;
}

.hanzu-menu__section {
    min-width: 0;
}

.hanzu-menu__section-heading {
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--hanzu-navy);
}

.hanzu-menu__section-heading h2 {
    margin: 2px 0 0;
    font-size: clamp(21px, 2.4vw, 28px);
    letter-spacing: .05em;
}

.hanzu-menu__section-jp {
    display: block;
    font-size: 11px;
    color: var(--hanzu-brown);
    letter-spacing: .12em;
}

.hanzu-menu__items {
    display: grid;
    gap: 4px;
}

.hanzu-menu__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
}

.hanzu-menu__item-main {
    min-width: 0;
}

.hanzu-menu__item h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.hanzu-menu__item p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--hanzu-brown);
}

.hanzu-menu__price {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.hanzu-menu__feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--hanzu-line);
    border-bottom: 1px solid var(--hanzu-line);
}

.hanzu-menu__feature {
    padding: 20px;
    background: var(--hanzu-cream);
    border: 1px solid var(--hanzu-line);
}

.hanzu-menu__feature--loyalty {
    background: var(--hanzu-navy);
    color: var(--hanzu-paper);
}

.hanzu-menu__feature-jp {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: .12em;
}

.hanzu-menu__feature h3 {
    margin: 0;
    font-size: 21px;
    letter-spacing: .06em;
}

.hanzu-menu__feature p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.hanzu-menu__footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: .18em;
}

.hanzu-menu-error {
    max-width: 720px;
    margin: 30px auto;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

@media (max-width: 720px) {
    .hanzu-menu {
        margin: 0;
        border-left: 0;
        border-right: 0;
        padding: 20px 16px 28px;
    }

    .hanzu-menu__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .hanzu-menu__title-wrap {
        text-align: left;
    }

    .hanzu-menu__logo {
        width: min(270px, 82vw);
        max-height: 105px;
    }

    .hanzu-menu__title {
        font-size: 54px;
    }

    .hanzu-menu__intro {
        flex-direction: column;
        gap: 6px;
    }

    .hanzu-menu__grid,
    .hanzu-menu__feature-grid {
        grid-template-columns: 1fr;
    }

    .hanzu-menu__grid {
        row-gap: 28px;
        padding: 28px 0;
    }

    .hanzu-menu__item {
        padding: 8px 0;
    }

    .hanzu-menu__footer {
        flex-direction: column;
        gap: 7px;
    }
}


.hanzu-menu__item-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.hanzu-menu__cart-bar {
    position: sticky;
    bottom: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 0 20px;
    padding: 14px 16px;
    background: var(--hanzu-navy);
    color: var(--hanzu-paper);
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.hanzu-menu__cart-bar > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.hanzu-menu__cart-count {
    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .08em;
}
.hanzu-menu__cart-total {
    font-size: 18px;
}
.hanzu-menu__view-cart,
.hanzu-menu__confirm-cart {
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    padding: 10px 15px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .14em;
    cursor: pointer;
}
.hanzu-menu__view-cart:hover,
.hanzu-menu__confirm-cart:hover {
    background: rgba(255,255,255,.1);
}
.hanzu-menu__cart-panel {
    position: relative;
    margin: 0 0 26px;
    padding: 22px;
    background: var(--hanzu-cream);
    border: 1px solid var(--hanzu-line);
}
.hanzu-menu__cart-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--hanzu-line);
    padding-bottom: 14px;
}
.hanzu-menu__cart-panel-head h2 {
    margin: 0;
    font-size: 26px;
}
.hanzu-menu__close-cart {
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}
.hanzu-menu__cart-items {
    display: grid;
    gap: 0;
}
.hanzu-menu__cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--hanzu-line);
}
.hanzu-menu__cart-row-main {
    display: grid;
    gap: 2px;
}
.hanzu-menu__cart-row-main span {
    color: var(--hanzu-brown);
    font-size: 11px;
}
.hanzu-menu__cart-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
}
.hanzu-menu__cart-row-controls button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--hanzu-navy);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.hanzu-menu__cart-row-price {
    min-width: 62px;
    text-align: right;
}
.hanzu-menu__empty {
    padding: 24px 0;
    font-size: 14px;
}
.hanzu-menu__cart-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    font-size: 18px;
}
.hanzu-menu__confirm-cart {
    width: 100%;
    background: var(--hanzu-navy);
    color: var(--hanzu-paper);
}
.hanzu-menu__confirm-cart:hover {
    background: var(--hanzu-brown);
}

@media (max-width: 720px) {
    .hanzu-menu__cart-bar {
        bottom: 8px;
        margin-left: -2px;
        margin-right: -2px;
    }
    .hanzu-menu__item-action {
        gap: 8px;
    }
    .hanzu-menu__cart-row {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }
    .hanzu-menu__cart-row-price {
        grid-column: 2;
        grid-row: 1;
    }
    .hanzu-menu__cart-row-controls {
        grid-column: 1 / -1;
    }
}


/* v0.3.1 — inline quantity stepper */
.hanzu-menu__stepper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(20, 52, 82, .72);
    border-radius: 999px;
    background: transparent;
    color: var(--hanzu-navy);
    overflow: hidden;
    transition: min-width .2s ease, background .2s ease, border-color .2s ease;
}

.hanzu-menu__stepper.is-active {
    min-width: 104px;
    background: rgba(20, 52, 82, .055);
    border-color: var(--hanzu-navy);
}

.hanzu-menu__qty-btn {
    width: 34px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--hanzu-navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    transition: background .15s ease, color .15s ease;
}

.hanzu-menu__qty-btn:hover {
    background: rgba(20, 52, 82, .10);
}

.hanzu-menu__qty {
    width: 0;
    opacity: 0;
    overflow: hidden;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: width .2s ease, opacity .15s ease;
}

.hanzu-menu__stepper.is-active .hanzu-menu__qty {
    width: 28px;
    opacity: 1;
}

.hanzu-menu__item.is-selected {
    position: relative;
}

.hanzu-menu__item.is-selected::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: var(--hanzu-brown);
    border-radius: 2px;
}

.hanzu-menu__item.is-selected .hanzu-menu__price {
    font-weight: 700;
}

@media (max-width: 720px) {
    .hanzu-menu__stepper.is-active {
        min-width: 100px;
    }

    .hanzu-menu__qty-btn {
        width: 32px;
    }

    .hanzu-menu__item.is-selected::before {
        left: -7px;
    }
}


.hanzu-menu__whatsapp-note {
    margin: 9px 0 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 10px;
    opacity: .72;
    letter-spacing: .03em;
}

.hanzu-menu__order-status {
    margin: 12px 0 22px;
    padding: 11px 14px;
    border: 1px solid var(--hanzu-line);
    background: var(--hanzu-cream);
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: .04em;
}


.hanzu-menu__customer-greeting {
    margin: 22px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--hanzu-line);
    background: var(--hanzu-cream);
}
.hanzu-menu__customer-greeting > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}
.hanzu-menu__greeting-small {
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: .16em;
    color: var(--hanzu-brown);
}
.hanzu-menu__customer-greeting strong {
    font-size: 20px;
}


.hanzu-menu__confirm-cart:disabled {
    opacity: .65;
    cursor: wait;
}

.hanzu-menu__item-image{display:block;width:72px;height:72px;object-fit:cover;border-radius:14px;margin:0 0 10px}
.hanzu-menu__item--addon{align-items:center}

/* Per-cup drink customisation */
.hanzu-menu__customisations{width:100%;margin-top:10px}
.hanzu-menu__cup-customisation{padding:10px 0;border-top:1px solid rgba(16,42,67,.10)}
.hanzu-menu__cup-customisation>strong{display:block;font-size:10px;letter-spacing:.12em;margin-bottom:7px}
.hanzu-menu__custom-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.hanzu-menu__custom-fields label{font-size:10px;font-weight:700}
.hanzu-menu__custom-select{width:100%;box-sizing:border-box;padding:7px 9px;margin-top:4px;border:1px solid rgba(16,42,67,.18);border-radius:8px;background:#fff;font:inherit;font-size:11px}
.hanzu-menu__qty-btn:disabled{opacity:.35;cursor:not-allowed}
.hanzu-menu__cart-customisations{margin-top:5px;font-size:10px;line-height:1.45}
.hanzu-menu__cart-customisations span{display:block}
@media(max-width:600px){.hanzu-menu__custom-fields{grid-template-columns:1fr}.hanzu-menu__custom-select{font-size:12px;padding:8px}}

@media(max-width:900px){.hanzu-menu__custom-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v0.6.3 — refined responsive item/customisation layout */
.hanzu-menu__item{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,340px);
    align-items:start;
    gap:24px;
    padding:18px 0;
    border-bottom:1px solid rgba(16,35,63,.10);
}
.hanzu-menu__item-main{min-width:0;padding-top:4px}
.hanzu-menu__item h3{font-size:19px;line-height:1.15}
.hanzu-menu__item-action{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px 14px;
    width:100%;
}
.hanzu-menu__price{grid-column:2;grid-row:1;font-size:17px}
.hanzu-menu__stepper{grid-column:1;grid-row:1;justify-self:end}
.hanzu-menu__customisations{
    grid-column:1 / -1;
    width:100%;
    margin-top:2px;
}
.hanzu-menu__cup-customisation{
    padding:12px 0;
    border-top:1px solid rgba(16,35,63,.09);
}
.hanzu-menu__cup-customisation>strong{
    display:block;
    margin-bottom:8px;
    font-family:Arial,sans-serif;
    font-size:9px;
    letter-spacing:.16em;
    color:var(--hanzu-brown);
}
.hanzu-menu__custom-fields{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}
.hanzu-menu__custom-fields label{
    display:block;
    min-width:0;
    font-family:Arial,sans-serif;
    font-size:9px;
    font-weight:700;
    letter-spacing:.06em;
    color:var(--hanzu-navy);
}
.hanzu-menu__custom-fields label span{display:block;margin-bottom:4px;opacity:.72}
.hanzu-menu__custom-select{
    display:block;
    width:100%;
    min-width:0;
    box-sizing:border-box;
    height:36px;
    padding:0 28px 0 10px;
    border:1px solid rgba(16,35,63,.20);
    border-radius:7px;
    background:#fff;
    color:var(--hanzu-navy);
    font:600 11px/1 Arial,sans-serif;
    outline:none;
}
.hanzu-menu__custom-select:focus{border-color:var(--hanzu-navy);box-shadow:0 0 0 2px rgba(16,35,63,.08)}
.hanzu-menu__item.is-selected{padding-left:12px;padding-right:12px;margin-left:-12px;margin-right:-12px;border-radius:12px;background:rgba(244,237,223,.48)}
.hanzu-menu__item.is-selected::before{left:0;top:10px;bottom:10px}
@media(max-width:900px){
    .hanzu-menu__item{grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:16px}
    .hanzu-menu__custom-fields{grid-template-columns:1fr}
}
@media(max-width:720px){
    .hanzu-menu__item{grid-template-columns:1fr;gap:12px;padding:16px 0}
    .hanzu-menu__item-action{grid-template-columns:1fr auto}
    .hanzu-menu__stepper{justify-self:start}
    .hanzu-menu__price{grid-column:2}
    .hanzu-menu__item.is-selected{margin-left:-7px;margin-right:-7px;padding-left:10px;padding-right:10px}
}

.hanzu-bean-description{display:block;margin-top:7px;font-size:11px;line-height:1.45;opacity:.78}.hanzu-bean-description .hanzu-bean-notes{font-weight:700;letter-spacing:.02em}.hanzu-bean-description .hanzu-bean-copy{margin-top:3px}.hanzu-bean-description small{display:block;margin-top:3px;font-size:10px;letter-spacing:.03em}


/* Order When */
.hanzu-menu__order-when{margin:18px auto 24px;max-width:720px;padding:18px 20px;border:1px solid #ddd2c5;border-radius:16px;background:#fff;box-sizing:border-box}
.hanzu-menu__order-when label{display:flex;flex-direction:column;gap:5px}
.hanzu-menu__order-when label span{font-size:11px;letter-spacing:.12em;font-weight:700;text-transform:none}
.hanzu-menu__order-when label strong{font-size:17px;text-transform:none}
.hanzu-menu__order-when input{margin-top:12px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfc5ba;border-radius:10px;background:#fff;box-sizing:border-box;font:inherit}
.hanzu-order-when{margin-top:7px;font-size:12px;letter-spacing:.03em}

/* Order Time — keep isolated from menu/drink item styling */
.hanzu-menu__order-time{margin:18px auto 24px;max-width:720px;padding:18px 20px;border:1px solid #ddd2c5;border-radius:16px;background:#fff;box-sizing:border-box}
.hanzu-menu__order-time label{display:flex;flex-direction:column;gap:5px}
.hanzu-menu__order-time label span{font-size:11px;letter-spacing:.12em;font-weight:700;text-transform:none}
.hanzu-menu__order-time label strong{font-size:17px;text-transform:none}
.hanzu-menu__order-time input{margin-top:12px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfc5ba;border-radius:10px;background:#fff;box-sizing:border-box;font:inherit}

.hanzu-menu__pickup-location{margin:18px auto 24px;max-width:720px;padding:18px 20px;border:1px solid #ddd2c5;border-radius:16px;background:#fff;box-sizing:border-box}
.hanzu-menu__pickup-location label{display:flex;flex-direction:column;gap:5px}
.hanzu-menu__pickup-location label span{font-size:11px;letter-spacing:.12em;font-weight:700;text-transform:none}
.hanzu-menu__pickup-location label strong{font-size:17px;text-transform:none}
.hanzu-menu__pickup-location select{text-transform:none;margin-top:12px;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfc5ba;border-radius:10px;background:#fff;box-sizing:border-box;font:inherit}

/* v0.8.17 — clean product rows + click-to-open product detail */
.hanzu-menu__item{
    display:grid !important;
    grid-template-columns:1fr !important;
    position:relative;
    cursor:pointer;
    padding:16px 8px !important;
    margin:0 -8px;
    border-bottom:1px solid rgba(16,35,63,.10);
    transition:background .18s ease;
}
.hanzu-menu__item:hover{background:rgba(244,237,223,.55);border-radius:12px}
.hanzu-menu__item-main{padding:0 !important}
.hanzu-menu__item-image{display:none !important}
.hanzu-menu__item-action{display:none !important}
.hanzu-menu__item h3{font-size:18px;margin:0}
.hanzu-menu__item p{margin-top:4px}

.hanzu-menu__product-detail{
    position:fixed;z-index:99999;left:24px;top:96px;width:min(430px,40vw);
    max-height:calc(100vh - 120px);overflow:auto;box-sizing:border-box;
    background:var(--hanzu-paper);border:1px solid rgba(16,35,63,.16);border-radius:22px;
    box-shadow:0 24px 70px rgba(16,35,63,.20);opacity:0;transform:translateX(-18px);
    transition:opacity .2s ease,transform .2s ease;
}
.hanzu-menu__product-detail:not([hidden]){opacity:1;transform:translateX(0)}
.hanzu-menu__product-detail-inner{position:relative;padding:20px}
.hanzu-menu__product-detail-close{position:absolute;right:14px;top:14px;z-index:2;width:36px;height:36px;border:0;border-radius:50%;background:rgba(251,248,240,.92);color:var(--hanzu-navy);font:32px/32px Arial,sans-serif;cursor:pointer}
.hanzu-menu__product-detail-image-wrap{width:100%;height:230px;margin-bottom:18px;border-radius:16px;overflow:hidden;background:#eee8dc;display:flex;align-items:center;justify-content:center}
.hanzu-menu__product-detail-image{width:100%;height:100%;object-fit:contain;display:block}
.hanzu-menu__product-detail-image-placeholder{font:600 11px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--hanzu-brown);text-transform:uppercase}
.hanzu-menu__product-detail-copy{padding:0 2px 8px}
.hanzu-menu__product-detail-japanese{display:block;color:var(--hanzu-brown);font-size:11px;letter-spacing:.12em;margin-bottom:4px}
.hanzu-menu__product-detail-name{margin:0;font-size:30px;line-height:1.05}
.hanzu-menu__product-detail-customisations{margin-top:2px}
.hanzu-menu__product-detail .hanzu-menu__custom-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.hanzu-menu__product-detail-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid rgba(16,35,63,.10)}
.hanzu-menu__product-detail-qty{display:flex;align-items:center;border:1px solid rgba(16,35,63,.18);border-radius:10px;overflow:hidden;background:#fff}
.hanzu-menu__product-detail-qty button{width:38px;height:38px;border:0;background:transparent;color:var(--hanzu-navy);font-size:20px;cursor:pointer}
.hanzu-menu__product-detail-qty span{min-width:30px;text-align:center;font:700 13px/38px Arial,sans-serif}
.hanzu-menu__product-detail-price{font-size:20px;white-space:nowrap}
.hanzu-menu__product-detail-add{width:100%;border:0;border-radius:12px;padding:14px 18px;background:var(--hanzu-navy);color:#fff;font:700 11px/1 Arial,sans-serif;letter-spacing:.14em;cursor:pointer}
.hanzu-menu__add-confirmation{position:fixed;z-index:100000;left:50%;bottom:28px;transform:translate(-50%,12px);padding:11px 16px;border-radius:999px;background:var(--hanzu-navy);color:#fff;font:700 11px/1 Arial,sans-serif;letter-spacing:.04em;opacity:0;transition:opacity .2s ease,transform .2s ease;pointer-events:none}
.hanzu-menu__add-confirmation.is-visible{opacity:1;transform:translate(-50%,0)}
body.hanzu-menu-detail-open{overflow:hidden}
@media(max-width:900px){
 .hanzu-menu__product-detail{left:12px;right:12px;top:72px;width:auto;max-height:calc(100vh - 88px);border-radius:20px}
 .hanzu-menu__product-detail-image-wrap{height:250px}
}
@media(max-width:600px){
 .hanzu-menu__product-detail-inner{padding:16px}
 .hanzu-menu__product-detail-image-wrap{height:220px;margin-bottom:14px}
 .hanzu-menu__product-detail-name{font-size:26px}
 .hanzu-menu__product-detail .hanzu-menu__custom-fields{grid-template-columns:1fr}
 .hanzu-menu__item{padding:14px 6px !important;margin:0 -6px}
}

/* v0.8.18 — mobile product detail keeps Add to Order visible */
@media(max-width:600px){
  .hanzu-menu__product-detail{
    max-height:calc(100dvh - 84px);
    padding-bottom:0;
    overflow:hidden;
  }
  .hanzu-menu__product-detail-inner{
    max-height:calc(100dvh - 84px);
    overflow-y:auto;
    padding-bottom:88px;
    -webkit-overflow-scrolling:touch;
  }
  .hanzu-menu__product-detail-add{
    position:absolute;
    left:16px;
    right:16px;
    bottom:16px;
    width:calc(100% - 32px);
    z-index:5;
    box-shadow:0 8px 24px rgba(16,35,63,.18);
  }
}


/* v0.8.19 — show product price directly in clean clickable menu rows */
.hanzu-menu__item{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:20px !important;
    cursor:pointer;
    padding:16px 8px !important;
    margin:0 -8px;
    border-bottom:1px solid rgba(16,35,63,.10);
    transition:background .18s ease;
}
.hanzu-menu__item:hover{background:rgba(244,237,223,.55);border-radius:12px}
.hanzu-menu__item-main{min-width:0 !important; flex:1 1 auto; padding:0 !important}
.hanzu-menu__item-image{display:none !important}
.hanzu-menu__item-action{display:none !important}
.hanzu-menu__item .hanzu-menu__price{
    display:block !important;
    flex:0 0 auto !important;
    margin-top:0 !important;
    align-self:center !important;
    font-size:16px !important;
    font-weight:700 !important;
    white-space:nowrap;
    color:var(--hanzu-navy);
}
.hanzu-menu__item h3{font-size:18px;margin:0}
.hanzu-menu__item p{margin:4px 0 0}
@media(max-width:600px){
    .hanzu-menu__item{padding:15px 6px !important;margin:0 -6px;gap:14px !important}
    .hanzu-menu__item .hanzu-menu__price{font-size:15px !important}
}


/* v0.8.20 — vertically center row price against two-line product name */
.hanzu-menu__item .hanzu-menu__price{align-self:center !important;margin-top:0 !important;}

/* v0.8.21 — mobile detail card: independently scrollable content + CTA fixed to card */
@media(max-width:600px){
  .hanzu-menu__product-detail{
    height:calc(100dvh - 84px);
    max-height:none;
    overflow:hidden;
    box-sizing:border-box;
  }
  .hanzu-menu__product-detail-inner{
    height:100%;
    max-height:none;
    overflow-y:auto;
    box-sizing:border-box;
    padding-bottom:92px;
    -webkit-overflow-scrolling:touch;
  }
  .hanzu-menu__product-detail-add{
    position:absolute !important;
    left:16px;
    right:16px;
    bottom:16px;
    width:calc(100% - 32px) !important;
    z-index:20;
    box-shadow:0 8px 24px rgba(16,35,63,.22);
  }
}


/* v0.8.22 — restore versioned assets + stable responsive product detail presentation */
.hanzu-menu__product-detail{
  box-sizing:border-box;
}
.hanzu-menu__product-detail-image-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.hanzu-menu__product-detail-image{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
@media (max-width:900px){
  .hanzu-menu__product-detail{
    top:72px;
    left:12px;
    right:12px;
    width:auto;
    height:calc(100dvh - 84px);
    max-height:none;
    overflow:hidden;
    border-radius:20px;
  }
  .hanzu-menu__product-detail-inner{
    height:100%;
    max-height:none;
    overflow-y:auto;
    box-sizing:border-box;
    padding:16px 16px 96px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }
  .hanzu-menu__product-detail-image-wrap{
    height:190px;
    min-height:190px;
    margin-bottom:14px;
    border-radius:16px;
  }
  .hanzu-menu__product-detail-image{
    object-fit:contain;
  }
  .hanzu-menu__product-detail-add{
    position:absolute !important;
    left:16px !important;
    right:16px !important;
    bottom:16px !important;
    width:calc(100% - 32px) !important;
    min-height:48px;
    z-index:20;
    box-shadow:0 8px 24px rgba(16,35,63,.22);
  }
}
@media (max-width:600px){
  .hanzu-menu__product-detail-image-wrap{
    height:175px;
    min-height:175px;
  }
  .hanzu-menu__product-detail-name{font-size:26px;}
}


/* v0.8.24 — ensure the hidden product detail overlay cannot intercept menu taps. */
.hanzu-menu__product-detail[hidden]{display:none !important;}

/* v0.8.23 — mobile detail footer separated from scrolling content
   so the CTA never overlaps the last quantity/price row. */
.hanzu-menu__product-detail-footer{
  padding:0 0 16px;
}
@media (max-width:900px){
  .hanzu-menu__product-detail{
    position:fixed;
    display:flex;
    flex-direction:column;
  }
  .hanzu-menu__product-detail-inner{
    flex:1 1 auto;
    min-height:0;
    height:auto;
    padding-bottom:28px;
  }
  .hanzu-menu__product-detail-footer{
    flex:0 0 auto;
    padding:10px 16px 16px;
    background:rgba(31,27,20,.98);
    position:relative;
    z-index:30;
  }
  .hanzu-menu__product-detail-add{
    position:static !important;
    display:block;
    width:100% !important;
    min-height:50px;
    margin:0;
  }
}
@media (max-width:600px){
  .hanzu-menu__product-detail-inner{
    padding-bottom:24px;
  }
}


/* v0.8.26 — product image disclaimer */
.hanzu-menu__product-detail-image-disclaimer{
    margin-top:7px;
    font-family:Arial,sans-serif;
    font-size:9px;
    line-height:1.35;
    letter-spacing:.02em;
    text-align:center;
    color:rgba(42,31,24,.58);
}




/* v0.8.34 — transparent dual-logo treatment */
.hanzu-menu__logo {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Hanzu Lucky Spin reward summary */
.hanzu-menu__reward-summary{
  margin:12px 0 0;
  padding:12px 14px;
  border:1px solid #cbd7e5;
  border-radius:14px;
  background:#f4f8fc;
  color:#10233f;
}
.hanzu-menu__reward-summary > div:first-child{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-weight:800;
}
.hanzu-menu__reward-summary > div:first-child strong{color:#10233f}
.hanzu-menu__reward-summary small{
  display:block;
  margin-top:4px;
  color:#647286;
  font-size:11px;
}
.hanzu-menu__reward-summary-total{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #dbe3ec;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.hanzu-menu__reward-summary-total strong{font-size:17px}

.hanzu-menu__reward-prompt{
  margin:14px 0;padding:13px 14px;border:1px solid #dbe3ec;border-radius:17px;background:#f4f8fc;
}
.hanzu-menu__reward-head{display:flex;gap:10px;align-items:center}
.hanzu-menu__reward-gift{width:34px;height:34px;border-radius:10px;background:#10233f;color:#fff;display:grid;place-items:center}
.hanzu-menu__reward-title{font-weight:900;color:#10233f}
.hanzu-menu__reward-copy{margin-top:2px;font-size:12px;color:#756b62}


/* B1F1 any-drink helper */
.hanzu-menu__b1f1-add-drink{margin-top:10px;border:0;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}
.hanzu-b1f1-drink-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}
.hanzu-b1f1-drink-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.hanzu-b1f1-drink-modal__dialog{position:relative;width:min(460px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:26px;box-shadow:0 20px 60px rgba(0,0,0,.2)}
.hanzu-b1f1-drink-modal__close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:28px;cursor:pointer}
.hanzu-b1f1-drink-modal__kicker{font-size:11px;font-weight:800;letter-spacing:.08em}
.hanzu-b1f1-drink-modal__dialog h3{margin:8px 0 6px}
.hanzu-b1f1-drink-modal__dialog p{margin:0 0 18px;line-height:1.5}
.hanzu-b1f1-drink-modal__fields{display:grid;gap:12px}
.hanzu-b1f1-drink-modal__fields label{display:grid;gap:6px;font-size:12px;font-weight:800}
.hanzu-b1f1-drink-modal__fields select{width:100%;padding:11px;border:1px solid #ddd;border-radius:10px;background:#fff}
.hanzu-b1f1-drink-modal__add{width:100%;margin-top:18px;padding:13px 18px;border:0;border-radius:999px;font-weight:800;cursor:pointer}


/* v0.8.36 — Orange Syrup suggestion */
.hanzu-menu__product-detail-addons{margin:14px 0 0;padding:12px 14px;border:1px solid rgba(117,85,46,.18);border-radius:14px;background:#fffaf2}
.hanzu-menu__addon-suggestion{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0;font-size:13px}
.hanzu-menu__addon-suggestion strong{font-size:11px;letter-spacing:.08em;white-space:nowrap}
.hanzu-menu__addon-suggestion label{display:flex;align-items:center;gap:7px;cursor:pointer;flex:1}
.hanzu-menu__addon-suggestion input{accent-color:#102a43}
.hanzu-menu__addon-suggestion label span{font-weight:700;white-space:nowrap}

.hanzu-menu__reward-line{display:flex;align-items:center;gap:8px}.hanzu-menu__reward-line>span{flex:1}.hanzu-menu__reward-remove{width:28px;height:28px;border:1px solid rgba(0,0,0,.15);border-radius:50%;background:transparent;font-size:20px;line-height:24px;cursor:pointer;padding:0}.hanzu-menu__reward-remove:hover{background:rgba(0,0,0,.06)}.hanzu-menu__reward-remove:disabled{opacity:.5;cursor:wait}


/* v0.8.40 — visible wallet balance on menu */
.hanzu-menu__wallet-bar{display:flex;align-items:center;gap:10px;max-width:720px;margin:14px auto 10px;padding:12px 16px;border:1px solid rgba(16,35,63,.12);border-radius:14px;background:#fff;box-sizing:border-box}
.hanzu-menu__wallet-bar span{font:700 10px/1 Arial,sans-serif;letter-spacing:.12em;color:var(--hanzu-brown)}
.hanzu-menu__wallet-bar strong{margin-left:auto;font-size:17px;color:var(--hanzu-navy)}
.hanzu-menu__wallet-bar small{font-size:11px;color:#6d665f}
@media(max-width:600px){.hanzu-menu__wallet-bar{margin-left:12px;margin-right:12px;flex-wrap:wrap}.hanzu-menu__wallet-bar strong{margin-left:auto}.hanzu-menu__wallet-bar small{width:100%;padding-left:0}}

/* v0.8.44 — clearer Lucky Spin and Wallet order UI */
.hanzu-menu__reward-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;font-weight:900;color:#10233f}
.hanzu-menu__reward-badge{font:800 9px/1 Arial,sans-serif;letter-spacing:.08em;padding:5px 7px;border-radius:999px;background:#e8eef5;color:#10233f}
.hanzu-menu__reward-save,.hanzu-menu__reward-use{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;border:1px solid #cbd7e5;border-radius:999px;background:#fff;color:#10233f;padding:8px 12px;font:800 11px/1 Arial,sans-serif;cursor:pointer}
.hanzu-menu__reward-save:hover,.hanzu-menu__reward-use:hover{background:#eef3f8}
.hanzu-menu__reward-save:disabled{opacity:.55;cursor:wait}
.hanzu-menu__wallet-summary{margin-top:12px;padding:12px 14px;border:1px solid #d8e0e8;border-radius:14px;background:#fff}
.hanzu-menu__wallet-summary small{display:block;margin-top:5px;color:#6f6a64;font-size:11px;line-height:1.4}


/* v0.8.47 — clickable add-on chooser */
.hanzu-menu__item--addon{cursor:pointer}
.hanzu-menu__item--addon:focus-visible{outline:2px solid #102a43;outline-offset:3px}
.hanzu-menu__addon-chooser{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.hanzu-menu__addon-chooser-backdrop{position:absolute;inset:0;background:rgba(16,35,63,.42)}
.hanzu-menu__addon-chooser-dialog{position:relative;width:min(460px,100%);max-height:90vh;overflow:auto;background:#fffaf2;border:1px solid rgba(16,35,63,.15);border-radius:20px;padding:26px;box-shadow:0 20px 60px rgba(0,0,0,.24)}
.hanzu-menu__addon-chooser-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:#10233f}
.hanzu-menu__addon-chooser-kicker{font-size:11px;font-weight:800;letter-spacing:.12em;color:#8b5d3b}
.hanzu-menu__addon-chooser-dialog h3{margin:7px 40px 6px 0;color:#10233f}
.hanzu-menu__addon-chooser-dialog h3 span{float:right;font-size:15px}
.hanzu-menu__addon-chooser-dialog p{margin:0 0 18px;color:#756b62;line-height:1.5}
.hanzu-menu__addon-chooser-options{display:grid;gap:10px}
.hanzu-menu__addon-chooser-options button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 15px;border:1px solid rgba(16,35,63,.18);border-radius:12px;background:#fff;color:#10233f;font-weight:800;cursor:pointer;text-align:left}
.hanzu-menu__addon-chooser-options button:hover{background:#f4f8fc}
.hanzu-menu__addon-chooser-options span{font-weight:700}

/* v0.8.47 — reward UI clarity */
.hanzu-menu__reward-summary{border:1px solid rgba(16,35,63,.14);border-radius:16px;background:#fffaf2;padding:15px 16px;margin-top:14px;text-align:center}
.hanzu-menu__reward-summary small{display:block;margin-top:8px;line-height:1.45;color:#756b62}
.hanzu-menu__reward-summary .hanzu-menu__reward-save{margin-top:11px}
/* v0.8.53 — centered reward presentation */
.hanzu-menu__reward-summary .hanzu-menu__reward-heading{justify-content:center;flex-wrap:wrap}
.hanzu-menu__reward-summary .hanzu-menu__reward-line{justify-content:center}
.hanzu-menu__reward-summary .hanzu-menu__reward-line>span{flex:0 0 auto}
.hanzu-menu__reward-summary .hanzu-menu__reward-summary-total{justify-content:center;gap:10px}
.hanzu-menu__reward-summary .hanzu-menu__reward-save,.hanzu-menu__reward-summary .hanzu-menu__reward-use{display:inline-flex}

/* v0.8.48 — identify customer only when the customer places an order */
.hanzu-menu__phone-gate{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.hanzu-menu__phone-gate[hidden]{display:none}
.hanzu-menu__phone-gate-backdrop{position:absolute;inset:0;background:rgba(16,35,63,.48);backdrop-filter:blur(2px)}
.hanzu-menu__phone-gate-dialog{position:relative;width:min(430px,100%);box-sizing:border-box;background:#fffaf2;border:1px solid rgba(16,35,63,.14);border-radius:22px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.25)}
.hanzu-menu__phone-gate-close{position:absolute;right:14px;top:10px;border:0;background:none;color:#10233f;font-size:28px;line-height:1;cursor:pointer}
.hanzu-menu__phone-gate-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:#8b5d3b}
.hanzu-menu__phone-gate-dialog h3{margin:7px 35px 7px 0;color:#10233f;font-size:23px}
.hanzu-menu__phone-gate-dialog p{margin:0 0 18px;color:#756b62;line-height:1.5;font-size:13px}
.hanzu-menu__phone-gate-label{display:block;margin-bottom:7px;font-size:11px;font-weight:900;letter-spacing:.08em;color:#10233f}
.hanzu-menu__phone-gate-input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #cbd7e5;border-radius:12px;background:#fff;color:#10233f;font-size:16px;outline:none}
.hanzu-menu__phone-gate-select{appearance:auto;min-height:47px}
.hanzu-menu__phone-gate-dialog .hanzu-menu__phone-gate-label + .hanzu-menu__phone-gate-input{margin-bottom:12px}
.hanzu-menu__phone-gate-input:focus{border-color:#10233f;box-shadow:0 0 0 3px rgba(16,35,63,.08)}
.hanzu-menu__phone-gate-error{min-height:18px;margin-top:7px;color:#a33b32;font-size:12px}
.hanzu-menu__phone-gate-submit{width:100%;margin-top:8px;padding:13px 18px;border:0;border-radius:999px;background:#10233f;color:#fff;font-weight:900;letter-spacing:.04em;cursor:pointer}
.hanzu-menu__phone-gate-submit:disabled{opacity:.6;cursor:wait}

/* Center the WordPress page heading on pages containing the Hanzu Kōhi menu. */
body:has(.hanzu-menu) .entry-title,
body:has(.hanzu-menu) .page-title,
body:has(.hanzu-menu) .wp-block-post-title {
    text-align: center !important;
}


/* Voucher campaign integration */
.hanzu-menu__voucher-box{margin:16px 0;padding:14px;border:1px solid rgba(32,27,24,.12);border-radius:14px;background:#fbf7f1}
.hanzu-menu__voucher-controls{display:flex;gap:8px;margin-top:8px}.hanzu-menu__voucher-input{flex:1;min-width:0;border:1px solid #d9d0c8;border-radius:10px;padding:10px 11px;background:#fff;font:inherit;text-transform:uppercase}
.hanzu-menu__voucher-apply{white-space:nowrap}.hanzu-menu__voucher-status{min-height:16px;margin-top:7px;font-size:11px;color:#756b64}
.hanzu-menu__voucher-summary{margin-top:10px;padding:14px;border:1px solid rgba(32,27,24,.1);border-radius:14px;background:#fffdf9}.hanzu-menu__voucher-summary small{display:block;color:#756b64;margin-top:6px}
@media(max-width:600px){.hanzu-menu__voucher-controls{flex-direction:column}.hanzu-menu__voucher-apply{width:100%}}
