.hanzu-admin{max-width:980px;margin:30px auto;padding:20px;font-family:Arial,sans-serif;color:#201b18}
.hanzu-admin__header{display:flex;justify-content:space-between;align-items:center;padding:28px;border:1px solid #d9d0c8;border-radius:18px;background:#fff}
.hanzu-admin__jp{font-size:12px;letter-spacing:.18em}.hanzu-admin h1{margin:5px 0;font-size:30px;letter-spacing:.08em}.hanzu-admin__header p{margin:0;color:#756b64}
.hanzu-admin__logo{text-align:center;font-weight:800;letter-spacing:.12em;line-height:1.1}.hanzu-admin__logo span{font-weight:500}
.hanzu-admin__toolbar{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.hanzu-admin__toolbar strong{font-size:24px;margin-right:8px}.hanzu-admin__toolbar span{color:#756b64}
.hanzu-admin__refresh,.hanzu-admin__deliver,.hanzu-admin__whatsapp{border:0;border-radius:10px;padding:12px 16px;font-weight:700;letter-spacing:.04em;text-decoration:none;cursor:pointer}
.hanzu-admin__refresh{background:#f0ebe6;color:#201b18}.hanzu-admin__deliver,.hanzu-admin__whatsapp{background:#201b18;color:#fff}
.hanzu-admin__orders{display:grid;gap:14px}.hanzu-order-card{border:1px solid #ddd4cc;border-radius:16px;background:#fff;padding:20px}.hanzu-order-card__top,.hanzu-order-card__bottom{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.hanzu-order-card__number{font-size:12px;letter-spacing:.1em;color:#756b64}.hanzu-order-card h2{margin:4px 0;font-size:20px}.hanzu-order-card p{margin:0;color:#756b64}
.hanzu-order-card__badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.hanzu-badge{padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em;background:#eee}.hanzu-badge--delivered{background:#e8efe8}.hanzu-badge--new{background:#f2e7d9}.hanzu-badge--payment{background:#eee}
.hanzu-order-card__items{margin:18px 0;padding:14px 0;border-top:1px solid #eee;border-bottom:1px solid #eee}.hanzu-order-card__items div{display:flex;justify-content:space-between;padding:5px 0}.hanzu-order-card__bottom>div{display:flex;flex-direction:column}.hanzu-order-card__bottom>div span{font-size:10px;letter-spacing:.1em;color:#756b64}.hanzu-order-card__bottom>div strong{font-size:20px}.hanzu-admin__empty,.hanzu-admin-login{padding:30px;text-align:center;border:1px dashed #ccc;border-radius:16px}.hanzu-admin__empty span{display:block;color:#756b64;margin-top:5px}
.hanzu-admin__toast{position:fixed;right:20px;bottom:20px;background:#201b18;color:#fff;padding:14px 18px;border-radius:10px;z-index:9999}
@media(max-width:600px){.hanzu-admin{padding:12px}.hanzu-admin__header{padding:20px}.hanzu-admin h1{font-size:23px}.hanzu-admin__logo{font-size:12px}.hanzu-order-card__top,.hanzu-order-card__bottom{flex-direction:column}.hanzu-order-card__badges{justify-content:flex-start}.hanzu-admin__deliver,.hanzu-admin__whatsapp{width:100%;text-align:center}}

.hanzu-admin__payment-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.hanzu-admin__paid,.hanzu-admin__receipt{border:0;border-radius:10px;padding:12px 16px;font-weight:700;letter-spacing:.04em;text-decoration:none;cursor:pointer;box-sizing:border-box}
.hanzu-admin__paid{background:#201b18;color:#fff}.hanzu-admin__paid:disabled{opacity:.55;cursor:not-allowed}
.hanzu-admin__receipt{background:#f0ebe6;color:#201b18}
.hanzu-admin__paid-label{display:inline-flex;align-items:center;padding:12px 16px;border-radius:10px;background:#e8efe8;color:#201b18;font-weight:800;letter-spacing:.04em}
.hanzu-virtual-card-page{max-width:1100px;margin:0 auto;padding:28px 16px 60px;font-family:Arial,sans-serif;color:#102a43}
.hanzu-virtual-card-wrap{background:#fffdf9;border:1px solid #d9cdbd;border-radius:22px;padding:24px;box-shadow:0 8px 30px rgba(16,42,67,.08)}
.hanzu-virtual-card-heading{text-align:center;margin-bottom:20px}.hanzu-virtual-card-kicker{font-size:12px;letter-spacing:.18em;font-weight:700}.hanzu-virtual-card-heading h1{margin:7px 0 5px;font-size:28px}.hanzu-virtual-card-heading p{margin:0;color:#76552e}
.hanzu-virtual-card-canvas{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#f7f0e7}
.hanzu-virtual-card-base{position:absolute;inset:0;width:100%;height:100%;display:block}

.hanzu-virtual-card-reward{text-align:center;margin-top:18px;font-weight:800;letter-spacing:.08em;color:#76552e}.hanzu-virtual-card-note{text-align:center;margin:12px 0 0;font-size:13px;color:#6d6256}
.hanzu-virtual-card-error{padding:28px;text-align:center;border:1px dashed #cfc4b8;border-radius:16px;background:#fffdf9}
@media(max-width:600px){.hanzu-admin__payment-actions{width:100%;justify-content:stretch}.hanzu-admin__payment-actions>*{flex:1 1 100%;text-align:center}.hanzu-virtual-card-wrap{padding:12px}.hanzu-virtual-card-heading h1{font-size:22px}}

/* Responsive virtual loyalty card */
.hanzu-virtual-card-page,
.hanzu-virtual-card-wrap,
.hanzu-virtual-card-canvas,
.hanzu-virtual-card-base {
  box-sizing: border-box;
}

.hanzu-virtual-card-page {
  width: 100%;
  max-width: 1100px;
  overflow-x: hidden;
}

.hanzu-virtual-card-wrap {
  width: 100%;
  max-width: 100%;
}

.hanzu-virtual-card-canvas {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hanzu-virtual-card-base {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .hanzu-virtual-card-base {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hanzu-virtual-card-page {
    padding: 12px 8px 32px;
  }

  .hanzu-virtual-card-wrap {
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(16,42,67,.07);
  }

  .hanzu-virtual-card-heading {
    margin-bottom: 12px;
  }

  .hanzu-virtual-card-kicker {
    font-size: 10px;
    letter-spacing: .14em;
  }

  .hanzu-virtual-card-heading h1 {
    margin: 5px 0 3px;
    font-size: 19px;
    line-height: 1.2;
  }

  .hanzu-virtual-card-heading p {
    font-size: 12px;
  }

  .hanzu-virtual-card-canvas {
    border-radius: 10px;
  }

  .hanzu-virtual-card-reward {
    margin-top: 12px;
    font-size: 13px;
  }

  .hanzu-virtual-card-note {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Very narrow phones: use the full available width without page overflow. */
@media (max-width: 380px) {
  .hanzu-virtual-card-page {
    padding-left: 4px;
    padding-right: 4px;
  }

  .hanzu-virtual-card-wrap {
    padding: 7px;
  }

  .hanzu-virtual-card-heading h1 {
    font-size: 18px;
  }
}

/* Customer account page — premium Hanzu Kōhi dashboard */
.hanzu-customer-page{
  --hk-ink:#0d3157;
  --hk-ink-2:#173f6b;
  --hk-cream:#f8f1e7;
  --hk-paper:#fffdf9;
  --hk-line:#e7ded3;
  --hk-muted:#766e66;
  --hk-gold:#b78a42;
  width:100%;
  max-width:1080px;
  margin:32px auto 56px;
  padding:0 18px;
  box-sizing:border-box;
  color:#1d1a17;
  font-family:inherit;
}

/* Remove the duplicate WordPress page title when this shortcode lives on /my-hanzu-kohi/ */
.page-my-hanzu-kohi .wp-block-post-title,
.page-my-hanzu-kohi .entry-title{display:none!important}

.hanzu-customer-wrap{max-width:100%;margin:0 auto}

.hanzu-customer-header{
  position:relative;
  overflow:hidden;
  padding:34px 38px 30px;
  border-radius:26px;
  background:linear-gradient(135deg,var(--hk-ink) 0%,#0a2848 100%);
  color:#fff;
  box-shadow:0 18px 50px rgba(13,49,87,.16);
  margin-bottom:18px;
}
.hanzu-customer-header:after{
  content:"";
  position:absolute;
  width:230px;height:230px;
  right:-90px;top:-120px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025);
}
.hanzu-customer-kicker{position:relative;z-index:1;font-size:11px;letter-spacing:.24em;font-weight:800;opacity:.72}
.hanzu-customer-header h1{position:relative;z-index:1;margin:7px 0 5px;font-size:38px;line-height:1.08;letter-spacing:-.025em;color:#fff}
.hanzu-customer-header p{position:relative;z-index:1;margin:0;color:rgba(255,255,255,.72);font-size:15px}

.hanzu-customer-loyalty{
  padding:24px;
  border:1px solid var(--hk-line);
  border-radius:22px;
  background:var(--hk-paper);
  box-shadow:0 8px 28px rgba(25,35,45,.06);
  margin-bottom:18px;
}
.hanzu-customer-section-title{display:flex;justify-content:space-between;align-items:center;gap:18px}
.hanzu-customer-section-title>div{min-width:0}
.hanzu-customer-section-title span,.hanzu-customer-section-heading span{
  display:block;font-size:10px;letter-spacing:.18em;font-weight:800;color:var(--hk-muted)
}
.hanzu-customer-section-title strong{display:block;margin-top:5px;font-size:24px;line-height:1;color:var(--hk-ink);letter-spacing:-.02em}
.hanzu-customer-section-title a{
  flex:0 0 auto;padding:10px 14px;border:1px solid var(--hk-ink);border-radius:999px;
  color:var(--hk-ink);text-decoration:none;font-size:10px;font-weight:800;letter-spacing:.08em
}
.hanzu-customer-section-title a:hover{background:var(--hk-ink);color:#fff}

.hanzu-customer-stampbar{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:20px 0 16px}
.hanzu-customer-stampbar span{
  display:flex;align-items:center;justify-content:center;aspect-ratio:1;
  border:1px solid #d9cec2;border-radius:50%;font-size:12px;font-weight:700;color:#9a8f84;background:#fff;
  transition:transform .15s ease,background .15s ease
}
.hanzu-customer-stampbar span.is-filled{
  background:var(--hk-ink);color:#fff;border-color:var(--hk-ink);box-shadow:inset 0 0 0 3px rgba(255,255,255,.10)
}
.hanzu-customer-card-link{display:inline-flex;align-items:center;gap:7px;color:var(--hk-ink);font-size:11px;font-weight:800;letter-spacing:.04em;text-decoration:none}
.hanzu-customer-card-link:after{content:"→";font-size:15px}

.hanzu-customer-orders{
  padding:24px;
  border:1px solid var(--hk-line);
  border-radius:22px;
  background:var(--hk-paper);
  box-shadow:0 8px 28px rgba(25,35,45,.06);
}
.hanzu-customer-section-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--hk-line)}
.hanzu-customer-section-heading strong{display:block;font-size:24px;line-height:1;color:var(--hk-ink);letter-spacing:-.02em}

.hanzu-customer-orders{display:grid;gap:12px}
.hanzu-customer-order{
  padding:18px 18px 16px;
  border:1px solid var(--hk-line);
  border-radius:17px;
  background:#fff;
  transition:box-shadow .15s ease,transform .15s ease
}
.hanzu-customer-order:hover{box-shadow:0 8px 24px rgba(25,35,45,.07);transform:translateY(-1px)}
.hanzu-customer-order-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.hanzu-customer-order-no{display:block;font-size:14px;font-weight:850;letter-spacing:.045em;color:var(--hk-ink)}
.hanzu-customer-order-top small{display:block;color:var(--hk-muted);margin-top:5px;font-size:11px}
.hanzu-customer-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.hanzu-customer-badge{padding:6px 9px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.08em;background:#f0ede9;color:#665d55}
.hanzu-customer-badge--status{background:#e9f0f6;color:var(--hk-ink)}
.hanzu-customer-badge--payment{background:#eef4ed;color:#3f6545}

.hanzu-customer-items{margin:14px 0 12px;padding:11px 0;border-top:1px solid #eee8e2;border-bottom:1px solid #eee8e2}
.hanzu-customer-items div{display:flex;justify-content:space-between;gap:15px;padding:5px 0;font-size:13px}
.hanzu-customer-items div span{min-width:0}
.hanzu-customer-items div strong{white-space:nowrap;color:#403a35;font-size:12px}
.hanzu-customer-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hanzu-customer-order-bottom>strong{font-size:20px;color:var(--hk-ink);letter-spacing:-.02em}
.hanzu-customer-order-bottom a{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:999px;background:var(--hk-ink);color:#fff;text-decoration:none;font-size:10px;font-weight:850;letter-spacing:.05em}
.hanzu-customer-order-bottom a:hover{background:var(--hk-ink-2)}
.hanzu-customer-empty,.hanzu-customer-error{padding:30px;text-align:center;border:1px dashed #cfc5ba;border-radius:16px;background:#fbf8f4;color:var(--hk-muted)}

@media(max-width:700px){
  .hanzu-customer-page{margin:16px auto 35px;padding:0 10px}
  .hanzu-customer-header{padding:25px 22px 23px;border-radius:21px}
  .hanzu-customer-header h1{font-size:29px}
  .hanzu-customer-header p{font-size:13px}
  .hanzu-customer-loyalty,.hanzu-customer-orders{padding:17px;border-radius:18px}
  .hanzu-customer-section-title strong,.hanzu-customer-section-heading strong{font-size:20px}
  .hanzu-customer-section-title a{padding:8px 11px;font-size:9px}
  .hanzu-customer-stampbar{gap:5px;margin:16px 0 14px}
  .hanzu-customer-stampbar span{font-size:10px}
  .hanzu-customer-order{padding:15px}
  .hanzu-customer-order-top{flex-direction:column;gap:10px}
  .hanzu-customer-badges{justify-content:flex-start}
  .hanzu-customer-section-heading{align-items:flex-end}
}

@media(max-width:430px){
  .hanzu-customer-header h1{font-size:26px}
  .hanzu-customer-stampbar{gap:4px}
  .hanzu-customer-stampbar span{font-size:9px}
  .hanzu-customer-section-title{align-items:flex-start}
  .hanzu-customer-section-title a{margin-top:2px}
  .hanzu-customer-items div{font-size:12px}
  .hanzu-customer-order-bottom>strong{font-size:18px}
}


/* v0.3.3 — Customer order status pills */
.hanzu-customer-badges{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.hanzu-customer-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 13px;
  border-radius:999px;
  box-sizing:border-box;
  font-size:9px;
  line-height:1;
  font-weight:850;
  letter-spacing:.07em;
  white-space:nowrap;
  border:1px solid transparent;
}
.hanzu-customer-badge--status{
  background:#f2e7d8;
  border-color:#ead9c5;
  color:#5a4632;
}
.hanzu-customer-badge--payment{
  background:#e8eee9;
  border-color:#d8e2d9;
  color:#405c47;
}
@media(max-width:700px){
  .hanzu-customer-badges{
    width:100%;
    justify-content:flex-start;
    gap:7px;
  }
  .hanzu-customer-badge{
    min-height:30px;
    padding:0 11px;
    font-size:8px;
  }
}

/* Hanzu Menu Manager v0.4.0 */
.hanzu-menu-manager{margin:24px 0;padding:22px;border:1px solid #e6ddd1;border-radius:20px;background:#fffdf9;color:#102a43}
.hanzu-menu-manager__head{margin-bottom:18px}.hanzu-menu-manager__head span{font-size:10px;letter-spacing:.16em;color:#8b6b45}.hanzu-menu-manager__head h2{margin:4px 0;font-size:24px}.hanzu-menu-manager__head p{margin:0;color:#756a5d}
.hanzu-menu-manager__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hanzu-menu-manager__card{padding:18px;border:1px solid #e8dfd4;border-radius:16px;background:#fff}
.hanzu-menu-manager__card h3,.hanzu-menu-manager__list h3{margin:0 0 14px;font-size:12px;letter-spacing:.12em}
.hanzu-menu-manager label{display:block;margin:0 0 10px;font-size:12px;font-weight:700}.hanzu-menu-manager input,.hanzu-menu-manager textarea{display:block;width:100%;margin-top:5px;padding:10px 11px;border:1px solid #d9cdbd;border-radius:10px;box-sizing:border-box;background:#fff;font:inherit}.hanzu-menu-manager textarea{min-height:70px;resize:vertical}.hanzu-menu-manager .hanzu-check{display:flex;align-items:center;gap:8px}.hanzu-menu-manager .hanzu-check input{width:auto;margin:0}
.hanzu-menu-manager button,.hanzu-menu-manager__edit{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:0;border-radius:999px;background:#102a43;color:#fff;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.06em;cursor:pointer}.hanzu-menu-manager form>a{margin-left:10px;font-size:12px}.hanzu-menu-manager__list{margin-top:18px}.hanzu-menu-manager__row{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #eee6dc}.hanzu-menu-manager__row strong,.hanzu-menu-manager__row span{display:block}.hanzu-menu-manager__row span{margin-top:3px;font-size:12px;color:#756a5d}.hanzu-menu-manager__thumb{width:52px;height:52px;border-radius:10px;background:#f2ece4;overflow:hidden}.hanzu-menu-manager__thumb img{width:100%;height:100%;object-fit:cover}.hanzu-menu-manager button.danger{background:#8f3d3d}
@media(max-width:700px){.hanzu-menu-manager__grid{grid-template-columns:1fr}.hanzu-menu-manager__row{grid-template-columns:44px minmax(0,1fr);}.hanzu-menu-manager__row .hanzu-menu-manager__edit,.hanzu-menu-manager__row form{grid-column:auto}.hanzu-menu-manager__thumb{width:44px;height:44px}}

.hanzu-menu-manager__options{padding:11px;margin:8px 0 12px;border:1px solid #eee6dc;border-radius:10px;background:#faf7f2}.hanzu-menu-manager__options>strong{display:block;font-size:11px;margin-bottom:7px}

/* v0.4.2 — customisation controls */
.hanzu-menu-manager__options{padding:16px!important;margin:12px 0 16px!important;border:1px solid #e9e0d5!important;border-radius:12px!important;background:#fbf8f3!important}
.hanzu-menu-manager__options>strong{display:block;margin-bottom:10px!important;font-size:11px;letter-spacing:.10em;text-transform:uppercase}
.hanzu-menu-manager__options .hanzu-check{display:flex;align-items:center;gap:9px;margin:8px 0!important;padding:9px 10px;border:1px solid #eee7de;border-radius:8px;background:#fff}
.hanzu-menu-manager__options .hanzu-check input{width:16px;height:16px;margin:0}
@media(max-width:720px){.hanzu-menu-manager__grid{grid-template-columns:1fr!important}.hanzu-menu-manager__row{grid-template-columns:auto 1fr!important}.hanzu-menu-manager__row .hanzu-menu-manager__edit,.hanzu-menu-manager__row form{grid-column:auto!important}}

/* v0.4.3 admin navigation, order tabs & settings */
.hanzu-admin__tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 22px;padding:6px;border:1px solid var(--hk-line);border-radius:16px;background:#fff}
.hanzu-admin__tabs a{padding:13px 12px;text-align:center;text-decoration:none;border-radius:11px;color:var(--hk-muted);font-size:10px;font-weight:850;letter-spacing:.12em}
.hanzu-admin__tabs a.is-active{background:var(--hk-ink);color:#fff}
.hanzu-admin__notice{margin:0 0 16px;padding:12px 15px;border-radius:12px;background:#edf4ed;color:#355a3b;font-size:12px;font-weight:700}
.hanzu-admin__order-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px}
.hanzu-admin__order-tabs a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px;border:1px solid var(--hk-line);border-radius:15px;background:#fff;text-decoration:none;color:var(--hk-ink)}
.hanzu-admin__order-tabs a.is-active{border-color:var(--hk-ink);box-shadow:0 5px 18px rgba(20,30,40,.07)}
.hanzu-admin__order-tabs span{font-size:10px;letter-spacing:.12em;font-weight:850}
.hanzu-admin__order-tabs b{min-width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f1ece6;font-size:10px}
.hanzu-admin__filters{margin-bottom:18px;padding:12px 15px;border:1px solid var(--hk-line);border-radius:14px;background:#fff}
.hanzu-admin__filters form{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.hanzu-admin__filters label{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.1em;font-weight:800;color:var(--hk-muted)}
.hanzu-admin__filters select{border:1px solid var(--hk-line);border-radius:9px;background:#fff;padding:8px 10px;color:var(--hk-ink);font-size:11px;letter-spacing:0}
.hanzu-admin__settings-form{display:grid;gap:20px}
.hanzu-admin__panel{padding:24px;border:1px solid var(--hk-line);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(25,35,45,.05)}
.hanzu-admin__panel-head{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--hk-line)}
.hanzu-admin__panel-head>span{font-size:9px;letter-spacing:.18em;font-weight:850;color:var(--hk-muted)}
.hanzu-admin__panel-head h2{margin:6px 0 5px;color:var(--hk-ink)}
.hanzu-admin__panel-head p{margin:0;color:var(--hk-muted);font-size:13px}
.hanzu-admin__field-group{display:grid;gap:7px}
.hanzu-admin__field-group>label{font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--hk-ink)}
.hanzu-admin__field-group input[type=tel],.hanzu-admin__field-group input[type=file]{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid var(--hk-line);border-radius:10px;background:#fff;font:inherit}
.hanzu-admin__field-group small{font-size:11px;color:var(--hk-muted)}
.hanzu-admin__logo-preview{width:110px;height:110px;display:grid;place-items:center;border:1px solid var(--hk-line);border-radius:14px;background:#faf7f2;overflow:hidden}
.hanzu-admin__logo-preview img{max-width:85%;max-height:85%;object-fit:contain}
.hanzu-order-card__top small{display:block;margin-top:5px;color:var(--hk-muted);font-size:10px}
@media(max-width:700px){.hanzu-admin__tabs{grid-template-columns:1fr}.hanzu-admin__order-tabs{grid-template-columns:1fr}.hanzu-admin__filters form{align-items:flex-start;flex-direction:column}.hanzu-admin__panel{padding:18px}}

.hanzu-custom-options{margin-top:18px;padding-top:18px;border-top:1px solid #e8dfd4}.hanzu-settings-note{font-size:12px;line-height:1.5;color:#777;margin:6px 0 14px}.hanzu-option-editor{display:block;margin:10px 0}.hanzu-option-editor textarea{width:100%;min-height:95px;margin-top:6px;font-family:inherit;line-height:1.5}

.hanzu-bean-catalogue{margin-top:18px;padding-top:18px;border-top:1px solid #e8dfd4}.hanzu-bean-row{padding:14px;margin:10px 0;border:1px solid #e8dfd4;border-radius:10px;background:#fff}.hanzu-bean-row__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:11px;letter-spacing:.08em}.hanzu-bean-row input,.hanzu-bean-row textarea{width:100%;margin:5px 0}.hanzu-remove-bean{border:0;background:none;text-decoration:underline;cursor:pointer;font-size:11px}.hanzu-add-bean{margin-top:6px}

.hanzu-order-item__custom{font-size:12px;color:#756b64;padding:2px 0 2px 10px}.hanzu-batch-control{margin-top:12px;padding:14px;border:1px solid #e8e1dc;border-radius:12px;background:#faf8f6}.hanzu-batch-control strong{display:block;letter-spacing:.08em;font-size:12px}.hanzu-batch-control small{display:block;margin:6px 0 10px;color:#756b64;line-height:1.5}.hanzu-batch-control__form button{min-height:40px;padding:0 16px;border:0;border-radius:999px;font-weight:700;cursor:pointer}.hanzu-order-item>div:first-child{display:flex;justify-content:space-between}.hanzu-order-item{padding:5px 0}

.hanzu-order-card__items .hanzu-order-item__custom{display:block!important;padding:2px 0 2px 10px!important;justify-content:initial!important}

.hanzu-batch-move-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr) auto;gap:12px;align-items:end;margin:16px 0;padding:16px;border:1px solid var(--hk-line,#ddd4cc);border-radius:16px;background:#fffdf9}.hanzu-batch-move-panel>div{display:flex;flex-direction:column;gap:5px}.hanzu-batch-move-panel strong{font-size:12px;letter-spacing:.08em}.hanzu-batch-move-panel small{font-size:11px;line-height:1.45;color:var(--hk-muted,#756b64)}.hanzu-batch-move-panel label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:800;letter-spacing:.08em}.hanzu-batch-move-panel select{width:100%;padding:10px 12px;border:1px solid #d9d0c8;border-radius:10px;background:#fff;font:inherit}.hanzu-batch-move-panel button{border:0;border-radius:10px;padding:11px 14px;background:#201b18;color:#fff;font-weight:800;letter-spacing:.04em;cursor:pointer}.hanzu-batch-move-panel button:disabled{opacity:.45;cursor:not-allowed}.hanzu-order-select{display:inline-flex;align-items:center;gap:7px;margin-bottom:10px;font-size:10px;font-weight:800;letter-spacing:.08em;color:#756b64}.hanzu-order-select input{width:16px;height:16px}.hanzu-order-card:has(.hanzu-order-select){position:relative}.hanzu-order-card:has(.hanzu-order-select) .hanzu-order-card__top{padding-top:2px}
@media(max-width:700px){.hanzu-batch-move-panel{grid-template-columns:1fr}.hanzu-batch-move-panel button{width:100%}}

/* v0.6.7 — Admin order card polish */
.hanzu-order-card{padding:22px 24px;overflow:hidden}
.hanzu-order-card__top{align-items:flex-start}
.hanzu-order-card__top>div:first-child{min-width:0;flex:1}
.hanzu-order-card__number{display:block;margin-bottom:5px;font-size:11px;font-weight:700;letter-spacing:.12em}
.hanzu-order-card h2{margin:0 0 3px;font-size:20px;line-height:1.2;font-weight:500}
.hanzu-order-card p{margin:0 0 4px;font-size:15px}
.hanzu-order-card__top small{margin-top:0;font-size:10px}
.hanzu-order-batch{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px;padding:7px 10px;border-radius:8px;background:#f5efe8;color:#201b18;font-size:11px;letter-spacing:.05em}
.hanzu-order-batch strong:first-child{font-size:10px;letter-spacing:.1em}
.hanzu-order-when,.hanzu-order-time,.hanzu-order-pickup{margin-top:7px;font-size:11px;line-height:1.4;color:#756b64}
.hanzu-order-when strong,.hanzu-order-time strong,.hanzu-order-pickup strong{color:#201b18;font-weight:600}
.hanzu-order-time{font-size:12px}
.hanzu-order-card__badges{padding-top:2px;flex:0 0 auto}
.hanzu-badge{padding:6px 9px;font-size:9px}

.hanzu-order-card__items{margin:18px 0 0;padding:16px 0;border-top:1px solid #e9e2db;border-bottom:0}
.hanzu-order-card__items .hanzu-order-item{display:block!important;padding:13px 0!important;border-bottom:1px solid #eee8e2}
.hanzu-order-card__items .hanzu-order-item:last-child{border-bottom:0}
.hanzu-order-item>div:first-child{display:flex!important;justify-content:space-between!important;align-items:flex-start;gap:20px}
.hanzu-order-item>div:first-child>span{font-size:16px;line-height:1.35;font-weight:600;color:#201b18}
.hanzu-order-item>div:first-child>strong{flex:0 0 auto;font-size:15px;line-height:1.35;font-weight:700;color:#201b18}
.hanzu-order-card__items .hanzu-order-item__custom{display:block!important;margin-top:6px!important;padding:0!important;color:#756b64;font-size:11px;line-height:1.5}
.hanzu-order-card__items .hanzu-order-item__custom::first-line{font-weight:500}

.hanzu-batch-owner-box{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;gap:10px;align-items:end;margin:0 0 18px;padding:15px 16px;border:1px solid #e5ddd5;border-radius:12px;background:#faf8f5}
.hanzu-batch-owner-box label{grid-column:1 / -1;margin:0;font-size:9px;font-weight:850;letter-spacing:.12em;color:#756b64}
.hanzu-batch-owner-box select{min-width:0;width:100%;box-sizing:border-box;height:40px;padding:0 11px;border:1px solid #d8cec4;border-radius:9px;background:#fff;color:#201b18;font:inherit;font-size:12px}
.hanzu-batch-owner-box .hanzu-admin__batch-owner-save{height:40px;padding:0 14px;border:0;border-radius:9px;background:#f0ebe6;color:#201b18;font-size:10px;font-weight:800;letter-spacing:.05em;cursor:pointer;white-space:nowrap}
.hanzu-batch-owner-box .hanzu-admin__whatsapp{grid-column:1 / -1;width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:9px;background:#201b18;color:#fff;font-size:10px;font-weight:800;letter-spacing:.07em}

.hanzu-order-card__bottom{align-items:flex-end;padding-top:16px;border-top:1px solid #e9e2db}
.hanzu-order-card__bottom>div:first-child{gap:4px}
.hanzu-order-card__bottom>div span{font-size:9px;letter-spacing:.12em}
.hanzu-order-card__bottom>div strong{font-size:20px;line-height:1.2}
.hanzu-admin__payment-actions,.hanzu-admin__paid-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hanzu-admin__payment-actions .hanzu-admin__whatsapp,.hanzu-admin__paid-actions .hanzu-admin__whatsapp{display:inline-flex;align-items:center;justify-content:center;min-height:40px;box-sizing:border-box;padding:0 14px;border-radius:9px;font-size:9px;letter-spacing:.06em;white-space:nowrap}
.hanzu-admin__paid-actions .hanzu-admin__whatsapp{min-width:180px}
.hanzu-admin__paid-label{min-height:40px;box-sizing:border-box;padding:0 13px;border-radius:9px;font-size:9px}
.hanzu-admin__deliver,.hanzu-admin__paid,.hanzu-admin__receipt{min-height:40px;padding:0 14px;border-radius:9px;font-size:9px}

@media(max-width:700px){
  .hanzu-order-card{padding:18px}
  .hanzu-order-card__top{gap:12px}
  .hanzu-order-card__badges{width:100%;padding-top:0}
  .hanzu-order-card__badges .hanzu-badge{font-size:9px}
  .hanzu-batch-owner-box{grid-template-columns:1fr}
  .hanzu-batch-owner-box label{grid-column:auto}
  .hanzu-batch-owner-box select,.hanzu-batch-owner-box .hanzu-admin__batch-owner-save{width:100%}
  .hanzu-batch-owner-box .hanzu-admin__whatsapp{grid-column:auto}
  .hanzu-order-card__bottom{align-items:stretch}
  .hanzu-admin__paid-actions,.hanzu-admin__payment-actions{width:100%;justify-content:stretch}
  .hanzu-admin__paid-actions>* ,.hanzu-admin__payment-actions>*{flex:1 1 100%;width:100%;text-align:center}
  .hanzu-admin__paid-actions .hanzu-admin__whatsapp{min-width:0}
}

.hanzu-customer-loyalty-history{margin-top:18px;padding:22px;border-radius:18px;background:#fff;border:1px solid rgba(16,42,67,.08)}
.hanzu-completed-card-list{display:grid;gap:10px;margin-top:14px}
.hanzu-completed-card{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:14px;background:#f7f3ec;color:#102a43;text-decoration:none;border:1px solid rgba(16,42,67,.07)}
.hanzu-completed-card:hover{transform:translateY(-1px)}
.hanzu-completed-card__badge{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#102a43;color:#fff;font-weight:700;flex:0 0 auto}
.hanzu-completed-card__info{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.hanzu-completed-card__info strong{font-size:14px}
.hanzu-completed-card__info small{font-size:12px;opacity:.7}
.hanzu-completed-card__view{font-size:11px;font-weight:700;letter-spacing:.04em;white-space:nowrap}
@media(max-width:600px){.hanzu-customer-loyalty-history{padding:17px}.hanzu-completed-card{padding:12px}.hanzu-completed-card__view{font-size:10px}}

.hanzu-order-batch-submitter{margin-top:4px;font-size:11px;opacity:.82;}

.hanzu-loyalty-free-box{margin:14px 0;padding:12px;border:1px solid rgba(0,0,0,.12);border-radius:10px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hanzu-loyalty-free-box label{font-weight:700;font-size:12px;letter-spacing:.08em}.hanzu-loyalty-free-box select{min-width:220px}.hanzu-admin__free-save{padding:9px 14px}

.hanzu-loyalty-rewards-box{display:grid;gap:12px;margin:0 0 18px;padding:15px 16px;border:1px solid #e5ddd5;border-radius:12px;background:#faf8f5}.hanzu-loyalty-rewards-box>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.hanzu-loyalty-rewards-box label{grid-column:1 / -1;margin:0;font-size:9px;font-weight:850;letter-spacing:.12em;color:#756b64}.hanzu-loyalty-rewards-box select{min-width:0;width:100%;box-sizing:border-box;height:40px;padding:0 11px;border:1px solid #d8cec4;border-radius:9px;background:#fff;color:#201b18;font:inherit;font-size:12px}.hanzu-loyalty-rewards-box button{height:40px;padding:0 14px;border:0;border-radius:9px;background:#f0ebe6;color:#201b18;font-size:10px;font-weight:800;letter-spacing:.05em;cursor:pointer;white-space:nowrap}@media(max-width:700px){.hanzu-loyalty-rewards-box>div{grid-template-columns:1fr}.hanzu-loyalty-rewards-box button{width:100%}}

/* v0.8.3 — order editor */
.hanzu-admin__edit{margin-left:8px;padding:10px 14px;border:1px solid #201b18;background:#fff;border-radius:999px;font-weight:700;cursor:pointer}
.hanzu-edit-modal[hidden]{display:none!important}.hanzu-edit-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.hanzu-edit-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.hanzu-edit-modal__dialog{position:relative;width:min(900px,100%);max-height:90vh;overflow:auto;background:#fbf8f0;border-radius:18px;padding:28px;box-shadow:0 20px 80px rgba(0,0,0,.3);z-index:1}.hanzu-edit-modal__close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:30px;cursor:pointer}.hanzu-edit-item{border:1px solid #e6ddd5;border-radius:14px;padding:14px;margin:10px 0;background:#fff}.hanzu-edit-item__main{display:grid;grid-template-columns:minmax(220px,1fr) 90px 120px auto;gap:10px;align-items:end}.hanzu-edit-item label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;letter-spacing:.06em}.hanzu-edit-item select,.hanzu-edit-item input{min-height:40px;border:1px solid #d8cec5;border-radius:8px;padding:0 10px;font:inherit;font-weight:500;letter-spacing:normal}.hanzu-edit-remove{min-height:40px;border:1px solid #c8bbb1;background:#fff;border-radius:8px;font-weight:700;cursor:pointer}.hanzu-edit-custom{margin-top:9px;font-size:11px;color:#756b64;line-height:1.5}.hanzu-edit-custom__title{font-size:10px;font-weight:800;letter-spacing:.08em;color:#403a35;margin-bottom:8px}.hanzu-edit-cup{padding:10px 0;border-top:1px solid #eee7e1}.hanzu-edit-cup:first-of-type{border-top:0}.hanzu-edit-cup>strong{display:block;font-size:10px;letter-spacing:.06em;color:#756b64;margin-bottom:7px}.hanzu-edit-cup__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hanzu-edit-cup__grid label{font-size:9px;letter-spacing:.05em}.hanzu-edit-cup__grid select{min-height:36px;font-size:12px}.hanzu-edit-custom--empty{padding:8px 0}@media(max-width:700px){.hanzu-edit-cup__grid{grid-template-columns:1fr}.hanzu-edit-cup__grid select{min-height:42px}}.hanzu-edit-add-row{padding:8px 0}.hanzu-edit-add-row button{border:1px dashed #8b5e3c;background:#fff;padding:10px 14px;border-radius:999px;font-weight:700;cursor:pointer}.hanzu-edit-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:15px 0;border-top:1px solid #ddd3ca;font-size:12px;font-weight:700;letter-spacing:.08em}.hanzu-edit-total strong{font-size:20px;letter-spacing:normal}.hanzu-edit-actions{display:flex;justify-content:flex-end;gap:10px}.hanzu-admin__secondary,.hanzu-admin__save-edit,.hanzu-edit-delete{min-height:42px;padding:0 17px;border-radius:999px;font-weight:700;cursor:pointer}.hanzu-admin__secondary{background:#fff;border:1px solid #cfc3ba}.hanzu-admin__save-edit{background:#201b18;color:#fff;border:0}.hanzu-edit-delete{background:#fff;border:1px solid #b42318;color:#b42318;margin-right:auto}.hanzu-edit-delete:hover{background:#fff1f0}.hanzu-edit-note{font-size:11px;color:#756b64;margin:14px 0 0;line-height:1.5}@media(max-width:700px){.hanzu-edit-modal{padding:10px}.hanzu-edit-modal__dialog{padding:20px 14px;max-height:94vh}.hanzu-edit-item__main{grid-template-columns:1fr 80px;}.hanzu-edit-item__main label:first-child{grid-column:1/-1}.hanzu-edit-remove{grid-column:1/-1}.hanzu-edit-actions{flex-direction:column}.hanzu-admin__secondary,.hanzu-admin__save-edit{width:100%}.hanzu-admin__edit{margin:8px 0 0}}


/* v0.8.4 — Samsung Internet / mobile order editor hardening */
.hanzu-edit-modal__dialog,
.hanzu-edit-modal__dialog *{
  -webkit-tap-highlight-color:transparent;
}
.hanzu-edit-modal__dialog{
  color-scheme:light !important;
  forced-color-adjust:none;
  background:#fbf8f0 !important;
  color:#201b18 !important;
}
.hanzu-edit-modal__dialog input,
.hanzu-edit-modal__dialog select,
.hanzu-edit-modal__dialog button{
  color-scheme:light !important;
  forced-color-adjust:none;
}
@media (max-width:1024px){
  body.hanzu-edit-open{overflow:hidden !important;}
  .hanzu-edit-modal{padding:12px !important;align-items:flex-start !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;}
  .hanzu-edit-modal__dialog{width:100% !important;max-width:680px !important;max-height:none !important;margin:12px auto !important;padding:22px 16px 18px !important;border-radius:18px !important;box-sizing:border-box !important;overflow:visible !important;}
  .hanzu-edit-modal__close{right:12px !important;top:8px !important;width:42px;height:42px;border-radius:999px !important;background:#201b18 !important;color:#fff !important;font-size:26px !important;line-height:1 !important;}
  .hanzu-edit-modal__dialog h2{font-size:30px !important;line-height:1.12 !important;margin:0 48px 8px 0 !important;}
  .hanzu-edit-modal__dialog > p{font-size:14px !important;line-height:1.45 !important;margin:0 0 18px !important;}
  .hanzu-edit-item{padding:12px !important;margin:10px 0 !important;}
  .hanzu-edit-item__main{grid-template-columns:minmax(0,1fr) 92px !important;gap:10px !important;align-items:end !important;}
  .hanzu-edit-item__main label:first-child{grid-column:1 / -1 !important;}
  .hanzu-edit-item__main label:nth-child(2){grid-column:1 !important;}
  .hanzu-edit-item__main label:nth-child(3){grid-column:2 !important;}
  .hanzu-edit-remove{grid-column:1 / -1 !important;width:100% !important;}
  .hanzu-edit-item label{font-size:10px !important;line-height:1.2 !important;}
  .hanzu-edit-item select,.hanzu-edit-item input,.hanzu-edit-remove{min-height:44px !important;height:44px !important;box-sizing:border-box !important;font-size:14px !important;}
  .hanzu-edit-custom{font-size:11px !important;line-height:1.5 !important;}
  .hanzu-edit-total{margin-top:12px !important;padding:14px 0 !important;}
  .hanzu-edit-total strong{font-size:20px !important;}
  .hanzu-edit-actions{display:grid !important;grid-template-columns:1fr 1.5fr !important;gap:8px !important;}
  .hanzu-admin__secondary,.hanzu-admin__save-edit,.hanzu-edit-delete{width:100% !important;min-height:46px !important;padding:0 10px !important;font-size:12px !important;white-space:normal !important;}
  .hanzu-edit-note{font-size:11px !important;line-height:1.55 !important;}
}
@media (max-width:480px){
  .hanzu-edit-modal{padding:6px !important;}
  .hanzu-edit-modal__dialog{margin:6px auto !important;padding:20px 12px 16px !important;border-radius:14px !important;}
  .hanzu-edit-modal__dialog h2{font-size:27px !important;}
  .hanzu-edit-item__main{grid-template-columns:minmax(0,1fr) 86px !important;gap:8px !important;}
  .hanzu-edit-actions{grid-template-columns:1fr !important;}
}

/* Lucky Spin reward display */
.hanzu-order-lucky-rewards{margin:16px 0 0;padding:14px 0;border-top:1px solid #eadfd3}
.hanzu-order-lucky-rewards__head{font-size:11px;font-weight:800;letter-spacing:.08em;margin-bottom:9px}
.hanzu-order-lucky-reward{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0}
.hanzu-order-lucky-reward div{display:flex;flex-direction:column;gap:2px}
.hanzu-order-lucky-reward strong{font-size:14px}
.hanzu-order-lucky-reward span{font-size:12px;opacity:.75}
.hanzu-order-lucky-reward__status{font-size:10px;letter-spacing:.05em;white-space:nowrap}
.hanzu-order-lucky-reward__status--used{font-weight:800}
.hanzu-order-lucky-reward__status--reserved{opacity:.8}

.hanzu-settings-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:700px){.hanzu-settings-inline-grid{grid-template-columns:1fr}}
.hanzu-edit-wallet{margin-top:16px;padding:14px;border:1px solid #e6ddd5;border-radius:14px;background:#fff}.hanzu-edit-wallet>label{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;margin-bottom:6px}.hanzu-edit-wallet select,.hanzu-edit-wallet input{width:100%;min-height:40px;border:1px solid #d8cec5;border-radius:8px;padding:0 10px;font:inherit;box-sizing:border-box}.hanzu-edit-wallet-manual{margin-top:10px}.hanzu-edit-wallet-manual label{display:block;font-size:10px;font-weight:700;letter-spacing:.05em;margin-bottom:5px}.hanzu-edit-wallet-manual small{display:block;margin-top:6px;font-size:11px;color:#756b64;line-height:1.4}
