
.amfx-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#0e3b34;color:#fff!important;border:0;border-radius:10px;padding:10px 16px;font-weight:700;font-size:14px;text-decoration:none!important;cursor:pointer}
.amfx-muted{color:#6b7774}.amfx-small{font-size:12.5px}
.amfx-note{background:#e7f6ee;color:#14724c;border-radius:10px;padding:10px 14px;margin:0 0 12px;font-weight:600}
.amfx-err{background:#fdecec;color:#b8322a;border-radius:10px;padding:10px 14px;margin:12px 0 0}
.amfx-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.amfx-toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:99999;background:#10302b;color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;font-weight:600;box-shadow:0 10px 26px rgba(0,0,0,.25)}
/* compare buttons */
.am-pcard__media{position:relative}
.amfx-cmpbtn{position:absolute;left:8px;bottom:8px;z-index:3;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.94);color:#10302b;font-size:12px;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.12);cursor:pointer;opacity:.95;transition:background .15s,color .15s}
.amfx-cmpbtn em{font-style:normal}
.amfx-cmpbtn.is-on{background:#0e3b34;color:#fff}
.amfx-cmpbtn--pdp{position:static;margin:10px 0 0;padding:9px 14px;font-size:13.5px;border:1px solid #d6dfdc;box-shadow:none;background:#fff}
@media (hover:hover){.am-pcard .amfx-cmpbtn:not(.is-on){opacity:0}.am-pcard:hover .amfx-cmpbtn{opacity:1}}
/* compare bar */
.amfx-cbar{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:9998;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e3e9e7;border-radius:999px;padding:6px 6px 6px 10px;box-shadow:0 14px 34px rgba(14,59,52,.22)}
.amfx-cbar[hidden]{display:none}
.amfx-cbar__imgs{display:flex}.amfx-cbar__imgs img,.amfx-cbar__imgs i{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-8px;background:#eef4f2;display:block}.amfx-cbar__imgs :first-child{margin-left:0}
.amfx-cbar b{font-size:13px;color:#10302b;white-space:nowrap}
.amfx-cbar__go{background:#0e3b34;color:#fff!important;border-radius:999px;padding:8px 16px;font-weight:700;font-size:13.5px;text-decoration:none!important}
.amfx-cbar__x{border:0;background:#f1f5f4;width:30px;height:30px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;color:#516460}
@media (max-width:900px){.amfx-cbar{bottom:calc(140px + env(safe-area-inset-bottom,0px))}}
/* compare table */
.amfx-cmp__scroll{overflow-x:auto;border:1px solid #e6ebea;border-radius:16px;background:#fff}
.amfx-cmp__t{border-collapse:collapse;width:100%;min-width:520px;table-layout:fixed}
.amfx-cmp__t th,.amfx-cmp__t td{padding:12px 14px;border-top:1px solid #eef2f1;text-align:left;vertical-align:top;font-size:14px}
.amfx-cmp__t thead th{border-top:0;position:relative}.amfx-cmp__t thead th:first-child{width:130px}
.amfx-cmp__t thead th:first-child,.amfx-cmp__t tbody th{width:120px;color:#6b7774;font-weight:600;font-size:13px;background:#f8faf9}
.amfx-cmp__t thead a{display:flex;flex-direction:column;gap:8px;color:#10302b;text-decoration:none}
.amfx-cmp__t thead img{width:100%;max-width:180px;aspect-ratio:1;object-fit:cover;border-radius:12px}
.amfx-cmp__t thead b{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.amfx-cmp__x{position:absolute;top:8px;right:8px;z-index:2;width:28px;height:28px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);cursor:pointer;font-size:18px;line-height:1}
.amfx-cmp-price{font-weight:800;color:#0e3b34;font-size:16px}
.amfx-yes{color:#178a5a;font-weight:700}.amfx-no{color:#b8322a;font-weight:700}
.amfx-cmp__more{margin:12px 0 0;font-size:14px}
.amfx-cmp-empty{text-align:center;padding:40px 16px;border:1px dashed #cfdad7;border-radius:16px;background:#fbfcfc}
/* back in stock */
.amfx-notify{margin:12px 0;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,#fff7ef,#fff);border:1px solid #f6d9c2}
.amfx-notify b{display:block;color:#7a3c16}.amfx-notify p{margin:4px 0 10px;font-size:13.5px;color:#6b4a33}
.amfx-notify form{display:flex;gap:8px}.amfx-notify input[type=email]{flex:1;min-width:0;border:1px solid #e8cdb6;border-radius:10px;padding:10px 12px}
.amfx-notify button{background:#e8692c;color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:700;cursor:pointer}
.amfx-notify small{display:block;margin-top:6px;font-weight:600}.amfx-notify small.ok{color:#14724c}.amfx-notify small.err{color:#b8322a}
/* store offers */
.amfx-offers{margin:14px 0;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#0e3b34,#17594e);color:#fff}
.amfx-offers__head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.amfx-offers__head small{opacity:.75;font-size:12px}
.amfx-offers__row{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}
.amfx-coupon{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:170px;padding:10px 14px;border-radius:12px;border:1.5px dashed #f3d7a4;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;text-align:left}
.amfx-coupon:hover{background:rgba(255,255,255,.14)}
.amfx-coupon__amt{font-size:17px;font-weight:800;color:#f3d7a4}
.amfx-coupon__code{font-family:ui-monospace,Menlo,monospace;font-weight:700;letter-spacing:.06em;background:#fff;color:#0e3b34;border-radius:6px;padding:2px 8px;font-size:13px}
.amfx-coupon__meta{font-size:11.5px;opacity:.8}
.amfx-offers--compact{padding:12px 14px}.amfx-offers--compact .amfx-coupon{min-width:150px;padding:8px 12px}
/* track by phone */
.amfx-track{margin:28px 0 0;padding:20px;border:1px solid #e6ebea;border-radius:18px;background:#fbfcfc}
.amfx-track h2{margin:0 0 4px;font-size:20px}.amfx-track>p{margin:0 0 12px;color:#6b7774}
.amfx-track__form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px}
.amfx-track__form input{border:1px solid #d6dfdc;border-radius:10px;padding:11px 12px;font-size:15px;min-width:0}
.amfx-track__form button{background:#0e3b34;color:#fff;border:0;border-radius:10px;padding:11px 18px;font-weight:700;cursor:pointer}
.amfx-track__res{margin-top:16px;background:#fff;border:1px solid #e6ebea;border-radius:14px;padding:16px}
.amfx-track__top{display:flex;justify-content:space-between;align-items:center;gap:10px}.amfx-track__top small{display:block;color:#6b7774}
.amfx-pill{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:#eef1f0;color:#4b5653}
.amfx-pill--completed{background:#e7f6ee;color:#178a5a}.amfx-pill--processing,.amfx-pill--confirmed{background:#e8f0fd;color:#2c5fc4}.amfx-pill--shipped{background:#f1ebfd;color:#6a3fc2}.amfx-pill--on-hold,.amfx-pill--pending{background:#fff4e0;color:#a86a06}.amfx-pill--cancelled,.amfx-pill--failed,.amfx-pill--refunded{background:#fdecec;color:#b8322a}
.amfx-steps{list-style:none;margin:18px 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.amfx-steps li{position:relative;text-align:center;font-size:12.5px;color:#8a9592}
.amfx-steps li i{display:block;width:16px;height:16px;border-radius:50%;background:#dfe6e4;margin:0 auto 6px;position:relative;z-index:1;border:3px solid #fff;box-shadow:0 0 0 1px #dfe6e4}
.amfx-steps li:not(:first-child)::before{content:"";position:absolute;top:7px;right:50%;width:100%;height:3px;background:#dfe6e4}
.amfx-steps li.is-done i{background:#0e3b34;box-shadow:0 0 0 1px #0e3b34}.amfx-steps li.is-done{color:#10302b;font-weight:600}
.amfx-steps li.is-done:not(:first-child)::before{background:#0e3b34}
.amfx-steps li.is-now i{background:#e8692c;box-shadow:0 0 0 4px rgba(232,105,44,.2)}
.amfx-track__items{list-style:none;margin:0;padding:0;border-top:1px solid #eef2f1}
.amfx-track__items li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eef2f1;font-size:14px}
.amfx-track__total{display:flex;justify-content:space-between;padding:10px 0 0;font-size:15px}
.amfx-track__pay{margin:6px 0 0;color:#6b7774;font-size:13px}
.amfx-track__closed{color:#b8322a;margin:12px 0}
/* bulk edit */
.amfx-bulk__head h2{margin:0 0 4px;font-size:22px}.amfx-bulk__head p{margin:0 0 14px;color:#6b7774;max-width:720px}
.amfx-bulk__bar{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.amfx-bulk__bar input{flex:1;border:1px solid #d6dfdc;border-radius:10px;padding:9px 12px}
.amfx-bulk__wrap{overflow:auto;max-height:640px;border:1px solid #e6ebea;border-radius:14px;background:#fff}
.amfx-bulk__t{border-collapse:collapse;width:100%;min-width:720px}
.amfx-bulk__t th{position:sticky;top:0;z-index:1;background:#f4f8f7;text-align:left;font-size:12px;color:#6b7774;text-transform:uppercase;letter-spacing:.03em;padding:10px}
.amfx-bulk__t td{padding:8px 10px;border-top:1px solid #eef2f1;vertical-align:middle}
.amfx-bulk__t tr.is-dirty td{background:#fffbf3}
.amfx-bulk__t input[type=number],.amfx-bulk__t select{width:110px;border:1px solid #d6dfdc;border-radius:8px;padding:7px 8px}
.amfx-bulk__name{display:flex;align-items:center;gap:10px;min-width:260px}.amfx-bulk__name img{width:40px;height:40px;border-radius:8px;object-fit:cover;flex:0 0 40px}
.amfx-bulk__name span{font-size:14px}.amfx-bulk__name em{font-style:normal;font-size:11px;background:#fff4e0;color:#a86a06;border-radius:6px;padding:1px 6px}
.amfx-bulk__name em.amfx-wait{background:#e8f0fd;color:#2c5fc4}
.amfx-star{cursor:pointer;display:inline-flex}.amfx-star input{position:absolute;opacity:0;pointer-events:none}
.amfx-star span{font-size:20px;color:#d5dbd9;line-height:1;transition:color .15s,transform .15s}.amfx-star input:checked+span{color:#f2a51a;transform:scale(1.1)}.amfx-star input:disabled+span{opacity:.35}
.amfx-bulk__save{position:sticky;bottom:10px;display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:10px}
.amfx-bulk__save .amfx-btn{box-shadow:0 8px 20px rgba(14,59,52,.25)}
@media (max-width:640px){
 .amfx-track__form{grid-template-columns:1fr}
 .amfx-notify form{flex-direction:column}
 .amfx-cmpbtn{padding:5px 8px;font-size:11px}.amfx-cmpbtn:not(.amfx-cmpbtn--pdp) em{display:none}
 .amfx-steps li{font-size:11px}
}
