/* AFG Atelier 1.2 — NEW customer design system, intentionally replaces prior luxury skin.
   RTL, mobile first; WC financial logic remains in the existing plugin backend. */
:root{color-scheme:light}
html{scroll-behavior:smooth}
.afg-body{
 --ink:#29251f;--ink-soft:#4b453e;--muted:#8b8073;--brand:#916c36;--brand-deep:#68491e;
 --line:#e9e1d5;--line-strong:#d7c7b0;--surface:#fffdfa;--bg:#f7f4ee;--warm:#f8f1e6;
 --gold:#caa76d;--gold-soft:#f4e8d4;--ring:0 0 0 4px #ae84512e;
 --shadow:0 9px 35px rgba(55,40,22,.052),0 1px 3px rgba(55,40,22,.025);
 --radius:19px;
 background:radial-gradient(ellipse 620px 400px at 100% 3%,#e8dac64e,transparent 68%),
 radial-gradient(ellipse 500px 470px at 4% 50%,#eadfcd44,transparent 70%),
 linear-gradient(180deg,#faf8f4,#f6f3ed 48%,#faf8f4);
 color:var(--ink);font-family:'IBM Plex Sans Arabic','Noto Sans Arabic',Tahoma,Arial,sans-serif;
 font-size:14px;line-height:1.73;letter-spacing:0;-webkit-font-smoothing:antialiased;
}
.afg-body *, .afg-body *:before,.afg-body *:after{box-sizing:border-box}
.afg-body [hidden]{display:none!important}
.afg-body a{text-decoration:none;color:#7f5e30}
.afg-body h1,.afg-body h2,.afg-body h3,.afg-body h4,.afg-body strong{letter-spacing:0}
.afg-body h1,.afg-body h2,.afg-body h3,.afg-body h4{font-family:'Readex Pro','Noto Kufi Arabic','IBM Plex Sans Arabic',sans-serif;line-height:1.55;font-weight:600;color:var(--ink)}
.afg-body :focus-visible{outline:3px solid #ac8244!important;outline-offset:3px}
.afg-body button,.afg-body input,.afg-body textarea,.afg-body select{font-family:inherit}
.afg-shell{width:min(1260px,100%);padding:0 clamp(16px,3.1vw,48px);margin:0 auto}
/* Genuine small application header, not the site's full header repeated. */
.afg-site-header{height:81px;min-height:81px!important;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e4dbcf!important;background:transparent}
.afg-brand{gap:12px!important;min-width:0}
.afg-logo{height:52px!important;width:52px!important;flex:0 0 52px!important;border-radius:16px!important;background:#29241e!important;color:#e8cfa3!important;box-shadow:0 9px 19px #3425131c!important;display:grid;place-items:center;border:1px solid #6c5941!important}
.afg-logo svg{height:34px;width:34px;display:block}
.afg-brand-text strong{font-family:'Readex Pro','Noto Kufi Arabic',sans-serif!important;font-size:17px!important;font-weight:600!important;color:#26211b!important}
.afg-brand-text small{font-size:11px;color:#9b805b!important;letter-spacing:0}
.afg-secure-label{color:#86745e!important;display:flex;align-items:center;gap:7px;font-size:12px}
.afg-secure-label svg{color:#947341}
.afg-header-actions{gap:13px!important}
.afg-header-home{color:#483729!important;background:#fffdf9!important;border:1px solid #dfd2be!important;border-radius:12px!important;padding:9px 15px!important;font-size:12px!important;font-weight:600;box-shadow:0 1px 3px #5d4d310a}
.afg-header-home:hover{background:#f9eedc!important;border-color:#c6a471!important}
/* Page title is editorial, short and functional. */
.afg-hero{padding:22px 0 17px!important;display:flex!important;justify-content:space-between;align-items:flex-end!important;gap:20px;text-align:right!important}
.afg-hero-copy{max-width:740px}
.afg-hero-kicker{font-size:11px!important;font-weight:600!important;color:#9c7844!important;letter-spacing:0;display:flex;gap:9px;align-items:center}
.afg-hero-kicker span{color:#b7a58e}
.afg-hero h1{font-family:'Readex Pro','Noto Kufi Arabic',sans-serif!important;font-weight:600!important;font-size:clamp(25px,2.6vw,34px)!important;line-height:1.3!important;margin:7px 0 3px!important;color:#211d19!important}
.afg-hero p{font-size:12px!important;color:#87796c!important;margin:0!important;max-width:600px;line-height:1.8}
.afg-hero-security{display:flex;align-items:center;gap:8px;color:#8e7959;font-size:11px!important;white-space:nowrap;margin-bottom:6px}
.afg-hero-security-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:100%;background:#ebeadc;color:#637c4f;font-weight:700}
.afg-main{padding-bottom:32px}
/* Short utility strip: logout, all orders and existing previous-order reminders. */
.afg-topline{margin:0 0 12px!important;display:flex;justify-content:flex-end;gap:10px;align-items:center}
.afg-topline .afg-btn{min-height:34px!important;padding:6px 13px!important;font-size:11px!important}
.afg-topline>div{margin-inline-end:auto}
.afg-topline>div .afg-overline{display:none}
.afg-topline>div strong{color:#5b4a35;font-weight:600}
.afg-orders-chooser,.afg-older-reminder,.afg-link-orders{border-radius:14px!important;background:#fffdfa!important;border:1px solid #e8ddce!important;margin:0 0 12px!important;box-shadow:0 2px 9px #60472208}
.afg-orders-chooser>summary,.afg-older-reminder>summary,.afg-link-orders>summary{min-height:48px;display:flex!important;align-items:center;justify-content:space-between;padding:10px 16px!important;gap:10px;font-size:12px;font-weight:600;color:#43382e}
.afg-orders-chooser>summary span:last-child,.afg-older-reminder>summary span,.afg-link-orders>summary span{color:#906e42;font-size:11px}
.afg-orders-chooser[open]>summary,.afg-older-reminder[open]>summary,.afg-link-orders[open]>summary{border-bottom:1px solid #eee3d5}
.afg-orders-chooser .afg-order-tabs{margin:0!important;padding:13px;gap:9px}
.afg-orders-chooser .afg-order-tab{border-radius:11px;background:#f9f5ed;border:1px solid #e8ddc9;padding:9px 13px;font-size:12px}
.afg-orders-chooser .afg-order-tab.is-selected{background:#2f2923!important;color:#fff7eb!important;border-color:#2f2923}
.afg-orders-chooser .afg-order-tab.is-selected *{color:#f2d8ab!important}
.afg-older-reminder-list,.afg-link-inner{padding:13px 16px}
.afg-older-reminder-list a{border-radius:8px;padding:8px 12px}
/* A SINGLE branded dashboard board, instead of disconnected old status cards. */
.afg-overview{position:relative;isolation:isolate;overflow:hidden;margin-bottom:16px;border-radius:22px;
 background:linear-gradient(115deg,#fffdfa,#fffaf3 54%,#f6ecdd);border:1px solid #e5d6c0;
 box-shadow:0 22px 55px #5a402413,0 3px 9px #44341b08;padding:20px 25px 18px}
.afg-overview::before{content:'';position:absolute;inset:0 0 auto auto;width:53%;height:160px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at top right,#e7c69355,transparent 72%)}
.afg-overview::after{content:'✧';position:absolute;left:18px;top:-64px;z-index:-1;pointer-events:none;font-size:235px;line-height:1;color:#ceb18417;font-family:serif;transform:rotate(9deg)}
.afg-heading{padding:0 0 15px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:flex;gap:18px;justify-content:space-between;align-items:center}
.afg-heading .afg-overline{font-size:10px!important;color:#997545!important;margin:0!important}
.afg-heading h2{font-size:clamp(18px,2vw,23px)!important;color:#28221c;font-weight:600;margin:2px 0 1px!important}
.afg-heading h2 span{font-variant-numeric:tabular-nums}
.afg-heading .afg-muted{font-size:11px!important;color:#968476!important}
.afg-pill{display:flex!important;align-items:center;gap:10px;color:#6a502b!important;background:#fbf0da!important;border:1px solid #e8d4ae!important;border-radius:11px!important;padding:9px 14px!important;font-size:12px!important;font-weight:700;max-width:100%;white-space:normal}
.afg-pill-dot{height:8px;width:8px;background:#b58a45!important;box-shadow:0 0 0 4px #b58a4522!important;flex:none}
.afg-last-update{margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;color:#8c7a67!important;font-size:11px!important;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.afg-last-update strong{font-weight:600}
.afg-update-dot{background:#b59661!important}
.afg-last-update time{color:#a3907b}
.afg-steps{margin:0 0 13px!important;padding:15px 11px!important;background:#302923!important;border-radius:14px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;border:1px solid #42372b!important;box-shadow:none!important}
.afg-steps span{color:#d2c3b0!important;font-size:10px!important;font-weight:500!important;text-align:center;line-height:1.5;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;min-width:0;position:relative}
.afg-steps span:before{content:'○'!important;display:grid;place-items:center;width:21px;height:21px;font-size:16px;color:#a99982!important;background:#4c4238;border:1px solid #73604b;border-radius:50%;line-height:1}
.afg-steps span.active{color:#f9ebd3!important;font-weight:700!important}
.afg-steps span.active:before{content:'✓'!important;background:#d6b37c!important;border-color:#d6b37c!important;color:#32291f!important;font-size:11px!important;font-family:sans-serif}
.afg-steps span+span:after{display:none!important}
.afg-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0!important}
.afg-stat{min-width:0!important;padding:14px 16px!important;background:#fffcf7!important;border-radius:12px!important;border:1px solid #eadbc8!important;box-shadow:none!important;min-height:76px}
.afg-stat span{font-size:11px!important;font-weight:500!important;color:#87786b!important;line-height:1.5}
.afg-stat strong{display:block!important;margin-top:5px!important;color:#2a241e!important;font-family:'Readex Pro','Noto Kufi Arabic',sans-serif!important;font-size:clamp(15px,1.85vw,24px)!important;font-weight:600!important;line-height:1.3!important;overflow-wrap:anywhere}
.afg-stat-featured{background:linear-gradient(120deg,#f4e2c2,#f9efda)!important;border-color:#e2c28d!important}
.afg-stat-featured strong{color:#775020!important}
.afg-context-banner,.afg-celebrate{background:#ecf0e8!important;border:1px solid #d9e2d5!important;border-radius:12px!important;padding:10px 13px!important;box-shadow:none!important;margin:0 0 12px!important;gap:10px!important;color:#37533a!important}
.afg-context-banner:before,.afg-celebrate:before{display:none!important}
.afg-context-banner strong,.afg-celebrate h3{color:#2f533b!important;font-size:12px!important;font-family:inherit!important}
.afg-context-banner p,.afg-celebrate p{color:#57705a!important;font-size:11px!important;line-height:1.7!important}
.afg-context-banner>span,.afg-celebrate-symbol{background:#d3e5d2!important;color:#4a6a46!important;font-size:14px!important;width:32px;height:32px;flex:0 0 32px;border-radius:9px}
.afg-stage-note{background:#fff8e8!important;border:1px solid #efdec3!important;color:#7b6039!important;border-radius:9px;margin:0 0 10px;padding:9px 12px;font-size:12px}
.afg-quick-action{display:flex!important;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px!important;padding:12px 16px!important;background:#fffdfa!important;border:1px solid #e7d7c1!important;border-radius:14px!important;box-shadow:0 7px 22px #43321c0b!important;color:#413627!important;transition:transform .22s,box-shadow .22s,border-color .22s}
.afg-quick-action:hover{transform:translateY(-2px);border-color:#c5a16e!important;box-shadow:0 10px 24px #43321c16!important}
.afg-quick-action strong{font-family:'Readex Pro','Noto Kufi Arabic',sans-serif;font-size:13px!important;font-weight:600}
.afg-quick-action small{font-size:11px!important;color:#8e8276!important}
.afg-quick-action-button{background:#2f2923!important;color:#fff6e7!important;padding:12px 17px!important;border-radius:10px!important;font-size:12px!important;font-weight:600;white-space:nowrap;transition:background .2s}
.afg-quick-action:hover .afg-quick-action-button{background:#806039!important}
/* New workspace composition: one clear financial action + secondary content on demand. */
.afg-workspace{display:grid!important;grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr)!important;gap:18px!important;align-items:start;direction:rtl}
.afg-workspace>.afg-secondary-stack{order:0;min-width:0!important;display:flex!important;flex-direction:column!important;position:static!important}
.afg-workspace>.afg-primary-stack{order:1;min-width:0!important;display:flex!important;flex-direction:column!important}
.afg-panel{background:#fffdfa!important;border:1px solid #e9dfd1!important;box-shadow:var(--shadow)!important;border-radius:17px!important;margin:0 0 12px!important;padding:21px!important;min-width:0}
.afg-panel h3{font-size:16px!important;font-weight:600!important;color:#29231e!important}
.afg-overline{color:#987441!important;font-weight:700!important;font-size:10px!important}
.afg-panel-heading{margin:0 0 13px!important}
.afg-panel-heading p{font-size:11px!important;color:#918476!important;line-height:1.8!important;margin:5px 0 0}
.afg-secondary-stack .afg-payment-section{order:0;position:relative;background:linear-gradient(140deg,#fffdf9,#fff9ee)!important;border:1px solid #dcc59d!important;padding:23px!important;box-shadow:0 14px 35px #6e481b12!important;overflow:hidden}
.afg-secondary-stack .afg-payment-section:before{content:'';height:4px!important;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#f5e7d0,#aa8244,#f2dec2);border-radius:17px 17px 0 0}
.afg-payment-section>.afg-overline{display:block;font-size:11px!important;margin:3px 0 6px!important}
.afg-payment-section h3{font-size:20px!important;font-weight:600!important;margin:0 0 9px!important}
.afg-payment-section>p{font-size:12px!important;line-height:1.85!important;color:#786d5f!important;margin:12px 0!important}
.afg-payment-amount{display:flex;flex-direction:column;gap:4px;background:#302923!important;border:1px solid #4c3a2b!important;border-radius:13px!important;padding:15px 19px!important;margin:12px 0!important;color:#dbc7aa!important}
.afg-payment-amount span{color:#d2bfa2!important;font-size:11px!important}
.afg-payment-amount strong{color:#f2d8a8!important;font-family:'Readex Pro','Noto Kufi Arabic',sans-serif!important;font-size:clamp(21px,2.4vw,28px)!important;font-weight:600!important}
.afg-wallet{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:9px!important;background:#f6eddf!important;border:1px solid #e9d7bb!important;border-radius:12px!important;padding:13px!important;margin-bottom:14px!important}
.afg-wallet-num{font-size:19px!important;color:#382e22!important;font-weight:700!important;letter-spacing:.04em}
.afg-copy-wallet{border:1px solid #d7bb8b!important;background:#fffdfa!important;color:#714e23!important;border-radius:9px!important;padding:7px 13px!important;font-size:12px!important;font-weight:700}
.afg-copy-wallet:hover{background:#f2e0c5!important}
.afg-body .afg-btn{min-height:46px!important;background:#302923!important;color:#fff6ea!important;border:1px solid #302923!important;border-radius:11px!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;transition:transform .18s,background .18s,box-shadow .18s}
.afg-body .afg-btn:hover{background:#76572e!important;border-color:#76572e!important;transform:translateY(-1px)!important;box-shadow:0 7px 16px #66452524!important}
.afg-body .afg-btn-soft,.afg-body .afg-btn-ghost{background:#fff9ef!important;color:#71542f!important;border:1px solid #dccbaa!important}
.afg-body .afg-btn-soft:hover,.afg-body .afg-btn-ghost:hover{background:#f5e9d5!important}
.afg-secondary-stack .afg-invoice-section{order:1;padding:19px 22px!important}
.afg-secondary-stack .afg-timer{order:2;background:#fbf8f2!important;padding:12px 15px!important;border-style:dashed!important;box-shadow:none!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 14px!important}
.afg-timer h3{font-family:inherit!important;font-size:11px!important;margin:0!important;color:#756149!important}
.afg-timer strong{font-size:11px!important;font-weight:700!important;color:#674b28!important}
.afg-timer p{font-size:10px!important;color:#95897d!important;margin:0!important}
.afg-totals>div{padding:9px 0!important;border-bottom:1px solid #f0e8db!important;color:#746b61!important;font-size:12px!important;gap:8px}
.afg-totals>div strong{color:#352e26!important;font-size:12px!important}
.afg-totals .afg-total-highlight{background:#f2e8d8!important;border:1px solid #e1ceb0!important;border-radius:11px!important;padding:13px 12px!important}
.afg-totals .afg-total-highlight strong{font-size:19px!important;color:#795426!important}
.afg-invoice-footnote{color:#9d8e7d!important;line-height:1.7!important;font-size:10px!important;margin:12px 0 0!important}
.afg-journey{border:1px solid #e7dbcb!important;background:#fffbf6!important;border-radius:13px!important;padding:0!important;margin:0 0 12px!important;overflow:hidden}
.afg-journey>summary{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:51px!important;padding:12px 16px!important;font-size:12px!important;color:#4e4131!important}
.afg-journey>summary span{font-size:11px!important;color:#957344!important}
.afg-journey-steps{padding:4px 14px 15px!important}
/* Intentional, legible interactive accordion tiles with obvious animated chevrons. */
.afg-products-section,.afg-guarantee-section,.afg-trust-section,.afg-faq-section{padding:0!important;overflow:hidden!important;background:#fffdfa!important;border-radius:15px!important}
.afg-body details.afg-panel>.afg-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:68px!important;padding:13px 16px!important;margin:0!important;gap:12px;cursor:pointer;transition:background .18s;position:relative}
.afg-body details.afg-panel>.afg-section-head:hover{background:#faf4e9!important}
.afg-body details.afg-panel[open]>.afg-section-head{background:#fcf8f2!important;border-bottom:1px solid #eee5d9!important;margin-bottom:12px!important}
.afg-body details.afg-panel>.afg-section-head div{flex:1;min-width:0}
.afg-body details.afg-panel>.afg-section-head h3{font-size:13px!important;margin:1px 0 0!important;font-weight:600!important;line-height:1.6!important}
.afg-body details.afg-panel>.afg-section-head .afg-overline{font-size:9px!important;display:block!important;margin:0!important;color:#ae936f!important}
.afg-body details.afg-panel>.afg-section-head:after{content:''!important;position:static!important;display:block!important;flex:0 0 13px!important;width:13px!important;height:13px!important;min-width:0!important;background:transparent!important;border:solid #946d3c!important;border-width:0 2.1px 2.1px 0!important;border-radius:0!important;box-shadow:none!important;transform:rotate(45deg)!important;transition:transform .2s,margin .2s!important;margin:0 8px 7px 4px!important;order:2!important}
.afg-body details.afg-panel[open]>.afg-section-head:after{transform:rotate(225deg)!important;margin:7px 8px 0 4px!important}
.afg-section-head>.afg-count-pill,.afg-section-head>.afg-summary-hint,.afg-section-head>.afg-trust-seal,.afg-section-head>.afg-faq-icon{order:1!important;white-space:nowrap;flex:none}
.afg-count-pill,.afg-trust-seal{color:#816039!important;background:#f5eadd!important;border:1px solid #e6d4b5!important;border-radius:8px!important;padding:4px 8px!important;font-size:10px!important}
.afg-summary-hint{font-size:10px!important;color:#9e8d7b!important;white-space:normal!important;text-align:left}
.afg-faq-icon{font-size:12px!important;color:#ad8a50!important}
.afg-products-section>.afg-product,.afg-guarantee-section>p,.afg-guarantee-section>.afg-guarantees,.afg-trust-section>.afg-help-grid{margin-left:15px!important;margin-right:15px!important}
.afg-products-section>.afg-product:last-child,.afg-guarantee-section>.afg-guarantees,.afg-trust-section>.afg-help-grid{margin-bottom:15px!important}
.afg-guarantee-section>p{font-size:11px!important;line-height:1.9!important;margin-top:0!important;margin-bottom:13px!important;color:#817468!important}
.afg-product{padding:12px!important;border-radius:12px!important;background:#faf7f0!important;border:1px solid #efe5d7!important;margin-bottom:9px!important}
.afg-product-top{gap:12px!important;align-items:center!important;flex-wrap:wrap}
.afg-product-thumb{width:70px!important;height:70px!important;flex:0 0 70px!important;border-radius:10px!important;background:#fffdfa!important;border:1px solid #e8dccb!important;overflow:hidden}
.afg-product-thumb img{height:100%;width:100%;object-fit:cover}
.afg-product-info{flex:1;min-width:120px}
.afg-product-info strong{font-family:'IBM Plex Sans Arabic',Tahoma,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:1.6!important;color:#393027!important}
.afg-product-info small{font-size:10px!important;color:#8a7969!important}
.afg-product-price{color:#76532b!important;font-size:12px!important;white-space:normal!important}
.afg-product details>summary{color:#815e30!important;font-size:11px!important;padding:7px 2px!important;font-weight:600!important}
.afg-media-card{border-radius:12px!important;border-color:#e8d9c7!important;overflow:hidden}
.afg-guarantee-tablist{border:1px solid #e8ddcd!important;background:#f8f3eb!important;border-radius:11px!important;padding:4px!important}
.afg-guarantee-tab{color:#776a5a!important;border-radius:8px!important;font-size:11px!important}
.afg-guarantee-tab.is-active{background:#fffdfa!important;color:#73512a!important;box-shadow:0 2px 7px #59422214!important}
.afg-help-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.afg-help-card{border:1px solid #eee4d8!important;background:#fffdf9!important;border-radius:11px!important;padding:0!important;box-shadow:none!important}
.afg-help-card>summary{padding:12px!important;display:flex;align-items:center;gap:10px}
.afg-help-card h4{font-size:12px!important}
.afg-help-card p{font-size:11px!important;margin:0!important;padding:0 12px 12px!important;color:#807163!important;line-height:1.95!important}
.afg-help-icon{display:grid;place-items:center;background:#f3e8d6!important;border-radius:9px!important;color:#96703b!important;width:29px;height:29px;flex:0 0 29px}
.afg-faq-list{padding:0 15px 15px!important}
.afg-faq-item{border-bottom:1px solid #eee4d9!important}
.afg-faq-item>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:42px!important;padding:9px 3px!important;font-size:12px!important;font-weight:600!important;color:#44372a!important}
.afg-faq-item>summary span{font-size:21px!important;color:#a47b42!important;transition:transform .2s}
.afg-faq-item[open]>summary span{transform:rotate(45deg)}
.afg-faq-item>div{font-size:12px!important;color:#766859!important;line-height:1.9!important;padding:0 4px 12px!important}
.afg-optional-section{padding:0!important;overflow:hidden!important}
.afg-optional-section>summary{min-height:54px!important;padding:14px 17px!important;font-size:12px!important;display:flex!important;align-items:center;justify-content:space-between;color:#403329!important}
.afg-optional-section>summary:after{content:'⌄';font-family:Arial,sans-serif;font-size:22px;line-height:1;color:#86643a}
.afg-optional-section[open]>summary:after{transform:rotate(180deg)}
.afg-optional-content{padding:4px 17px 18px!important}
.afg-body .afg-form{gap:13px!important}
.afg-body label{font-size:12px!important;color:#4f4031!important;font-weight:600!important;gap:7px!important}
.afg-body input:not([type=hidden]),.afg-body select,.afg-body textarea{min-height:45px!important;padding:10px 13px!important;border:1px solid #e0d5c4!important;background:#fffefb!important;border-radius:10px!important;color:#352b22!important;font-size:12px!important;box-shadow:none!important}
.afg-body input:focus,.afg-body select:focus,.afg-body textarea:focus{border-color:#c19b63!important;box-shadow:var(--ring)!important}
.afg-body input::placeholder{color:#aca091!important}
.afg-body input[type=file]{min-height:57px!important;padding:11px!important}
.afg-body input[type=file]::file-selector-button{background:#f5e8d5!important;border:1px solid #d9bf97!important;border-radius:8px!important;color:#73522b!important}
.afg-proof-guide{background:#f9f2e8!important;border:1px solid #e9dbc6!important;border-radius:10px!important;padding:11px 13px!important;font-size:11px}
.afg-proof-guide>summary{font-size:11px!important;font-weight:700;color:#785b35!important}
.afg-auth-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.85fr)!important;gap:19px!important;align-items:start}
.afg-login{padding:clamp(24px,3.1vw,39px)!important;box-shadow:0 13px 40px #4d341717!important}
.afg-login .afg-card-icon{display:grid;place-items:center;background:#302923;color:#edcf9c;border-radius:12px;width:45px;height:45px;font-size:20px}
.afg-login h2{font-size:clamp(21px,2.3vw,29px)!important;line-height:1.55!important}
.afg-login>.afg-muted{max-width:470px!important;font-size:12px!important}
.afg-login-footnote{font-size:11px!important;color:#867565!important;border-top:1px solid #ebdfce!important}
.afg-auth-benefits{background:linear-gradient(145deg,#302923,#46372a)!important;border:1px solid #514333!important;border-radius:17px!important;color:#e8d9c3!important;position:relative;overflow:hidden;box-shadow:0 13px 35px #382a1c18!important}
.afg-auth-benefits:after{content:'✧';position:absolute;left:-10px;top:-70px;pointer-events:none;font-size:230px;font-family:serif;color:#d6b88318}
.afg-auth-benefits .afg-overline{color:#e6c690!important}
.afg-auth-benefits h3{color:#fff4e7!important;font-size:19px!important}
.afg-benefit-icon{background:#ffffff14!important;border-color:#be9a6a73!important;color:#e8cb9c!important}
.afg-benefit small{color:#d1c0aa!important}
.afg-recovery{background:#fffbf5!important}
.afg-recovery-symbol{color:#775829!important;background:#efe1cb!important}
.afg-recovery h3{font-size:15px!important}
.afg-footer{border-top:1px solid #e3d7c7!important;margin-top:23px;padding:17px 0 25px!important;color:#9e9081!important;font-size:10px!important}
.afg-mobile-cta{position:fixed;bottom:0;left:0;right:0;z-index:10000;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:#302923;color:#fff8eb!important;box-shadow:0 -8px 30px #2416072a;transform:translateY(125%);transition:transform .22s;pointer-events:none}
.afg-mobile-cta.is-visible{transform:translateY(0);pointer-events:auto}
.afg-mobile-cta span{font-size:12px}.afg-mobile-cta strong{color:#edd1a2!important;font-size:15px}
.afg-notice{background:#f5e8d6!important;border:1px solid #e5c99d!important;border-radius:10px!important;color:#694c27!important;font-size:12px!important;padding:12px!important}
.afg-image-preview img{border-radius:10px;max-width:240px}
.afg-preview-mode .afg-payment-section form,.afg-preview-mode .afg-add-section form,.afg-preview-mode .afg-address-section form{pointer-events:none;opacity:.6}
/* Subtle motion with accessibility escape hatch. */
@keyframes afg-atelier-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.afg-overview,.afg-workspace,.afg-auth-grid{animation:afg-atelier-appear .42s ease both}
.afg-overview{animation-delay:.03s}.afg-workspace{animation-delay:.12s}
@media(max-width:1040px){
 .afg-workspace{grid-template-columns:minmax(290px,.88fr) minmax(0,1.12fr)!important;gap:12px!important}
 .afg-panel{padding:17px!important}
 .afg-overview{padding:17px!important}
 .afg-workspace>.afg-primary-stack,.afg-workspace>.afg-secondary-stack{min-width:0}
 .afg-journey-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:790px){
 .afg-shell{padding:0 16px!important}
 .afg-site-header{height:68px!important;min-height:68px!important}
 .afg-logo{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:13px!important}
 .afg-logo svg{width:29px;height:29px}
 .afg-brand-text strong{font-size:14px!important}.afg-brand-text small{font-size:9px}
 .afg-secure-label{display:none!important}.afg-header-home{padding:7px 12px!important;font-size:11px!important}
 .afg-hero{padding:14px 0 12px!important;align-items:center!important;gap:9px}
 .afg-hero h1{font-size:23px!important;margin:3px 0!important}.afg-hero-kicker{font-size:10px!important}
 .afg-hero p{display:none!important}.afg-hero-security{font-size:10px!important;margin:0}
 .afg-workspace{display:flex!important;flex-direction:column!important;gap:0!important}
 .afg-workspace>.afg-secondary-stack,.afg-workspace>.afg-primary-stack{order:unset!important;width:100%!important;position:static!important}
 .afg-secondary-stack{order:0!important}.afg-primary-stack{order:1!important}
 .afg-secondary-stack .afg-payment-section{order:0}.afg-secondary-stack .afg-invoice-section{order:1}.afg-secondary-stack .afg-timer{order:2}
 .afg-auth-grid{grid-template-columns:1fr!important}
 .afg-auth-aside{gap:12px}
 .afg-steps{margin-bottom:11px!important}
 .afg-workspace .afg-panel{margin-bottom:11px!important}
 .afg-overview{padding:15px!important;border-radius:17px!important}
}
@media(max-width:510px){
 .afg-shell{padding:0 12px!important}
 .afg-site-header{min-height:61px!important;height:61px!important}
 .afg-logo{width:38px!important;height:38px!important;flex-basis:38px!important}
 .afg-brand{gap:8px!important}.afg-brand-text strong{font-size:13px!important}.afg-brand-text small{font-size:9px!important}
 .afg-header-home{padding:6px 10px!important;border-radius:9px!important}
 .afg-hero{padding:11px 0 12px!important}
 .afg-hero h1{font-size:21px!important;margin:1px 0!important}
 .afg-hero-security{display:none!important}
 .afg-topline{margin-bottom:8px!important}.afg-topline .afg-btn{min-height:33px!important}
 .afg-overview{padding:12px!important;border-radius:15px!important;margin-bottom:12px!important}
 .afg-heading{align-items:center!important;gap:10px!important;padding:0 0 10px!important}
 .afg-heading h2{font-size:17px!important;margin:0!important}
 .afg-heading .afg-overline{font-size:9px!important}
 .afg-heading .afg-muted{font-size:9px!important;line-height:1.3!important}
 .afg-pill{padding:7px 9px!important;font-size:10px!important;border-radius:9px!important;max-width:44%;line-height:1.6!important}
 .afg-last-update{font-size:10px!important;margin-bottom:10px!important}
 .afg-steps{padding:10px 5px!important;gap:1px!important;border-radius:10px!important;margin-bottom:10px!important}
 .afg-steps span{font-size:9px!important;gap:4px;line-height:1.4!important}
 .afg-steps span:before{height:17px;width:17px;font-size:12px!important}
 .afg-steps span.active:before{font-size:9px!important}
 .afg-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .afg-stat{min-height:66px!important;padding:10px 11px!important;border-radius:9px!important}
 .afg-stat span{font-size:10px!important}.afg-stat strong{font-size:16px!important;margin:4px 0 0!important;line-height:1.45!important}
 .afg-stat-featured{grid-column:1/-1;min-height:57px!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px}
 .afg-stat-featured strong{font-size:20px!important;margin:0!important}
 .afg-quick-action{padding:9px 10px!important;gap:9px!important;border-radius:11px!important;margin-bottom:12px!important}
 .afg-quick-action strong{font-size:11px!important}.afg-quick-action small{font-size:9px!important}
 .afg-quick-action-button{padding:9px 10px!important;font-size:10px!important;white-space:normal!important;text-align:center;min-width:108px}
 .afg-panel{padding:15px!important;border-radius:13px!important}
 .afg-secondary-stack .afg-payment-section{padding:17px!important}
 .afg-payment-section h3{font-size:17px!important}.afg-payment-amount{padding:12px!important}
 .afg-wallet-num{font-size:17px!important}
 .afg-body details.afg-panel>.afg-section-head{min-height:58px!important;padding:11px 12px!important}
 .afg-body details.afg-panel>.afg-section-head h3{font-size:12px!important}
 .afg-summary-hint,.afg-trust-seal{display:none!important}
 .afg-product-thumb{width:56px!important;height:56px!important;flex-basis:56px!important}
 .afg-product-info{min-width:80px}
 .afg-product-price{font-size:11px!important}
 .afg-input-grid{grid-template-columns:1fr!important}
 .afg-mobile-cta{padding-inline:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.afg-body *,.afg-body *:before,.afg-body *:after{animation:none!important;transition:none!important}}
/* The payment action must precede optional product sections on every handheld screen. */
@media(max-width:790px){
 .afg-workspace>.afg-secondary-stack{order:-1!important}
 .afg-workspace>.afg-primary-stack{order:0!important}
}

/* v1.3: unobtrusive mixed media labels and unified previous orders */
.afg-section-media-hint{display:block;font-size:.74rem;line-height:1.7;font-weight:500;color:#95734a;margin-top:3px}
.afg-my-orders-content{padding:0 18px 18px}
.afg-my-orders-content>.afg-link-orders{margin-top:14px;font-size:.9rem}
.afg-my-orders-content>.afg-link-orders>summary{cursor:pointer;padding:12px 14px;border:1px solid #dfd3bc;border-radius:12px;background:#fffdf9}
.afg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

.afg-product-media-count{display:inline-block;color:#ad8753;font-size:.73em;font-weight:500;margin-inline-start:8px}
