/*
 * Private international-pilot checkout presentation.
 * The two legacy Taiwan anchors stay hidden and are only invoked by the
 * modern delivery flow as compatibility bridges.
 */
.shop-delivery-legacy-action,
#cartPayCC.shop-delivery-legacy-action,
#cartGo711.shop-delivery-legacy-action{display:none!important}

.shop-checkout-delivery-dialog,
.shop-international-pilot-dialog{
  box-sizing:border-box;
  width:min(780px,calc(100% - 40px));
  max-width:780px;
  max-height:calc(100dvh - 40px);
  margin:auto;
  padding:0;
  overflow:auto;
  border:0;
  border-radius:28px;
  color:#30251e;
  background:#fcfaf6;
  box-shadow:0 32px 92px rgba(40,29,18,.34);
}
.shop-checkout-delivery-dialog::backdrop,
.shop-international-pilot-dialog::backdrop{background:rgba(30,25,20,.68);backdrop-filter:blur(4px)}
.shop-checkout-delivery-card,
.shop-international-pilot-card{display:grid;gap:18px;padding:34px;background:radial-gradient(circle at 100% 0,rgba(206,175,124,.14),transparent 31%),#fcfaf6}

.shop-checkout-top{display:grid;gap:10px}
.shop-checkout-top__back{
  justify-self:start;
  min-height:36px;
  padding:0;
  border:0;
  background:transparent;
  color:#6f5735;
  font:700 14px/1.2 inherit;
  letter-spacing:.01em;
  cursor:pointer;
}
.shop-checkout-top__back:hover{color:#3f2c19;text-decoration:underline;text-underline-offset:4px}
.shop-checkout-top__back:focus-visible,
.shop-checkout-choice:focus-visible,
.shop-international-pilot-terms-toggle:focus-visible,
.shop-international-pilot-minor-action:focus-visible{outline:3px solid rgba(174,124,54,.36);outline-offset:3px}
.shop-checkout-top__eyebrow{color:#947043;font-size:11px;font-weight:850;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}
.shop-checkout-top h2,
.shop-international-pilot-card h2{margin:0;color:#2d2119;font-size:30px;line-height:1.18;letter-spacing:-.025em}
.shop-checkout-top p,
.shop-international-pilot-intro,
.shop-international-pilot-lead{max-width:570px;margin:0;color:#75695e;font-size:15px;line-height:1.65}

.shop-checkout-progress{--progress:0;position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%;max-width:600px;margin:10px auto 2px;padding:0;list-style:none}
.shop-checkout-progress.is-step-2{--progress:.5}.shop-checkout-progress.is-step-3{--progress:1}
.shop-checkout-progress::before,.shop-checkout-progress::after{position:absolute;z-index:0;top:12px;left:16.667%;right:16.667%;height:2px;border-radius:999px;content:"";pointer-events:none}
.shop-checkout-progress::before{background:#ded7cc}
.shop-checkout-progress::after{background:#a97835;transform:scaleX(var(--progress));transform-origin:left;transition:transform .22s ease}
.shop-checkout-progress li{position:relative;z-index:1;display:grid;grid-template-rows:24px auto;justify-items:center;gap:6px;color:#8f887f;font-size:12px;font-weight:700;line-height:1.25;text-align:center}
.shop-checkout-progress__dot{position:relative;z-index:1;display:grid;place-items:center;box-sizing:border-box;width:24px;height:24px;border:2px solid #d2c9be;border-radius:50%;background:#fcfaf6;font-size:11px;font-weight:850}
.shop-checkout-progress li.is-active{color:#513a20}.shop-checkout-progress li.is-active .shop-checkout-progress__dot{border-color:#9c733d;background:#a77835;color:#fff;box-shadow:0 0 0 4px rgba(167,120,53,.14)}
.shop-checkout-progress li.is-complete{color:#786245}.shop-checkout-progress li.is-complete .shop-checkout-progress__dot{border-color:#c7a36b;background:#efe2cd;color:#725222}

.shop-checkout-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid #e6ddd1;border-radius:16px;background:rgba(255,255,255,.72)}
.shop-checkout-summary__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f1e7d8;color:#845d2a}.shop-checkout-summary__copy{display:grid;gap:3px;min-width:0}.shop-checkout-summary__copy strong{color:#493528;font-size:13px}.shop-checkout-summary__items{display:grid;gap:3px;min-width:0}.shop-checkout-summary__items span{color:#75695e;font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:normal}.shop-checkout-summary__hint{overflow:hidden;color:#9a8d7f;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.shop-checkout-summary__amount{color:#51371d;font-size:16px;font-weight:850;white-space:nowrap}

.shop-checkout-delivery-choices{display:grid;gap:12px}.shop-checkout-delivery-choices:has(> .shop-checkout-choice:only-of-type){max-width:640px}.shop-checkout-section-label{margin:2px 0 1px;color:#806342;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.shop-checkout-choice{box-sizing:border-box;width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;min-height:118px;padding:17px 18px;border:1px solid #dfd4c6;border-radius:20px;background:linear-gradient(135deg,#fff 0%,#fbf9f5 100%);color:#30251e;text-align:left;cursor:pointer;font:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}
.shop-checkout-choice:hover{border-color:#b4864a;background:#fffdfa;box-shadow:0 14px 28px rgba(89,59,25,.12);transform:translateY(-2px)}
.shop-checkout-choice--international{border-color:#d4b377;background:linear-gradient(135deg,#fffdf7,#f7ecd9)}.shop-checkout-choice--international:hover{border-color:#9d7134;box-shadow:0 14px 30px rgba(123,83,28,.16)}
.shop-checkout-choice__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#f0e5d4;color:#7b592d}.shop-checkout-choice--international .shop-checkout-choice__icon{background:linear-gradient(145deg,#5b4c78,#83679a);color:#fff}.shop-checkout-icon{display:block;width:22px;height:22px;flex:0 0 auto}.shop-checkout-icon--shield{width:15px;height:15px}
.shop-checkout-choice__main{display:grid;gap:5px;min-width:0}.shop-checkout-choice__title-line{display:flex;align-items:center;gap:8px;min-width:0}.shop-checkout-choice__title-line strong{color:#35271d;font-size:18px;line-height:1.25}.shop-checkout-choice__badge{padding:3px 7px;border-radius:999px;background:#f1e7d7;color:#86602a;font-size:10px;font-style:normal;font-weight:850;letter-spacing:.04em;white-space:nowrap}.shop-checkout-choice--international .shop-checkout-choice__badge{background:#e9e0ef;color:#665075}.shop-checkout-choice__description{color:#6f6459;font-size:14px;line-height:1.45}.shop-checkout-choice__meta{color:#806342;font-size:12px;font-weight:720;line-height:1.45}.shop-checkout-choice__arrow{display:flex;align-items:center;gap:3px;color:#866539;font-size:12px;font-weight:850;letter-spacing:.03em;transition:transform .18s ease,color .18s ease}.shop-checkout-choice__arrow .shop-checkout-icon{width:18px;height:18px}.shop-checkout-choice:hover .shop-checkout-choice__arrow{color:#5c421f;transform:translateX(3px)}
.shop-checkout-method-group{display:grid;gap:12px;padding:19px;border:1px solid #e7ded2;border-radius:20px;background:rgba(255,255,255,.52)}.shop-checkout-method-group .shop-checkout-choice{min-height:102px;border-radius:16px}.shop-checkout-method-group .shop-checkout-choice__icon{width:45px;height:45px;border-radius:14px}
.shop-checkout-loading{padding:28px 0;color:#796d60;font-size:15px;line-height:1.6}.shop-checkout-delivery-status,.shop-international-pilot-message{min-height:20px;color:#a53629;font-size:14px;line-height:1.5}.shop-checkout-delivery-status:empty{display:none}.shop-international-pilot-message.is-ok{color:#456c54}.shop-checkout-delivery-footer{display:flex;align-items:center;gap:8px;margin:0;padding-top:2px;color:#847668;font-size:12px;line-height:1.5}.shop-checkout-delivery-footer .shop-checkout-icon{color:#967447}
.shop-checkout-error-copy{margin:0;color:#8c3e32;font-size:15px;line-height:1.65}.shop-checkout-primary-action{justify-self:start;min-height:48px;padding:0 20px;border:1px solid #9b6d32;border-radius:13px;background:linear-gradient(105deg,#85581f,#c0802d);box-shadow:0 8px 16px rgba(114,72,22,.2);color:#fff;font:800 15px/1.2 inherit;cursor:pointer}.shop-checkout-primary-action:hover{filter:brightness(1.05)}.shop-checkout-primary-action:focus-visible{outline:3px solid rgba(174,124,54,.36);outline-offset:3px}

.shop-international-pilot-card{gap:24px;padding-bottom:164px;scroll-padding-bottom:176px}.shop-international-pilot-card h3{margin:0;color:#493422;font-size:17px;line-height:1.35}.shop-international-pilot-step{display:grid;gap:22px}.shop-international-pilot-step[hidden],.shop-international-pilot-policy[hidden]{display:none!important}.shop-international-pilot-field-group{display:grid;gap:13px;padding:18px;border:1px solid #e7ded3;border-radius:18px;background:rgba(255,255,255,.52)}.shop-international-pilot-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.shop-international-pilot-grid .full{grid-column:1/-1}
.shop-international-pilot-card label{display:grid;gap:7px;color:#4c3a29;font-size:14px;font-weight:760;line-height:1.35}.shop-international-pilot-card input:not([type=checkbox]),.shop-international-pilot-card select{box-sizing:border-box;min-height:52px;width:100%;padding:12px 13px;border:1px solid #d8cbbd;border-radius:12px;background:#fff;color:#302319;font:inherit;line-height:1.25;transition:border-color .18s ease,box-shadow .18s ease}.shop-international-pilot-card input::placeholder{color:#aa9e91}.shop-international-pilot-card input:focus,.shop-international-pilot-card select:focus{border-color:#a97835;box-shadow:0 0 0 3px rgba(180,128,49,.15);outline:0}
.shop-international-pilot-import-note{margin:0;padding:13px 15px;border-left:3px solid #b4813a;border-radius:0 11px 11px 0;background:#faf3e7;color:#66523a;font-size:13px;line-height:1.65}.shop-international-pilot-terms{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:2px 2px 0}.shop-international-pilot-terms label{display:flex;align-items:flex-start;gap:8px;color:#4c3a29;font-size:14px;font-weight:650;line-height:1.55}.shop-international-pilot-terms input{width:18px;height:18px;margin:2px 0 0;accent-color:#a97835}.shop-international-pilot-terms-toggle{min-height:32px;padding:0;border:0;background:transparent;color:#805f2e;font:inherit;font-size:14px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.shop-international-pilot-policy{flex-basis:100%;display:grid;gap:10px;max-height:290px;width:100%;padding:16px;border:1px solid #dfd1c0;border-radius:14px;overflow:auto;background:#fffdf9}.shop-international-pilot-policy h3{font-size:16px}.shop-international-pilot-policy p{margin:0;color:#65594e;font-size:14px;line-height:1.65}
.shop-international-pilot-review{display:grid;gap:14px}.shop-international-pilot-review-block{display:grid;gap:7px;padding:16px;border:1px solid #e1d6c9;border-radius:14px;background:#fff}.shop-international-pilot-review-block h4{margin:0 0 2px;color:#493422;font-size:15px}.shop-international-pilot-review-row{color:#695e53;font-size:14px;line-height:1.55}.shop-international-pilot-review-note{margin-top:3px;color:#7a5d31;font-size:13px;line-height:1.55}.shop-international-pilot-order-snapshot{display:grid;gap:0;margin:0;border:1px solid #c9a66f;border-radius:16px;overflow:hidden;background:#fffaf1}.shop-international-pilot-order-snapshot div{display:flex;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid #eadcc8}.shop-international-pilot-order-snapshot div:last-child{border-bottom:0;background:#f8ecd7}.shop-international-pilot-order-snapshot dt{color:#756047;font-size:14px}.shop-international-pilot-order-snapshot dd{margin:0;color:#382819;font-weight:800}.shop-international-pilot-order-snapshot div:last-child dd{color:#9a6422;font-size:18px}.shop-international-pilot-stripe-assurance{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:15px 16px;border:1px solid #d6cae2;border-radius:16px;background:linear-gradient(135deg,#fbf9ff,#f2edf8)}.shop-international-pilot-stripe-assurance__icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#66507f;color:#fff}.shop-international-pilot-stripe-assurance__copy{display:grid;gap:3px}.shop-international-pilot-stripe-assurance__copy strong{color:#4d3c62;font-size:15px}.shop-international-pilot-stripe-assurance__copy span{color:#71667d;font-size:13px;line-height:1.5}
.shop-international-pilot-actions{position:sticky;z-index:2;bottom:0;display:flex;justify-content:flex-end;padding:16px 0 calc(2px + env(safe-area-inset-bottom));border-top:1px solid rgba(218,203,184,.9);background:linear-gradient(180deg,rgba(252,250,246,.94),#fcfaf6 22%);box-shadow:0 -12px 24px rgba(73,52,28,.08)}.shop-international-pilot-review-edit{justify-self:start;min-height:36px;padding:0;border:0;background:transparent;color:#74562d;font:inherit;font-size:14px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.shop-international-pilot-review-edit:hover{color:#3f2c19}.shop-international-pilot-review-edit:focus-visible{outline:3px solid rgba(174,124,54,.36);outline-offset:3px}.shop-international-pilot-actions .btn.primary{width:min(100%,360px);min-height:54px;border:0;border-radius:14px;background:linear-gradient(105deg,#85581f,#c0802d);box-shadow:0 9px 18px rgba(114,72,22,.25);font-size:16px}.shop-international-pilot-actions .btn.primary:hover{filter:brightness(1.045)}.shop-international-pilot-stripe-submit{background:linear-gradient(105deg,#58456e,#756095)!important;box-shadow:0 10px 19px rgba(78,58,105,.28)!important}.shop-international-pilot-stripe-submit::before{display:inline-grid;place-items:center;min-width:43px;height:24px;margin-right:8px;padding:0 5px;border-radius:6px;background:#fff;color:#6351d8;content:'stripe';font-family:ui-rounded,"Arial Rounded MT Bold",sans-serif;font-size:13px;font-weight:900;letter-spacing:-.06em;vertical-align:middle}

@media (max-width:640px){
  .shop-checkout-delivery-dialog,.shop-international-pilot-dialog{width:100dvw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
  .shop-checkout-delivery-card,.shop-international-pilot-card{min-height:100%;align-content:start;padding:24px 18px calc(20px + env(safe-area-inset-bottom));gap:16px}
  .shop-checkout-top{gap:8px}.shop-checkout-top h2,.shop-international-pilot-card h2{font-size:26px}.shop-checkout-top__eyebrow{font-size:10px}.shop-checkout-top p,.shop-international-pilot-intro,.shop-international-pilot-lead{font-size:14px;line-height:1.58}
  .shop-checkout-progress{margin-top:9px;margin-bottom:4px}.shop-checkout-progress__label{font-size:11.5px}.shop-checkout-progress li{gap:6px}
  .shop-checkout-summary{padding:12px}.shop-checkout-summary__items span{font-size:11.5px}.shop-checkout-summary__hint{display:none}.shop-checkout-summary__amount{font-size:16px}
  .shop-checkout-choice{gap:12px;min-height:96px;padding:15px;border-radius:18px}.shop-checkout-choice__icon{width:44px;height:44px;border-radius:14px}.shop-checkout-choice__title-line strong{font-size:16px}.shop-checkout-choice__description{font-size:13px}.shop-checkout-choice__meta{font-size:12px;line-height:1.45}.shop-checkout-choice__arrow .shop-checkout-choice__action-label{display:none}.shop-checkout-choice__arrow .shop-checkout-icon{width:20px;height:20px}
  .shop-checkout-method-group{padding:14px;border-radius:18px}.shop-checkout-method-group .shop-checkout-choice{min-height:98px;padding:14px}.shop-checkout-method-group .shop-checkout-choice__icon{width:40px;height:40px}
  .shop-checkout-delivery-footer{margin-top:4px}
  .shop-international-pilot-card{padding-bottom:calc(164px + env(safe-area-inset-bottom));scroll-padding-bottom:calc(176px + env(safe-area-inset-bottom))}.shop-international-pilot-step{gap:18px}.shop-international-pilot-field-group{padding:15px;border-radius:16px}.shop-international-pilot-grid{grid-template-columns:1fr;gap:13px}.shop-international-pilot-grid .full{grid-column:auto}.shop-international-pilot-card input:not([type=checkbox]),.shop-international-pilot-card select{min-height:54px}.shop-international-pilot-policy{max-height:235px}
  .shop-international-pilot-actions{padding-top:14px}.shop-international-pilot-actions .btn.primary{width:100%;min-height:56px}.shop-international-pilot-order-snapshot div{padding:13px 14px}
  .shop-checkout-delivery-dialog{inset:auto;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:calc(100dvw - 28px);max-width:620px;height:auto;max-height:calc(100dvh - 28px);margin:0;border-radius:24px}.shop-checkout-delivery-card{min-height:0;padding:22px 18px;gap:16px}
}
