.apb-wrap{--apb-accent:#e8913a;--apb-accent2:#d9772b;--apb-card:#fff;--apb-border:#ececf1;--apb-text:#1f2430;--apb-input:#ededf3;--apb-radius:16px;
  max-width:720px;margin:12px auto 24px;padding:0 14px;float:none!important;width:100%!important;color:var(--apb-text);box-sizing:border-box}
.apb-wrap *{box-sizing:border-box}
.apb-card{background:var(--apb-card);border:1px solid var(--apb-border);border-radius:var(--apb-radius);padding:20px;margin:0 0 16px}
.apb-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.apb-head-img{flex:0 0 112px;height:112px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,var(--apb-accent),var(--apb-accent2));display:flex;align-items:center;justify-content:center}
.apb-head-img img{width:100%;height:100%;object-fit:cover;display:block}
.apb-letter{font-size:44px;font-weight:800;color:#fff}
.apb-head-txt{flex:1;min-width:0}
.apb-title{font-size:clamp(20px,5vw,26px);line-height:1.3;margin:0 0 12px;color:var(--apb-text);font-weight:800;word-break:break-word}
.apb-badge{display:inline-block;background:var(--apb-accent);color:#fff;font-weight:800;font-size:20px;padding:6px 18px;border-radius:14px;direction:ltr}
.apb-chip{display:inline-block;margin-inline-start:8px;font-size:13px;padding:4px 12px;border-radius:999px;font-weight:700}
.apb-chip-off{background:#fde8e8;color:#b32d2e}
.apb-info{border-inline-start:4px solid var(--apb-accent)}
.apb-info h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:var(--apb-accent);font-size:18px;font-weight:800}
.apb-i{display:inline-flex;width:22px;height:22px;border-radius:50%;background:var(--apb-accent);color:#fff;font-size:13px;align-items:center;justify-content:center;font-style:italic;font-weight:700}
.apb-desc{font-size:16px;line-height:1.8}.apb-desc p{margin:0 0 8px}
.apb-notice{margin-top:8px;padding:10px 12px;border-radius:12px;background:rgba(232,145,58,.12)}
.apb-field{margin:0 0 18px}
.apb-field label{display:block;margin:0 0 8px;font-weight:600;color:var(--apb-text);opacity:.85}
.apb-field label em{color:#d63638;font-style:normal}
.apb-field input,.apb-field textarea,.apb-field select{width:100%;background:var(--apb-input);border:1px solid transparent;border-radius:16px;padding:15px 18px;font-size:16px;color:var(--apb-text);outline:0;font-family:inherit;box-shadow:none}
.apb-field input:focus,.apb-field textarea:focus,.apb-field select:focus{border-color:var(--apb-accent);background:var(--apb-card)}
.apb-field small{display:block;margin-top:6px;opacity:.65;font-size:13px}
.apb-row2{display:flex;gap:14px;align-items:flex-start}
.apb-qty{flex:1}.apb-total-box{flex:0 0 150px}
.apb-total{background:rgba(232,145,58,.14);color:var(--apb-accent);border:1px solid rgba(232,145,58,.35);border-radius:999px;font-weight:800;font-size:20px;padding:13px 10px;text-align:center;direction:ltr}
.apb-buy{display:block;width:100%;border:0;border-radius:16px;padding:16px;font-size:20px;font-weight:800;color:#1b1206;cursor:pointer;background:linear-gradient(90deg,var(--apb-accent2),var(--apb-accent));transition:filter .15s,transform .05s;font-family:inherit}
.apb-buy:hover{filter:brightness(1.07)}.apb-buy:active{transform:translateY(1px)}
.apb-buy[disabled]{opacity:.45;cursor:not-allowed;filter:grayscale(.4)}
.apb-off-msg{background:#fde8e8;color:#8a1f1f;border-radius:14px;padding:12px 14px;margin:0 0 16px;font-weight:600}
.apb-bal{margin:0 0 14px;font-size:15px;opacity:.85}
.woocommerce-notices-wrapper,.apb-wrap .woocommerce-error,.apb-wrap .woocommerce-message{max-width:720px;margin-inline:auto}

/* compact, mobile-first pass (matches market-card99 layout) */
.apb-wrap{font-size:14px}
.apb-card{padding:14px;margin:0 0 12px;border-radius:var(--apb-radius)}
.apb-head{gap:12px}
.apb-head-img{flex:0 0 84px;height:84px;border-radius:12px}
.apb-letter{font-size:34px}
.apb-title{font-size:clamp(16px,4.6vw,20px);margin:0 0 8px;line-height:1.35}
.apb-badge{font-size:15px;padding:5px 12px;border-radius:11px;display:inline-flex;align-items:center;gap:6px}
.apb-badge::after{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 11.6 12.4 2.6A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7c0 .5.2 1 .6 1.4l9 9a2 2 0 0 0 2.8 0l7-7a2 2 0 0 0 0-2.8zM6.5 8A1.5 1.5 0 1 1 6.5 5a1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 11.6 12.4 2.6A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7c0 .5.2 1 .6 1.4l9 9a2 2 0 0 0 2.8 0l7-7a2 2 0 0 0 0-2.8zM6.5 8A1.5 1.5 0 1 1 6.5 5a1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E") center/contain no-repeat}
.apb-chip{font-size:11px;padding:3px 9px}
.apb-info h3{font-size:14px;margin:0 0 6px;gap:6px}
.apb-i{width:18px;height:18px;font-size:11px}
.apb-desc{font-size:13.5px;line-height:1.7;color:#4b5563}.apb-desc p{margin:0 0 6px}
.apb-notice{font-size:13px;padding:8px 10px;border-radius:10px}
.apb-field{margin:0 0 12px}
.apb-field label{font-size:13px;margin:0 0 5px}
.apb-field input,.apb-field textarea,.apb-field select{padding:10px 14px;font-size:14px;border-radius:12px;min-height:42px}
.apb-field textarea{min-height:64px}
.apb-field small{font-size:11.5px;margin-top:4px}
.apb-row2{gap:10px;align-items:flex-start;flex-wrap:nowrap}
.apb-qty{flex:1;min-width:0}.apb-total-box{flex:0 0 108px}
.apb-total{font-size:15px;padding:9px 6px;line-height:1.3}
.apb-buy{padding:12px;font-size:16px;border-radius:12px}
.apb-bal{font-size:13px;margin:0 0 10px}
.apb-off-msg{font-size:13px;padding:10px 12px;border-radius:12px;margin:0 0 12px}

/* v1.1.3 — fit on one phone screen; selectors prefixed to beat theme CSS */
body.single-product .ast-container,body.single-product .site-content .ast-container{padding-left:0!important;padding-right:0!important}
body.single-product #primary,body.single-product .content-area{margin:0!important;padding:0!important;width:100%!important}
body.single-product .site-main,body.single-product #main{padding:0!important;margin:0!important}
.apb-wrap{margin:6px auto 12px!important;padding:0 10px!important;max-width:560px}
.apb-wrap .apb-card{padding:10px 12px!important;margin:0 0 8px!important;border-radius:14px!important}
.apb-wrap .apb-head{gap:10px}
.apb-wrap .apb-head-img{flex:0 0 62px!important;height:62px!important;border-radius:10px!important}
.apb-wrap .apb-letter{font-size:26px}
.apb-wrap .apb-title{font-size:16px!important;margin:0 0 6px!important}
.apb-wrap .apb-badge{font-size:13.5px!important;padding:3px 10px!important;border-radius:9px!important}
.apb-wrap .apb-info h3{font-size:13px!important;margin:0 0 3px!important}
.apb-wrap .apb-i{width:16px;height:16px;font-size:10px}
.apb-wrap .apb-desc{font-size:12.5px!important;line-height:1.55!important}
.apb-wrap .apb-desc p{margin:0 0 3px!important}
.apb-wrap .apb-field{margin:0 0 8px!important}
.apb-wrap .apb-field label{font-size:12.5px!important;margin:0 0 3px!important;line-height:1.2}
.apb-wrap .apb-field input,.apb-wrap .apb-field textarea,.apb-wrap .apb-field select{
  background:var(--apb-input)!important;border:1px solid transparent!important;border-radius:11px!important;
  padding:0 12px!important;height:38px!important;min-height:38px!important;font-size:14px!important;line-height:38px;box-shadow:none!important;width:100%}
.apb-wrap .apb-field textarea{height:52px!important;min-height:52px!important;padding:8px 12px!important;line-height:1.4!important;resize:none!important}
.apb-wrap .apb-field input:focus,.apb-wrap .apb-field textarea:focus{border-color:var(--apb-accent)!important;background:var(--apb-card)!important}
.apb-wrap .apb-field small{font-size:11px!important;margin-top:2px!important;line-height:1.2}
.apb-wrap .apb-row2{gap:8px}
.apb-wrap .apb-total-box{flex:0 0 100px!important}
.apb-wrap .apb-total{font-size:14px!important;padding:0 6px!important;height:38px;line-height:36px;border-radius:999px}
.apb-wrap .apb-buy{padding:0!important;height:44px;font-size:15px!important;border-radius:12px!important}
.apb-wrap .apb-bal{font-size:12px!important;margin:0 0 6px!important}
