.v6-submit,.v6-orders{max-width:680px;margin:auto;overflow-wrap:anywhere}.v6-submit li{margin:14px 0}.v6-submit a{display:block}.v6-submit textarea{box-sizing:border-box;width:100%;min-height:112px;padding:12px;border:1px solid #a9b5bb;border-radius:12px}.v6-submit button,.v6-orders button{min-height:50px;width:100%}.v6-submit img{max-width:100%}.v6-paid{color:#137d54}.v6-tabs{display:flex;gap:8px}.v6-orders input{width:100%;box-sizing:border-box;min-height:44px;margin:8px 0}.v6-orders article{padding:16px;border-bottom:1px solid #bbc6c8}progress{width:100%;height:16px;accent-color:#168b6b}.v6-reviews{max-width:1160px;margin:48px auto;padding:20px}.v6-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.v6-review-grid article{min-width:0;border:1px solid #cad3d7;border-radius:16px;padding:12px;background:#fff;color:#17202a}.v6-review-grid button{border:1px solid #ccc;width:100%;padding:0;cursor:zoom-in;background:#fff}.v6-review-grid img{width:100%;aspect-ratio:16/9;object-fit:contain;display:block}.v6-lightbox{max-width:96vw;width:1200px;max-height:96dvh;overflow:auto;border:0;background:#141619;color:#fff}.v6-lightbox img{width:100%;touch-action:pan-x pan-y pinch-zoom}.v6-lightbox::backdrop{background:#000d}body[data-site="grok"] .v6-review-grid article,body[data-v5-site="grok"] .v6-review-grid article{background:#141619;color:#eee;border-color:#677079}#yw-co-mode{font-size:12px;color:#586771}#yw-co-mode input{width:auto;min-height:0}.yw-checkout-scroll{min-height:0;overflow:auto}.yw-pay-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.yw-checkout-footer{position:sticky;bottom:0;background:var(--yw-surface,#fff)}@media(max-width:600px){.v6-reviews{padding:12px}.v6-review-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.v6-review-grid article{flex:0 0 88%;scroll-snap-align:center}.v6-review-grid img{object-fit:cover;object-position:right center}.yw-modal-card{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.v6-submit{padding:8px}.v6-submit h2{font-size:21px}.yw-checkout-summary{padding:8px}.yw-field{margin-bottom:10px}}@media(prefers-reduced-motion:reduce){progress{transition:none}}

body[data-v6-dark=true] .v6-review-grid article{background:#141619;color:#eee;border-color:#677079}
/* R2 signed Gemini component refinements */
.v6-submit,.v6-progress,.v6-rescue{box-sizing:border-box;max-width:520px;margin:20px auto;padding:20px;border:1px solid #e2e8ed;border-radius:16px;background:#fff;color:#17202a;box-shadow:0 8px 30px #17202a0a;overflow-wrap:anywhere;font:14px/1.6 system-ui}.v6-paid{padding:12px;background:#eaf9f1;border-radius:10px;font-weight:600}.v6-order-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.v6-order-bar code{min-width:0;overflow-wrap:anywhere}.v6-order-bar button{width:auto;min-height:38px;flex-shrink:0}.v6-submit ol{list-style:none;counter-reset:steps;padding:0}.v6-submit li{position:relative;padding-left:34px;counter-increment:steps;margin:18px 0}.v6-submit li:before{content:counter(steps);position:absolute;left:0;top:1px;background:#17202a;color:white;border-radius:50%;width:22px;height:22px;text-align:center;line-height:22px}.v6-submit li a{display:table;padding:8px 12px;border:1px solid #ced8dd;border-radius:9px;background:#f7f8fa;color:#17202a;text-decoration:none;margin:8px 0}.v6-session-url{display:block;font-size:11px;word-break:break-all;color:#66727b}.v6-paste-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.v6-paste-row button{width:auto;min-height:38px}.v6-submit button,.v6-progress button,.v6-rescue button,.v6-orders button,.v6-tabs button,.v6-receipt button{border:1px solid #cbd5df;border-radius:10px;padding:8px 12px;background:#f7f8fa;color:#17202a;cursor:pointer}.v6-submit .yw-submit-btn,.v6-orders .yw-submit-btn,.v6-progress .yw-submit-btn,.v6-rescue .yw-submit-btn{display:block;box-sizing:border-box;text-align:center;text-decoration:none;background:#137d5d;color:white;border:0;min-height:50px;width:100%;border-radius:12px;padding:12px}.v6-submit details img{max-height:180px;object-fit:contain}.v6-progress header{display:flex;justify-content:space-between;align-items:center;gap:12px}.v6-progress header strong{font:700 28px ui-monospace,monospace}.v6-track{height:10px;border-radius:10px;overflow:hidden;background:#e8eeeb}.v6-track span{display:block;height:100%;background:linear-gradient(90deg,#13885f,#53d4a2);animation:v6-glow 2s ease-in-out infinite}.is-complete .v6-track span{animation:none;background:#13885f}.v6-stages{list-style:none;padding:0}.v6-stages li{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;color:#98a2ac}.v6-stages b{width:22px;height:22px;border:1px solid #d9e0e6;border-radius:50%;text-align:center;line-height:22px}.v6-stages .done{color:#334155}.v6-stages .done b{background:#13885f;color:white;border-color:#13885f}.v6-stages .active{background:#edf9f2;color:#17202a;font-weight:bold}.v6-stages .active b{border:2px solid #13885f;animation:v6-glow 2s infinite}.v6-stages small{margin-left:auto;font-size:10px;color:#137d5d;white-space:nowrap}.v6-rescue{background:#eff6ff;border-color:#bfdbfe}.v6-tabs{max-width:520px;margin:auto;background:#f1f5f9;padding:4px;border-radius:12px}.v6-tabs button{flex:1;border:0;background:transparent;min-height:44px}.v6-tabs [aria-selected=true]{background:#fff;box-shadow:0 2px 5px #17202a16;font-weight:700}.v6-orders{max-width:520px;padding:16px}.v6-orders input,.v6-receipt input{padding:12px;border:1px solid #cbd5df;border-radius:10px}.v6-orders [inputmode=numeric]{font-family:monospace;letter-spacing:1px}.v6-review-label{display:flex;justify-content:space-between;align-items:center;gap:8px}.v6-review-label span{font-size:12px;white-space:nowrap;color:#64748b}.v6-review-label strong{font-size:11px;white-space:nowrap;flex-shrink:0;padding:4px 7px;border-radius:20px;background:#edf7f1;color:#137d5d}.v6-review-grid button{position:relative;overflow:hidden;border-radius:10px}.v6-zoom{position:absolute;right:8px;bottom:8px;background:#17202ab8;color:#fff;border-radius:20px;padding:4px 8px;font-size:11px}.v6-review-grid img{object-fit:contain!important}.yw-checkout-product{display:flex!important;align-items:center;gap:12px}.yw-checkout-brand{flex:0 0 48px}.yw-checkout-product>div{min-width:0}.yw-checkout-summary .v6-stock{display:inline-block;font-size:11px;color:#137d5d;background:#eaf9f1;border-radius:20px;padding:3px 7px}.yw-checkout-summary .v6-stock.low{color:#b45309;background:#fff4df}.v6-stepper{display:flex;align-items:center;gap:8px}.v6-stepper button{width:44px;height:44px;border-radius:10px;border:1px solid #cbd5df;background:#f7f8fa;font-size:22px}.v6-stepper input{width:65px!important;text-align:center}.yw-channel-badge{display:inline-grid!important;place-items:center;width:22px;height:22px;border-radius:6px;color:white!important;background:#1677ff}.yw-pay-opt[data-channel=USDT_BEP20] .yw-channel-badge{background:#26a17b}.yw-pay-opt[data-channel=WXPAY] .yw-channel-badge{background:#07c160}.yw-pay-opt small{font-size:11px!important;white-space:nowrap}.v6-trust{text-align:center;white-space:nowrap;font-size:12px;color:#64748b;margin:8px 0}.yw-checkout-footer #yw-co-submit{height:50px;border-radius:12px;width:100%}#yw-co-mode summary,.v6-receipt summary{list-style:none}#yw-co-mode summary::-webkit-details-marker{display:none}#yw-co-mode summary:after{content:'⌄';margin-left:6px}.v6-reviews~details summary::-webkit-details-marker{display:none}
@keyframes v6-glow{50%{filter:brightness(1.15)}}@media(prefers-reduced-motion:reduce){.v6-track span,.v6-stages .active b{animation:none}}@media(max-width:600px){.v6-submit,.v6-progress,.v6-rescue{margin:10px auto;padding:16px}.v6-review-grid article{flex-basis:94%}.v6-review-label{gap:4px}.v6-review-label span{font-size:11px}.v6-review-label strong{font-size:10px;padding:3px 5px}}
/* R4 signed states and dual-theme photographs */
.is-upstream .v6-track span{background:linear-gradient(90deg,#36a4da,#41c7a0)}.v6-rescue .v6-order-bar{padding:12px;background:#f1f5f9;border-radius:10px}.v6-filters{display:flex;gap:8px;overflow:auto;margin:16px 0}.v6-filters button{flex-shrink:0;min-height:44px;border:1px solid #bfdbfe;border-radius:24px;padding:8px 12px;background:#eff6ff;color:#334155}.v6-filters [aria-pressed=true]{background:#137d5d;color:#fff}.v6-dark-reviews{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}.v6-dark-reviews article,.v6-dark-reviews button{background:#1b1c1e!important;color:#eee!important;border-color:#34363b}.v6-dark-reviews button:after{content:'';position:absolute;right:0;top:0;bottom:0;width:16px;background:linear-gradient(90deg,transparent,#1b1c1e);pointer-events:none}.v6-dark-reviews .v6-zoom{z-index:1}.v6-review-label{white-space:nowrap}.v6-submit details img{cursor:zoom-in}.yw-checkout-brand img{width:48px;height:48px;object-fit:contain}@media(max-width:600px){.v6-review-grid article{flex-basis:88vw;box-sizing:border-box}.v6-review-label{flex-wrap:nowrap}.v6-dark-reviews article{flex-basis:80vw}.v6-review-grid{margin-inline:-12px}.v6-review-label span{font-size:10px}}
body[data-v6-dark=true] .v6-progress,body[data-v6-dark=true] .v6-submit{background:#1b1c1e;color:#eee;border-color:#34363b}

/* Signed R7 payment CTA dimensions and single-line channel subtitle. */
#yw-co-submit{height:50px;width:100%}.yw-pay-opt small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* R7 functional modal placement only; retain signed component styling. */
.yw-modal-backdrop{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;box-sizing:border-box;padding:8px;overflow:auto}
.yw-modal-backdrop.is-open{display:flex}
.yw-modal-backdrop>.yw-modal-card{min-width:0;max-width:100%;max-height:calc(100dvh - 16px);overflow:auto}
html.yw-modal-open{overflow:hidden}

/* Original Gemini reviewed-video P0: geometry only, retained Neon palette. */
.yw-modal-backdrop{background:#17202a66;overflow:hidden}
.yw-modal-backdrop>.yw-modal-card{box-sizing:border-box;width:min(92vw,520px);max-height:88vh;background:var(--surface,#fff);border-radius:16px;box-shadow:0 20px 70px #0003;padding:0;display:flex;flex-direction:column;overflow:hidden}
.yw-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;flex:none}
.yw-modal-head h3{margin:0;min-width:0;font-size:17px;line-height:1.4}
.yw-close-btn{flex:none;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:12px;background:#eef1f3;color:#17202a;font-size:24px;cursor:pointer}
#yw-co-body{min-height:0;display:flex;flex-direction:column;overflow:hidden}
#yw-co-form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}
#yw-checkout-modal .yw-checkout-scroll{padding:12px 20px 24px;flex:1 1 auto}
#yw-checkout-modal .yw-field{display:block;min-width:0;margin:12px 0}
#yw-checkout-modal .yw-field>label{display:block;margin-bottom:6px}
#yw-co-email{display:block;width:100%;box-sizing:border-box;height:44px;padding:0 12px;font-size:14px;min-width:0}
#yw-checkout-modal .yw-pay-channels{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
#yw-checkout-modal .yw-pay-opt{display:flex;align-items:center;gap:10px;min-width:0;padding:12px}
#yw-checkout-modal .yw-pay-opt>input{flex:none;width:16px;height:16px;margin:0}
#yw-checkout-modal .yw-channel-badge{width:24px;height:24px;flex:none}
#yw-checkout-modal .yw-pay-opt>span:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}
#yw-checkout-modal .yw-pay-opt small{font-size:12px!important;white-space:normal;overflow:visible}
#yw-checkout-modal .yw-checkout-footer{padding:12px 20px 20px;flex:none}
#yw-co-submit{width:100%;height:50px;border:0;border-radius:12px}
.yw-compact-loading{box-sizing:border-box;min-height:240px;max-height:260px;padding:28px 24px}
#yw-cashier-modal:not(.is-recharge) .yw-modal-card{min-width:min(92vw,440px)}
#yw-cash-body{min-height:0;overflow:auto;padding:16px 20px}
#yw-cashier-modal.is-recharge .yw-modal-card{height:88vh}
#yw-cashier-modal.is-recharge #yw-cash-body{display:flex;flex:1;flex-direction:column;overflow:hidden;padding:0}
#yw-cashier-modal.is-recharge #yw-cash-body>.yw-modal-footer,#yw-cashier-modal.is-recharge #yw-cashier-error{display:none}
#yw-cashier-modal.is-recharge #yw-cashier-dynamic,#yw-cashier-modal.is-recharge [data-yw-direct-guide]{display:flex;flex:1;min-height:0;overflow:hidden}
#yw-cashier-modal .v6-submit{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;border:0;box-shadow:none;border-radius:0;max-width:none;width:100%;overflow:hidden}
#yw-cashier-modal .v6-submit form{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
.v6-submit-scroll{min-height:0;overflow-y:auto;padding:16px 20px;overscroll-behavior:contain}
.v6-submit-footer{flex:none;position:sticky;bottom:0;padding:12px 20px;background:var(--surface,#fff)}
.v6-submit-footer a{font-size:12px;margin-top:8px}
.v6-submit-footer .yw-submit-btn{height:50px}
.v6-paid .v6-order-bar{gap:8px;margin:6px 0 0}
.v6-paid .v6-order-bar code{font:12px ui-monospace,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;flex:1}
.v6-paste-row{flex-wrap:wrap}
.v6-paste-row button,.v6-paste-row small{display:inline-flex;align-items:center;gap:6px;white-space:normal;max-width:100%}
.v6-paste-row svg{flex:none}
@media(min-width:1024px){.yw-menu-toggle,.yw-mobile-menu-btn,.yw-hamburger{display:none!important}.yw-grid,.yw-ready-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}
.yw-supplier-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.yw-supplier-detail section{margin-block:20px}.yw-supplier-risk{padding:16px;border:1px solid #e3ad73;border-radius:12px;background:#fff6e9;color:#633e2f}
/* Explicit overrides for retained R2 selectors; no dependence on stylesheet specificity accidents. */
#yw-checkout-modal .yw-modal-card{width:min(92vw,520px);height:min(720px,88vh);max-height:88vh;min-height:0;border-radius:16px}
#yw-checkout-modal .yw-modal-card:has(.yw-compact-loading){height:auto;max-height:calc(88vh)}
#yw-co-body:has(.yw-compact-loading){flex:none}
#yw-checkout-modal .yw-checkout-footer{display:block}
#yw-checkout-modal #yw-co-email{height:44px;min-height:44px}
#yw-checkout-modal .yw-pay-channels[data-channel-count]{grid-template-columns:minmax(0,1fr)}
#yw-checkout-modal .yw-pay-channels[data-channel-count] .yw-pay-opt{height:auto;min-height:64px;gap:10px}
#yw-checkout-modal .yw-modal-head{display:flex;align-items:center;justify-content:space-between;top:0}
#yw-cashier-modal .yw-modal-card{width:min(92vw,520px);max-height:88vh;padding:0}
#yw-cashier-modal.is-recharge #yw-cashier-dynamic{padding:0}
#yw-cashier-modal.is-recharge #yw-cashier-orders,#yw-cashier-modal.is-recharge #yw-cashier-recovery,#yw-cashier-modal.is-recharge #yw-cashier-poll{display:none}
.yw-confirm-loading{padding:28px 24px;min-height:120px;box-sizing:border-box;display:flex;gap:12px;align-items:center}
.yw-loading-ring{display:inline-block;width:22px;height:22px;border:2px solid #dce6e2;border-top-color:#137d5d;border-radius:50%;animation:yw-confirm-spin 1s linear infinite;flex:none}
@keyframes yw-confirm-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.yw-loading-ring{animation:none}}

/* R7 outer 20261122: settled mobile checkout must stay inside the safe-area sheet. */
@media(max-width:640px){
 #yw-checkout-modal.is-open{justify-content:center;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 #yw-checkout-modal.is-open .yw-modal-card{animation:none;transition:none;transform:none;max-height:min(88vh,calc(var(--yw-checkout-height,100dvh) - max(8px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))))}
}


/* 2026-11-25 Checkout Modal Overhaul: zero-scrollbar single-screen layout + 3-col payment grid */
#yw-checkout-modal .yw-modal-card {
  width: min(92vw, 520px);
  height: auto;
  max-height: 92vh;
  min-height: 0;
  border-radius: 18px;
  background: var(--surface, #fff);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}
/* 2026-11-25 CZGPT-grade 3-step progress bar & branded QR cashier card */
.yw-co-stepper { display:flex; align-items:center; justify-content:center; gap:10px; padding:10px 16px; background:#FAF8F5; border-bottom:1px solid #EFECE6; font-size:12px; color:#94A3B8; font-weight:600; flex:none; }
.yw-co-stepper span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.yw-co-stepper b { width:20px; height:20px; border-radius:50%; background:#E2E8F0; color:#64748B; display:inline-grid; place-items:center; font-size:11px; font-weight:800; }
.yw-co-stepper span.is-active { color:#0F172A; }
.yw-co-stepper span.is-active b { background:#059669; color:#FFFFFF; }
.yw-co-stepper span.is-done { color:#059669; }
.yw-co-stepper span.is-done b { background:#10B981; color:#FFFFFF; }
.yw-co-stepper i { width:28px; height:1px; background:#E2E8F0; display:inline-block; }
.yw-cz-cashier { text-align:center; padding:0 4px 8px; }
.yw-cz-cashier .yw-co-stepper { margin:-16px -20px 14px; border-radius:0; }
.yw-cz-pay-title { margin:0 0 6px; font-size:20px; font-weight:800; color:#0F172A; }
.yw-cz-pay-sub { margin:0 auto 14px; font-size:12px; color:#64748B; max-width:380px; line-height:1.5; }
.yw-cz-method-pills { display:inline-flex; gap:8px; margin:0 0 16px; }
.yw-cz-method-pills span { padding:6px 14px; border-radius:10px; font-size:12px; font-weight:600; background:#F8FAFC; color:#94A3B8; border:1px solid #E2E8F0; }
.yw-cz-method-pills span.is-on { background:#FFFFFF; color:#0F172A; border-color:#059669; box-shadow:0 2px 8px rgba(5,150,105,0.12); }
.yw-cz-qr-card { width:268px; margin:0 auto 14px; border-radius:20px; padding:16px 16px 14px; color:#FFFFFF; box-shadow:0 16px 36px rgba(15,23,42,0.14); }
.yw-cz-qr-card.is-wx { background:linear-gradient(160deg, #16C663 0%, #07C160 100%); }
.yw-cz-qr-card.is-ali { background:linear-gradient(160deg, #2B88FF 0%, #1677FF 100%); }
.yw-cz-qr-card.is-usdt { background:linear-gradient(160deg, #14B8A6 0%, #059669 100%); }
.yw-cz-qr-head { font-size:15px; font-weight:700; margin-bottom:12px; letter-spacing:0.02em; }
.yw-cz-qr-box { background:#FFFFFF !important; border-radius:14px !important; padding:10px !important; display:inline-flex !important; align-items:center; justify-content:center; margin:0 auto !important; }
.yw-cz-qr-box img { display:block; border-radius:8px; }
.yw-cz-qr-foot { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-top:12px; padding:0 4px; font-size:13px; }
.yw-cz-qr-foot span { opacity:0.92; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.yw-cz-qr-foot strong { font-size:20px; font-weight:800; font-variant-numeric:tabular-nums; }
.yw-cz-status-pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 18px; border-radius:12px; background:#B88463; color:#FFFFFF; font-size:13px; font-weight:600; margin:2px auto 10px; }
.yw-cz-spin { width:13px; height:13px; border:2px solid rgba(255,255,255,0.4); border-top-color:#FFFFFF; border-radius:50%; animation:yw-confirm-spin 1s linear infinite; display:inline-block; }
.yw-cz-action-row { display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:6px; }
#yw-checkout-modal .yw-modal-head {
  padding: 12px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: var(--surface, #fff);
}
#yw-checkout-modal .yw-modal-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
#yw-checkout-modal .yw-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 20px;
}
#yw-checkout-modal .yw-checkout-scroll {
  padding: 12px 18px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#yw-checkout-modal .yw-checkout-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
#yw-checkout-modal .yw-co-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#yw-checkout-modal .yw-co-summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
#yw-checkout-modal .yw-checkout-brand {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
#yw-checkout-modal .yw-co-title-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#yw-checkout-modal .yw-co-title-wrap strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#yw-checkout-modal .yw-co-stock-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
#yw-checkout-modal .yw-co-summary-right {
  flex: none;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
#yw-checkout-modal .yw-co-price-now {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
#yw-checkout-modal .yw-co-price-sub {
  display: flex;
  align-items: center;
  gap: 5px;
}
#yw-checkout-modal .yw-co-price-sub .yw-price-del {
  font-size: 11px;
  color: #94a3b8;
}
#yw-checkout-modal .yw-co-price-sub .yw-savings {
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 600;
}
#yw-checkout-modal .yw-co-basis-tip {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#yw-checkout-modal .yw-co-email-qty-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}
@media (min-width: 521px) {
  #yw-checkout-modal .yw-co-email-qty-row {
    grid-template-columns: minmax(0, 1fr) 136px;
    gap: 10px;
    align-items: end;
  }
}
#yw-checkout-modal .yw-co-email-qty-row .yw-field {
  margin: 0;
}
#yw-checkout-modal .yw-field > label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}
#yw-checkout-modal #yw-co-email {
  height: 40px;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 11px;
  font-size: 13.5px;
  background: #fff;
}
#yw-checkout-modal #yw-co-email:focus {
  outline: none;
  border-color: #10a37f;
  box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.14);
}
#yw-checkout-modal .v6-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}
#yw-checkout-modal .v6-stepper button {
  width: 36px;
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
#yw-checkout-modal .v6-stepper input {
  width: 52px !important;
  height: 40px;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}
#yw-checkout-modal #yw-co-mode.yw-note {
  margin: 2px 0 8px;
  font-size: 11.5px;
  color: #64748b;
}
#yw-checkout-modal #yw-co-mode summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  color: #64748b;
  transition: color 150ms ease;
}
#yw-checkout-modal #yw-co-mode summary:hover {
  color: #0f172a;
}
#yw-checkout-modal #yw-co-mode label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #334155;
}
#yw-checkout-modal .yw-payment-field {
  margin: 4px 0 0;
}
#yw-checkout-modal .yw-payment-field legend {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
#yw-checkout-modal .yw-pay-channels[data-channel-count] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#yw-checkout-modal .yw-pay-channels[data-channel-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#yw-checkout-modal .yw-pay-channels[data-channel-count="1"] {
  grid-template-columns: minmax(0, 1fr);
}
#yw-checkout-modal .yw-pay-channels[data-channel-count] .yw-pay-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  height: 82px;
  min-height: 82px;
  padding: 8px 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
#yw-checkout-modal .yw-pay-opt:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
#yw-checkout-modal .yw-pay-opt > input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
#yw-checkout-modal .yw-pay-opt .yw-channel-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 1px;
}
#yw-checkout-modal .yw-pay-opt .yw-pay-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 0;
  max-width: 100%;
}
#yw-checkout-modal .yw-pay-opt strong {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
}
#yw-checkout-modal .yw-pay-opt small {
  font-size: 10.5px !important;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
#yw-checkout-modal .yw-pay-opt.is-selected {
  border: 2px solid var(--channel-color, #10a37f);
  background: color-mix(in srgb, var(--channel-color, #10a37f) 7%, #ffffff);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--channel-color, #10a37f) 14%, transparent);
}
#yw-checkout-modal .yw-pay-opt.is-selected::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--channel-color, #10a37f);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}
@media (max-width: 400px) {
  #yw-checkout-modal .yw-pay-channels[data-channel-count] {
    gap: 6px;
  }
  #yw-checkout-modal .yw-pay-channels[data-channel-count] .yw-pay-opt {
    height: 76px;
    min-height: 76px;
    padding: 6px 4px;
  }
  #yw-checkout-modal .yw-pay-opt strong {
    font-size: 12px;
  }
  #yw-checkout-modal .yw-pay-opt small {
    font-size: 10px !important;
  }
}
#yw-checkout-modal .yw-checkout-footer {
  display: block;
  padding: 10px 18px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid #e2e8f0;
  background: var(--surface, #fff);
}
#yw-checkout-modal .yw-checkout-reassurance {
  font-size: 11.5px;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.4;
}
#yw-checkout-modal #yw-co-submit {
  height: 46px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #087e63;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, transform 120ms ease;
}
#yw-checkout-modal #yw-co-submit:hover:not(:disabled) {
  background: #066852;
}
#yw-checkout-modal #yw-co-submit:active:not(:disabled) {
  transform: scale(0.99);
}
#yw-checkout-modal .v6-trust {
  font-size: 11px;
  color: #64748b;
  margin: 7px 0 0;
  text-align: center;
}

/* ==========================================================================
   2026-11-25 V7 FULL-PAGE LUXURY CHECKOUT & BRANDED QR CASHIER
   Warm Cream (#FAF8F5) 3-Step Full-Viewport Canvas (beats legacy modal CSS
   and Grok dark-site input overrides across all 6 subdomains).
   ========================================================================== */
@media (min-width: 701px) {
  html[data-site] .yw-topbar-actions #yw-nav-auth-btn.yw-nav-login-ghost {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 1px solid rgba(28, 25, 23, 0.14) !important;
    color: inherit !important;
    padding: 0 14px;
    height: 36px;
    border-radius: 999px !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
  }
  html[data-site="grok"] .yw-topbar-actions #yw-nav-auth-btn.yw-nav-login-ghost {
    border-color: rgba(248, 250, 252, 0.24) !important;
    color: #F8FAFC !important;
  }
  html[data-site] .yw-topbar-actions #yw-nav-auth-btn.yw-nav-login-ghost:hover {
    background: rgba(148, 77, 35, 0.08) !important;
    border-color: rgba(148, 77, 35, 0.34) !important;
  }
}

/* Full-Viewport Warm-Cream Canvas for Step 1, Step 2 & Step 3 */
html[data-site] #yw-checkout-modal.yw-fp-stage,
html[data-site] #yw-cashier-modal.yw-fp-stage,
#yw-checkout-modal.yw-fp-stage,
#yw-cashier-modal.yw-fp-stage {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 9999 !important;
  display: none;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #FAF8F5 !important;
  color: #1C1917 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", sans-serif;
}

html[data-site] #yw-checkout-modal.yw-fp-stage.is-open,
html[data-site] #yw-cashier-modal.yw-fp-stage.is-open,
#yw-checkout-modal.yw-fp-stage.is-open,
#yw-cashier-modal.yw-fp-stage.is-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #FAF8F5 !important;
  animation: none !important;
}

body:has(.yw-fp-stage.is-open) #yw-support-fab {
  z-index: 1 !important;
  pointer-events: none;
}

.yw-fp-stage.is-open .yw-fp-main {
  animation: yw-fp-slide-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes yw-fp-slide-in {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yw-fp-stage.is-open .yw-fp-main {
    animation: none !important;
  }
}

/* Shell Wrapper (never inherits .yw-modal-card constraints!) */
.yw-fp-shell {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #FAF8F5;
  color: #1C1917;
  box-sizing: border-box;
}

/* Topbar Replica inside Full-Page Checkout */
.yw-fp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EFEAE3;
}

.yw-fp-topbar-inner {
  max-width: 1180px;
  height: 60px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.yw-fp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1C1917 !important;
  flex: none;
}

.yw-fp-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #141413;
  flex: none;
}

.yw-fp-brand-logo img {
  width: 32px;
  height: 32px;
  display: block;
}

.yw-fp-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.yw-fp-brand-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yw-fp-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #141413;
  letter-spacing: -0.02em;
}

.yw-fp-brand-tag {
  font-size: 10px;
  font-weight: 700;
  color: #944D23;
  background: #FBF1E9;
  border: 1px solid #F1DEC9;
  padding: 1px 6px;
  border-radius: 5px;
}

.yw-fp-brand-sub {
  font-size: 11px;
  color: #8C8279;
  margin-top: 2px;
}

.yw-fp-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.yw-fp-nav a {
  text-decoration: none;
  color: #57534E !important;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}

.yw-fp-nav a:hover {
  color: #141413 !important;
  background: #F5F1EB;
}

.yw-fp-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.yw-fp-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #E5DFD6 !important;
  background: #FFFFFF !important;
  color: #1C1917 !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.yw-fp-order-btn:hover {
  border-color: #CBBFAF !important;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.06);
}

.yw-fp-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #57534E !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}

.yw-fp-login-btn:hover {
  color: #141413 !important;
  background: #F5F1EB !important;
}

/* Main Content Workspace */
.yw-fp-main {
  width: 100%;
  max-width: 1008px;
  margin: 0 auto;
  padding: 20px 24px 64px;
  box-sizing: border-box;
  flex: 1 0 auto;
}

/* Back Button + Centered 3-Step White Pill Stepper */
.yw-fp-nav-strip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.yw-fp-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #EAE4DB !important;
  background: #FFFFFF !important;
  color: #57534E !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.05);
  transition: transform 150ms ease, box-shadow 150ms ease, color 150ms ease, border-color 150ms ease;
  padding: 0;
}

.yw-fp-back-btn:hover {
  color: #141413 !important;
  border-color: #D4C8B8 !important;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.09);
  transform: translateX(-1px);
}

.yw-fp-stepper-card {
  max-width: 580px;
  margin: -10px auto 22px;
  background: #FFFFFF;
  border: 1px solid rgba(235, 229, 221, 0.85);
  border-radius: 18px;
  padding: 15px 40px;
  box-shadow: 0 6px 26px rgba(28, 25, 23, 0.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.yw-fp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: none;
  min-width: 56px;
}

.yw-fp-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EEF0F3;
  color: #9CA3AF;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.yw-fp-step-label {
  font-size: 12px;
  font-weight: 600;
  color: #9CA3AF;
  white-space: nowrap;
  transition: color 220ms ease;
}

.yw-fp-step.is-active .yw-fp-step-dot {
  background: #944D23;
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(148, 77, 35, 0.12);
}

.yw-fp-step.is-active .yw-fp-step-label {
  color: #944D23;
  font-weight: 700;
}

.yw-fp-step.is-done .yw-fp-step-dot {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.24);
}

.yw-fp-step.is-done .yw-fp-step-label {
  color: #059669;
  font-weight: 700;
}

.yw-fp-step-line {
  flex: 1 1 auto;
  height: 1.5px;
  background: #EAE6DF;
  margin: 0 18px;
  transform: translateY(-10px);
  transition: background-color 240ms ease;
}

.yw-fp-step-line.is-done {
  background: #6EE7B7;
}

/* Loading State inside Full-Page Canvas */
.yw-fp-loading-card {
  max-width: 540px;
  margin: 24px auto;
  background: #FFFFFF;
  border: 1px solid #EFEAE2;
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 12px 38px rgba(28, 25, 23, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #57534E;
  font-size: 14px;
}

/* ==========================================================================
   STEP 1: 2-COLUMN CENTERED LUXURY CARD (max-width: 960px)
   ========================================================================== */
.yw-fp-card {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(235, 229, 221, 0.85);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 14px 46px rgba(28, 25, 23, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  box-sizing: border-box;
}

.yw-fp-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.yw-fp-prod-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.yw-fp-prod-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FBF6F0;
  border: 1px solid #F0E6DA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.yw-fp-prod-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.yw-fp-prod-title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: #141413;
  letter-spacing: -0.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.yw-fp-price-hero {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 4px 0 8px;
}

.yw-fp-price-main {
  display: inline-flex;
  align-items: baseline;
  color: #A65226;
  font-variant-numeric: tabular-nums;
}

.yw-fp-price-yen {
  font-size: 19px;
  font-weight: 700;
  margin-right: 2px;
}

.yw-fp-price-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.yw-fp-price-unit {
  font-size: 14px;
  font-weight: 500;
  color: #8C8279;
  margin-left: 3px;
}

.yw-fp-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ECFDF5;
  color: #047857;
  align-self: center;
}

.yw-fp-stock-pill.is-low {
  background: #FFFBEB;
  color: #B45309;
}

.yw-fp-delivery-sub {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #A36843;
  font-weight: 500;
}

.yw-fp-guarantees {
  background: #FCFBF9;
  border: 1px solid #F0EAE1;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}

.yw-fp-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #44403C;
}

.yw-fp-g-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FBF1E9;
  color: #944D23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 1px;
}

.yw-fp-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yw-fp-mini-card {
  background: #FAF9F7;
  border: 1px solid #EFEAE2;
  border-radius: 14px;
  padding: 14px 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1C1917;
  transition: border-color 150ms ease, background-color 150ms ease;
}

button.yw-fp-mini-card {
  cursor: pointer;
  width: 100%;
  font: inherit;
}

button.yw-fp-mini-card:hover {
  border-color: #DECBB8;
  background: #FCF8F3;
}

.yw-fp-mini-head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #292524;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.yw-fp-mini-head svg {
  color: #944D23;
  flex: none;
}

.yw-fp-mini-badge {
  font-size: 10px;
  font-weight: 600;
  color: #944D23;
  background: #FBF1E9;
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: auto;
  flex: none;
  white-space: nowrap;
}

.yw-fp-mini-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #78716C;
}

/* Right Column Sub-Card */
.yw-fp-right {
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #ECE6DD;
  border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: 0 4px 20px rgba(28, 25, 23, 0.03);
  box-sizing: border-box;
}

.yw-fp-form-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #141413;
  letter-spacing: -0.015em;
}

.yw-fp-input-wrap {
  position: relative;
  margin-bottom: 8px;
}

html[data-site] #yw-checkout-modal.yw-fp-stage #yw-co-email,
#yw-checkout-modal.yw-fp-stage #yw-co-email,
html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-text-input,
#yw-checkout-modal.yw-fp-stage .yw-fp-text-input {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 42px 0 15px !important;
  border-radius: 12px !important;
  border: 1.5px solid #E2DCD3 !important;
  background: #FFFFFF !important;
  color: #1C1917 !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage #yw-co-email::placeholder,
#yw-checkout-modal.yw-fp-stage #yw-co-email::placeholder {
  color: #A8A29E !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage #yw-co-email:focus,
#yw-checkout-modal.yw-fp-stage #yw-co-email:focus {
  outline: none !important;
  border-color: #944D23 !important;
  box-shadow: 0 0 0 3px rgba(148, 77, 35, 0.12) !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-input-wrap.is-invalid #yw-co-email,
#yw-checkout-modal.yw-fp-stage .yw-fp-input-wrap.is-invalid #yw-co-email {
  border: 1.5px solid #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-input-wrap.is-valid #yw-co-email,
#yw-checkout-modal.yw-fp-stage .yw-fp-input-wrap.is-valid #yw-co-email {
  border: 1.5px solid #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}

.yw-fp-input-status {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
}

.yw-fp-input-wrap.is-invalid .yw-fp-input-status {
  opacity: 1 !important;
  color: #EF4444 !important;
}

.yw-fp-input-wrap.is-valid .yw-fp-input-status {
  opacity: 1 !important;
  color: #10B981 !important;
}

.yw-fp-email-hint {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #78716C;
}

.yw-fp-email-hint.is-error {
  color: #DC2626;
  font-weight: 500;
}

.yw-fp-extra-field {
  margin-bottom: 12px;
}

.yw-fp-extra-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #44403C;
  margin-bottom: 6px;
}

/* Warm-Tinted Collapsible Accordion */
.yw-fp-accordion {
  background: #FBF4EE;
  border: 1px solid #F2E3D4;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.yw-fp-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #7C4422;
  user-select: none;
}

.yw-fp-accordion summary::-webkit-details-marker {
  display: none;
}

html[data-site] #yw-co-mode.yw-fp-accordion summary::after,
#yw-co-mode.yw-fp-accordion summary::after {
  content: none !important;
  display: none !important;
}

.yw-fp-accordion-chev {
  flex: none;
  color: #944D23;
  transition: transform 200ms ease;
}

.yw-fp-accordion[open] .yw-fp-accordion-chev {
  transform: rotate(180deg);
}

.yw-fp-accordion-body {
  padding: 0 15px 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #57534E;
  border-top: 1px solid rgba(242, 227, 212, 0.7);
  padding-top: 10px;
}

.yw-fp-accordion-body p {
  margin: 0 0 8px;
}

.yw-fp-accordion-body p:last-child {
  margin-bottom: 0;
}

.yw-fp-voucher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7C4422;
  cursor: pointer;
}

.yw-fp-voucher-toggle input {
  width: 15px !important;
  height: 15px !important;
  min-height: 0 !important;
  accent-color: #944D23;
  margin: 0;
}

/* Price Summary Box */
.yw-fp-summary-box {
  background: #FFFFFF;
  border: 1px solid #EFEAE3;
  border-radius: 14px;
  padding: 15px 17px;
  margin-bottom: 18px;
}

.yw-fp-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: #57534E;
  margin-bottom: 10px;
}

.yw-fp-sum-row:last-child {
  margin-bottom: 0;
}

.yw-fp-sum-val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #292524;
  font-variant-numeric: tabular-nums;
}

.yw-fp-sum-del {
  color: #A8A29E;
  font-weight: 500;
}

.yw-fp-sum-save {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Sleek Inline Mini Qty Pill */
.yw-fp-qty-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #E5DFD6;
  border-radius: 999px;
  background: #FAF8F5;
  height: 30px;
  padding: 0 3px;
  gap: 2px;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill button,
#yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill button {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #44403C !important;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0 !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill button:hover,
#yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill button:hover {
  background: #EFE9E1 !important;
  color: #141413 !important;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill input,
#yw-checkout-modal.yw-fp-stage .yw-fp-qty-pill input {
  width: 30px !important;
  height: 24px !important;
  min-height: 24px !important;
  border: 0 !important;
  background: transparent !important;
  color: #141413 !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  -moz-appearance: textfield;
}

.yw-fp-qty-pill input::-webkit-outer-spin-button,
.yw-fp-qty-pill input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.yw-fp-sum-note {
  background: #F9F8F6;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
  color: #78716C;
  margin: 10px 0 13px;
  line-height: 1.45;
}

.yw-fp-sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px dashed #EFEAE2;
  margin-top: 6px;
}

.yw-fp-sum-total-label {
  font-size: 15px;
  font-weight: 700;
  color: #1C1917;
}

.yw-fp-sum-total-price {
  font-size: 27px;
  font-weight: 800;
  color: #E53935;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.yw-fp-sum-total-price small {
  font-size: 16px;
  font-weight: 700;
  margin-right: 1px;
}

.yw-fp-error-box {
  margin: 0 0 12px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: 13px;
  line-height: 1.5;
}

/* Giant Warm-Terracotta Primary CTA */
html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-cta-btn,
#yw-checkout-modal.yw-fp-stage .yw-fp-cta-btn,
.yw-fp-cta-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: #944D23 !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(148, 77, 35, 0.24) !important;
  transition: background-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

html[data-site] #yw-checkout-modal.yw-fp-stage .yw-fp-cta-btn:hover:not(:disabled),
#yw-checkout-modal.yw-fp-stage .yw-fp-cta-btn:hover:not(:disabled),
.yw-fp-cta-btn:hover:not(:disabled) {
  background: #7E401C !important;
  box-shadow: 0 10px 24px rgba(126, 64, 28, 0.3) !important;
}

.yw-fp-cta-btn:active:not(:disabled) {
  transform: scale(0.99);
}

.yw-fp-cta-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ==========================================================================
   STEP 2: BRANDED QR CASHIER WITH LIVE CHANNEL SWITCHING
   ========================================================================== */
html[data-site] .yw-fp-pay-stage.yw-pending-card,
.yw-fp-pay-stage.yw-pending-card,
.yw-fp-pay-stage {
  max-width: 560px;
  margin: 0 auto !important;
  text-align: center;
  padding: 0 0 20px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.yw-fp-pay-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  color: #141413;
  letter-spacing: -0.02em;
}

.yw-fp-pay-sub {
  margin: 0 auto 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #78716C;
  max-width: 460px;
}

/* Channel Switcher Pills */
.yw-fp-channel-pills {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 auto 20px;
}

.yw-fp-ch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 11px !important;
  border: 1.5px solid #E7E1D8 !important;
  background: #FFFFFF !important;
  color: #44403C !important;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 25, 23, 0.03);
  transition: all 160ms ease;
}

.yw-fp-ch-pill:hover:not(:disabled) {
  border-color: #CFC5B7 !important;
  color: #141413 !important;
  transform: translateY(-1px);
}

.yw-fp-ch-pill:disabled {
  opacity: 0.65;
  cursor: wait;
}

.yw-fp-ch-pill.is-active[data-ch="ALIPAY"] {
  border-color: #E2A378 !important;
  background: #FFF8F2 !important;
  color: #944D23 !important;
  box-shadow: 0 4px 12px rgba(148, 77, 35, 0.12);
}

.yw-fp-ch-pill.is-active[data-ch="WXPAY"] {
  border-color: #22C55E !important;
  background: #F0FDF4 !important;
  color: #15803D !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.14);
}

.yw-fp-ch-pill.is-active[data-ch="USDT_BEP20"] {
  border-color: #26A17B !important;
  background: #ECFDF5 !important;
  color: #0F766E !important;
  box-shadow: 0 4px 12px rgba(38, 161, 123, 0.15);
}

.yw-fp-ch-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* Vivid Branded QR Card (310px) */
.yw-fp-qr-card {
  width: 310px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  border-radius: 24px;
  padding: 20px 20px 18px;
  color: #FFFFFF;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: background 240ms ease, box-shadow 240ms ease;
}

.yw-fp-qr-card.is-ali {
  background: linear-gradient(160deg, #2584FF 0%, #1677FF 58%, #0E63E0 100%);
  box-shadow: 0 20px 44px rgba(22, 119, 255, 0.28);
}

.yw-fp-qr-card.is-wx {
  background: linear-gradient(160deg, #2BD167 0%, #22C55E 58%, #16A34A 100%);
  box-shadow: 0 20px 44px rgba(34, 197, 94, 0.28);
}

.yw-fp-qr-card.is-usdt {
  background: linear-gradient(160deg, #2EB089 0%, #26A17B 58%, #1D8967 100%);
  box-shadow: 0 20px 44px rgba(38, 161, 123, 0.28);
}

.yw-fp-qr-head {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.yw-fp-qr-card.is-usdt .yw-fp-qr-head {
  font-size: 14.5px;
}

.yw-fp-qr-inner {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}

.yw-fp-qr-inner img {
  display: block;
  width: 226px;
  height: 226px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.yw-fp-qr-card.is-usdt .yw-fp-qr-inner img {
  width: 204px;
  height: 204px;
}

.yw-fp-usdt-addr-btn {
  width: 100%;
  border: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  color: #334155 !important;
  border-radius: 9px !important;
  padding: 7px 10px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
  box-sizing: border-box;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.yw-fp-usdt-addr-btn:hover {
  border-color: #26A17B !important;
  background: #F0FDF9 !important;
}

.yw-fp-usdt-addr-btn code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 10.5px;
  color: #334155;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.yw-fp-usdt-addr-btn span {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: #0F766E;
}

.yw-fp-qr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding: 0 3px;
}

.yw-fp-qr-foot-name {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
  text-align: left;
}

.yw-fp-qr-foot-amt {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.yw-fp-net-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #1D8967;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Loading Overlay inside QR Card when Switching Channels */
.yw-fp-qr-switching {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, 0.36);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  z-index: 4;
}

/* Warm Caramel-Brown Live Status Pill */
.yw-fp-status-pill {
  width: 310px;
  max-width: calc(100vw - 32px);
  min-height: 44px;
  margin: 18px auto 0;
  padding: 0 18px;
  border-radius: 12px;
  background: #BA8462;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 8px 20px rgba(186, 132, 98, 0.28);
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
}

.yw-fp-status-spin {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: yw-confirm-spin 1s linear infinite;
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .yw-fp-status-spin {
    animation: none;
  }
}

.yw-fp-usdt-fee-note {
  margin: 10px auto 0;
  font-size: 12px;
  color: #9A6340;
  max-width: 340px;
}

.yw-fp-pay-helpers {
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 440px;
}

.yw-fp-helper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px !important;
  border: 1px solid #E5DFD6 !important;
  background: #FFFFFF !important;
  color: #44403C !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.yw-fp-helper-btn:hover {
  border-color: #CBBFAF !important;
  color: #141413 !important;
}

.yw-fp-helper-btn.is-primary {
  background: #944D23 !important;
  border-color: #944D23 !important;
  color: #FFFFFF !important;
}

.yw-fp-order-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: #78716C;
}

.yw-fp-order-foot code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  color: #44403C;
  background: #F2EDE6;
  padding: 2px 7px;
  border-radius: 6px;
}

.yw-fp-link-btn {
  border: 0 !important;
  background: transparent !important;
  color: #944D23 !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yw-fp-preview-banner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #FBF1E9;
  border: 1px solid #F0DAC4;
  color: #944D23;
  font-size: 11.5px;
  font-weight: 600;
}

/* ==========================================================================
   STEP 3: COMPLETION / DELIVERY / DIRECT RECHARGE LUXURY CARD
   ========================================================================== */
.yw-fp-step3-card {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(235, 229, 221, 0.9);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 14px 44px rgba(28, 25, 23, 0.06);
  text-align: left;
  box-sizing: border-box;
  color: #1C1917;
}

.yw-fp-step3-card .v6-submit,
.yw-fp-step3-card .v6-progress,
.yw-fp-step3-card .v6-rescue {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #1C1917;
}

.yw-fp-step3-card .v6-submit-scroll {
  padding: 0;
  overflow: visible;
}

.yw-fp-step3-card .v6-submit-footer {
  position: static;
  padding: 16px 0 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yw-fp-step3-card .yw-submit-btn {
  background: #944D23 !important;
  border-color: #944D23 !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
}

.yw-fp-step3-card .yw-delivery-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #065F46;
  margin-bottom: 8px;
}

.yw-fp-step3-card .yw-delivery-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.yw-fp-step3-card .yw-delivery-card {
  background: #FAF8F5;
  border: 1px solid #EFEAE2;
  border-radius: 16px;
  padding: 16px 18px;
  margin: 16px 0;
}

.yw-fp-step3-card .yw-delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid #EFEAE2;
}

.yw-fp-step3-card .yw-delivery-row:last-of-type {
  border-bottom: 0;
}

.yw-fp-step3-card .yw-delivery-row code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  background: #FFFFFF;
  border: 1px solid #E5DFD6;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #141413;
  overflow-wrap: anywhere;
}

/* Full-page subtle footer */
.yw-fp-footer {
  width: 100%;
  border-top: 1px solid #EFEAE2;
  background: #FFFFFF;
  padding: 18px 24px;
  margin-top: auto;
  box-sizing: border-box;
}

.yw-fp-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12px;
  color: #8C8279;
}

.yw-fp-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.yw-fp-footer-links a,
.yw-fp-footer-links button {
  color: #57534E !important;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  font-size: 12px;
  cursor: pointer;
}

.yw-fp-footer-links a:hover,
.yw-fp-footer-links button:hover {
  color: #944D23 !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet <= 900px, Mobile <= 640px — 0px overflow)
   ========================================================================== */
@media (max-width: 960px) {
  .yw-fp-nav {
    display: none;
  }
}

@media (max-width: 840px) {
  .yw-fp-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 24px;
  }
  .yw-fp-stepper-card {
    margin: 6px auto 22px;
    padding: 16px 24px;
  }
}

@media (max-width: 600px) {
  .yw-fp-topbar-inner {
    height: 54px;
    padding: 0 14px;
  }
  .yw-fp-brand-sub,
  .yw-fp-brand-tag,
  .yw-fp-login-btn {
    display: none;
  }
  .yw-fp-order-btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .yw-fp-main {
    padding: 14px 14px 44px;
  }
  .yw-fp-stepper-card {
    margin: 8px auto 18px;
    padding: 14px 16px;
    border-radius: 16px;
  }
  .yw-fp-step {
    min-width: 48px;
    gap: 5px;
  }
  .yw-fp-step-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .yw-fp-step-label {
    font-size: 11px;
  }
  .yw-fp-step-line {
    margin: 0 8px;
    transform: translateY(-9px);
  }
  .yw-fp-card {
    padding: 20px 16px;
    border-radius: 20px;
    gap: 20px;
  }
  .yw-fp-prod-title {
    font-size: 24px;
  }
  .yw-fp-price-num {
    font-size: 36px;
  }
  .yw-fp-guarantees {
    padding: 14px 15px;
    gap: 10px;
  }
  .yw-fp-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .yw-fp-mini-card {
    padding: 12px 12px;
  }
  .yw-fp-mini-head {
    flex-wrap: wrap;
    white-space: normal;
  }
  .yw-fp-right {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .yw-fp-pay-title {
    font-size: 21px;
  }
  .yw-fp-channel-pills {
    gap: 6px;
    max-width: 100%;
  }
  .yw-fp-ch-pill {
    height: 36px;
    padding: 0 11px;
    font-size: 12px;
    white-space: nowrap;
  }
  .yw-fp-step3-card {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .yw-fp-footer {
    padding: 14px 16px;
  }
}


/* ==========================================================================
   V7.2 UNIFIED BRAND LOCKUP + 6-ICON TOPBAR + GLOBAL BLINKING SUPPORT FAB
   ========================================================================== */
#yw-group-topbar .yw-group-topbar {
  background: rgba(255, 253, 249, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid #EFEAE2 !important;
}
#yw-group-topbar .yw-topbar-inner {
  max-width: 1180px !important;
  min-height: 68px !important;
  gap: 20px !important;
}
#yw-group-topbar .yw-brand-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}
#yw-group-topbar .yw-brand-logo-wrap {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(154, 77, 40, 0.22) !important;
  display: grid !important;
  place-items: center !important;
}
#yw-group-topbar .yw-brand-logo-wrap img {
  width: 36px !important;
  height: 36px !important;
  display: block !important;
}
#yw-group-topbar .yw-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 3px;
}
#yw-group-topbar .yw-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#yw-group-topbar .yw-brand-text {
  font-size: 18px !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  color: #1D1C27 !important;
}
#yw-group-topbar .yw-brand-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: #FBF1E8;
  border: 1px solid #F1DEC9;
  color: #B46337;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
#yw-group-topbar .yw-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: #9A552A;
  white-space: nowrap;
}
#yw-group-topbar .yw-mall-nav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
#yw-group-topbar .yw-nav-ico-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 11px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #33303B !important;
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: color 0.16s ease, background 0.16s ease !important;
}
#yw-group-topbar .yw-nav-ico-link svg {
  color: #57534E;
  flex-shrink: 0;
  transition: color 0.16s ease;
}
#yw-group-topbar .yw-nav-ico-link:hover {
  background: rgba(154, 77, 40, 0.06) !important;
  color: #9A4D28 !important;
}
#yw-group-topbar .yw-nav-ico-link:hover svg,
#yw-group-topbar .yw-nav-ico-link.is-active,
#yw-group-topbar .yw-nav-ico-link.is-active svg {
  color: #9A4D28 !important;
}
#yw-group-topbar .yw-nav-ico-link.is-active {
  background: rgba(154, 77, 40, 0.09) !important;
}
#yw-group-topbar .yw-nav-ico-link::after {
  display: none !important;
}
#yw-group-topbar .yw-nav-order-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 9999px !important;
  background: #FFFFFF !important;
  border: 1px solid #E5D9CC !important;
  color: #1D1C27 !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  box-shadow: 0 2px 6px rgba(138, 113, 96, 0.06) !important;
}
#yw-group-topbar .yw-nav-order-pill:hover {
  border-color: #C7AE97 !important;
  background: #FFFDF9 !important;
}
#yw-group-topbar .yw-nav-order-pill .yw-search-svg {
  display: inline-block !important;
  color: #57534E !important;
  flex-shrink: 0 !important;
}
#yw-group-topbar .yw-topbar-actions .yw-nav-login-ghost,
#yw-group-topbar button#yw-nav-auth-btn.yw-nav-login-ghost {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  color: #6B5B4E !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
#yw-group-topbar .yw-topbar-actions .yw-nav-login-ghost:hover {
  color: #9A4D28 !important;
  background: rgba(154, 77, 40, 0.06) !important;
}
.yw-fp-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.yw-fp-brand-logo {
  border-radius: 9999px !important;
  overflow: hidden;
}
@media (max-width: 960px) {
  #yw-group-topbar .yw-mall-nav {
    display: none !important;
  }
  #yw-group-topbar .yw-brand-sub,
  #yw-group-topbar .yw-brand-badge {
    display: none !important;
  }
}

/* Global Cute Blinking-Eye Warm Terracotta SupportFab (All 6 Sites!) */
html #yw-support-fab.yw-support-fab {
  position: fixed !important;
  right: 28px !important;
  bottom: 28px !important;
  z-index: 65 !important;
  width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 !important;
  border-radius: 9999px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.26) !important;
  background: linear-gradient(180deg, #A95932 0%, #924622 100%) !important;
  color: #FFFFFF !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 12px 28px rgba(146, 70, 34, 0.34) !important;
  cursor: pointer !important;
  overflow: visible !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background 0.22s ease !important;
}
html #yw-support-fab.yw-support-fab:hover {
  transform: scale(1.08) translateY(-2px) !important;
  background: linear-gradient(180deg, #B36037 0%, #823410 100%) !important;
  box-shadow: 0 16px 34px rgba(130, 52, 16, 0.42) !important;
}
html #yw-support-fab .yw-fab-stage {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
html #yw-support-fab .yw-fab-chat,
html #yw-support-fab .yw-fab-eyes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: opacity, transform;
}
html #yw-support-fab .yw-fab-chat {
  animation: yw-global-fab-chat 9s ease-in-out infinite;
}
html #yw-support-fab .yw-fab-eyes {
  gap: 5.5px;
  animation: yw-global-fab-eyes 9s ease-in-out infinite;
}
html #yw-support-fab .yw-fab-eye {
  width: 5px;
  height: 11px;
  border-radius: 999px;
  background: #FFFFFF;
  display: block;
  transform-origin: center;
  animation: yw-global-fab-blink 4.6s ease-in-out infinite, yw-global-fab-glance 9s ease-in-out infinite;
  transition: width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
}
html #yw-support-fab.yw-support-fab:hover .yw-fab-chat {
  animation: none !important;
  opacity: 0 !important;
  transform: scale(0.7) !important;
}
html #yw-support-fab.yw-support-fab:hover .yw-fab-eyes {
  animation: none !important;
  opacity: 1 !important;
  transform: scale(1.06) !important;
}
html #yw-support-fab.yw-support-fab:hover .yw-fab-eye {
  width: 7.5px;
  height: 8.2px;
  border-radius: 50%;
}
@keyframes yw-global-fab-chat {
  0%, 50%   { opacity: 1; transform: scale(1) rotate(0deg); }
  56%, 90%  { opacity: 0; transform: scale(0.65) rotate(-10deg); }
  96%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes yw-global-fab-eyes {
  0%, 52%   { opacity: 0; transform: scale(0.65); }
  59%, 88%  { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.65); }
}
@keyframes yw-global-fab-blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.14); }
}
@keyframes yw-global-fab-glance {
  0%, 62%, 100% { transform: translate(0, 0); }
  70% { transform: translate(-2.2px, -1px); }
  78% { transform: translate(2.2px, -0.5px); }
  85% { transform: translate(0, 1px); }
}
@media (max-width: 640px) {
  html #yw-support-fab.yw-support-fab {
    right: 16px !important;
    bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }
}


/* ==========================================================================
   V8 CZGPT-STYLE HORIZONTAL SCROLLING REAL-BUYER FEEDBACK CAROUSEL
   ========================================================================== */
.v6-reviews.v8-reviews-carousel {
  max-width: 1120px;
  margin: 56px auto 24px !important;
  padding: 0 4px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.v8-rev-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.v8-rev-head h2 {
  margin: 0 !important;
  font-size: clamp(22px, 2.8vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  color: #1D1C27 !important;
}
.v8-rev-head p {
  margin: 6px 0 0 !important;
  font-size: 13.5px !important;
  color: #8A7160 !important;
}
.v8-rev-arrows {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}
.v8-rev-arrow {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid #E8DDD2;
  background: #FFFFFF;
  color: #6B5B4E;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.v8-rev-arrow:hover {
  border-color: #9A4D28;
  color: #9A4D28;
  transform: translateY(-1px);
}
.v8-rev-viewport {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}
.v8-rev-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-columns: 338px;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 40px 10px 2px;
  scrollbar-width: none;
}
.v8-rev-track::-webkit-scrollbar {
  display: none;
}
.v8-rev-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #FFFFFF !important;
  border: 1px solid #EFEAE2 !important;
  box-shadow: 0 6px 20px rgba(138, 113, 96, 0.05) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.v8-rev-card:hover {
  transform: translateY(-2px);
  border-color: #E2D4C5 !important;
  box-shadow: 0 12px 28px rgba(138, 113, 96, 0.09) !important;
}
.v8-rev-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.v8-rev-top strong {
  display: block;
  font-size: 14.5px;
  font-weight: 750;
  color: #1D1C27;
}
.v8-rev-top small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #9C8A7C;
}
.v8-rev-stars {
  color: #9A4D28;
  font-size: 12px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.v8-rev-quote {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  color: #44403C !important;
  min-height: 42px;
}
.v8-rev-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #F5F1EB;
  gap: 8px;
}
.v8-rev-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: #9C8A7C;
}
.v8-rev-proof-btn {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #EADFD3;
  background: #FAF6F1;
  color: #9A4D28;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.v8-rev-proof-btn:hover {
  background: #F3E8DC;
  border-color: #D5BEA8;
}
.v8-rev-progress {
  max-width: 340px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: #EFE9E1;
  overflow: hidden;
}
.v8-rev-progress > i {
  display: block;
  height: 100%;
  width: 24%;
  border-radius: 999px;
  background: #9A4D28;
  transition: width 0.2s ease;
}
@media (max-width: 640px) {
  .v8-rev-track {
    grid-template-rows: 1fr;
    grid-auto-columns: 82vw;
    padding-right: 16px;
  }
  .v8-rev-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}


/* ==========================================================================
   V8.1 WARM TERRACOTTA ORDERS MODAL + REDEEM WORKBENCH POLISH
   ========================================================================== */
#yw-orders-modal .yw-modal-card {
  background: #FAF8F5 !important;
  border: 1px solid #ECE7DF !important;
  border-radius: 24px !important;
  max-width: 620px !important;
  padding: 24px 26px !important;
}
#yw-orders-modal .v9-order-search {
  margin: 0 0 16px;
}
#yw-orders-modal .v9-order-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E5DDD3;
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  box-shadow: 0 4px 16px rgba(138, 113, 96, 0.06);
}
#yw-orders-modal .v9-order-search-box svg {
  color: #A89C92;
  flex: none;
}
#yw-orders-modal .v9-order-search-box input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  font-size: 13.5px;
  color: #1D1C27;
  outline: none;
  padding: 6px 4px;
}
#yw-orders-modal .v9-order-search-box .yw-submit-btn {
  width: auto !important;
  flex: none;
  padding: 0 18px !important;
  height: 36px !important;
  min-height: 36px !important;
  font-size: 13px !important;
}
#yw-orders-modal .v9-ord-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
#yw-orders-modal .v9-ord-head strong {
  font-size: 15px;
  color: #1D1C27;
  line-height: 1.35;
}
#yw-orders-modal .v9-ord-pill {
  flex: none;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F5EBE2;
  color: #9A4D28;
  font-size: 11.5px;
  font-weight: 700;
}
#yw-orders-modal .v9-ord-meta {
  font-size: 12.5px;
  color: #78716C;
  margin: 0 0 12px;
}
#yw-orders-modal .v9-ord-more-btn {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px dashed #DDD3C6;
  background: #FFFFFF;
  color: #6B5B4E;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#yw-orders-modal .v9-ord-more-btn:hover {
  border-color: #A6572E;
  color: #9A4D28;
}
#yw-orders-modal .yw-badge {
  white-space: nowrap !important;
  flex: none;
}
.yw-fp-prod-title {
  font-size: clamp(20px, 2.2vw, 26px) !important;
  line-height: 1.3 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#yw-orders-modal article {
  background: #FFFFFF !important;
  border: 1px solid #EFEAE2 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 14px rgba(138, 113, 96, 0.05) !important;
}
#yw-orders-modal .yw-submit-btn,
.yw-redeem-page .yw-submit-btn {
  background: linear-gradient(180deg, #A6572E 0%, #8C441E 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 9999px !important;
  height: 42px !important;
  min-height: 42px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(140, 68, 30, 0.2) !important;
}
#yw-orders-modal .yw-submit-btn:hover,
.yw-redeem-page .yw-submit-btn:hover {
  background: linear-gradient(180deg, #B26035 0%, #823410 100%) !important;
}

/* Smooth QR image skeleton while PNG/SVG is downloading */
.yw-fp-qr-inner.is-qr-loading {
  position: relative;
  min-width: 212px;
  min-height: 212px;
}
.yw-fp-qr-inner.is-qr-loading::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, #F5F1EC 25%, #ECE5DC 50%, #F5F1EC 75%);
  background-size: 200% 100%;
  animation: ywQrShimmer 1.2s ease-in-out infinite;
  pointer-events: none;
}
.yw-fp-qr-inner.is-qr-loading img {
  opacity: 0;
}
.yw-fp-qr-inner img {
  transition: opacity .22s ease;
}
@keyframes ywQrShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
