/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 22 2026 | 10:40:41 */
/* External stylesheet v1.1: upload and reference separately. Compatible with plugin 1.0.1. */
.tw711-checkout{--tw711-bg:#101313;--tw711-panel:#1d211f;--tw711-line:#34463e;--tw711-accent:#a4ff3c;--tw711-text:#f0f2eb;--tw711-muted:#b4bcaa;max-width:640px;margin:0 auto;padding:16px 14px 112px;background:var(--tw711-bg);color:var(--tw711-text);font:15px/1.6 system-ui,-apple-system,"Microsoft JhengHei",sans-serif;box-sizing:border-box}
.tw711-checkout *{box-sizing:border-box}.tw711-checkout [hidden]{display:none!important}.tw711-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.tw711-header h1{font-size:25px;line-height:1.2;margin:0;color:inherit}.tw711-header>span{font-size:12px;color:var(--tw711-muted)}.tw711-header strong{font-size:19px}.tw711-panel{padding:20px 16px;border:1px solid var(--tw711-line);border-radius:20px;background:var(--tw711-panel);margin-bottom:14px}.tw711-panel h2{font-size:20px;margin:0 0 16px;color:inherit}.tw711-panel h3{font-size:14px;margin:20px 0 10px;color:var(--tw711-muted)}.tw711-product{display:flex;gap:14px;border:1px solid var(--tw711-line);border-radius:18px;padding:14px;margin-bottom:12px}.tw711-product img{width:80px;height:80px;object-fit:cover;border-radius:9px}.tw711-product>div{flex:1;min-width:0}.tw711-product p{margin:6px 0}.tw711-product dl{margin:4px 0;font-size:13px;color:var(--tw711-muted)}.tw711-product b{display:block;text-align:right}.tw711-amount-label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:16px 0 0}.tw711-total{font-size:22px;color:var(--tw711-accent);font-weight:800}.tw711-checkout .form-row{padding:0;margin:0 0 12px;width:100%;float:none}.tw711-checkout label,.tw711-picker>div[data-panel]>label{display:block;font-size:14px;color:var(--tw711-muted);margin:10px 0 5px}.tw711-checkout input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.tw711-checkout select,.tw711-checkout textarea{width:100%;max-width:100%;border:1px solid #3c4e31;border-radius:14px;background:#0c100c;color:var(--tw711-text);padding:15px 14px;font:inherit;min-height:50px;box-shadow:none}.tw711-checkout textarea{min-height:110px}.tw711-checkout input::placeholder,.tw711-checkout textarea::placeholder{color:#969d8e}.tw711-checkout input:focus,.tw711-checkout select:focus,.tw711-checkout textarea:focus,.tw711-checkout button:focus-visible{outline:2px solid var(--tw711-accent);outline-offset:2px}.tw711-method{border:1px solid #7aaa35;border-radius:15px;background:#29301f;padding:15px}.tw711-method p{margin:4px 0 0;font-size:13px;color:var(--tw711-muted)}.tw711-tabs{display:flex;gap:5px;margin:20px 0 14px}.tw711-checkout button{cursor:pointer;font:inherit}.tw711-tabs button{flex:1;padding:10px 3px;border-radius:10px;border:1px solid var(--tw711-line);color:var(--tw711-muted);background:#111611;font-size:14px}.tw711-tabs button[aria-selected=true]{background:var(--tw711-accent);color:#102000;border-color:var(--tw711-accent);font-weight:700}.tw711-search{display:flex;align-items:stretch;gap:8px}.tw711-search button,.tw711-more{border:1px solid #718e49;border-radius:12px;padding:8px 15px;background:#29331e;color:var(--tw711-text);white-space:nowrap}.tw711-status{font-size:13px;color:var(--tw711-muted);margin:10px 0}.tw711-results{display:grid;gap:9px;max-height:360px;overflow:auto}.tw711-store{display:block;width:100%;text-align:left;border:1px solid var(--tw711-line);border-radius:15px;padding:14px;background:#121912;color:var(--tw711-text)}.tw711-store span{display:block;font-size:13px;color:var(--tw711-muted);margin-top:4px}.tw711-store[aria-pressed=true]{border-color:var(--tw711-accent);background:#29331e}.tw711-more{margin-top:10px;width:100%}.tw711-selected:empty{display:none}.tw711-selected{margin:15px 0;border:1px solid #7aaa35;border-radius:14px;padding:12px;background:#29301f}.tw711-selected p{margin:0}.tw711-selected p:first-child{color:var(--tw711-accent);font-size:12px}.tw711-checkout table.shop_table{background:transparent;color:inherit;border-color:var(--tw711-line);width:100%}.tw711-checkout table.shop_table th,.tw711-checkout table.shop_table td{border-color:var(--tw711-line);padding:10px 5px;background:transparent;word-break:break-word}.tw711-checkout #payment{background:transparent!important;color:inherit}.tw711-checkout #payment .payment_box{background:#29301f!important;color:var(--tw711-text)!important}.tw711-checkout #payment .payment_box:before{border-bottom-color:#29301f!important}.tw711-checkout #place_order{background:var(--tw711-accent);color:#102000;border:0;border-radius:24px;padding:13px 24px;font-weight:800;width:100%}.tw711-checkout a{color:var(--tw711-accent)}.tw711-bottom{position:fixed;z-index:99;bottom:8px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:612px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px 8px 22px;border:1px solid #5b9845;border-radius:40px;background:rgba(13,29,13,.96);box-shadow:inset 0 0 15px #42782f55,0 0 18px #0008;padding-bottom:max(8px,env(safe-area-inset-bottom))}.tw711-bottom>div{font-size:11px;color:var(--tw711-muted)}.tw711-submit{background:var(--tw711-accent);border:0;border-radius:30px;color:#102000;min-height:44px;flex:1;max-width:280px;font-weight:800!important}.tw711-submit:disabled{opacity:.6;cursor:wait}.tw711-checkout .woocommerce-error,.tw711-checkout .woocommerce-info,.tw711-checkout .woocommerce-message{color:var(--tw711-text);background:#252d24}.tw711-checkout .woocommerce-invalid input{border-color:#ff7272!important}@media(max-width:380px){.tw711-checkout{padding-right:10px;padding-left:10px}.tw711-panel{padding:16px 12px}.tw711-tabs button{font-size:12px}}

.tw711-checkout-scan{
  position:fixed; inset:0; z-index:90;        /* 全屏盖住整个页面 */
  background:#0d110d; color:#fff;
  display:grid; place-content:center; gap:14px; text-align:center;
  backdrop-filter:blur(14px);
  opacity:0;                                   /* 默认透明 */
  transition:opacity .5s ease;
}
.tw711-checkout-scan.is-active{ opacity:1; }        /* 加 class 后淡入 */

/* ① 扫描线：一条亮绿色横线从上扫到下 */
.tw711-checkout-scan::before{
  content:""; position:absolute; top:32%; left:0;
  width:100%; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent),transparent);
  box-shadow:0 0 6px #b7ff4a, 0 0 14px #b7ff4a85;
  animation:tw711-checkoutScanLine 2.2s linear forwards;
}
@keyframes tw711-tw711-checkoutScanLine{
  0%{ transform:translateY(-40vh); }
  to{ transform:translateY(100vh); }
}

/* ② 雷达网格：背景网格用 mask 跟着下移 */
.tw711-checkout-scan::after{
  content:""; position:absolute; inset:0;
  background-image:linear-gradient(#b7ff4a14 1px,transparent 1px),
                   linear-gradient(90deg,#b7ff4a14 1px,transparent 1px);
  background-size:15px 15px;
  mask-image:linear-gradient(transparent,#000 75%,transparent);
  animation:tw711-checkoutScanGrid 2.2s linear forwards;
}
@keyframes tw711-checkoutScanGrid{
  0%{ mask-position:0 -40vh; }
  to{ mask-position:0 100vh; }
}

/* ③ 锁图标呼吸 */
.tw711-checkout-scan__icon{ animation:checkoutScanPulse 1.1s ease-in-out infinite; }
@keyframes checkoutScanPulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.82;  transform:scale(1.08); }
}

/* ④ 进度条：0 → 82% → 100% */
.tw711-checkout-scan__bar{ width:0; height:100%;
  background:linear-gradient(90deg,var(--tech),var(--accent)); }
.tw711-checkout-scan.is-active .tw711-checkout-scan__bar{
  animation:checkoutScanBar 2.2s ease forwards;
}
@keyframes checkoutScanBar{
  0%{ width:0; } 60%{ width:82%; } to{ width:100%; }
}


.tw711-checkout-radio-static__notice {
    color: var(--muted);
    grid-template-columns: 13px minmax(0,1fr);
    align-items: start;
    gap: 4px;
    margin: 7px 4px 0;
    font-size: 11px;
    line-height: 1.5;
    display: grid
}

.tw711-checkout-radio-static__notice svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
    margin-top: 1px
}

.tw711-checkout-radio-static__notice strong {
    color: var(--accent);
    font-size: inherit
}
/* Responsive layout: single column on mobile; delivery left, order summary right on desktop. */
.tw711-checkout .tw711-form { min-width: 0; }
.tw711-checkout .tw711-form > .tw711-panel { min-width: 0; }
.tw711-checkout .tw711-search input { min-width: 0; }
.tw711-checkout .tw711-product strong,
.tw711-checkout .tw711-store,
.tw711-checkout .tw711-selected { overflow-wrap: anywhere; }
.tw711-checkout .woocommerce-input-wrapper { display: block; }
.tw711-checkout .tw711-store { position: relative; padding-right: 40px; }
.tw711-checkout .tw711-store[aria-pressed="true"]::after {
  content: "✓";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #163000;
  background: var(--tw711-accent);
  font-weight: 800;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tw711-checkout { max-width: 740px; padding: 24px 24px 116px; }
}

@media (min-width: 1024px) {
	
    .tw711-checkout-radio-static__notice {
        grid-template-columns: 16px minmax(0,1fr);
        gap: 6px
    }
  .tw711-checkout {
    max-width: 1180px;
    width: 100%;
    padding: 0 24px 60px;
    background: transparent;
  }
  .tw711-checkout .tw711-header {
    min-height: 80px;
    padding: 12px 0;
    margin: 0 0 28px;
    border-bottom: 1px solid var(--tw711-line);
  }
  .tw711-checkout .tw711-form {
    display: grid;
    grid-template-columns: minmax(0, 2.25fr) minmax(290px, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    row-gap: 0;
    align-items: start;
  }
  /* Notices inserted by WooCommerce must span both columns. */
  .tw711-checkout .tw711-form > .woocommerce-NoticeGroup,
  .tw711-checkout .tw711-form > .woocommerce-error,
  .tw711-checkout .tw711-form > .woocommerce-info {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 16px;
  }
  .tw711-checkout .tw711-form > .tw711-panel:first-of-type {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin: 0;
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 18px 16px;
  }
  .tw711-checkout #customer_details {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    float: none;
    clear: none;
    margin: 0;
    padding: 22px 20px 12px;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
  }
  .tw711-checkout .tw711-review {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    padding: 8px 20px 12px;
    border-top: 0;
    border-radius: 0 0 20px 20px;
    padding-bottom: 20px;
  }
  .tw711-checkout .tw711-bottom {
    display: none;
  }
  /* The native place-order button remains as the single desktop submit action.
     Bottom bar is mobile-only; native validation, terms and gateway hooks stay intact. */
  .tw711-checkout #place_order { min-height: 50px; float: none; margin: 16px 0 0; }
  .tw711-checkout #tw711-panel-street {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 6px;
  }
  .tw711-checkout #tw711-panel-street > label { grid-row: 1; margin: 0; }
  .tw711-checkout #tw711-panel-street > select { grid-row: 2; min-width: 0; }
  .tw711-checkout label[for="tw711-city"], .tw711-checkout #tw711-city { grid-column: 1; }
  .tw711-checkout label[for="tw711-district"], .tw711-checkout #tw711-district { grid-column: 2; }
  .tw711-checkout label[for="tw711-street"], .tw711-checkout #tw711-street { grid-column: 3; }
  .tw711-checkout .tw711-results { max-height: 480px; }
  .tw711-checkout .tw711-tabs { margin-top: 26px; }
  .tw711-checkout .tw711-product { padding: 12px; gap: 10px; border-radius: 16px; }
  .tw711-checkout .tw711-product img { width: 68px; height: 68px; }
  .tw711-checkout .tw711-product strong { font-size: 14px; }
  .tw711-checkout .tw711-product p, .tw711-checkout .tw711-product b { font-size: 13px; }
  .tw711-checkout .tw711-amount-label { font-size: 13px; }
  .tw711-checkout .tw711-total { font-size: 23px; white-space: nowrap; }
}

/* v1.2: explicit 2:1 desktop columns and full-width mobile panels.
   Scoped overrides neutralize theme WooCommerce column/float rules. */
.tw711-checkout { width: 100%; }
.tw711-checkout > .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
}
.tw711-checkout form.tw711-form {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  direction: ltr;
}
.tw711-checkout form.tw711-form > section.tw711-panel,
.tw711-checkout form.tw711-form #order_review {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  float: none !important;
  clear: none !important;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .tw711-checkout form.tw711-form {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
    column-gap: 24px;
  }
  .tw711-checkout form.tw711-form::before,
  .tw711-checkout form.tw711-form::after { display: none !important; }
  .tw711-checkout form.tw711-form > section.tw711-panel:not(#customer_details):not(.tw711-review) {
    grid-column: 2 / 3 !important;
    grid-row: 2 / span 2 !important;
    position: sticky !important;
    top: 24px;
    left: auto;
    right: auto;
    align-self: start;
    justify-self: stretch;
  }
  .tw711-checkout form.tw711-form > #customer_details {
    grid-column: 1 / 2 !important;
    grid-row: 2 !important;
  }
  .tw711-checkout form.tw711-form > .tw711-review {
    grid-column: 1 / 2 !important;
    grid-row: 3 !important;
  }
}
@media (max-width: 1023px) {
  .tw711-checkout { max-width: none; width: 100%; }
  .tw711-checkout form.tw711-form { display: block !important; }
  .tw711-checkout form.tw711-form > section.tw711-panel {
    display: block;
    position: static !important;
    width: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Floating input labels + leading icon + trailing shield. Plugin 1.0.2+. */
.tw711-checkout .form-row > label.tw711-form-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #3c4e31;
  border-radius: 14px;
  background: #0c100c;
  color: var(--tw711-muted);
  cursor: text;
}
.tw711-checkout .tw711-form-item__icon,
.tw711-checkout .tw711-form-item__safe { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.tw711-checkout .tw711-form-item__icon { width: 21px; }
.tw711-checkout .tw711-form-item__icon svg { width: 21px; height: 21px; }
.tw711-checkout .tw711-form-item__safe { width: 18px; color: #35402d; }
.tw711-checkout .tw711-form-item__safe svg { width: 18px; height: 20px; }
.tw711-checkout .tw711-form-input { position: relative; display: block; flex: 1 1 0%; min-width: 0; }
.tw711-checkout label.tw711-form-item .tw711-form-input > input {
  display: block;
  width: 100%;
  min-height: 58px;
  height: 58px;
  padding: 22px 0 7px !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--tw711-text);
  outline: none !important;
  font: inherit;
}
.tw711-checkout .tw711-form-input__label {
  position: absolute;
  top: 50%;
  left: 0;
  max-width: 100%;
  transform: translateY(-50%);
  transform-origin: left top;
  color: var(--tw711-muted);
  font-size: 14px;
  line-height: 1.3;
  pointer-events: none;
  transition: top .15s ease, transform .15s ease, font-size .15s ease;
}
.tw711-checkout .tw711-form-input > input:focus + .tw711-form-input__label,
.tw711-checkout .tw711-form-input > input:not(:placeholder-shown) + .tw711-form-input__label {
  top: 6px;
  transform: none;
  font-size: 10px;
}
.tw711-checkout .tw711-form-input > input:-webkit-autofill + .tw711-form-input__label { top: 6px; transform: none; font-size: 10px; }
.tw711-checkout .form-row > label.tw711-form-item:focus-within { border-color: var(--tw711-accent); outline: 2px solid var(--tw711-accent); outline-offset: 2px; }
.tw711-checkout .woocommerce-invalid > label.tw711-form-item { border-color: #ff7272; }
@media (prefers-reduced-motion: reduce) { .tw711-checkout .tw711-form-input__label { transition: none; } }

/* v1.3: explicit contact rows, account email editor and live summary costs. */
.tw711-checkout #customer_details .tw711-contact-row {
  display: block !important;
  position: relative;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: both;
  margin: 0 0 12px !important;
}
.tw711-checkout #customer_details .tw711-contact-row > label.tw711-form-item {
  display: flex !important;
  visibility: visible !important;
  width: 100% !important;
  font-size: 14px;
}
.tw711-checkout #customer_details .tw711-contact-row .tw711-form-input { display: block !important; flex: 1 1 0%; min-width: 0; }
.tw711-checkout #customer_details .tw711-contact-row input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-width: 0;
  position: static !important;
}
.tw711-checkout .tw711-contact-row input::placeholder { color: transparent !important; opacity: 0; }
.tw711-checkout .tw711-contact-row:has(.tw711-email-edit) > label.tw711-form-item { padding-right: 76px; }
.tw711-checkout .tw711-email-edit {
  position: absolute;
  top: 17px;
  right: 14px;
  min-height: 28px;
  padding: 3px 9px;
  border: 1px solid #688448;
  border-radius: 7px;
  background: #25321c;
  color: var(--tw711-accent);
  font-size: 12px;
  line-height: 20px;
}
.tw711-checkout .tw711-email-help { display: block; margin: 5px 0 0; color: var(--tw711-muted); font-size: 12px; }
.tw711-checkout .tw711-delivery-heading {
  border: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.tw711-checkout .tw711-delivery-heading::before,
.tw711-checkout .tw711-delivery-heading::after { content: none !important; display: none !important; }
.tw711-checkout .tw711-notes { width: 100%; margin: 22px 0 0; }
.tw711-checkout .tw711-notes > label.tw711-notes-label { display: block !important; visibility: visible !important; margin: 0 0 8px; color: var(--tw711-muted); font-size: 14px; }
.tw711-checkout .tw711-costs { margin-top: 18px; }
.tw711-checkout .tw711-cost-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin: 5px 0; font-size: 14px; }
.tw711-checkout .tw711-cost-row > span { color: var(--tw711-muted); }
.tw711-checkout .tw711-cost-row > strong { color: var(--tw711-text); text-align: right; }
.tw711-checkout .tw711-costs + .tw711-amount-label { padding-top: 15px; border-top: 1px solid var(--tw711-line); }

/* v1.4: review section removed; native payment/terms/nonce live in the delivery panel. */
.tw711-checkout .tw711-payment { margin-top: 22px; width: 100%; }
@media (min-width: 1024px) {
  .tw711-checkout form.tw711-form > #customer_details {
    border-bottom: 1px solid var(--tw711-line);
    border-radius: 20px;
    padding-bottom: 20px;
  }
}

/* v1.5: right-aligned amounts, shared border divider and 7-Eleven identity. */
.tw711-checkout .tw711-costs { width: 100%; }
.tw711-checkout .tw711-cost-row { display: flex !important; width: 100%; gap: 12px; }
.tw711-checkout .tw711-cost-row > span { flex: 1 1 auto; }
.tw711-checkout .tw711-cost-row > strong {
  display: block;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}
.tw711-checkout .tw711-costs + .tw711-amount-label {
  border-top: 1px solid var(--tw711-line);
  padding-top: 16px;
  font-size: 18px;
  font-weight: 800;
}
.tw711-checkout .tw711-bottom > div { font-size: 14px; font-weight: 800; }
.tw711-checkout .tw711-submit-area { width: 100%; margin-top: 22px; }
.tw711-checkout .checkout-711-logo { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; vertical-align: middle; margin-right: 9px; }
.tw711-checkout .tw711-method > strong { display: flex; align-items: center; }
.tw711-checkout .tw711-method .checkout-711-logo { width: 28px; height: 28px; flex-basis: 28px; }
.tw711-checkout .tw711-store > strong { display: flex; align-items: center; }
.tw711-checkout .tw711-selected .checkout-711-logo { margin-top: -2px; }
.tw711-checkout .tw711-cost-row > strong .amount,
.tw711-checkout .tw711-cost-row > strong bdi { font-size: inherit !important; font-weight: inherit !important; }

/* v1.6: isolate contact controls from generic theme form-item/form-input rules. */
.tw711-checkout #customer_details .tw711-contact-row,
.tw711-checkout #customer_details .tw711-contact-row > .tw711-form-item,
.tw711-checkout #customer_details .tw711-contact-row .tw711-form-input {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip: auto !important;
  clip-path: none !important;
  content-visibility: visible !important;
  overflow: visible !important;
  max-height: none !important;
  animation: none !important;
}
.tw711-checkout #customer_details .tw711-contact-row { height: auto !important; min-height: 60px !important; }
.tw711-checkout #customer_details .tw711-contact-row > .tw711-form-item {
  position: relative !important;
  min-height: 60px !important;
  height: auto !important;
  color: var(--tw711-muted) !important;
  background: #0c100c !important;
}
.tw711-checkout #customer_details .tw711-contact-row .tw711-form-input { position: relative !important; height: 58px !important; }
.tw711-checkout #customer_details .tw711-contact-row input {
  height: 58px !important;
  max-height: none !important;
  color: var(--tw711-text) !important;
  -webkit-text-fill-color: var(--tw711-text) !important;
  clip-path: none !important;
  text-indent: 0 !important;
}
.tw711-checkout #customer_details .tw711-form-input__label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--tw711-muted) !important;
}

/* v1.8: email edit icon replaces its trailing shield. */
.tw711-checkout #billing_email_field:has(.tw711-email-edit) > label.tw711-form-item { padding-right: 58px; }
.tw711-checkout #billing_email_field > .tw711-email-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--tw711-muted);
}
.tw711-checkout #billing_email_field > .tw711-email-edit:hover { color: var(--tw711-accent); background: #25321c; }
.tw711-checkout .tw711-email-edit > svg { width: 20px; height: 20px; }

/* v1.9: suppress theme-injected default payment UI on the custom checkout only. */
.tw711-checkout #payment.woocommerce-checkout-payment { display: none !important; }

/* v1.10: edit button is inside the email input's own visual shell. */
.tw711-checkout #billing_email_field > .tw711-email-control {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-height: 60px;
  opacity: 1 !important;
  visibility: visible !important;
}
.tw711-checkout #billing_email_field .tw711-email-control > label.tw711-form-item {
  display: flex !important;
  position: relative !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  min-height: 60px;
  margin: 0 !important;
  padding: 0 15px;
  border: 1px solid #3c4e31;
  border-radius: 14px;
  background: #0c100c;
  color: var(--tw711-muted);
  opacity: 1 !important;
  visibility: visible !important;
}
.tw711-checkout #billing_email_field .tw711-email-control:has(.tw711-email-edit:not([hidden])) > label { padding-right: 58px; }
.tw711-checkout #billing_email_field .tw711-email-control > .tw711-email-edit {
  display: inline-flex;
  position: absolute !important;
  top: 50% !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 2;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  margin: 0 !important;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--tw711-muted);
}
.tw711-checkout #billing_email_field .tw711-email-control > .tw711-email-edit:hover { color: var(--tw711-accent); }
.tw711-checkout #billing_email_field .tw711-email-control > label:focus-within { border-color: var(--tw711-accent); outline: 2px solid var(--tw711-accent); outline-offset: 2px; }
.tw711-checkout #billing_email_field.woocommerce-invalid .tw711-email-control > label { border-color: #ff7272; }

/* v1.11: edit SVG uses the trailing safe slot INSIDE the field label. */
.tw711-checkout #billing_email_field:has(.tw711-email-edit) > label.tw711-form-item { padding-right: 15px !important; }
.tw711-checkout #billing_email_field > label.tw711-form-item > .tw711-email-edit {
  display: inline-flex;
  position: static !important;
  transform: none !important;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  min-height: 40px;
  margin: 0 !important;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tw711-muted);
  cursor: pointer;
}
.tw711-checkout #billing_email_field > label > .tw711-email-edit:hover,
.tw711-checkout #billing_email_field > label > .tw711-email-edit:focus-visible { color: var(--tw711-accent); outline: 1px solid var(--tw711-accent); }

/* v1.12: restore pointer/focus interaction on contact controls under theme labels. */
.tw711-checkout #customer_details .tw711-contact-row,
.tw711-checkout #customer_details .tw711-contact-row > label.tw711-form-item,
.tw711-checkout #customer_details .tw711-contact-row .tw711-form-input,
.tw711-checkout #customer_details .tw711-contact-row input,
.tw711-checkout #customer_details .tw711-contact-row .tw711-email-edit {
  pointer-events: auto !important;
}
.tw711-checkout #customer_details .tw711-contact-row input {
  position: relative !important;
  z-index: 1;
  user-select: text !important;
  -webkit-user-select: text !important;
  cursor: text !important;
}
.tw711-checkout #customer_details .tw711-form-input__label {
  z-index: 2;
  pointer-events: none !important;
}
.tw711-checkout #customer_details .tw711-form-item::before,
.tw711-checkout #customer_details .tw711-form-item::after { content: none !important; pointer-events: none !important; }
.tw711-checkout #customer_details .tw711-email-edit { position: relative !important; z-index: 3; cursor: pointer !important; }

/* Restricted stores remain visible with the configured explanation, but cannot be selected. */
.tw711-checkout .tw711-store:disabled { opacity: .55; cursor: not-allowed; }
.tw711-checkout .tw711-store .tw711-store-blocked { color: #ffc78b; margin-top: 7px; font-weight: 700; }
