@font-face{font-family:PeydaAUP;src:url('../../../../assets/fonts/Peyda-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:PeydaAUP;src:url('../../../../assets/fonts/Peyda-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:PeydaAUP;src:url('../../../../assets/fonts/Peyda-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:PeydaAUP;src:url('../../../../assets/fonts/Peyda-Bold.ttf') format('truetype');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:PeydaAUP;src:url('../../../../assets/fonts/Peyda-Bold.ttf') format('truetype');font-weight:900;font-style:normal;font-display:swap}

:root{--aup-blue:#4665dc;--aup-text:#202532;--aup-muted:#747b8d;--aup-border:#e7e9ef;--aup-bg:#f5f6f8;--aup-side:286px}*{box-sizing:border-box}.aup-shell,.aup-nav,.aup-global-sidebar,.aup-main,.aup-main *{font-family:PeydaAUP,Tahoma,sans-serif!important}.aup-panel-page{margin:0;background:var(--aup-bg);color:var(--aup-text)}.aup-shell{min-height:100vh;direction:rtl}.aup-panel-sidebar,.aup-global-sidebar{position:fixed;right:18px;top:18px;bottom:18px;width:var(--aup-side);z-index:99990;background:#fff;border:1px solid var(--aup-border);border-radius:26px;box-shadow:0 18px 50px rgba(30,38,60,.1)}.aup-panel-sidebar-inner,.aup-global-sidebar-inner{height:100%;padding:24px 18px;display:flex;flex-direction:column}.aup-profile{display:flex;align-items:center;gap:13px;padding:8px 8px 22px;border-bottom:1px solid var(--aup-border)}.aup-profile img{border-radius:50%}.aup-profile strong,.aup-profile small{display:block}.aup-profile small{color:var(--aup-muted);margin-top:4px}.aup-side-nav{display:flex;flex-direction:column;gap:9px;padding-top:22px}.aup-nav-item{display:flex;align-items:center;gap:13px;min-height:54px;padding:0 15px;border-radius:16px;color:#666d7c;text-decoration:none!important;font-size:16px;font-weight:600;transition:.2s}.aup-nav-item:hover,.aup-nav-item.is-active{background:#eef1ff;color:var(--aup-blue)}.aup-nav-icon{width:25px;height:25px;display:grid;place-items:center}.aup-nav-icon svg,.aup-wallet-icon svg,.aup-logout svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.aup-main{margin-right:calc(var(--aup-side) + 54px);padding:48px 42px 80px;max-width:1600px;min-height:100vh}.aup-page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.aup-page-head h1{margin:0;font-size:34px}.aup-grid{display:grid;gap:22px}.aup-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.aup-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.aup-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.aup-card{background:#fff;border:1px solid var(--aup-border);border-radius:22px;padding:25px;box-shadow:0 8px 26px rgba(36,42,66,.045)}.aup-shortcut{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--aup-text);min-height:150px;justify-content:center}.aup-shortcut b{font-size:20px}.aup-shortcut span{color:var(--aup-muted)}.aup-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--aup-blue)!important;color:#fff!important;padding:12px 22px;min-height:46px;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none!important;box-shadow:0 8px 18px rgba(70,101,220,.18)}.aup-btn-outline{background:#fff!important;color:var(--aup-text)!important;border:1px solid #bac0ce;box-shadow:none}.aup-orders-table{padding:0;overflow:hidden}.aup-orders-head,.aup-order-row{display:grid;grid-template-columns:1.05fr 2fr .6fr 1fr .8fr 1.15fr 1.1fr 34px;gap:14px;align-items:center;padding:19px 24px}.aup-orders-head{background:#fafbfc;font-weight:700;border-bottom:1px solid var(--aup-border)}.aup-order-row{color:var(--aup-text);text-decoration:none!important;border-bottom:1px solid var(--aup-border);min-height:88px}.aup-order-row:last-child{border-bottom:0}.aup-order-row:hover{background:#fafbff}.aup-order-row span{line-height:1.65}.aup-notice{padding:17px 20px;border-radius:16px;margin:0 0 18px;line-height:1.9}.aup-notice.info{background:#eaf7fa;color:#245663}.aup-notice.warn{background:#fff0ee;color:#7c3c34}.aup-order-card-section,.aup-order-status{margin-top:24px}.aup-aidm-wrap{display:grid;gap:28px}.aup-aidm-account{padding:4px}.aup-aidm-account>h3{margin:0 0 18px}.aup-aidm-details{margin-top:22px;border:1px solid var(--aup-border);border-radius:16px;padding:15px}.aup-aidm-details summary{cursor:pointer;font-weight:700}.aup-aidm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.aup-aidm-fields>div{background:#f7f8fb;border-radius:13px;padding:13px}.aup-aidm-fields small,.aup-summary small,.aup-wallet small{display:block;color:var(--aup-muted);margin-bottom:6px}.aup-order-status h2{text-align:center}.aup-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px}.aup-timeline div{padding:14px;text-align:center;border-radius:14px;background:#f0f1f4;color:#888}.aup-timeline .done{background:#eaf6ed;color:#287d3f;font-weight:700}.aup-summary{margin-top:24px}.aup-summary .aup-card{min-height:125px;display:flex;flex-direction:column;justify-content:center}.aup-wallet{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:24px}.aup-wallet-summary{display:flex;align-items:center;gap:16px}.aup-wallet-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#5274eb,#314fc0);color:#fff;display:grid;place-items:center}.aup-wallet-form{display:flex;align-items:end;gap:12px}.aup-wallet-form label,.aup-form label{display:flex;flex-direction:column;gap:8px;font-weight:600}.aup-form{display:grid;gap:17px}.aup-form input,.aup-form textarea,.aup-form select,.aup-wallet-form input{width:100%;border:1px solid #d9dde7;border-radius:13px;background:#fff;color:#222;padding:13px 14px;min-height:46px;outline:none}.aup-form input:focus,.aup-form textarea:focus,.aup-form select:focus{border-color:var(--aup-blue);box-shadow:0 0 0 3px rgba(70,101,220,.1)}.aup-logout{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;padding:13px;border-radius:14px;background:#fff1f1;color:#b23c3c;text-decoration:none!important}.aup-wallet-history{display:grid;gap:10px}.aup-wallet-tx{display:flex;justify-content:space-between;align-items:center;padding:14px;border:1px solid var(--aup-border);border-radius:14px}.aup-wallet-tx small{display:block;color:var(--aup-muted);margin-top:4px}.aup-support-top{align-items:start;margin-bottom:24px}.aup-contact-list{display:grid;gap:12px}.aup-contact-list a{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid var(--aup-border);border-radius:14px;text-decoration:none;color:var(--aup-text)}.aup-contact-list span{color:var(--aup-muted);direction:ltr}.aup-ticket-list{display:grid}.aup-ticket-list>a{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--aup-border);text-decoration:none;color:var(--aup-text)}.aup-ticket-list>a:last-child{border-bottom:0}.aup-ticket-list small{display:block;color:var(--aup-muted);margin-top:5px}.aup-ticket-status{padding:7px 12px;border-radius:99px;font-size:13px}.status-open{background:#fff5db;color:#8a6615}.status-reviewing{background:#eaf2ff;color:#2459a6}.status-answered{background:#e9f8ed;color:#27743a}.status-closed{background:#eceef2;color:#606674}.aup-ticket-thread{display:grid;gap:18px}.aup-message{max-width:76%;padding:16px 18px;border-radius:18px;line-height:1.9}.aup-message.user{margin-right:auto;background:#eef1ff}.aup-message.admin{margin-left:auto;background:#f0f8f2}.aup-message small{display:block;color:var(--aup-muted);margin-top:7px}.aup-attachments{display:flex;flex-wrap:wrap;gap:8px}.aup-attachments a{background:#fff;padding:7px 10px;border-radius:9px;text-decoration:none}.aup-reply-form{margin-top:15px;padding-top:20px;border-top:1px solid var(--aup-border)}.aup-empty{text-align:center;padding:45px;color:var(--aup-muted)}.aup-empty.compact{padding:20px}.aup-mobile-nav{display:none}
body.aup-has-global-nav{padding-right:calc(var(--aup-side) + 36px)!important}body.aup-has-global-nav .site,body.aup-has-global-nav #page,body.aup-has-global-nav .elementor-location-header,body.aup-has-global-nav .elementor-location-footer{max-width:100%!important}
@media(max-width:1024px){:root{--aup-side:0px}.aup-panel-sidebar,.aup-global-sidebar{display:none}.aup-main{margin:0;padding:26px 16px 112px}.aup-page-head h1{font-size:27px}.aup-grid-2,.aup-grid-3,.aup-grid-4{grid-template-columns:1fr}.aup-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:999999;background:rgba(255,255,255,.96);border:1px solid var(--aup-border);border-radius:24px;padding:8px;box-shadow:0 16px 45px rgba(27,35,64,.18);backdrop-filter:blur(18px)}.aup-mobile-nav .aup-nav-item{min-height:62px;padding:5px 2px;gap:3px;flex-direction:column;justify-content:center;font-size:11px;border-radius:16px}.aup-mobile-nav .aup-nav-home{transform:translateY(-18px);background:#eef1ff}.aup-mobile-nav .aup-nav-home .aup-nav-icon{width:52px;height:52px;border-radius:17px;background:var(--aup-blue);color:#fff}.aup-mobile-nav .aup-nav-home .aup-nav-icon svg{width:27px;height:27px}.aup-orders-head{display:none}.aup-order-row{grid-template-columns:1fr 1fr;padding:17px;gap:12px}.aup-order-row span{display:flex;justify-content:space-between;gap:10px}.aup-order-row span:before{content:attr(data-label);font-weight:700;color:var(--aup-muted)}.aup-order-row span:last-child{display:none}.aup-wallet{align-items:stretch;flex-direction:column}.aup-wallet-form{align-items:stretch;flex-direction:column}.aup-aidm-fields{grid-template-columns:1fr}.aup-timeline{grid-template-columns:1fr 1fr}.aup-message{max-width:92%}body.aup-has-global-nav{padding-right:0!important;padding-bottom:105px!important}}

/* v1.6 fixes */
html,body{max-width:100%;overflow-x:hidden}.aup-main{min-width:0;overflow-x:hidden}.aup-order-card-section{overflow:hidden}.aup-aidm-account{min-width:0;overflow:hidden}.aup-aidm-card-scroller{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 14px;cursor:grab}.aup-aidm-card-scroller:active{cursor:grabbing}.aup-aidm-card-scroller .aidm-card-choices{display:flex!important;flex-wrap:nowrap!important;gap:22px!important;width:max-content!important;min-width:100%;max-width:none!important}.aup-aidm-card-scroller .aidm-card-choice{flex:0 0 min(390px,calc(100vw - 390px))!important;width:min(390px,calc(100vw - 390px))!important;max-width:390px!important;min-width:300px!important;scroll-snap-align:start}.aup-aidm-card-scroller .aidm-card,.aup-aidm-card-scroller canvas,.aup-aidm-card-scroller img{max-width:100%!important;height:auto!important}.aup-aidm-details summary{list-style:none}.aup-aidm-details summary::-webkit-details-marker{display:none}.aup-copy-row,.aup-security-row{background:#f7f8fb;border:1px solid #eef0f5;border-radius:16px;padding:15px;min-width:0}.aup-copy-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.aup-copy-row>div{min-width:0}.aup-copy-row strong,.aup-security-row strong,.aup-answer b{display:block;overflow-wrap:anywhere;word-break:break-word}.aup-copy-notes{grid-column:1/-1;align-items:flex-start}.aup-copy-btn{flex:0 0 auto;border:1px solid #cfd5e5;background:#fff!important;color:#34405e!important;border-radius:11px;padding:8px 12px;font:600 13px PeydaAUP,Tahoma,sans-serif;cursor:pointer}.aup-copy-btn.is-copied{background:#e9f8ed!important;color:#26733a!important;border-color:#b9dfc3}.aup-security-row{display:grid;gap:8px}.aup-security-row>.aup-answer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:5px;padding-top:12px;border-top:1px solid #e1e4ec}.aup-timeline{display:grid;grid-template-columns:minmax(120px,1fr) 34px minmax(120px,1fr) 34px minmax(120px,1fr) 34px minmax(120px,1fr);align-items:center;gap:8px}.aup-timeline div{display:flex;align-items:center;justify-content:flex-start;gap:9px;text-align:right}.aup-timeline i{font-style:normal;text-align:center;color:#c4c8d2;font-size:25px}.aup-step-check{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e1e3e8;color:#9499a5;font-weight:700;flex:0 0 auto}.aup-timeline .done .aup-step-check{background:#cfead6;color:#287d3f}
@media(max-width:1024px){.aup-mobile-nav .aup-nav-home{transform:none;background:transparent}.aup-mobile-nav .aup-nav-home .aup-nav-icon{width:25px;height:25px;border-radius:0;background:transparent;color:inherit}.aup-mobile-nav .aup-nav-home .aup-nav-icon svg{width:24px;height:24px}.aup-mobile-nav .aup-nav-item.is-active{transform:translateY(-18px);background:#eef1ff;color:var(--aup-blue)}.aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon{width:52px;height:52px;border-radius:17px;background:var(--aup-blue);color:#fff}.aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon svg{width:27px;height:27px}.aup-aidm-card-scroller .aidm-card-choice{flex-basis:calc(100vw - 72px)!important;width:calc(100vw - 72px)!important;min-width:260px!important}.aup-timeline{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px}.aup-timeline div{min-width:145px}.aup-timeline i{min-width:26px}.aup-copy-row{align-items:flex-start}.aup-aidm-fields{gap:12px}}

/* v1.7 layout, mobile orders and ticket fixes */
@media(min-width:1025px){
  .aup-panel-sidebar,.aup-global-sidebar{right:0;top:0;bottom:0;width:300px;border-radius:0;border-top:0;border-bottom:0;border-right:0;box-shadow:-10px 0 35px rgba(30,38,60,.07)}
  body.admin-bar .aup-panel-sidebar,body.admin-bar .aup-global-sidebar{top:32px}
  .aup-panel-sidebar-inner,.aup-global-sidebar-inner{padding:24px 22px}
  .aup-main{margin-right:300px;padding-right:44px}
  body.aup-has-global-nav{padding-right:300px!important}
}
@media(max-width:1024px){
  .aup-orders-table{background:transparent;border:0;box-shadow:none;overflow:visible;display:grid;gap:14px}
  .aup-order-row{display:grid;grid-template-columns:1fr auto;gap:10px 14px;background:#fff;border:1px solid var(--aup-border)!important;border-radius:18px;padding:16px;min-height:0;box-shadow:0 7px 22px rgba(36,42,66,.04)}
  .aup-order-row span{display:block!important;min-width:0}
  .aup-order-row span:before{display:none!important}
  .aup-order-row span:nth-child(1){grid-column:1;font-weight:700;font-size:17px;color:var(--aup-text)}
  .aup-order-row span:nth-child(2){grid-column:1/-1;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .aup-order-row span:nth-child(3){display:none!important}
  .aup-order-row span:nth-child(4),.aup-order-row span:nth-child(5){display:inline!important;color:var(--aup-muted);font-size:13px}
  .aup-order-row span:nth-child(4){grid-column:1}.aup-order-row span:nth-child(5){grid-column:2;text-align:left}
  .aup-order-row span:nth-child(6){grid-column:1;font-weight:700;color:var(--aup-text)}
  .aup-order-row span:nth-child(7){grid-column:2;text-align:left;color:var(--aup-blue);font-weight:700}
  .aup-order-open{grid-column:1/-1!important;text-align:center!important;background:var(--aup-blue);color:#fff!important;border-radius:12px;padding:10px 14px;margin-top:3px;font-weight:700!important}
  .aup-page-head{align-items:center;gap:12px}.aup-page-head .aup-btn{padding:10px 14px;white-space:nowrap}
}

/* v1.8 polished orders, fixed timelines, hidden card scrollbars */
.aup-aidm-card-scroller{scrollbar-width:none;-ms-overflow-style:none}
.aup-aidm-card-scroller::-webkit-scrollbar{display:none;width:0;height:0}

@media(min-width:1025px){
  .aup-orders-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0;background:transparent;border:0;box-shadow:none;overflow:visible}
  .aup-orders-head{display:none}
  .aup-order-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:#fff;border:1px solid var(--aup-border)!important;border-radius:20px;padding:20px;min-height:0;box-shadow:0 8px 26px rgba(36,42,66,.045)}
  .aup-order-row span{display:grid;gap:5px;min-width:0;align-content:start}
  .aup-order-row span:before{content:attr(data-label);display:block;color:var(--aup-muted);font-size:13px;font-weight:600}
  .aup-order-row span:nth-child(1),.aup-order-row span:nth-child(2){grid-column:span 2}
  .aup-order-row span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .aup-order-open{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#f1f4ff;color:var(--aup-blue)!important;border-radius:13px;padding:11px;font-weight:700}
}
@media(max-width:1024px){
  .aup-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .aup-summary .aup-card{padding:16px;border-radius:17px;min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:8px}
  .aup-summary .aup-card strong{font-size:15px;overflow-wrap:anywhere}
  .aup-timeline{display:grid!important;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr)!important;gap:3px!important;overflow:visible!important;padding:0!important;width:100%}
  .aup-timeline div{min-width:0!important;display:flex!important;flex-direction:column;justify-content:center!important;gap:5px!important;text-align:center!important;font-size:10px;line-height:1.4}
  .aup-timeline i{min-width:0!important;font-size:15px!important}
  .aup-step-check{width:23px;height:23px;font-size:12px}
}

/* v1.9 card carousel, compact text rows and OTP modal */
.aup-aidm-wrap{gap:18px}.aup-aidm-account>h3{margin-bottom:12px}.aup-aidm-details{margin-top:12px;padding:12px}.aup-aidm-fields{margin-top:12px;gap:10px}.aup-aidm-fields>div{padding:11px 12px}.aup-security-row em{display:block;margin-top:5px;color:var(--aup-text);font-style:normal;font-weight:600;overflow-wrap:anywhere}.aup-copy-btn{display:inline-flex;align-items:center;gap:6px;border-color:#d8dceb;background:#fff!important;color:var(--aup-blue)!important;border-radius:12px;padding:8px 11px;box-shadow:0 4px 12px rgba(70,101,220,.08)}.aup-copy-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.aup-copy-btn:hover{background:#eef1ff!important}.aup-copy-btn.is-copied{background:#e9f8ed!important;color:#26733a!important}
.aup-aidm-card-scroller{position:relative;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;padding:2px 2px 8px;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}.aup-aidm-card-scroller.is-dragging{cursor:grabbing;scroll-snap-type:none}.aup-aidm-card-track,.aup-aidm-card-scroller .aidm-card-choices{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;width:max-content!important;min-width:100%!important}.aup-aidm-card-scroller .aidm-card-choice{flex:0 0 clamp(300px,68vw,430px)!important;width:clamp(300px,68vw,430px)!important;min-width:0!important;max-width:none!important;scroll-snap-align:start}.aup-aidm-card-scroller:after{content:'بکشید';position:sticky;left:8px;bottom:8px;display:inline-flex;background:rgba(32,37,50,.78);color:#fff;border-radius:99px;padding:5px 10px;font-size:11px;pointer-events:none;opacity:.82}
.aup-auth-trigger{font-family:PeydaAUP,Tahoma,sans-serif;border:0;border-radius:13px;background:#15171c;color:#fff;padding:11px 20px;cursor:pointer;font-weight:700;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center}.aup-auth-logout{background:#fff0f0;color:#ad3030}.aup-auth-modal{position:fixed;inset:0;z-index:1000000;display:none;align-items:center;justify-content:center;padding:22px;direction:rtl}.aup-auth-modal.is-open{display:flex}.aup-auth-backdrop{position:absolute;inset:0;background:rgba(12,15,22,.58);backdrop-filter:blur(5px)}.aup-auth-box{position:relative;width:min(520px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:34px;padding:28px 42px 38px;box-shadow:0 30px 90px rgba(0,0,0,.28);text-align:center;font-family:PeydaAUP,Tahoma,sans-serif}.aup-auth-close{position:absolute;top:18px;left:18px;width:38px;height:38px;border:2px solid #323744;border-radius:10px;background:#fff;color:#232835;font-size:25px;line-height:1;cursor:pointer;z-index:2}.aup-auth-art{height:175px;position:relative;margin:-12px -18px 6px}.aup-auth-art span{position:absolute;display:grid;place-items:center;border-radius:50%;font-size:64px;background:#f7b0bd;width:125px;height:125px}.aup-auth-art span:nth-child(1){right:0;top:6px}.aup-auth-art span:nth-child(2){right:42%;top:38px;width:80px;height:80px;font-size:41px;background:#e9a1c7}.aup-auth-art span:nth-child(3){left:0;top:34px;width:135px;height:135px;font-size:70px;background:#c8c0e8}.aup-auth-art span:nth-child(4){left:39%;top:100px;width:64px;height:64px;font-size:34px;background:#cfc7ee}.aup-auth-step{display:none}.aup-auth-step.is-active{display:block}.aup-auth-step h2{font-size:31px;margin:10px 0}.aup-auth-step p{color:#8a90a1;line-height:1.9;margin:0 0 20px}.aup-auth-input{height:62px;border:1px solid #d7dbe5;border-radius:15px;display:flex;align-items:center;padding:0 18px;margin-bottom:16px}.aup-auth-input input,.aup-auth-code{font-family:PeydaAUP,Tahoma,sans-serif;border:0!important;box-shadow:none!important;outline:0;width:100%;font-size:17px;background:transparent!important;color:#202532}.aup-auth-input input{text-align:right}.aup-auth-box .aup-btn{width:100%;min-height:58px;font-size:18px;background:linear-gradient(135deg,#7554eb,#694ce3)!important}.aup-auth-code{height:72px;border:1px solid #d7dbe5!important;border-radius:15px!important;text-align:center;letter-spacing:12px;font-size:22px;margin:20px 0}.aup-auth-edit{border:0;background:transparent;color:#303544;font-weight:700;cursor:pointer}.aup-auth-resend{margin-top:22px;color:#343a49}.aup-auth-resend button{border:0;background:#7252e9;color:#fff;border-radius:10px;padding:7px 11px;cursor:pointer}.aup-auth-message{min-height:24px;margin-top:12px;color:#c23c3c}.aup-auth-message.is-success{color:#27743a}
@media(max-width:1024px){.aup-aidm-card-track,.aup-aidm-card-scroller .aidm-card-choices{gap:12px!important}.aup-aidm-card-scroller .aidm-card-choice{flex-basis:72vw!important;width:72vw!important;min-width:245px!important;max-width:360px!important}.aup-aidm-card-scroller{margin-left:-2px;margin-right:-2px;padding-bottom:6px}.aup-aidm-details{margin-top:9px}.aup-aidm-fields{gap:8px}.aup-copy-row{padding:10px 11px;align-items:center}.aup-copy-btn span{display:none}.aup-copy-btn{width:38px;height:38px;padding:0;justify-content:center}.aup-auth-modal{align-items:flex-end;padding:0}.aup-auth-box{width:100%;border-radius:28px 28px 0 0;padding:28px 24px calc(34px + env(safe-area-inset-bottom));max-height:88vh}.aup-auth-art{display:none}.aup-auth-step h2{font-size:26px;margin-top:20px}.aup-auth-close{top:20px;left:20px}.aup-auth-code{letter-spacing:8px}}


/* v1.9.1 compact card details and consistent mobile navigation */
.aup-aidm-card-scroller::after{content:none!important;display:none!important}
.aup-aidm-details{margin-top:4px!important}
.aup-aidm-account>h3{margin-bottom:8px!important}
.aup-security-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:76px}
.aup-security-row>div{min-width:0;display:block!important}
.aup-security-row small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.aup-security-row strong{display:block;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-home,
  .aup-mobile-nav .aup-nav-home:hover{
    transform:none!important;
    background:transparent!important;
    color:#666d7c!important;
  }
  .aup-mobile-nav .aup-nav-home .aup-nav-icon,
  .aup-mobile-nav .aup-nav-home:hover .aup-nav-icon{
    width:25px!important;height:25px!important;border-radius:0!important;background:transparent!important;color:inherit!important;
  }
  .aup-mobile-nav .aup-nav-home .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-home:hover .aup-nav-icon svg{width:24px!important;height:24px!important}
  .aup-mobile-nav .aup-nav-item:hover,
  .aup-mobile-nav .aup-nav-item.is-active{
    transform:translateY(-18px)!important;
    background:#eef1ff!important;
    color:var(--aup-blue)!important;
  }
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon{
    width:52px!important;height:52px!important;border-radius:17px!important;background:var(--aup-blue)!important;color:#fff!important;
  }
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon svg{width:27px!important;height:27px!important}
  .aup-aidm-details{margin-top:2px!important}
  .aup-security-row{min-height:64px;padding:10px 11px!important}
}

/* v1.9.2 SMS log, account button and final mobile/home/security alignment */
.aup-auth-trigger{border-radius:18px!important;min-height:48px;padding:12px 24px!important;box-shadow:0 10px 24px rgba(20,24,35,.14);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.aup-auth-trigger:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(20,24,35,.18)}
.aup-auth-account{background:linear-gradient(135deg,#4969df,#3654c5)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
.aup-aidm-fields .aup-security-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:76px!important;padding:15px!important}
.aup-aidm-fields .aup-security-row>div{min-width:0!important;flex:1 1 auto!important}
.aup-aidm-fields .aup-security-row .aup-copy-btn{margin:0!important;align-self:center!important;flex:0 0 auto!important}
.aup-aidm-fields .aup-security-row small{display:block!important;margin:0 0 6px!important;white-space:normal!important}
.aup-aidm-fields .aup-security-row strong{display:block!important;margin:0!important;white-space:normal!important}
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item.aup-nav-home:not(.is-active):not(:hover){transform:none!important;background:transparent!important;color:#666d7c!important}
  .aup-mobile-nav .aup-nav-item.aup-nav-home:not(.is-active):not(:hover) .aup-nav-icon{width:25px!important;height:25px!important;border-radius:0!important;background:transparent!important;color:inherit!important}
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active{transform:translateY(-18px)!important;background:#eef1ff!important;color:var(--aup-blue)!important}
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon{width:52px!important;height:52px!important;border-radius:17px!important;background:var(--aup-blue)!important;color:#fff!important}
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon svg{width:27px!important;height:27px!important}
  .aup-aidm-fields .aup-security-row{min-height:64px!important;padding:10px 11px!important}
}

/* v1.9.3 navigation hover, account CTA and mobile phone formatting */
.aup-auth-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;border-radius:22px!important;min-height:50px!important;padding:12px 25px!important;border:0!important;font-weight:700!important;text-decoration:none!important}
.aup-auth-account{background:linear-gradient(135deg,#4969df,#3654c5)!important;color:#fff!important}
.aup-auth-user-icon{display:inline-flex;width:21px;height:21px;align-items:center;justify-content:center}
.aup-auth-user-icon svg{width:21px;height:21px;stroke:currentColor}
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item{transition:background .18s ease,color .18s ease,transform .18s ease!important}
  .aup-mobile-nav .aup-nav-item.is-active{transform:translateY(-18px)!important;background:#eef1ff!important;color:var(--aup-blue)!important}
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon{width:52px!important;height:52px!important;border-radius:17px!important;background:var(--aup-blue)!important;color:#fff!important}
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon svg{width:27px!important;height:27px!important}
}
@media(max-width:1024px) and (hover:hover) and (pointer:fine){
  .aup-mobile-nav .aup-nav-item:hover:not(.is-active),
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover:not(.is-active){transform:none!important;background:#eef1ff!important;color:var(--aup-blue)!important}
  .aup-mobile-nav .aup-nav-item:hover:not(.is-active) .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover:not(.is-active) .aup-nav-icon{width:25px!important;height:25px!important;border-radius:0!important;background:transparent!important;color:var(--aup-blue)!important}
  .aup-mobile-nav .aup-nav-item:hover:not(.is-active) .aup-nav-icon svg{width:24px!important;height:24px!important}
}

/* 1.9.4: uniform security rows + embedded PeydaAUP auth typography */
.aup-auth-modal,.aup-auth-modal *,.aup-auth-trigger,.aup-auth-trigger *{font-family:PeydaAUP,Tahoma,sans-serif!important}
.aup-auth-step h2{font-weight:700!important;letter-spacing:0!important}
.aup-auth-step p,.aup-auth-input input,.aup-auth-code,.aup-auth-edit,.aup-auth-resend,.aup-auth-box button{font-weight:400}
.aup-auth-box .aup-btn{font-weight:600}
.aup-security-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:96px!important;padding:15px!important}
.aup-security-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;flex:1}
.aup-security-content small{display:block;color:#858b99;line-height:1.5}
.aup-security-question{display:block;color:#4d5566;font-size:14px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
.aup-security-content strong{display:block;color:#171b25;font-size:16px;line-height:1.55;margin:0}
.aup-security-row .aup-copy-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:82px;height:52px;margin:0!important}
@media(max-width:1024px){
 .aup-security-row{min-height:88px!important;padding:10px 11px!important;align-items:center!important}
 .aup-security-row .aup-copy-btn{width:54px!important;min-width:54px!important;height:42px!important;padding:0 8px!important;font-size:13px!important}
}

/* 1.9.5: unified account trigger before/after login */
button.aup-auth-trigger.aup-auth-account{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  cursor:pointer;
  font:inherit;
}


/* 1.9.6: polished shortcode button */
.aup-auth-trigger.aup-auth-account{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:50px!important;padding:12px 26px!important;border:0!important;
  border-radius:18px!important;background:linear-gradient(135deg,#7357f1 0%,#4c67df 100%)!important;
  color:#fff!important;font-family:PeydaAUP,Tahoma,sans-serif!important;font-size:16px!important;font-weight:600!important;
  line-height:1.4!important;text-decoration:none!important;box-shadow:0 10px 24px rgba(80,92,220,.25)!important;
  cursor:pointer!important;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
.aup-auth-trigger.aup-auth-account:hover{transform:translateY(-1px)!important;box-shadow:0 14px 30px rgba(80,92,220,.32)!important;filter:brightness(1.03)!important;color:#fff!important}
.aup-auth-trigger.aup-auth-account:focus{outline:3px solid rgba(82,99,225,.18)!important;outline-offset:3px!important}
.aup-auth-trigger .aup-auth-user-icon{display:none!important}
@media(max-width:1024px){.aup-auth-trigger.aup-auth-account{min-height:46px!important;padding:10px 20px!important;border-radius:16px!important;font-size:15px!important}}


/* v1.9.7 wallet limits and consistent order action */
.aup-wallet-limits{display:block;margin-top:-4px;color:var(--aup-muted);font-size:13px;line-height:1.8}
@media(max-width:1024px){
  .aup-order-open{
    grid-column:1/-1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    margin-top:4px!important;
    padding:10px 14px!important;
    border:1px solid #dbe1fa!important;
    border-radius:13px!important;
    background:#f1f4ff!important;
    color:var(--aup-blue)!important;
    box-shadow:none!important;
    font-weight:700!important;
  }
  .aup-order-row:hover .aup-order-open{background:#e9edff!important;color:#3654c5!important}
}

.aup-wallet-inline-error{margin-top:10px;padding:11px 14px;border-radius:12px;background:#fff2f2;color:#c62828;font-size:14px;font-weight:600}.aup-wallet-inline-error[hidden]{display:none!important}


/* v1.9.9 premium wallet charge card + uniform security boxes */
.aup-wallet{display:grid!important;grid-template-columns:minmax(250px,.8fr) minmax(420px,1.35fr)!important;align-items:stretch!important;gap:22px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.aup-wallet-summary{position:relative;overflow:hidden;align-items:flex-start!important;min-height:280px;padding:30px;border-radius:24px;background:linear-gradient(145deg,#4869e5 0%,#304ec1 100%);color:#fff;box-shadow:0 18px 45px rgba(60,82,190,.24)}
.aup-wallet-summary:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;left:-75px;bottom:-105px;background:rgba(255,255,255,.10)}
.aup-wallet-summary small{color:rgba(255,255,255,.78)!important;margin-bottom:10px!important}
.aup-wallet-summary h2{margin:0 0 8px;font-size:32px;color:#fff}
.aup-wallet-caption{display:block;color:rgba(255,255,255,.72);font-size:13px}
.aup-wallet-icon{background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.22);box-shadow:none!important;backdrop-filter:blur(8px)}
.aup-wallet-charge{padding:26px;border:1px solid var(--aup-border);border-radius:24px;background:#fff;box-shadow:0 12px 34px rgba(36,42,66,.06)}
.aup-wallet-charge-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.aup-wallet-charge-head small{display:block;color:var(--aup-muted);margin-bottom:4px}.aup-wallet-charge-head strong{font-size:19px}.aup-wallet-safe{padding:7px 11px;border-radius:99px;background:#edf8f0;color:#287d3f;font-size:12px;font-weight:700}
.aup-wallet-form{display:grid!important;gap:14px!important;align-items:stretch!important}.aup-wallet-amount-label{gap:9px!important}.aup-wallet-amount-label>span{font-size:14px;color:#525a6c}
.aup-wallet-input-wrap{display:flex;align-items:center;min-height:58px;border:1px solid #dfe3ed;border-radius:16px;background:#f8f9fc;overflow:hidden;transition:.2s}.aup-wallet-input-wrap:focus-within{border-color:var(--aup-blue);background:#fff;box-shadow:0 0 0 4px rgba(70,101,220,.10)}
.aup-wallet-input-wrap input{border:0!important;background:transparent!important;box-shadow:none!important;min-height:56px!important;font-size:18px;font-weight:700;padding:13px 16px!important}.aup-wallet-input-wrap b{flex:0 0 auto;padding:0 16px;color:var(--aup-muted);font-size:14px;border-right:1px solid #e2e5ed}
.aup-wallet-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.aup-wallet-presets button{min-height:42px;border:1px solid #dfe3ed;border-radius:12px;background:#fff;color:#5d6575;font-family:PeydaAUP,Tahoma,sans-serif;font-weight:600;cursor:pointer;transition:.18s}.aup-wallet-presets button:hover,.aup-wallet-presets button.is-active{border-color:#c7d0fb;background:#eef1ff;color:var(--aup-blue)}
.aup-wallet-submit{width:100%;min-height:52px!important;border-radius:15px!important;font-size:16px!important;margin-top:2px}.aup-wallet-inline-error{margin-top:0!important}
.aup-aidm-fields .aup-copy-row,.aup-aidm-fields .aup-security-row{min-height:104px!important;padding:18px!important;border-radius:17px!important}.aup-aidm-fields .aup-security-row{display:flex!important;align-items:center!important}.aup-aidm-fields .aup-security-content{align-items:flex-start!important;gap:3px!important}.aup-aidm-fields .aup-security-content small{font-size:14px!important;margin-bottom:2px!important}.aup-aidm-fields .aup-security-question{font-size:15px!important;color:#4e5667!important}.aup-aidm-fields .aup-security-content strong{font-size:18px!important;color:#161b25!important}.aup-aidm-fields .aup-copy-btn{min-width:88px!important;height:58px!important;border-color:#e14f82!important;color:#5069df!important;border-radius:5px!important;font-size:15px!important;box-shadow:none!important}
@media(max-width:1024px){.aup-wallet{grid-template-columns:1fr!important}.aup-wallet-summary{min-height:190px;padding:23px}.aup-wallet-charge{padding:20px}.aup-wallet-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.aup-aidm-fields .aup-copy-row,.aup-aidm-fields .aup-security-row{min-height:92px!important;padding:14px!important}.aup-aidm-fields .aup-copy-btn{min-width:68px!important;width:68px!important;height:50px!important;font-size:14px!important}.aup-wallet-charge-head strong{font-size:17px}}


/* v2.0.0 — polished card details and corrected field hierarchy */
.aup-aidm-details{margin-top:16px!important;padding:0!important;border:0!important;background:transparent!important}
.aup-aidm-details>summary{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:52px!important;padding:12px 18px!important;border:1px solid #dce2f4!important;border-radius:15px!important;background:linear-gradient(180deg,#fff 0%,#f7f9ff 100%)!important;color:#405bd2!important;font-size:15px!important;font-weight:700!important;cursor:pointer!important;box-shadow:0 8px 22px rgba(55,75,160,.07)!important;transition:.2s ease!important;user-select:none}
.aup-aidm-details>summary:hover{transform:translateY(-1px);border-color:#c8d2fa!important;background:#f2f5ff!important;box-shadow:0 11px 26px rgba(55,75,160,.11)!important}
.aup-aidm-details>summary .aup-details-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e9eeff;color:#4561dc;font-size:16px}
.aup-aidm-details>summary i{position:relative;width:18px;height:18px;margin-right:auto;flex:0 0 auto}
.aup-aidm-details>summary i:before,.aup-aidm-details>summary i:after{content:"";position:absolute;top:8px;width:8px;height:2px;border-radius:2px;background:currentColor;transition:.2s}.aup-aidm-details>summary i:before{right:2px;transform:rotate(45deg)}.aup-aidm-details>summary i:after{left:2px;transform:rotate(-45deg)}
.aup-aidm-details[open]>summary{border-color:#c7d1fb!important;background:#eef2ff!important}.aup-aidm-details[open]>summary i:before{transform:rotate(-45deg)}.aup-aidm-details[open]>summary i:after{transform:rotate(45deg)}
.aup-aidm-fields{margin-top:14px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.aup-aidm-fields .aup-copy-row{min-height:82px!important;padding:14px 16px!important;border:1px solid #e5e8f0!important;border-radius:15px!important;background:#f8f9fc!important;box-shadow:none!important}
.aup-aidm-fields .aup-copy-row:not(.aup-security-row) small{display:block!important;margin-bottom:5px!important;color:#8a91a1!important;font-size:13px!important}
.aup-aidm-fields .aup-copy-row:not(.aup-security-row) strong{font-size:16px!important;line-height:1.5!important;color:#171b25!important}
.aup-aidm-fields .aup-security-row{min-height:104px!important;padding:16px 18px!important;background:#f7f8fc!important}
.aup-aidm-fields .aup-copy-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:76px!important;width:auto!important;height:46px!important;padding:0 16px!important;border:1px solid #d4dcfb!important;border-radius:12px!important;background:#fff!important;color:#4a64d8!important;font-size:14px!important;font-weight:700!important;box-shadow:0 5px 14px rgba(62,83,175,.07)!important;transition:.18s!important}
.aup-aidm-fields .aup-copy-btn:hover{transform:translateY(-1px);border-color:#b9c6f7!important;background:#eef2ff!important;box-shadow:0 8px 17px rgba(62,83,175,.11)!important}
.aup-aidm-fields .aup-security-row .aup-copy-btn{height:52px!important;min-width:82px!important}
.aup-copy-notes{grid-column:1/-1!important}
.aup-wallet-input-wrap input{direction:ltr!important;text-align:right!important;font-variant-numeric:tabular-nums!important;letter-spacing:.2px!important}
@media(max-width:700px){
 .aup-aidm-fields{grid-template-columns:1fr!important}
 .aup-aidm-details>summary{justify-content:flex-start!important;padding:11px 14px!important}
 .aup-aidm-fields .aup-copy-row{min-height:76px!important;padding:12px 13px!important}
 .aup-aidm-fields .aup-security-row{min-height:96px!important}
 .aup-aidm-fields .aup-copy-btn{min-width:64px!important;height:42px!important;padding:0 12px!important}
 .aup-aidm-fields .aup-security-row .aup-copy-btn{min-width:68px!important;height:46px!important}
}

/* v2.1.0 quick buy */
.single-product form.cart .single_add_to_cart_button,.single-product form.cart button[name="add-to-cart"]{display:none!important}
.aup-quick-buy-btn{width:100%;min-height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,#1478ff,#005bd8);color:#fff;font-family:inherit;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 12px 28px rgba(20,120,255,.25);transition:.2s ease;margin-top:14px}
.aup-quick-buy-btn:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(20,120,255,.32)}
.aup-quick-buy-btn.is-loading{opacity:.75;cursor:wait;transform:none}
.aup-quick-auth-host>.aup-auth-trigger{display:none!important}
.aup-purchase-success{border:1px solid #b8e7cb;background:#effbf4;color:#176b3a;border-radius:18px;padding:18px 20px;margin-bottom:18px;box-shadow:0 8px 24px rgba(23,107,58,.08)}
.aup-purchase-success strong{display:block;font-size:18px;margin-bottom:6px}

/* v2.3.0 premium quick-buy button and live order progress */
.aup-quick-buy-btn{position:relative!important;display:grid!important;grid-template-columns:54px 1fr 34px!important;align-items:center!important;gap:13px!important;min-height:74px!important;padding:10px 14px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:20px!important;background:linear-gradient(135deg,#4568ea 0%,#2449cb 55%,#1739b4 100%)!important;text-align:right!important;overflow:hidden!important;box-shadow:0 14px 32px rgba(37,68,190,.25),inset 0 1px 0 rgba(255,255,255,.18)!important}
.aup-quick-buy-btn:before{content:"";position:absolute;width:150px;height:150px;left:-55px;top:-80px;border-radius:50%;background:rgba(255,255,255,.10)}
.aup-quick-buy-btn:hover{transform:translateY(-2px)!important;box-shadow:0 19px 40px rgba(37,68,190,.32),inset 0 1px 0 rgba(255,255,255,.2)!important}
.aup-quick-buy-icon{position:relative;z-index:1;display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(255,255,255,.23);border-radius:15px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px)}
.aup-quick-buy-icon svg{width:26px;height:26px;fill:currentColor}.aup-quick-buy-copy{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px}.aup-quick-buy-copy strong{font-size:18px;line-height:1.35}.aup-quick-buy-copy small{font-size:12px;font-weight:500;color:rgba(255,255,255,.76)}
.aup-quick-buy-arrow{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(255,255,255,.13);font-size:19px;transition:.2s}.aup-quick-buy-btn:hover .aup-quick-buy-arrow{transform:translateX(-3px)}
.aup-timeline .active{position:relative;background:#eef2ff!important;color:#3f5ad2!important;font-weight:800!important;border:1px solid #d7dffc!important;box-shadow:0 7px 18px rgba(63,90,210,.10)}
.aup-step-spinner{display:inline-block;width:16px;height:16px;border:2px solid #b9c5f5;border-top-color:#4561dc;border-radius:50%;animation:aupStepSpin .8s linear infinite;vertical-align:middle}
@keyframes aupStepSpin{to{transform:rotate(360deg)}}
.aup-wallet-submit.is-submitting{opacity:.78;cursor:wait;pointer-events:none}

/* v2.3.2 — restrained quick-buy button and clearer live progress */
.aup-quick-buy-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-height:54px!important;padding:13px 20px!important;margin-top:14px!important;border:1px solid #3155d7!important;border-radius:13px!important;background:#4164df!important;color:#fff!important;font-family:inherit!important;font-size:16px!important;font-weight:700!important;line-height:1!important;text-align:center!important;box-shadow:0 7px 18px rgba(48,78,184,.18)!important;overflow:visible!important;transition:background .18s ease,box-shadow .18s ease,transform .18s ease!important}
.aup-quick-buy-btn:before{display:none!important}.aup-quick-buy-btn:hover{background:#3558d5!important;transform:translateY(-1px)!important;box-shadow:0 10px 22px rgba(48,78,184,.23)!important}.aup-quick-buy-btn:active{transform:translateY(0)!important}.aup-quick-buy-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}.aup-quick-buy-btn:hover svg{transform:translateX(-2px)}
.aup-timeline .active .aup-step-check{display:inline-grid;place-items:center}.aup-step-spinner{width:17px!important;height:17px!important;border-width:2px!important}
.aup-wallet-success{transition:opacity .35s ease,transform .35s ease}.aup-wallet-success.is-leaving{opacity:0;transform:translateY(-8px)}

/* v2.3.3 — paid step + visibly live fulfillment step */
.aup-timeline .active{background:#f1f4ff!important;border-color:#cbd5ff!important;color:#3153cf!important;box-shadow:0 8px 20px rgba(49,83,207,.12)!important}
.aup-timeline .active .aup-step-check{background:#e1e7ff!important;color:#3153cf!important}
.aup-step-spinner{display:block!important;width:17px!important;height:17px!important;border:2px solid rgba(49,83,207,.22)!important;border-top-color:#3153cf!important;border-right-color:#3153cf!important;border-radius:50%!important;animation:aupStepSpin .7s linear infinite!important}
@keyframes aupStepSpin{to{transform:rotate(360deg)}}

/* v2.3.4 — fixed-height wallet history */
.aup-wallet-history{max-height:430px;overflow-y:auto;overscroll-behavior:contain;padding-left:6px;scrollbar-gutter:stable}
.aup-wallet-history::-webkit-scrollbar{width:7px}
.aup-wallet-history::-webkit-scrollbar-thumb{background:#cfd4df;border-radius:999px}
.aup-wallet-history::-webkit-scrollbar-track{background:transparent}
@media(max-width:700px){.aup-wallet-history{max-height:360px}}

/* v3.0.0 — stable payment UI, responsive status, professional actions */
.aup-quick-buy-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  width:100%!important;min-height:52px!important;margin-top:14px!important;padding:12px 20px!important;
  border:1px solid #244fc7!important;border-radius:12px!important;background:#315bd8!important;color:#fff!important;
  font:700 16px/1 PeydaAUP,Tahoma,sans-serif!important;letter-spacing:0!important;text-align:center!important;
  box-shadow:0 5px 14px rgba(49,91,216,.18)!important;transition:.18s ease!important;overflow:hidden!important
}
.aup-quick-buy-btn:before{display:none!important}.aup-quick-buy-btn:hover{background:#274fc8!important;box-shadow:0 7px 18px rgba(49,91,216,.23)!important;transform:translateY(-1px)!important}.aup-quick-buy-btn:active{transform:none!important}.aup-quick-buy-btn svg{width:17px!important;height:17px!important}

.aup-order-status{overflow:hidden!important}.aup-timeline{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
  width:100%!important;min-width:0!important;margin-top:28px!important;overflow:visible!important
}
.aup-timeline>i{display:none!important}.aup-timeline>div{
  position:relative!important;min-width:0!important;min-height:64px!important;padding:12px 9px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  text-align:center!important;white-space:normal!important;line-height:1.45!important
}
.aup-timeline>div:not(:last-child):after{
  content:"";position:absolute;left:-12px;top:50%;width:12px;height:2px;background:#dfe3eb;transform:translateY(-50%)
}
.aup-step-check{width:26px!important;height:26px!important;min-width:26px!important}
.aup-timeline .active{background:#f1f4ff!important;border:1px solid #cbd5ff!important;color:#3153cf!important}
.aup-step-spinner{display:block!important;width:17px!important;height:17px!important;border:2px solid rgba(49,83,207,.22)!important;border-top-color:#3153cf!important;border-right-color:#3153cf!important;border-radius:50%!important;animation:aupStepSpin .7s linear infinite!important}

/* Apple ID Manager download buttons: neutral, clear, non-gimmicky */
.aup-order-card-section a[download],.aup-order-card-section button[class*="download"],.aup-order-card-section a[class*="download"],
.aup-aidm-card-scroller .aidm-download,.aup-aidm-card-scroller .download-card,.aup-aidm-card-scroller [data-download]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:42px!important;padding:9px 15px!important;border:1px solid #315bd8!important;border-radius:11px!important;
  background:#fff!important;color:#315bd8!important;font:700 14px/1.2 PeydaAUP,Tahoma,sans-serif!important;
  text-decoration:none!important;box-shadow:0 3px 10px rgba(49,91,216,.08)!important;transition:.18s ease!important
}
.aup-order-card-section a[download]:hover,.aup-order-card-section button[class*="download"]:hover,.aup-order-card-section a[class*="download"]:hover,
.aup-aidm-card-scroller .aidm-download:hover,.aup-aidm-card-scroller .download-card:hover,.aup-aidm-card-scroller [data-download]:hover{background:#315bd8!important;color:#fff!important;transform:translateY(-1px)!important}

.aup-wallet-history{height:430px!important;max-height:430px!important;overflow-y:auto!important;overflow-x:hidden!important}
@media(max-width:1024px){
  .aup-timeline{grid-template-columns:1fr!important;gap:8px!important}
  .aup-timeline>div{min-height:54px!important;justify-content:flex-start!important;text-align:right!important;padding:11px 13px!important}
  .aup-timeline>div:not(:last-child):after{left:auto!important;right:25px!important;top:auto!important;bottom:-8px!important;width:2px!important;height:8px!important;transform:none!important}
  .aup-wallet-history{height:360px!important;max-height:360px!important}
}
@media(min-width:1025px) and (max-width:1180px){
  .aup-timeline{gap:7px!important}.aup-timeline>div{font-size:12px!important;padding:10px 6px!important}.aup-timeline>div:not(:last-child):after{left:-7px!important;width:7px!important}
}

/* v3.1.0 — mobile-style order cards on desktop, two cards per row */
.aup-orders-table{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.aup-orders-head{display:none!important}
.aup-order-row{display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"number status" "product product" "date time" "payment payment" "open open"!important;gap:9px 14px!important;align-items:start!important;background:#fff!important;border:1px solid var(--aup-border)!important;border-radius:18px!important;padding:16px!important;min-height:0!important;box-shadow:0 7px 22px rgba(36,42,66,.04)!important}
.aup-order-row span{display:block!important;min-width:0!important;line-height:1.65!important}
.aup-order-row span:before{display:none!important;content:none!important}
.aup-order-row span:nth-child(1){grid-area:number!important;font-weight:700!important;font-size:17px!important;color:var(--aup-text)!important}
.aup-order-row span:nth-child(2){grid-area:product!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.aup-order-row span:nth-child(3){display:none!important}
.aup-order-row span:nth-child(4){grid-area:date!important;color:var(--aup-muted)!important;font-size:13px!important}
.aup-order-row span:nth-child(5){grid-area:time!important;text-align:left!important;color:var(--aup-muted)!important;font-size:13px!important}
.aup-order-row .aup-order-payment{grid-area:payment!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:2px!important;text-align:right!important;direction:rtl!important;width:100%!important}
.aup-order-payment b{display:block!important;width:100%!important;text-align:right!important;font-size:15px!important;font-weight:700!important;white-space:nowrap!important}
.aup-order-payment em{font-style:normal!important;font-weight:500!important;color:var(--aup-muted)!important;font-size:13px!important}
.aup-order-row span:nth-child(7){grid-area:status!important;text-align:left!important;color:var(--aup-blue)!important;font-weight:700!important;white-space:nowrap!important}
.aup-order-row .aup-order-open{grid-area:open!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;width:max-content!important;min-height:38px!important;padding:8px 14px!important;border-radius:10px!important;background:#f0f3ff!important;color:#3654c5!important;font-weight:700!important;margin-top:3px!important}
@media(max-width:1024px){.aup-orders-table{grid-template-columns:1fr!important}.aup-order-row{grid-template-areas:"number status" "product product" "date time" "payment payment" "open open"!important}.aup-order-row .aup-order-open{display:inline-flex!important;width:100%!important;justify-content:center!important;margin-top:4px!important}}


/* v3.1.2 — correct on-hold progress, arrow separators, four steps on mobile */
.aup-timeline{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  overflow:visible!important
}
.aup-timeline>div:not(:last-child):after{
  content:"←"!important;
  position:absolute!important;
  left:-16px!important;
  top:50%!important;
  width:16px!important;
  height:auto!important;
  background:transparent!important;
  color:#aeb5c3!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  transform:translateY(-50%)!important
}
@media(max-width:1024px){
  .aup-order-status{padding-left:10px!important;padding-right:10px!important}
  .aup-order-status h2{font-size:18px!important;line-height:1.7!important}
  .aup-timeline{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:20px!important
  }
  .aup-timeline>div{
    min-height:58px!important;
    padding:8px 3px!important;
    justify-content:center!important;
    text-align:center!important;
    gap:4px!important;
    font-size:11px!important;
    line-height:1.35!important;
    white-space:normal!important
  }
  .aup-timeline>div:not(:last-child):after{
    left:-8px!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    width:8px!important;
    height:auto!important;
    font-size:13px!important;
    transform:translateY(-50%)!important
  }
  .aup-step-check{width:20px!important;height:20px!important;min-width:20px!important;font-size:13px!important}
  .aup-step-spinner{width:14px!important;height:14px!important}
}
@media(max-width:430px){
  .aup-timeline{gap:6px!important}
  .aup-timeline>div{font-size:10px!important;padding:7px 2px!important;gap:3px!important}
  .aup-timeline>div:not(:last-child):after{left:-6px!important;width:6px!important;font-size:11px!important}
}

/* v3.1.9 account layout fixes */
.aup-account-grid{align-items:stretch}
.aup-account-grid>.aup-card{height:100%;display:flex;flex-direction:column}
.aup-account-grid>.aup-card .aup-form{display:flex;flex-direction:column;gap:14px}
.aup-account-grid>.aup-card .aup-logout{margin-top:auto}
.aup-form input[type=email]{width:100%;min-height:60px;border:1px solid var(--aup-border)!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important;outline:0!important;padding:12px 15px!important;color:var(--aup-text)!important}
.aup-form input[type=email]:focus{border-color:var(--aup-blue)!important;box-shadow:0 0 0 3px rgba(70,101,220,.1)!important}

/* v3.1.10 compact account cards and visible wallet scroll cue */
.aup-account-grid{align-items:start}
.aup-account-grid>.aup-card{height:auto;min-height:0}
.aup-account-grid>.aup-card .aup-form{gap:12px}
.aup-account-grid>.aup-card .aup-logout{margin-top:8px;padding:10px 13px;min-height:42px}
.aup-account-grid>.aup-card .aup-btn{min-height:42px;padding-top:10px;padding-bottom:10px}
.aup-account-grid .aup-wallet-history{max-height:455px;overflow-y:auto;overscroll-behavior:contain;padding-left:4px}
@media(max-width:1024px){
  .aup-account-grid .aup-wallet-history{max-height:430px}
}

/* v3.1.12 — match wallet history card height to account settings card */
@media(min-width:1025px){
  .aup-account-grid{align-items:start!important}
  .aup-account-grid>.aup-card{min-height:0!important}
  .aup-account-grid>.aup-card:nth-child(2){display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .aup-account-grid>.aup-card:nth-child(2) .aup-wallet-history{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:28px!important}
}

/* v3.1.18 — keep the original mobile card size, only fix horizontal scrolling */
.aup-aidm-card-scroller{
  max-width:100%!important;
  width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y!important;
  scroll-snap-type:x mandatory!important;
}
@media(max-width:1024px){
  .aup-order-card-section{overflow:hidden!important}
  .aup-aidm-card-scroller{
    display:block!important;
    margin-left:-2px!important;
    margin-right:-2px!important;
    padding:2px 2px 8px!important;
  }
  .aup-aidm-card-track,
  .aup-aidm-card-track>.aidm-card-choices,
  .aup-aidm-card-scroller .aidm-card-choices{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:12px!important;
    width:max-content!important;
    min-width:100%!important;
    margin:0!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice{
    flex:0 0 72vw!important;
    width:72vw!important;
    min-width:245px!important;
    max-width:360px!important;
    box-sizing:border-box!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:always;
    margin:0!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice img,
  .aup-aidm-card-scroller .aidm-card-choice canvas,
  .aup-aidm-card-scroller .aidm-card-choice svg{
    max-width:100%!important;
    height:auto!important;
  }
}

/* v3.1.19 — preserve card dimensions and make every model horizontally reachable on mobile */
@media(max-width:1024px){
  .aup-aidm-account,
  .aup-order-card-section{min-width:0!important;max-width:100%!important}
  .aup-aidm-card-scroller{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:scroll!important;
    overflow-y:hidden!important;
    direction:ltr!important;
    touch-action:pan-x!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }
  .aup-aidm-card-scroller::-webkit-scrollbar{display:none!important}
  .aup-aidm-card-track{
    display:inline-block!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    direction:ltr!important;
    white-space:nowrap!important;
  }
  .aup-aidm-card-scroller .aidm-card-choices{
    display:inline-flex!important;
    flex-flow:row nowrap!important;
    align-items:flex-start!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    overflow:visible!important;
    direction:ltr!important;
    white-space:normal!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex-grow:0!important;
    flex-shrink:0!important;
    direction:rtl!important;
    scroll-snap-align:start!important;
  }
  .aup-aidm-card-scroller img{user-select:none!important;-webkit-user-drag:none!important}
}

/* v3.1.20 — free mobile scrolling, no card snapping, models continue toward the left */
@media(max-width:1024px){
  .aup-aidm-card-scroller{
    direction:rtl!important;
    scroll-snap-type:none!important;
    scroll-behavior:auto!important;
  }
  .aup-aidm-card-track,
  .aup-aidm-card-scroller .aidm-card-choices{
    direction:rtl!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    scroll-snap-align:none!important;
    scroll-snap-stop:normal!important;
  }
}

/* v3.1.21 — show a 20–30% preview of the next card on mobile */
@media(max-width:1024px){
  .aup-aidm-card-scroller{
    padding-left:0!important;
    padding-right:0!important;
  }
  .aup-aidm-card-scroller .aidm-card-choices{
    gap:12px!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 76vw!important;
    width:76vw!important;
    min-width:245px!important;
    max-width:360px!important;
  }
}

/* v3.1.22 — mobile carousel: keep the current card large while exposing about 20–30% of the next card */
@media(max-width:1024px){
  .aup-aidm-card-scroller .aidm-card-choices{
    gap:12px!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 calc(76vw - 55px)!important;
    width:calc(76vw - 55px)!important;
    min-width:210px!important;
    max-width:330px!important;
  }
}

/* v3.1.23 — tighter mobile order layout and compact notices */
@media(max-width:1024px){
  .aup-main{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .aup-order-card-section{
    padding:12px 4px 16px!important;
    overflow:hidden!important;
  }
  .aup-aidm-account{
    padding-left:0!important;
    padding-right:0!important;
  }
  .aup-aidm-card-scroller{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .aup-aidm-card-track,
  .aup-aidm-card-scroller .aidm-card-choices{
    gap:9px!important;
  }
  .aup-notice{
    padding:10px 13px!important;
    margin-bottom:10px!important;
    border-radius:13px!important;
    line-height:1.55!important;
    font-size:14px!important;
  }
}

/* v3.1.24 — larger mobile cards with only about 10% of the next card visible */
@media(max-width:600px){
  .aup-main{
    padding-left:4px!important;
    padding-right:4px!important;
  }
  .aup-order-card-section{
    padding-left:2px!important;
    padding-right:2px!important;
  }
  .aup-aidm-card-scroller{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .aup-aidm-card-track,
  .aup-aidm-card-scroller .aidm-card-choices{
    gap:8px!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 calc(100vw - 42px)!important;
    width:calc(100vw - 42px)!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* v3.1.25 — balanced inner spacing, larger cards, and smooth vertical page scrolling */
@media(max-width:600px){
  .aup-main{
    padding-left:6px!important;
    padding-right:6px!important;
  }
  .aup-order-card-section{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  .aup-aidm-account{
    padding-left:0!important;
    padding-right:0!important;
  }
  .aup-aidm-card-scroller{
    margin-left:0!important;
    margin-right:0!important;
    padding-left:2px!important;
    padding-right:2px!important;
    touch-action:pan-x pan-y!important;
    overscroll-behavior-x:contain!important;
    overscroll-behavior-y:auto!important;
  }
  .aup-aidm-card-track,
  .aup-aidm-card-scroller .aidm-card-choices{
    gap:8px!important;
  }
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 calc(100vw - 68px)!important;
    width:calc(100vw - 68px)!important;
    min-width:0!important;
    max-width:none!important;
  }
}

/* v3.1.26 — roomier outer spacing, compact text details, and copy-all action */
.aup-aidm-details-row{display:flex;align-items:flex-start;gap:10px;margin-top:9px!important}
.aup-aidm-details-row .aup-aidm-details{flex:1 1 auto;min-width:0;margin-top:0!important}
.aup-aidm-details-row .aup-copy-all-btn{flex:0 0 auto;min-width:94px!important;height:44px!important;padding:0 15px!important;border-radius:13px!important;margin:0!important;white-space:nowrap}
.aup-aidm-details>summary{min-height:44px!important;padding:8px 13px!important;border-radius:13px!important;font-size:14px!important}
.aup-aidm-details>summary .aup-details-icon{width:26px!important;height:26px!important;border-radius:8px!important;font-size:14px!important}
.aup-aidm-fields{margin-top:9px!important;gap:9px!important}
.aup-aidm-fields .aup-copy-row{min-height:68px!important;padding:10px 12px!important;border-radius:13px!important}
.aup-aidm-fields .aup-security-row{min-height:82px!important;padding:12px 13px!important}
.aup-aidm-fields .aup-copy-row:not(.aup-security-row) small{margin-bottom:3px!important;font-size:12px!important}
.aup-aidm-fields .aup-copy-row:not(.aup-security-row) strong{font-size:15px!important}
.aup-aidm-fields .aup-copy-btn{height:39px!important;min-width:60px!important;padding:0 10px!important;border-radius:10px!important;font-size:13px!important}
@media(max-width:600px){
  .aup-main{padding-left:10px!important;padding-right:10px!important}
  .aup-order-card-section{padding-left:12px!important;padding-right:12px!important}
  .aup-aidm-details-row{gap:7px!important;margin-top:6px!important}
  .aup-aidm-details-row .aup-copy-all-btn{min-width:78px!important;height:42px!important;padding:0 10px!important;font-size:13px!important}
  .aup-aidm-details>summary{min-height:42px!important;padding:7px 10px!important;font-size:13px!important;gap:7px!important}
  .aup-aidm-details>summary .aup-details-icon{width:24px!important;height:24px!important}
  .aup-aidm-details>summary i{width:15px!important;height:15px!important}
  .aup-aidm-fields{margin-top:7px!important;gap:7px!important}
  .aup-aidm-fields .aup-copy-row{min-height:62px!important;padding:9px 10px!important}
  .aup-aidm-fields .aup-security-row{min-height:76px!important;padding:10px!important}
}

/* v3.1.27 — matching action buttons and full-width textual details */
.aup-aidm-details-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:stretch!important;
  gap:10px!important;
}
.aup-details-toggle,
.aup-aidm-details-row .aup-copy-all-btn{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:auto!important;
  margin:0!important;
  padding:8px 13px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  border:1px solid #dce2f4!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#fff 0%,#f7f9ff 100%)!important;
  color:#405bd2!important;
  font:700 14px PeydaAUP,Tahoma,sans-serif!important;
  box-shadow:0 8px 22px rgba(55,75,160,.07)!important;
  cursor:pointer!important;
  white-space:normal!important;
  text-align:right!important;
}
.aup-details-toggle:hover,
.aup-aidm-details-row .aup-copy-all-btn:hover{transform:translateY(-1px);border-color:#c8d2fa!important;background:#f2f5ff!important}
.aup-details-toggle .aup-details-icon,
.aup-aidm-details-row .aup-copy-all-btn .aup-details-icon{
  display:grid!important;place-items:center!important;flex:0 0 auto!important;
  width:26px!important;height:26px!important;border-radius:8px!important;
  background:#e9eeff!important;color:#4561dc!important;font-size:14px!important;
}
.aup-details-toggle i{position:relative;width:18px;height:18px;margin-right:auto;flex:0 0 auto}
.aup-details-toggle i:before,.aup-details-toggle i:after{content:"";position:absolute;top:8px;width:8px;height:2px;border-radius:2px;background:currentColor;transition:.2s}
.aup-details-toggle i:before{right:2px;transform:rotate(45deg)}
.aup-details-toggle i:after{left:2px;transform:rotate(-45deg)}
.aup-details-toggle[aria-expanded="true"]{border-color:#c7d1fb!important;background:#eef2ff!important}
.aup-details-toggle[aria-expanded="true"] i:before{transform:rotate(-45deg)}
.aup-details-toggle[aria-expanded="true"] i:after{transform:rotate(45deg)}
.aup-aidm-details-row>.aup-aidm-fields{
  grid-column:1 / -1!important;
  width:100%!important;
  margin-top:0!important;
}
.aup-aidm-details-row>.aup-aidm-fields[hidden]{display:none!important}
.aup-aidm-details-row>.aup-aidm-fields:not([hidden]){display:grid!important}
@media(max-width:600px){
  .aup-aidm-details-row{gap:7px!important}
  .aup-details-toggle,.aup-aidm-details-row .aup-copy-all-btn{min-height:42px!important;padding:7px 9px!important;gap:7px!important;font-size:12.5px!important}
  .aup-details-toggle .aup-details-icon,.aup-aidm-details-row .aup-copy-all-btn .aup-details-icon{width:24px!important;height:24px!important;font-size:13px!important}
  .aup-details-toggle i{width:15px!important;height:15px!important}
}


/* v3.1.28 — larger details toggle and visible copy labels on mobile */
.aup-aidm-details-row{
  grid-template-columns:minmax(0,1.75fr) minmax(112px,.85fr)!important;
}
.aup-details-toggle{
  min-height:46px!important;
  font-size:14.5px!important;
}
.aup-aidm-details-row .aup-copy-all-btn{
  min-height:46px!important;
  font-size:13.5px!important;
}
.aup-aidm-details-row .aup-copy-all-btn span,
.aup-details-toggle span{
  display:inline!important;
}
@media(max-width:1024px){
  .aup-aidm-details-row{
    grid-template-columns:minmax(0,1.9fr) minmax(94px,.8fr)!important;
  }
  .aup-details-toggle{
    min-height:44px!important;
    padding:8px 10px!important;
    font-size:12.8px!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn{
    min-height:44px!important;
    padding:8px 9px!important;
    font-size:12px!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn span,
  .aup-details-toggle span{
    display:inline!important;
  }
  .aup-aidm-fields .aup-copy-btn{
    width:auto!important;
    min-width:68px!important;
    height:40px!important;
    padding:0 10px!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1!important;
  }
}
@media(max-width:420px){
  .aup-aidm-details-row{
    grid-template-columns:minmax(0,2fr) minmax(88px,.72fr)!important;
    gap:7px!important;
  }
  .aup-details-toggle{
    font-size:12px!important;
    gap:6px!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn{
    font-size:11.5px!important;
    gap:5px!important;
  }
  .aup-details-toggle .aup-details-icon,
  .aup-aidm-details-row .aup-copy-all-btn .aup-details-icon{
    width:22px!important;
    height:22px!important;
    font-size:12px!important;
  }
  .aup-aidm-fields .aup-copy-btn{
    min-width:64px!important;
    padding:0 8px!important;
    font-size:11.5px!important;
  }
}


/* v3.1.29 — cleaner mobile action row and stable copy icon */
@media(max-width:1024px){
  .aup-aidm-details-row{
    grid-template-columns:minmax(0,1.65fr) minmax(108px,.9fr)!important;
    gap:5px!important;
  }
  .aup-details-toggle,
  .aup-aidm-details-row .aup-copy-all-btn{
    min-height:40px!important;
    padding-top:6px!important;
    padding-bottom:6px!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn{
    min-width:108px!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn span:last-of-type{
    white-space:nowrap!important;
  }
  .aup-aidm-fields .aup-copy-btn{
    min-width:76px!important;
    padding-left:11px!important;
    padding-right:11px!important;
    white-space:nowrap!important;
  }
}
@media(max-width:420px){
  .aup-aidm-details-row{
    grid-template-columns:minmax(0,1.55fr) minmax(106px,.9fr)!important;
    gap:5px!important;
  }
  .aup-aidm-details-row .aup-copy-all-btn{
    min-width:106px!important;
    font-size:11.5px!important;
    gap:5px!important;
  }
  .aup-aidm-fields .aup-copy-btn{
    min-width:74px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }
}


/* v3.1.30 — security questions use the same two-line sizing as all textual fields */
.aup-aidm-fields .aup-security-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:68px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
}
.aup-aidm-fields .aup-security-row>div{min-width:0!important;flex:1 1 auto!important;display:block!important}
.aup-aidm-fields .aup-security-row small{
  display:block!important;
  margin:0 0 3px!important;
  color:#8a91a1!important;
  font-size:12px!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.aup-aidm-fields .aup-security-row small span{font:inherit!important;color:inherit!important}
.aup-aidm-fields .aup-security-row strong{
  display:block!important;
  margin:0!important;
  color:#171b25!important;
  font-size:15px!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.aup-aidm-fields .aup-security-row .aup-copy-btn{
  align-self:center!important;
  flex:0 0 auto!important;
  height:39px!important;
  min-width:76px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
@media(max-width:600px){
  .aup-aidm-fields .aup-security-row{min-height:62px!important;padding:9px 10px!important}
  .aup-aidm-fields .aup-security-row .aup-copy-btn{min-width:74px!important;padding:0 10px!important;font-size:11.5px!important}
}


/* v3.1.31 — security answers align right like the other text fields */
.aup-aidm-fields .aup-security-row>div{direction:rtl!important;text-align:right!important}
.aup-aidm-fields .aup-security-row strong{direction:auto!important;text-align:right!important;width:100%!important}


/* v3.1.33 spacing + chevron */
.aup-card,
.aup-wallet-card,
.aup-aidm-card,
.aup-collapse,
.aup-wallet-history{
  margin:12px 0!important;
}
.aup-card>*:first-child,
.aup-wallet-card>*:first-child{margin-top:0!important}
.aup-card>*:last-child,
.aup-wallet-card>*:last-child{margin-bottom:0!important}

.aup-toggle-btn,
.aup-collapse-toggle{
  padding:14px 18px!important;
}

.aup-toggle-btn .dashicons,
.aup-collapse-toggle .dashicons{
  font-size:18px!important;
  transform:none!important;
}
.aup-toggle-btn svg,
.aup-collapse-toggle svg{
  width:18px!important;
  height:18px!important;
}


/* v3.1.35 — unified spacing for every front-end panel box */
:root{--aup-box-gap:16px;--aup-box-gap-mobile:10px}

/* Remove the old blanket margins that made only some boxes look separated. */
.aup-card,
.aup-wallet-card,
.aup-aidm-card,
.aup-collapse,
.aup-wallet-history{margin:0!important}

/* All main page groups use the same external vertical rhythm. */
.aup-main>.aup-page-head{margin-bottom:var(--aup-box-gap)!important}
.aup-main>.aup-notice,
.aup-main>section.aup-card,
.aup-main>.aup-grid,
.aup-main>.aup-summary,
.aup-main>.aup-account-grid,
.aup-main>.aup-support-top{margin-top:0!important;margin-bottom:var(--aup-box-gap)!important}
.aup-main>*:last-child{margin-bottom:0!important}

/* Every card grid and repeated box list has one fixed gap. */
.aup-grid,
.aup-grid-2,
.aup-grid-3,
.aup-grid-4,
.aup-account-grid,
.aup-support-top,
.aup-summary,
.aup-aidm-wrap,
.aup-aidm-fields,
.aup-contact-list,
.aup-ticket-thread,
.aup-wallet-history{gap:var(--aup-box-gap)!important}

/* Cards inside grids must not add their own extra outer spacing. */
.aup-grid>.aup-card,
.aup-account-grid>.aup-card,
.aup-support-top>.aup-card,
.aup-summary>.aup-card,
.aup-aidm-wrap>.aup-card{margin:0!important}

/* Consistent space between nested blocks inside every card. */
.aup-card>h2,
.aup-card>h3{margin-top:0!important;margin-bottom:14px!important}
.aup-card>.aup-form,
.aup-card>.aup-contact-list,
.aup-card>.aup-ticket-list,
.aup-card>.aup-ticket-thread,
.aup-card>.aup-wallet-history{margin-top:0!important;margin-bottom:0!important}

/* Order page blocks and account blocks. */
.aup-order-card-section,
.aup-order-status,
.aup-summary{margin-top:0!important}
.aup-wallet{margin-bottom:var(--aup-box-gap)!important}
.aup-support-top{margin-bottom:var(--aup-box-gap)!important}
.aup-reply-form{margin-top:var(--aup-box-gap)!important}

/* Lists: keep equal distance between every visible inner box. */
.aup-wallet-history{display:grid!important}
.aup-contact-list{display:grid!important}
.aup-wallet-tx,
.aup-contact-list a{margin:0!important}

@media(max-width:1024px){
  .aup-main>.aup-page-head{margin-bottom:var(--aup-box-gap-mobile)!important}
  .aup-main>.aup-notice,
  .aup-main>section.aup-card,
  .aup-main>.aup-grid,
  .aup-main>.aup-summary,
  .aup-main>.aup-account-grid,
  .aup-main>.aup-support-top{margin-bottom:var(--aup-box-gap-mobile)!important}
  .aup-grid,
  .aup-grid-2,
  .aup-grid-3,
  .aup-grid-4,
  .aup-account-grid,
  .aup-support-top,
  .aup-summary,
  .aup-aidm-wrap,
  .aup-aidm-fields,
  .aup-contact-list,
  .aup-ticket-thread,
  .aup-wallet-history{gap:var(--aup-box-gap-mobile)!important}
  .aup-wallet,
  .aup-support-top{margin-bottom:var(--aup-box-gap-mobile)!important}
  .aup-card{padding:16px!important}
}

/* v3.1.36 — equal outer/inner box sizing based on the standard card */
:root{--aup-card-pad:25px;--aup-card-pad-mobile:16px}

/* The standard card is the single source of truth for box padding. */
.aup-card{padding:var(--aup-card-pad)!important}

/* Wallet balance and charge boxes must be exactly as roomy as normal cards. */
.aup-wallet-summary,
.aup-wallet-charge{
  padding:var(--aup-card-pad)!important;
  margin:0!important;
}

/* Every order item uses the same space from all four sides as a normal card. */
.aup-order-row{
  padding:var(--aup-card-pad)!important;
  margin:0!important;
}

/* Keep repeated box gaps identical; do not compensate by shrinking the boxes. */
.aup-wallet,
.aup-orders-table,
.aup-account-grid,
.aup-summary,
.aup-grid,
.aup-support-top{
  gap:var(--aup-box-gap)!important;
}

@media(max-width:1024px){
  .aup-card,
  .aup-wallet-summary,
  .aup-wallet-charge,
  .aup-order-row{
    padding:var(--aup-card-pad-mobile)!important;
  }

  .aup-wallet,
  .aup-orders-table,
  .aup-account-grid,
  .aup-summary,
  .aup-grid,
  .aup-support-top{
    gap:var(--aup-box-gap-mobile)!important;
  }
}


/* v3.1.37 unified outer margins */
.aup-card,
.aup-wallet-card,
.aup-wallet-box,
.aup-wallet-history,
.aup-orders-card,
.aup-order-card,
.aup-ticket-card,
.aup-profile-card,
.aup-panel-section,
.aup-section,
.aup-box{
    margin:12px 0 !important;
}

/* v3.1.38 — remove double outer inset from section wrappers.
   The visible boxes now use the same page-edge distance as the Apple-ID card section. */
.aup-wallet.aup-card,
.aup-orders-table.aup-card{
  padding:0!important;
}

@media(max-width:1024px){
  /* Main page edge spacing is the only outer spacing. */
  .aup-main>.aup-wallet,
  .aup-main>.aup-orders-table,
  .aup-main>.aup-account-grid,
  .aup-main>.aup-support-top,
  .aup-main>.aup-grid,
  .aup-main>.aup-summary{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* These are layout wrappers, not visible cards; they must not create a second inset. */
  .aup-wallet.aup-card,
  .aup-orders-table.aup-card{
    padding:0!important;
  }

  /* Keep the actual visible boxes aligned equally from both sides. */
  .aup-wallet-summary,
  .aup-wallet-charge,
  .aup-account-grid>.aup-card,
  .aup-support-top>.aup-card,
  .aup-summary>.aup-card,
  .aup-order-row{
    margin-left:0!important;
    margin-right:0!important;
    width:100%!important;
    max-width:none!important;
  }

  /* No extra horizontal padding on grid wrappers. */
  .aup-account-grid,
  .aup-support-top,
  .aup-summary{
    padding-left:0!important;
    padding-right:0!important;
  }
}


/* v3.1.39 — slightly narrower mobile Apple-ID cards so more of the next card is visible */
@media(max-width:600px){
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 calc(100vw - 88px)!important;
    width:calc(100vw - 88px)!important;
    min-width:0!important;
    max-width:none!important;
  }
}

/* v3.1.40 — use the same page-edge spacing on every device as mobile */
.aup-main{
  padding-left:10px!important;
  padding-right:10px!important;
}

@media(min-width:601px) and (max-width:1024px){
  .aup-main{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

@media(min-width:1025px){
  .aup-main{
    padding-left:10px!important;
    padding-right:10px!important;
  }
}

/* v3.1.41 — tablet/desktop-mode carousel scrolling and account wallet containment */
.aup-aidm-card-scroller{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  touch-action:pan-x pan-y!important;
  scrollbar-width:none!important;
}
.aup-aidm-card-scroller::-webkit-scrollbar{display:none!important}
.aup-aidm-card-track,
.aup-aidm-card-scroller .aidm-card-choices{
  display:flex!important;
  flex-flow:row nowrap!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  overflow:visible!important;
}
.aup-aidm-card-scroller .aidm-card-choice,
.aup-aidm-card-scroller .aup-scroll-card-item{
  flex-grow:0!important;
  flex-shrink:0!important;
}

/* In desktop-site/tablet layouts the sidebar leaves a narrow content column.
   Remove fixed minimum columns so the charge card can never leave the page. */
.aup-wallet{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
}
.aup-wallet-summary,
.aup-wallet-charge,
.aup-wallet-form,
.aup-wallet-form>*{
  min-width:0!important;
  max-width:100%!important;
}
.aup-wallet-summary,
.aup-wallet-charge{width:100%!important}

@media (min-width:1025px) and (max-width:1200px){
  .aup-aidm-card-scroller .aidm-card-choice,
  .aup-aidm-card-scroller .aup-scroll-card-item{
    flex:0 0 min(390px,82%)!important;
    width:min(390px,82%)!important;
    min-width:260px!important;
    max-width:390px!important;
  }
  .aup-aidm-card-scroller .aidm-card-choices{gap:10px!important}
  .aup-wallet{gap:10px!important}
  .aup-wallet-summary,
  .aup-wallet-charge{padding:16px!important}
}

@media (max-width:760px){
  .aup-wallet{grid-template-columns:1fr!important}
}

/* v3.1.42 — split payment amount styling in orders and order details */
.aup-order-payment{display:grid!important;gap:5px!important}
.aup-order-payment b,.aup-payment-parts b{display:block;font-style:normal;font-variant-numeric:tabular-nums;line-height:1.45}
.aup-order-payment em,.aup-payment-parts em{font-style:normal;color:#8b92a3;font-weight:500}
.aup-order-payment b{font-size:16px;font-weight:800}
.aup-order-payment em{font-size:12px}
.aup-summary-payment{justify-content:center!important}
.aup-payment-parts{display:grid;gap:7px;margin-top:2px}
.aup-payment-parts b{font-size:30px;font-weight:800;color:#171b25;letter-spacing:-.25px}
.aup-payment-parts em{font-size:17px;margin-right:5px}
@media(max-width:1024px){
 .aup-order-payment b{font-size:15px}
 .aup-order-payment em{font-size:11px}
 .aup-payment-parts{gap:5px}
 .aup-payment-parts b{font-size:22px}
 .aup-payment-parts em{font-size:13px;margin-right:3px}
}


/* v3.5.2 — payment amounts match the normal order-summary typography */
.aup-payment-parts b{
  font-size:16px!important;
  line-height:1.65!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.aup-payment-parts em{
  font-size:12px!important;
  color:#9299a8!important;
  font-weight:500!important;
  margin-right:3px!important;
}
@media(max-width:1024px){
  .aup-payment-parts b{font-size:15px!important}
  .aup-payment-parts em{font-size:11px!important}
}

/* v3.5.3 — mobile ticket containment and responsive reply controls */
html,body.aup-panel-page,.aup-shell{
  max-width:100%!important;
  overflow-x:hidden!important;
}
.aup-main,
.aup-main>*,
.aup-ticket-thread,
.aup-ticket-thread>*,
.aup-reply-form,
.aup-reply-form>*,
.aup-message,
.aup-message>div,
.aup-attachments,
.aup-attachments a{
  min-width:0!important;
  max-width:100%!important;
}
.aup-message,
.aup-message p,
.aup-message a,
.aup-message div,
.aup-message span,
.aup-attachments a{
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  white-space:normal!important;
}
.aup-reply-form input[type="file"],
.aup-form input[type="file"]{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  padding:8px!important;
  overflow:hidden!important;
  font-size:13px!important;
  direction:rtl!important;
}
.aup-reply-form input[type="file"]::file-selector-button,
.aup-form input[type="file"]::file-selector-button{
  max-width:48%!important;
  margin:0 0 0 8px!important;
  padding:9px 12px!important;
  border:1px solid #cfd4df!important;
  border-radius:9px!important;
  background:#f7f8fb!important;
  color:#252a36!important;
  font-family:PeydaAUP,Tahoma,sans-serif!important;
  font-size:12px!important;
  white-space:nowrap!important;
}
.aup-reply-form .aup-btn,
.aup-ticket-thread .aup-btn{
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:1024px){
  .aup-main{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .aup-page-head{min-width:0!important;gap:10px!important;flex-wrap:wrap!important}
  .aup-page-head h1{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
  .aup-ticket-thread.aup-card{width:100%!important;max-width:100%!important;overflow:hidden!important}
  .aup-message{width:auto!important;max-width:92%!important;padding:13px 14px!important}
  .aup-reply-form textarea{width:100%!important;max-width:100%!important;resize:vertical!important}
}
@media(max-width:430px){
  .aup-message{max-width:96%!important}
  .aup-reply-form input[type="file"],
  .aup-form input[type="file"]{font-size:11px!important}
  .aup-reply-form input[type="file"]::file-selector-button,
  .aup-form input[type="file"]::file-selector-button{max-width:46%!important;padding:8px!important;font-size:11px!important}
}


/* v3.5.8 — fixed-height ticket view; only the conversation scrolls */
.aup-ticket-thread{
  height:clamp(520px,calc(100dvh - 185px),820px)!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  gap:12px!important;
}
.aup-ticket-messages-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scroll-behavior:smooth;
  padding:2px 6px 8px!important;
  scrollbar-gutter:stable;
}
.aup-ticket-messages-scroll .aup-message:first-child{margin-top:2px!important}
.aup-ticket-messages-scroll .aup-message:last-child{margin-bottom:2px!important}
.aup-ticket-thread .aup-reply-form,
.aup-ticket-thread>.aup-notice{
  flex:0 0 auto!important;
  margin:0!important;
}
.aup-ticket-thread .aup-reply-form textarea{max-height:120px!important}
@media(max-width:1024px){
  .aup-ticket-thread{height:calc(100dvh - 145px)!important;min-height:430px!important;max-height:760px!important;padding:13px!important}
  .aup-ticket-messages-scroll{padding:0 2px 6px!important}
  .aup-ticket-thread .aup-reply-form{gap:8px!important}
  .aup-ticket-thread .aup-reply-form textarea{min-height:72px!important;max-height:90px!important}
}
@media(max-height:680px){
  .aup-ticket-thread{height:calc(100dvh - 112px)!important;min-height:360px!important}
}

/* v3.5.9 — compact ticket messages and true viewport-sized mobile ticket */
.aup-message>div>p{margin:.28em 0!important}
.aup-message>b{display:block;margin-bottom:4px;line-height:1.45}
.aup-message small{line-height:1.35}
@media(max-width:1024px){
  body.aup-ticket-page{height:100dvh!important;min-height:0!important;overflow:hidden!important;padding-bottom:0!important}
  body.aup-ticket-page .aup-shell{height:100dvh!important;min-height:0!important;overflow:hidden!important}
  body.aup-ticket-page .aup-main-ticket{
    height:100dvh!important;min-height:0!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;
    padding:14px 12px calc(100px + env(safe-area-inset-bottom))!important;
  }
  body.aup-ticket-page .aup-main-ticket>.aup-page-head{flex:0 0 auto!important;margin:0 0 10px!important;min-height:48px!important}
  body.aup-ticket-page .aup-main-ticket>.aup-page-head h1{font-size:21px!important;line-height:1.35!important}
  body.aup-ticket-page .aup-main-ticket>.aup-page-head .aup-btn{min-height:40px!important;padding:8px 15px!important;font-size:13px!important}
  body.aup-ticket-page .aup-main-ticket>.aup-notice{flex:0 0 auto!important;padding:9px 12px!important;margin:0 0 8px!important;font-size:12px!important;line-height:1.55!important}
  body.aup-ticket-page .aup-ticket-thread{
    flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;
    padding:10px!important;gap:8px!important;border-radius:18px!important;
  }
  .aup-ticket-messages-scroll{gap:0!important;padding:0 2px 4px!important}
  .aup-ticket-messages-scroll .aup-message{
    max-width:91%!important;padding:9px 11px!important;margin:0 0 8px!important;
    border-radius:15px!important;font-size:13px!important;line-height:1.62!important;
  }
  .aup-ticket-messages-scroll .aup-message>b{font-size:13px!important;margin-bottom:3px!important}
  .aup-ticket-messages-scroll .aup-message>div>p{margin:.18em 0!important}
  .aup-ticket-messages-scroll .aup-message small{font-size:10.5px!important;margin-top:4px!important}
  .aup-ticket-messages-scroll .aup-attachments{gap:5px!important;margin-top:5px!important}
  .aup-ticket-messages-scroll .aup-attachments a{padding:5px 7px!important;font-size:11px!important}
  body.aup-ticket-page .aup-reply-form{padding-top:9px!important;gap:6px!important}
  body.aup-ticket-page .aup-reply-form label{gap:4px!important;font-size:13px!important}
  body.aup-ticket-page .aup-reply-form textarea{min-height:54px!important;height:54px!important;max-height:70px!important;padding:8px 10px!important;font-size:13px!important}
  body.aup-ticket-page .aup-reply-form input[type=file]{min-height:38px!important;padding:5px 7px!important;font-size:10px!important}
  body.aup-ticket-page .aup-reply-form .aup-btn{min-height:39px!important;padding:8px 12px!important;font-size:13px!important}
}
@media(max-width:380px), (max-height:720px){
  body.aup-ticket-page .aup-main-ticket{padding-top:8px!important;padding-bottom:calc(94px + env(safe-area-inset-bottom))!important}
  body.aup-ticket-page .aup-main-ticket>.aup-page-head{min-height:42px!important;margin-bottom:6px!important}
  body.aup-ticket-page .aup-ticket-thread{padding:8px!important}
  .aup-ticket-messages-scroll .aup-message{font-size:12px!important;line-height:1.55!important;padding:8px 10px!important;margin-bottom:6px!important}
  body.aup-ticket-page .aup-reply-form textarea{height:48px!important;min-height:48px!important}
}


/* v3.6.0 — correct chat sides: customer right, support left */
.aup-ticket-messages-scroll .aup-message.user{margin-right:0!important;margin-left:auto!important;text-align:right!important}
.aup-ticket-messages-scroll .aup-message.admin{margin-left:0!important;margin-right:auto!important;text-align:right!important}

/* 3.7.4 — polished OTP modal (visual-only; OTP transport unchanged from 3.7.1) */
html.aup-modal-locked,body.aup-modal-locked{overflow:hidden!important;overscroll-behavior:none!important}
body.aup-modal-locked{position:fixed!important;left:0;right:0;width:100%}
.aup-auth-modal{padding:18px!important;overscroll-behavior:contain}
.aup-auth-backdrop{background:rgba(17,20,29,.58)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.aup-auth-box{width:min(430px,100%)!important;border-radius:26px!important;padding:34px 30px 30px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.7);box-shadow:0 28px 80px rgba(20,24,40,.25)!important}
.aup-auth-art{display:none!important}
.aup-auth-step h2{font-size:25px!important;line-height:1.35;margin:2px 0 9px!important;color:#202431}
.aup-auth-step p{font-size:14px!important;line-height:1.9!important;margin:0 0 18px!important;color:#858b9b!important}
.aup-auth-close{top:16px!important;left:16px!important;width:36px!important;height:36px!important;border:1px solid #e2e5ec!important;border-radius:50%!important;background:#f8f9fb!important;color:transparent!important;font-size:0!important;display:grid!important;place-items:center!important;box-shadow:none!important;transition:.18s ease}
.aup-auth-close:before,.aup-auth-close:after{content:"";position:absolute;width:14px;height:1.8px;border-radius:2px;background:#3d4352;transform:rotate(45deg)}
.aup-auth-close:after{transform:rotate(-45deg)}
.aup-auth-close:hover{background:#eef0f5!important;transform:rotate(4deg)}
.aup-auth-input{height:54px!important;border:1px solid #dfe2e9!important;border-radius:14px!important;margin-bottom:13px!important;padding:0 15px!important;background:#fff;transition:.18s ease}
.aup-auth-input:focus-within{border-color:#7657ec!important;box-shadow:0 0 0 4px rgba(118,87,236,.10)}
.aup-auth-input>span{font-size:0!important;width:21px;height:25px;margin-left:9px;position:relative;border:2px solid #646b7b;border-radius:5px}
.aup-auth-input>span:before{content:"";position:absolute;left:50%;bottom:3px;transform:translateX(-50%);width:5px;height:1.5px;border-radius:2px;background:#646b7b}
.aup-auth-input input{font-size:15px!important}
.aup-auth-box .aup-btn{min-height:54px!important;border-radius:14px!important;font-size:16px!important;font-weight:700!important;box-shadow:0 9px 22px rgba(105,76,227,.22)!important;transition:.18s ease!important}
.aup-auth-box .aup-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(105,76,227,.28)!important}
.aup-auth-box .aup-btn:disabled{opacity:.65;cursor:not-allowed;transform:none!important}
.aup-auth-sent{margin-bottom:7px!important}
.aup-auth-edit{display:inline-flex!important;align-items:center;gap:7px;border:1px solid #e2e5ec!important;background:#f8f9fb!important;color:#4a5060!important;border-radius:999px!important;padding:7px 12px!important;font-size:13px!important;font-weight:700!important;transition:.18s ease}
.aup-auth-edit:before{content:"✎";font-size:15px;line-height:1}
.aup-auth-edit:hover{background:#f0edff!important;border-color:#d8d0ff!important;color:#694ce3!important}
.aup-auth-code{height:60px!important;border:1px solid #dfe2e9!important;border-radius:14px!important;letter-spacing:9px!important;font-size:21px!important;margin:17px 0 13px!important;background:#fbfbfd!important;transition:.18s ease}
.aup-auth-code:focus{border-color:#7657ec!important;box-shadow:0 0 0 4px rgba(118,87,236,.10)!important;background:#fff!important}
.aup-auth-resend{display:flex!important;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:17px!important;font-size:13px!important;color:#747b8b!important}
.aup-auth-resend button{background:transparent!important;color:#694ce3!important;border:0!important;border-bottom:1px dashed rgba(105,76,227,.45)!important;border-radius:0!important;padding:2px 1px!important;font-family:inherit!important;font-weight:700!important}
.aup-auth-resend button:hover{color:#4f35c7!important;border-bottom-color:#4f35c7!important}
.aup-auth-message{font-size:13px!important;line-height:1.7!important;margin-top:10px!important;min-height:20px!important}
@media(max-width:600px){
 .aup-auth-modal{align-items:center!important;padding:14px!important}
 .aup-auth-box{width:100%!important;border-radius:24px!important;padding:33px 20px 24px!important;max-height:calc(100dvh - 28px)!important}
 .aup-auth-step h2{font-size:23px!important;margin-top:4px!important}
 .aup-auth-close{top:14px!important;left:14px!important}
 .aup-auth-code{letter-spacing:7px!important}
}

/* 3.7.7 — boxed OTP fields, visible dash placeholders and editable verification state */
.aup-otp-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));direction:ltr;gap:10px;width:100%;margin:19px 0 14px}
.aup-otp-digit{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;width:100%!important;height:52px!important;min-width:0!important;padding:0!important;margin:0!important;border:1.5px solid #d9dce5!important;border-radius:12px!important;background:#fff!important;color:#252938!important;text-align:center!important;font-size:25px!important;font-weight:800!important;line-height:50px!important;direction:ltr!important;unicode-bidi:plaintext;caret-color:#694ce3!important;outline:0!important;box-shadow:0 2px 8px rgba(38,42,58,.04)!important;transition:border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}
.aup-otp-digit::placeholder{color:#aeb3bf!important;opacity:1!important;font-size:24px!important;font-weight:600!important}
.aup-otp-digit:focus{color:#694ce3!important;border-color:#7657ec!important;background:#fff!important;box-shadow:0 0 0 3px rgba(118,87,236,.13)!important;transform:translateY(-1px)}
.aup-otp-digit:focus::placeholder{color:#7657ec!important}
.aup-otp-digit.is-filled{color:#5c40d2!important;border-color:#bdb0f7!important;background:#fbfaff!important}
.aup-otp-fields.is-verifying .aup-otp-digit{opacity:.82;pointer-events:auto!important;cursor:text!important}
.aup-auth-verify-hidden{display:none!important}
.aup-auth-code{display:none!important}
@media(max-width:420px){.aup-otp-fields{gap:6px}.aup-otp-digit{height:46px!important;border-radius:10px!important;font-size:22px!important;line-height:44px!important}.aup-otp-digit::placeholder{font-size:21px!important}}


/* 3.7.9 — balanced auth position above mobile virtual keyboards */
@media(max-width:1024px){
  .aup-auth-modal.is-open{
    top:var(--aup-auth-vv-top,0px)!important;
    bottom:auto!important;
    height:var(--aup-auth-vv-height,100dvh)!important;
    min-height:0!important;
    padding:14px!important;
    align-items:center!important;
    overflow:hidden!important;
  }
  .aup-auth-modal.is-open .aup-auth-box{
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 28px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open{
    align-items:center!important;
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 16px)!important;
    padding-top:28px!important;
    padding-bottom:18px!important;
    transform:none!important;
  }
  html.aup-auth-keyboard-open .aup-auth-step h2{margin-top:0!important}
  html.aup-auth-keyboard-open .aup-auth-step p{margin-bottom:10px!important;line-height:1.65!important}
}

/* 3.8.1: stable single-field OTP entry for mobile keyboards */
.aup-otp-fields{position:relative;cursor:text}
.aup-otp-input{position:absolute!important;inset:0!important;z-index:3!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:transparent!important;caret-color:transparent!important;opacity:.01!important;letter-spacing:0!important;font-size:16px!important;direction:ltr!important;text-align:left!important}
.aup-otp-fields:focus-within .aup-otp-digit{border-color:#7657ec!important;box-shadow:0 0 0 3px rgba(118,87,236,.10)!important}
.aup-otp-digit{display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important;user-select:none!important}
.aup-otp-fields.is-verifying .aup-otp-input{pointer-events:none!important}


/* 3.8.2: prevent Android text-selection handles over OTP boxes */
.aup-otp-fields{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.aup-otp-input{inset:auto!important;left:50%!important;bottom:2px!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip-path:inset(50%)!important;-webkit-user-select:none!important;user-select:none!important}
.aup-otp-digit.is-active{border-color:#7657ec!important;box-shadow:0 0 0 3px rgba(118,87,236,.13)!important;background:#fff!important;transform:translateY(-1px)}
.aup-otp-fields:focus-within .aup-otp-digit:not(.is-active){box-shadow:0 2px 8px rgba(38,42,58,.04)!important}

.aup-wallet-tx-gift{background:#ecf9ef;border-color:#bfe8c9}.aup-wallet-tx-gift strong,.aup-wallet-tx-gift b{color:#17823b}

/* v1.0.8 — compact account/login button on mobile only */
@media only screen and (max-width: 767px) {
  body .aup-auth-trigger.aup-auth-account,
  body button.aup-auth-trigger.aup-auth-account,
  body a.aup-auth-trigger.aup-auth-account {
    width: auto !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 6px 13px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }
  body .aup-auth-trigger.aup-auth-account > span {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }
}

/* v1.0.10 — compact account/login button on tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body .aup-auth-trigger.aup-auth-account,
  body button.aup-auth-trigger.aup-auth-account,
  body a.aup-auth-trigger.aup-auth-account {
    width: auto !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 7px 14px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    gap: 5px !important;
    white-space: nowrap !important;
  }
  body .aup-auth-trigger.aup-auth-account > span {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }
}

#aup-page-spinner{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .15s ease;z-index:999999}
#aup-page-spinner.show{opacity:1}
.aup-ios-spinner{width:42px;height:42px;border:3px solid rgba(0,0,0,.12);border-top-color:#000;border-radius:50%;animation:aupSpin .7s linear infinite}
@keyframes aupSpin{to{transform:rotate(360deg)}}

@media (hover:none) and (pointer:coarse) and (max-width:1024px){.aup-mobile-nav .aup-nav-item:hover:not(.is-active),.aup-mobile-nav .aup-nav-item.aup-nav-home:hover:not(.is-active){transform:none!important;background:transparent!important;color:#666d7c!important}.aup-mobile-nav .aup-nav-item:hover:not(.is-active) .aup-nav-icon,.aup-mobile-nav .aup-nav-item.aup-nav-home:hover:not(.is-active) .aup-nav-icon{width:25px!important;height:25px!important;border-radius:0!important;background:transparent!important;color:inherit!important}.aup-mobile-nav .aup-nav-item:hover:not(.is-active) .aup-nav-icon svg{width:24px!important;height:24px!important}}

/* 3.8.7 — legacy second loader is disabled; the suite loader is the single source */
#aup-page-spinner,.aup-ios-spinner{display:none!important}

/* 3.9.32 — site-style top notices and higher invalid-field positioning */
.aup-top-notice-stack{
  position:fixed;
  top:max(14px,env(safe-area-inset-top));
  left:50%;
  z-index:2147483646;
  display:flex;
  width:min(92vw,520px);
  flex-direction:column;
  gap:9px;
  transform:translateX(-50%);
  pointer-events:none;
  direction:rtl;
}
.aup-top-notice{
  position:relative;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 32px;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:11px 13px 11px 9px;
  border:1px solid rgba(194,76,67,.16);
  border-radius:16px;
  background:#fff0ee;
  color:#7c3c34;
  box-shadow:0 14px 36px rgba(32,37,50,.14);
  font-family:PeydaAUP,Tahoma,sans-serif!important;
  font-size:14px;
  font-weight:650;
  line-height:1.8;
  opacity:0;
  transform:translateY(-14px) scale(.985);
  transition:opacity .2s ease,transform .2s ease;
  pointer-events:auto;
  overflow:hidden;
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.aup-top-notice.is-visible{opacity:1;transform:translateY(0) scale(1)}
.aup-top-notice-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:11px;
  background:rgba(194,76,67,.12);
  color:#b5423c;
  font-family:Arial,sans-serif!important;
  font-size:19px;
  font-weight:800;
  line-height:1;
}
.aup-top-notice.is-success{
  border-color:rgba(54,164,90,.18);
  background:#eaf7ef;
  color:#267043;
}
.aup-top-notice.is-success .aup-top-notice-icon{background:rgba(54,164,90,.13);color:#2f8e4d}
.aup-top-notice-text{display:block;min-width:0;padding:0;text-align:right}
.aup-top-notice-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  color:currentColor;
  font-family:Arial,sans-serif!important;
  font-size:22px;
  font-weight:400;
  line-height:1;
  cursor:pointer;
  opacity:.82;
}
.aup-top-notice-close:hover,.aup-top-notice-close:focus-visible{background:transparent;outline:0;box-shadow:none;opacity:1}
.aidm-product-fields .aidm-custom-field{scroll-margin-top:clamp(96px,18vh,142px)}
@media(max-width:680px){
  .aup-top-notice-stack{top:max(10px,env(safe-area-inset-top));width:calc(100vw - 24px)}
  .aup-top-notice{grid-template-columns:31px minmax(0,1fr) 30px;min-height:54px;gap:8px;padding:9px 11px 9px 7px;border-radius:15px;font-size:13px;line-height:1.7}
  .aup-top-notice-icon{width:31px;height:31px;border-radius:10px;font-size:18px}
  .aup-top-notice-close{width:30px;height:30px;border-radius:0;font-size:21px}
}


/* 3.9.0 — shortcode-only quick buy with adjustable wrapper width */
.aup-quick-buy-shortcode{display:block;box-sizing:border-box;min-width:0}
.aup-quick-buy-shortcode>.aup-quick-buy-btn{width:100%!important;max-width:none!important;margin:0!important}


/* 3.9.2 — white quick-buy price card with Persian digits */
.aup-quick-buy-shortcode{
  display:block;
  box-sizing:border-box;
  min-width:0;
}
.aup-quick-buy-shortcode .aup-quick-buy-card{
  width:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:17px;
  padding:20px;
  background:#fff;
  border:0;
  outline:0;
  border-radius:22px;
  box-shadow:none;
  direction:rtl;
}
.aup-quick-buy-shortcode .aup-quick-buy-pricing{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:0;
  text-align:center;
  font-family:PeydaAUP,Tahoma,sans-serif;
}
.aup-quick-buy-shortcode .aup-quick-buy-regular-price{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  color:#8b93a3;
  font-size:14px;
  line-height:1.7;
}
.aup-quick-buy-shortcode .aup-quick-buy-regular-price del{
  color:#8b93a3;
  text-decoration-thickness:1.5px;
  text-decoration-color:#a8aebb;
}
.aup-quick-buy-shortcode .aup-quick-buy-regular-price .woocommerce-Price-amount{
  color:inherit;
  font-size:15px;
  font-weight:600;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-label{
  color:#667085;
  font-size:13px;
  line-height:1.6;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-price{
  color:#15965b;
  font-size:30px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:-.2px;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-price .woocommerce-Price-amount,
.aup-quick-buy-shortcode .aup-quick-buy-sale-price .woocommerce-Price-currencySymbol{
  color:inherit;
  font-size:inherit;
  font-weight:inherit;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn{
  width:100%!important;
  max-width:none!important;
  min-height:54px!important;
  margin:0!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-card{gap:14px;padding:16px;border-radius:18px}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-price{font-size:26px}
  .aup-quick-buy-shortcode .aup-quick-buy-regular-price{font-size:13px}
  .aup-quick-buy-shortcode .aup-quick-buy-regular-price .woocommerce-Price-amount{font-size:14px}
}


/* 3.9.3 — cleaner quick-buy button: no arrow, larger label */
.aup-quick-buy-shortcode .aup-quick-buy-btn{
  gap:0!important;
  font-size:19px!important;
  line-height:1.35!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn>span{
  display:block;
  font-size:inherit!important;
  font-weight:800!important;
  line-height:inherit!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn svg,
.aup-quick-buy-shortcode .aup-quick-buy-arrow{
  display:none!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-btn{font-size:18px!important}
}

/* 3.9.5 — larger green amount with a smaller, contrasting currency label */
.aup-quick-buy-shortcode .aup-quick-buy-sale-price{
  font-size:40px!important;
  line-height:1.2!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-price .woocommerce-Price-amount{
  color:#15965b!important;
  font-size:inherit!important;
  font-weight:850!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-price bdi{
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  gap:7px;
  direction:rtl;
  unicode-bidi:isolate;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-price .woocommerce-Price-currencySymbol{
  color:#667085!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:0!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-sale-price{font-size:34px!important}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-price .woocommerce-Price-currencySymbol{font-size:13px!important}
}

/* 3.9.7 — sale label inline at the right side of discounted price */
.aup-quick-buy-shortcode .aup-quick-buy-sale-row{
  display:inline-flex;
  align-items:baseline;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  direction:rtl;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label{
  color:#667085!important;
  font-size:15px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:0!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-price{
  margin:0!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row{gap:6px}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label{font-size:13px!important}
}


/* 3.9.8 — visually center discounted row and balance spacing */
.aup-quick-buy-shortcode .aup-quick-buy-pricing{
  gap:0!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  margin-top:10px!important;
  margin-bottom:1px!important;
  flex-wrap:wrap;
  direction:rtl;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{
  display:inline-flex!important;
  align-items:center!important;
  align-self:center!important;
  min-height:1em;
  line-height:1!important;
  transform:translateY(1px);
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-price,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-amount,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row bdi{
  margin:0!important;
  line-height:1!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row bdi{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row{
    gap:6px!important;
    margin-top:8px!important;
  }
}


/* 3.9.9 — perfect vertical centering and better visual balance for discounted price row */
.aup-quick-buy-shortcode .aup-quick-buy-card{
  gap:12px;
}
.aup-quick-buy-shortcode .aup-quick-buy-pricing{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin-top:14px!important;
  margin-bottom:0!important;
  flex-wrap:nowrap!important;
  direction:rtl;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-price,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-amount,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row bdi{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row bdi{
  gap:8px!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  line-height:1.1!important;
  position:relative;
  top:4px;
  transform:none!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-card{gap:10px}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row{margin-top:12px!important;gap:8px!important}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{top:3px}
}

/* 3.9.10 — optical vertical centering and balanced discounted-price spacing */
.aup-quick-buy-shortcode .aup-quick-buy-card{
  gap:5px!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row{
  margin-top:18px!important;
  margin-bottom:0!important;
  align-items:center!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{
  position:static!important;
  top:auto!important;
  align-self:center!important;
  vertical-align:middle!important;
  transform:translateY(-2px)!important;
  line-height:1!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-price,
.aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-price bdi{
  align-items:center!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-card{gap:4px!important}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row{margin-top:15px!important}
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{
    transform:translateY(-1px)!important;
  }
}

/* 3.9.12 — raise the complete price row for balanced spacing */
.aup-quick-buy-shortcode .aup-quick-buy-sale-row{
  transform:translateY(-7px)!important;
}
@media(max-width:700px){
  .aup-quick-buy-shortcode .aup-quick-buy-sale-row{
    transform:translateY(-5px)!important;
  }
}

/* 3.9.13 — transparent quick-buy shortcode shell for Elementor containers */
.aidm-shortcode-wrap.aup-quick-buy-shortcode,
.aup-quick-buy-shortcode .aup-quick-buy-card,
.woocommerce .aup-quick-buy-shortcode .aup-quick-buy-card,
.elementor .aup-quick-buy-shortcode .aup-quick-buy-card{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}


/* 3.9.14 — order button label and slightly lighter typography */
.aup-quick-buy-shortcode .aup-quick-buy-btn,
.aup-quick-buy-shortcode .aup-quick-buy-btn > span{
  font-weight:700!important;
}

/* 3.9.15 — match the order button background with the login/register button */
.aup-quick-buy-shortcode .aup-quick-buy-btn{
  background:linear-gradient(135deg,#7357f1 0%,#4c67df 100%)!important;
  border-color:transparent!important;
  box-shadow:0 10px 24px rgba(80,92,220,.25)!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn:hover{
  background:linear-gradient(135deg,#7357f1 0%,#4c67df 100%)!important;
  box-shadow:0 14px 30px rgba(80,92,220,.32)!important;
  filter:brightness(1.03)!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn:focus{
  outline:3px solid rgba(82,99,225,.18)!important;
  outline-offset:3px!important;
}

/* v3.9.19 — LTR phone entry and content-aware account field direction */
.aup-auth-input{direction:ltr!important}
.aup-auth-input>span{order:0!important;margin-left:0!important;margin-right:9px!important;flex:0 0 auto!important}
.aup-auth-input .aup-phone-input{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext!important;font-variant-numeric:tabular-nums!important}
.aup-auth-input .aup-phone-input::placeholder{text-align:left!important}
.aup-account-bidi{unicode-bidi:plaintext!important}
.aup-account-bidi[dir="ltr"]{direction:ltr!important;text-align:left!important}
.aup-account-bidi[dir="rtl"]{direction:rtl!important;text-align:right!important}
.aup-account-bidi.aup-phone-input,
.aup-account-bidi[type="email"]{direction:ltr!important;text-align:left!important;font-variant-numeric:tabular-nums!important}


/* 3.9.21 — consistent account fields and verified mobile-number changes */
.aup-account-settings-form input[type="text"],
.aup-account-settings-form input[type="tel"],
.aup-account-settings-form input[type="email"],
.aup-account-settings-form input:not([type]){
  box-sizing:border-box!important;
  width:100%!important;
  min-height:60px!important;
  border:1px solid var(--aup-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
  outline:0!important;
  padding:12px 15px!important;
  color:var(--aup-text)!important;
  font:inherit!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.aup-account-settings-form input[type="text"]:focus,
.aup-account-settings-form input[type="tel"]:focus,
.aup-account-settings-form input[type="email"]:focus,
.aup-account-settings-form input:not([type]):focus{
  border-color:var(--aup-blue)!important;
  box-shadow:0 0 0 3px rgba(70,101,220,.1)!important;
}
.aup-account-settings-form.is-awaiting-verification input:disabled{background:#f7f8fb!important;color:#6f7584!important;opacity:1!important}
.aup-account-message,.aup-account-verify-message{padding:11px 13px;border-radius:12px;background:#fff0ee;color:#8b3d34;font-size:14px;line-height:1.8}
.aup-account-message.is-success,.aup-account-verify-message.is-success{background:#eaf7ef;color:#267043}
.aup-account-verification{margin-top:16px;padding:18px;border:1px solid #dfe3f3;border-radius:16px;background:#fafbff}
.aup-account-verification[hidden]{display:none!important}
.aup-account-verification h3{margin:0 0 7px;font-size:18px}
.aup-account-verification p{margin:0;color:var(--aup-muted);line-height:1.8;font-size:14px}
.aup-account-otp-fields{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));direction:ltr;gap:8px;width:100%;margin:16px 0 13px;cursor:text}
.aup-account-otp-fields span{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:50px;border:1.5px solid #d9dce5;border-radius:11px;background:#fff;color:#aeb3bf;text-align:center;font-size:23px;font-weight:800;line-height:1;box-shadow:0 2px 8px rgba(38,42,58,.04);transition:border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}
.aup-account-otp-fields span.is-filled{color:#5c40d2;border-color:#bdb0f7;background:#fbfaff}
.aup-account-otp-fields span.is-active{border-color:#7657ec;box-shadow:0 0 0 3px rgba(118,87,236,.13);transform:translateY(-1px)}
.aup-account-otp-input{position:absolute!important;left:50%!important;bottom:1px!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;direction:ltr!important}
.aup-account-verification-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.aup-account-verification-actions .aup-btn{flex:1 1 150px;min-height:43px;padding:10px 14px}
.aup-account-cancel{border:0;background:transparent;color:#9a3f3f;padding:8px 10px;cursor:pointer;font:inherit;font-weight:700}
.aup-account-verify-message{margin-top:12px}
@media(max-width:520px){
  .aup-account-otp-fields{gap:5px}
  .aup-account-otp-fields span{height:45px;border-radius:9px;font-size:20px}
  .aup-account-verification-actions{display:grid;grid-template-columns:1fr 1fr}
  .aup-account-verification-actions .aup-account-cancel{grid-column:1/-1}
}

/* 3.9.23 — OTP countdown controls */
.aup-auth-send:disabled,.aup-account-resend:disabled,.aup-account-verify:disabled{opacity:.55!important;cursor:not-allowed!important;pointer-events:none!important}


/* 3.9.25 — genuinely compact, completely flat order button on single-product pages */
.aup-single-product-buy,
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
.aup-single-product-buy .aup-quick-buy-btn,
.woocommerce .aup-single-product-buy .aup-quick-buy-btn,
.elementor .aup-single-product-buy .aup-quick-buy-btn{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:42px!important;
  height:42px!important;
  max-height:42px!important;
  padding:0 16px!important;
  margin:8px 0 0!important;
  border:0!important;
  border-radius:12px!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
  outline:0!important;
  line-height:1!important;
}
.aup-single-product-buy .aup-quick-buy-btn>span{
  display:block!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
}
.aup-single-product-buy .aup-quick-buy-btn:hover,
.aup-single-product-buy .aup-quick-buy-btn:focus,
.aup-single-product-buy .aup-quick-buy-btn:focus-visible,
.aup-single-product-buy .aup-quick-buy-btn:active,
.aup-single-product-buy .aup-quick-buy-btn.is-loading{
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
  outline:0!important;
}
.aup-single-product-buy .aup-quick-buy-btn:before,
.aup-single-product-buy .aup-quick-buy-btn:after,
.aup-single-product-buy:before,
.aup-single-product-buy:after,
.aup-single-product-buy .aup-quick-buy-card:before,
.aup-single-product-buy .aup-quick-buy-card:after{
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
/* Elementor may put the visible shadow on the widget shell instead of the shortcode itself. */
.elementor-widget-container:has(> .aup-single-product-buy),
.elementor-widget-shortcode:has(.aup-single-product-buy),
.elementor-widget-html:has(.aup-single-product-buy),
.e-con:has(> .elementor-element:only-child .aup-single-product-buy),
.elementor-column:has(> .elementor-widget-wrap > .elementor-element:only-child .aup-single-product-buy){
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
@media(max-width:700px){
  .aup-single-product-buy .aup-quick-buy-btn,
  .woocommerce .aup-single-product-buy .aup-quick-buy-btn,
  .elementor .aup-single-product-buy .aup-quick-buy-btn{
    min-height:40px!important;
    height:40px!important;
    max-height:40px!important;
    padding:0 14px!important;
    margin-top:7px!important;
    border-radius:11px!important;
    font-size:16px!important;
  }
}

/* 3.9.26 — compact pricing and viewport-sticky single-product order panel */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  gap:0!important;
  padding:10px 14px!important;
  background:#fff!important;
  border:0!important;
  border-radius:18px!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
.aup-single-product-buy .aup-quick-buy-pricing{
  gap:0!important;
  margin:0!important;
  padding:0!important;
}
.aup-single-product-buy .aup-quick-buy-regular-price{
  gap:4px!important;
  margin:0!important;
  padding:0!important;
  line-height:1.25!important;
}
.aup-single-product-buy .aup-quick-buy-sale-row{
  gap:7px!important;
  margin:1px 0 0!important;
  padding:0!important;
  transform:none!important;
}
.aup-single-product-buy .aup-quick-buy-sale-row .aup-quick-buy-sale-label,
.aup-single-product-buy .aup-quick-buy-sale-row .woocommerce-Price-currencySymbol{
  transform:none!important;
  top:auto!important;
}
.aup-single-product-buy .aup-quick-buy-btn,
.woocommerce .aup-single-product-buy .aup-quick-buy-btn,
.elementor .aup-single-product-buy .aup-quick-buy-btn{
  margin:3px 0 0!important;
}
@media(max-width:700px){
  .aup-single-product-buy .aup-quick-buy-card,
  .woocommerce .aup-single-product-buy .aup-quick-buy-card,
  .elementor .aup-single-product-buy .aup-quick-buy-card{
    padding:8px 10px!important;
    border-radius:16px!important;
  }
  .aup-single-product-buy .aup-quick-buy-regular-price{
    font-size:12px!important;
    line-height:1.2!important;
  }
  .aup-single-product-buy .aup-quick-buy-sale-row{
    gap:5px!important;
    margin-top:0!important;
  }
  body:not(.elementor-editor-active):not(.elementor-editor-preview) .aup-single-product-buy.aup-sticky-buy-ready{
    border-radius:16px!important;
  }
}


/* 3.9.27 — bordered sticky buy panel and evenly balanced price spacing */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  gap:5px!important;
  border:1px solid var(--aup-border,#e7e9ef)!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}
.aup-single-product-buy .aup-quick-buy-pricing,
.woocommerce .aup-single-product-buy .aup-quick-buy-pricing,
.elementor .aup-single-product-buy .aup-quick-buy-pricing{
  gap:5px!important;
}
.aup-single-product-buy .aup-quick-buy-regular-price,
.aup-single-product-buy .aup-quick-buy-sale-row,
.aup-single-product-buy .aup-quick-buy-btn,
.woocommerce .aup-single-product-buy .aup-quick-buy-regular-price,
.woocommerce .aup-single-product-buy .aup-quick-buy-sale-row,
.woocommerce .aup-single-product-buy .aup-quick-buy-btn,
.elementor .aup-single-product-buy .aup-quick-buy-regular-price,
.elementor .aup-single-product-buy .aup-quick-buy-sale-row,
.elementor .aup-single-product-buy .aup-quick-buy-btn{
  margin-top:0!important;
  margin-bottom:0!important;
}
.aup-single-product-buy .aup-quick-buy-sale-row,
.woocommerce .aup-single-product-buy .aup-quick-buy-sale-row,
.elementor .aup-single-product-buy .aup-quick-buy-sale-row{
  transform:none!important;
}
body:not(.elementor-editor-active):not(.elementor-editor-preview) .aup-single-product-buy.aup-sticky-buy-ready{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}
@media(max-width:700px){
  .aup-single-product-buy .aup-quick-buy-card,
  .woocommerce .aup-single-product-buy .aup-quick-buy-card,
  .elementor .aup-single-product-buy .aup-quick-buy-card{
    gap:4px!important;
  }
  .aup-single-product-buy .aup-quick-buy-pricing,
  .woocommerce .aup-single-product-buy .aup-quick-buy-pricing,
  .elementor .aup-single-product-buy .aup-quick-buy-pricing{
    gap:4px!important;
  }
}


/* 3.9.28 — balanced sticky panels, matching widths and softer price spacing */
.aup-single-product-buy .aup-quick-buy-pricing,
.woocommerce .aup-single-product-buy .aup-quick-buy-pricing,
.elementor .aup-single-product-buy .aup-quick-buy-pricing{
  gap:8px!important;
}
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:0 10px 32px rgba(27,35,64,.16)!important;
  -webkit-box-shadow:0 10px 32px rgba(27,35,64,.16)!important;
}
@media(max-width:1024px){
  .aup-mobile-nav{
    left:var(--aup-mobile-nav-left,12px)!important;
    right:auto!important;
    width:var(--aup-mobile-nav-width,calc(100vw - 24px))!important;
    max-width:none!important;
    box-shadow:0 10px 32px rgba(27,35,64,.16)!important;
    -webkit-box-shadow:0 10px 32px rgba(27,35,64,.16)!important;
  }
}
@media(max-width:700px){
  .aup-single-product-buy .aup-quick-buy-pricing,
  .woocommerce .aup-single-product-buy .aup-quick-buy-pricing,
  .elementor .aup-single-product-buy .aup-quick-buy-pricing{
    gap:7px!important;
  }
}


/* 3.9.29 — stronger panel depth while keeping Elementor popups above sticky UI */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:0 14px 42px rgba(27,35,64,.24)!important;
  -webkit-box-shadow:0 14px 42px rgba(27,35,64,.24)!important;
}
@media(max-width:1024px){
  .aup-mobile-nav{
    box-shadow:0 14px 42px rgba(27,35,64,.24)!important;
    -webkit-box-shadow:0 14px 42px rgba(27,35,64,.24)!important;
  }
}
/* Elementor Pro popups/lightboxes must always cover the sticky order and tab panels. */
body .elementor-popup-modal.dialog-widget,
body .elementor-popup-modal.dialog-lightbox-widget,
body > .elementor-popup-modal{
  z-index:2147483000!important;
}
body.aup-elementor-popup-open .aup-single-product-buy.aup-sticky-buy-ready,
body.aup-elementor-popup-open .aup-mobile-nav{
  z-index:9000!important;
}


/* 3.9.30 — lighter centered shadows with stronger top separation */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:0 -14px 28px rgba(27,35,64,.14),0 6px 14px rgba(27,35,64,.07)!important;
  -webkit-box-shadow:0 -14px 28px rgba(27,35,64,.14),0 6px 14px rgba(27,35,64,.07)!important;
}
@media(max-width:1024px){
  .aup-mobile-nav{
    box-shadow:0 -10px 24px rgba(27,35,64,.12),0 6px 12px rgba(27,35,64,.06)!important;
    -webkit-box-shadow:0 -10px 24px rgba(27,35,64,.12),0 6px 12px rgba(27,35,64,.06)!important;
  }
}

/* 3.9.31 — directional shadows: lighter between panels, stronger above purchase panel */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:
    0 -14px 34px rgba(27,35,64,.18),
    0 3px 12px rgba(27,35,64,.06)!important;
  -webkit-box-shadow:
    0 -14px 34px rgba(27,35,64,.18),
    0 3px 12px rgba(27,35,64,.06)!important;
}
@media(max-width:1024px){
  .aup-mobile-nav{
    box-shadow:
      0 10px 28px rgba(27,35,64,.15),
      0 -1px 7px rgba(27,35,64,.035)!important;
    -webkit-box-shadow:
      0 10px 28px rgba(27,35,64,.15),
      0 -1px 7px rgba(27,35,64,.035)!important;
  }
}

/* Targeted fix: borderless notice close button and direct product-page scrolling while the field keyboard is active. */
body .aup-top-notice button.aup-top-notice-close,
body .aup-top-notice button.aup-top-notice-close:hover,
body .aup-top-notice button.aup-top-notice-close:focus,
body .aup-top-notice button.aup-top-notice-close:focus-visible,
body .aup-top-notice button.aup-top-notice-close:active,
.woocommerce .aup-top-notice button.aup-top-notice-close,
.elementor .aup-top-notice button.aup-top-notice-close{
  -webkit-appearance:none!important;
  appearance:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  border-radius:0!important;
  outline:0!important;
  outline-offset:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
}
body .aup-top-notice button.aup-top-notice-close::before,
body .aup-top-notice button.aup-top-notice-close::after,
.woocommerce .aup-top-notice button.aup-top-notice-close::before,
.woocommerce .aup-top-notice button.aup-top-notice-close::after,
.elementor .aup-top-notice button.aup-top-notice-close::before,
.elementor .aup-top-notice button.aup-top-notice-close::after{
  content:none!important;
  display:none!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}


/* Keep the product document as the only vertical scroll container while the keyboard is open. */
html.aidm-fields-keyboard-open,
html.aidm-fields-keyboard-open body,
body.aidm-fields-keyboard-open{
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y pinch-zoom!important;
  -webkit-overflow-scrolling:touch!important;
}
html.aidm-fields-keyboard-open .aidm-product-fields,
html.aidm-fields-keyboard-open .aidm-product-fields .aidm-custom-field,
html.aidm-fields-keyboard-open .aidm-product-fields .aidm-field-control,
html.aidm-fields-keyboard-open .aidm-product-fields input,
html.aidm-fields-keyboard-open .aidm-product-fields textarea,
html.aidm-fields-keyboard-open .aidm-product-fields select{
  overscroll-behavior-y:auto!important;
  touch-action:pan-y pinch-zoom!important;
}

body.aidm-fields-keyboard-open{
  padding-bottom:calc(var(--aidm-keyboard-height,0px) + var(--aidm-field-align-space,0px) + 24px)!important;
}

/* Targeted keyboard layout: keep only the order panel above the keyboard. */
html.aidm-fields-keyboard-open .aup-mobile-nav,
body.aidm-fields-keyboard-open .aup-mobile-nav{
  display:none!important;
}

/* Keep field headings comfortably reachable above the mobile keyboard.
   The order box itself intentionally receives no keyboard-specific styling. */
@media(max-width:1024px){
  html.aidm-fields-keyboard-open .aidm-product-fields .aidm-custom-field,
  body.aidm-fields-keyboard-open .aidm-product-fields .aidm-custom-field{
    scroll-margin-top:154px!important;
  }
}

/* Keep the real order payload fields invisible; users type only in the neutral entry controls. */
.aidm-product-fields input[type="hidden"][data-aidm-shadow-field="1"]{
  display:none!important;
  width:0!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.aidm-product-fields input[data-aidm-entry-field="1"]::-webkit-contacts-auto-fill-button,
.aidm-product-fields input[data-aidm-entry-field="1"]::-webkit-credentials-auto-fill-button{
  visibility:hidden!important;
  display:none!important;
  pointer-events:none!important;
}

/* 3.9.33 — stronger upper shadow for the fixed order box */
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  box-shadow:
    0 -18px 42px rgba(27,35,64,.24),
    0 3px 12px rgba(27,35,64,.06)!important;
  -webkit-box-shadow:
    0 -18px 42px rgba(27,35,64,.24),
    0 3px 12px rgba(27,35,64,.06)!important;
}

/* 3.9.37 — compact new-ticket controls on phones without affecting account/order forms. */
@media(max-width:600px){
  .aup-support-top>section:first-child{
    padding:16px!important;
  }
  .aup-support-top>section:first-child>h2{
    margin:0 0 12px!important;
    font-size:23px!important;
    line-height:1.45!important;
  }
  .aup-support-top>section:first-child .aup-form{
    gap:10px!important;
  }
  .aup-support-top>section:first-child .aup-form label{
    gap:5px!important;
    font-size:13px!important;
    line-height:1.5!important;
  }
  .aup-support-top>section:first-child .aup-form input:not([type="file"]),
  .aup-support-top>section:first-child .aup-form select{
    min-height:40px!important;
    height:40px!important;
    padding:7px 11px!important;
    border-radius:11px!important;
    font-size:14px!important;
  }
  .aup-support-top>section:first-child .aup-form textarea{
    min-height:88px!important;
    height:88px!important;
    max-height:150px!important;
    padding:9px 11px!important;
    border-radius:11px!important;
    font-size:14px!important;
    line-height:1.65!important;
    resize:vertical!important;
  }
  .aup-support-top>section:first-child .aup-form input[type="file"]{
    min-height:40px!important;
    padding:5px 7px!important;
    border-radius:11px!important;
    font-size:10px!important;
  }
  .aup-support-top>section:first-child .aup-form input[type="file"]::file-selector-button{
    padding:7px 9px!important;
    font-size:10px!important;
    border-radius:8px!important;
  }
  .aup-support-top>section:first-child .aup-form .aup-btn{
    min-height:44px!important;
    padding:9px 14px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
}


/* 3.9.38 — compact “My tickets” and contact cards to match the new-ticket form on phones. */
@media(max-width:600px){
  .aup-support-my-tickets,
  .aup-support-contact{
    padding:16px!important;
    border-radius:18px!important;
  }
  .aup-support-my-tickets>h2,
  .aup-support-contact>h2{
    margin:0 0 12px!important;
    font-size:23px!important;
    line-height:1.45!important;
  }
  .aup-support-my-tickets .aup-ticket-list>a{
    min-height:54px!important;
    padding:10px 0!important;
    gap:10px!important;
  }
  .aup-support-my-tickets .aup-ticket-list strong{
    font-size:14px!important;
    line-height:1.5!important;
  }
  .aup-support-my-tickets .aup-ticket-list small{
    margin-top:3px!important;
    font-size:11px!important;
    line-height:1.55!important;
  }
  .aup-support-my-tickets .aup-ticket-status{
    flex:0 0 auto!important;
    padding:5px 9px!important;
    font-size:11px!important;
  }
  .aup-support-my-tickets .aup-empty.compact{
    padding:12px 6px!important;
    font-size:13px!important;
  }
  .aup-support-contact .aup-contact-list{
    gap:8px!important;
  }
  .aup-support-contact .aup-contact-list a{
    min-height:54px!important;
    padding:10px 12px!important;
    border-radius:11px!important;
    font-size:14px!important;
  }
  .aup-support-contact .aup-contact-list strong{
    font-size:14px!important;
  }
  .aup-support-contact .aup-contact-list span{
    font-size:13px!important;
    overflow-wrap:anywhere!important;
  }
}

/* 3.9.41 — keep login and OTP dialogs inside the area above mobile keyboards. */
@media(max-width:1024px){
  .aup-auth-modal.is-open{
    box-sizing:border-box!important;
    top:var(--aup-auth-vv-top,0px)!important;
    right:0!important;
    bottom:auto!important;
    left:0!important;
    width:100%!important;
    height:var(--aup-auth-vv-height,100dvh)!important;
    max-height:var(--aup-auth-vv-height,100dvh)!important;
    padding:12px 14px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .aup-auth-modal.is-open .aup-auth-backdrop{
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
  }
  .aup-auth-modal.is-open .aup-auth-box{
    width:100%!important;
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 24px)!important;
    margin:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    transform:none!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open{
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 16px)!important;
    padding-top:27px!important;
    padding-bottom:16px!important;
  }
}

/* 3.9.42 — let the page scroll when wallet history has no transactions. */
.aup-wallet-history.is-empty{
  overflow:visible!important;
  overscroll-behavior:auto!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:auto!important;
  pointer-events:none!important;
}

/* 3.9.43 — keep short wallet histories natural and pass vertical gestures to the page. */
.aup-wallet-history{
  align-content:start!important;
  grid-auto-rows:max-content!important;
}
.aup-wallet-history.is-page-scroll{
  overflow:visible!important;
  overscroll-behavior:auto!important;
  -webkit-overflow-scrolling:auto!important;
  touch-action:pan-y!important;
}
.aup-wallet-history.is-scrollable{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
}

/* 3.9.44 — WooCommerce's native banners are intentionally replaced by the site's own feedback UI. */
body:not(.wp-admin) .woocommerce-notices-wrapper,
body:not(.wp-admin) .woocommerce-error,
body:not(.wp-admin) .woocommerce-message,
body:not(.wp-admin) .woocommerce-info,
body:not(.wp-admin) [role="alert"].woocommerce-error,
body:not(.wp-admin) [role="alert"].woocommerce-message,
body:not(.wp-admin) [role="alert"].woocommerce-info{
  display:none!important;
}


/* 3.9.47 — keep the Support tab active on ticket details and separate chat bubbles. */
.aup-ticket-messages-scroll{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:14px!important;
}
.aup-ticket-messages-scroll .aup-message,
.aup-ticket-messages-scroll .aup-message:first-child,
.aup-ticket-messages-scroll .aup-message:last-child{
  flex:0 0 auto!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.aup-ticket-messages-scroll .aup-message.user{
  margin-right:0!important;
  margin-left:auto!important;
}
.aup-ticket-messages-scroll .aup-message.admin{
  margin-left:0!important;
  margin-right:auto!important;
}
@media(max-width:1024px){
  .aup-ticket-messages-scroll{gap:10px!important}
}

/* Pending order payment action */
.aup-order-pay-action{display:flex;justify-content:center;margin-top:22px}
.aup-order-pay-button{width:min(360px,100%);min-height:50px;font-size:16px!important}
@media(max-width:600px){.aup-order-pay-action{margin-top:16px}.aup-order-pay-button{width:100%;min-height:46px}}

/* 3.9.50 — cancelled order steps and fixed unpaid-order deadline. */
.aup-timeline .cancelled{
  background:#fff0f0!important;
  border:1px solid #f3bcbc!important;
  color:#b83232!important;
  font-weight:800!important;
  box-shadow:0 7px 18px rgba(184,50,50,.08)!important;
}
.aup-timeline .cancelled .aup-step-check{
  background:#f7caca!important;
  color:#a92323!important;
  font-size:19px!important;
  line-height:1!important;
}
.aup-timeline .cancelled:not(:last-child):after{
  color:#d45a5a!important;
  border-color:#e7a1a1!important;
}
.aup-payment-deadline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:18px;
  color:#626a7b;
  font-size:14px;
}
.aup-payment-deadline strong{
  min-width:58px;
  color:#3153cf;
  font-size:17px;
  font-variant-numeric:tabular-nums;
  direction:ltr;
  text-align:center;
}
.aup-payment-deadline.is-expired strong{color:#b83232}
.aup-order-pay-button[aria-disabled="true"]{opacity:.55;pointer-events:none;box-shadow:none!important}
@media(max-width:600px){
  .aup-payment-deadline{flex-direction:column;gap:3px;text-align:center;font-size:13px}
}

/* 3.9.54 — static, decoration-free product order shortcode controlled by Elementor. */
.aup-single-product-buy,
.woocommerce .aup-single-product-buy,
.elementor .aup-single-product-buy,
.aup-single-product-buy.aup-sticky-buy-ready,
body:not(.elementor-editor-active):not(.elementor-editor-preview) .aup-single-product-buy.aup-sticky-buy-ready{
  position:static!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  height:auto!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
  z-index:auto!important;
  isolation:auto!important;
}
.aup-single-product-buy .aup-quick-buy-card,
.woocommerce .aup-single-product-buy .aup-quick-buy-card,
.elementor .aup-single-product-buy .aup-quick-buy-card{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
/* 3.9.55 — hard reset every visible shell around the order shortcode. */
html body .aidm-shortcode-wrap.aup-quick-buy-shortcode,
html body .aup-quick-buy-shortcode > .aup-quick-buy-card,
html body .woocommerce .aup-quick-buy-shortcode > .aup-quick-buy-card,
html body .elementor .aup-quick-buy-shortcode > .aup-quick-buy-card{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  outline:0!important;
  outline-width:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body .aidm-shortcode-wrap.aup-quick-buy-shortcode::before,
html body .aidm-shortcode-wrap.aup-quick-buy-shortcode::after,
html body .aup-quick-buy-shortcode > .aup-quick-buy-card::before,
html body .aup-quick-buy-shortcode > .aup-quick-buy-card::after{
  content:none!important;
  display:none!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
/* Elementor's widget shell can carry the old panel decoration. It is flattened too;
   users can style an outer Elementor container when they want a custom panel. */
html body .aup-order-box-widget-shell,
html body .aup-order-box-widget-shell > .elementor-widget-container,
html body .elementor-widget-container.aup-order-box-widget-shell{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  border-color:transparent!important;
  outline:0!important;
  outline-width:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body .aup-order-box-widget-shell::before,
html body .aup-order-box-widget-shell::after,
html body .aup-order-box-widget-shell > .elementor-widget-container::before,
html body .aup-order-box-widget-shell > .elementor-widget-container::after{
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  filter:none!important;
}
@supports selector(:has(*)){
  html body .elementor-widget-container:has(> .aup-quick-buy-shortcode),
  html body .elementor-widget-shortcode:has(.aup-quick-buy-shortcode),
  html body .elementor-widget-html:has(.aup-quick-buy-shortcode){
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    border-width:0!important;
    border-style:none!important;
    border-color:transparent!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    -webkit-box-shadow:none!important;
    filter:none!important;
    -webkit-filter:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/* 3.9.57 — the product order box is deliberately unaffected by keyboard state.
   Opening or closing the mobile keyboard must not hide, resize, restyle or reposition
   the price area, submit button, card or shortcode wrapper. */

/* 3.9.58 — live ticket reply feedback. */
.aup-ticket-live-feedback{
  min-height:22px;
  padding:6px 10px;
  border-radius:10px;
  background:#edf8f0;
  color:#20723a;
  font-size:13px;
  line-height:1.7;
}
.aup-ticket-live-feedback.is-error{background:#fff0ee;color:#9a302b}
.aup-ticket-live-feedback[hidden]{display:none!important}

/* 3.9.60 / 3.9.62 — order email-code workflow; simple site-matched layout */
.aup-email-code-box{margin:0 0 18px!important;padding:22px!important;border:1px solid #dfe5fb!important;background:#fff!important;box-shadow:0 8px 26px rgba(36,42,66,.045)!important}
.aup-email-code-box[hidden]{display:none!important}
.aup-live-order-root>.aup-page-head+.aup-email-code-box{margin-top:-10px!important}
.aup-email-code-box:before{display:none!important;content:none!important}
.aup-email-code-head{display:block;margin-bottom:14px}
.aup-email-code-head h2{margin:0 0 7px!important;font-size:21px!important;color:#202a45!important}
.aup-email-code-head p{margin:0!important;color:#667085!important;font-size:15px!important;font-weight:500!important;line-height:1.9!important}
.aup-email-code-live{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 11px;border-radius:999px;background:#eaf8ef;color:#177245;font-size:12px;font-weight:700}
.aup-email-code-live i{width:8px;height:8px;border-radius:50%;background:#26a65b;box-shadow:0 0 0 4px rgba(38,166,91,.12)}
.aup-email-code-form{display:grid;gap:0}
.aup-email-code-form label{font-weight:700;color:#343b4d}
.aup-email-code-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;padding:0;border:0;background:transparent;box-shadow:none}
.aup-email-code-control input{width:100%;min-width:0;height:52px;border:1px solid #cfd5e4;border-radius:18px!important;background:#fff;padding:0 15px;font-size:18px;letter-spacing:2px;outline:0;text-align:center;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease}
.aup-email-code-control input::placeholder{letter-spacing:0;color:#98a1b3}
.aup-email-code-control input:focus{border-color:var(--aup-blue);box-shadow:0 0 0 3px rgba(70,101,220,.11)}
.aup-email-code-control .aup-btn{min-width:132px;min-height:52px;border-radius:18px!important;background:linear-gradient(135deg,#7357f1 0%,#4c67df 100%)!important;box-shadow:none!important}
.aup-email-code-control .aup-btn:hover{box-shadow:0 8px 18px rgba(76,103,223,.18)!important}
.aup-email-code-state{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px;color:#667085;font-size:13px}
.aup-email-code-state strong{color:#4b5565}.aup-email-code-state strong.is-success{color:#16814a}
.aup-email-code-last-submit{display:flex;align-items:center;justify-content:flex-start;gap:7px;margin-top:9px;color:#667085;font-size:12.5px;font-weight:600;line-height:1.8;text-align:right;direction:rtl}
.aup-email-code-last-submit-success{color:#16814a;font-weight:800}
.aup-email-code-last-submit-text{color:#667085}
.aup-email-code-last-submit[hidden]{display:none!important}
.aup-email-code-feedback{margin-top:11px;padding:9px 12px;border-radius:10px;background:#eaf7ef;color:#177245;font-size:13px;font-weight:600}
.aup-email-code-feedback.is-error{background:#fff0ee;color:#a33b32}
@media(max-width:640px){
 .aup-live-order-root>.aup-page-head+.aup-email-code-box{margin-top:-6px!important}
 .aup-email-code-box{padding:14px!important}.aup-email-code-head{display:block;margin-bottom:12px}
 .aup-email-code-form{gap:0}
 .aup-email-code-control{grid-template-columns:1fr;gap:8px}
 .aup-email-code-control input{height:44px!important;border-radius:14px!important;padding:0 12px!important;font-size:17px!important;letter-spacing:1.5px!important}
 .aup-email-code-control .aup-btn{width:100%;min-height:44px!important;height:44px!important;padding:8px 16px!important;border-radius:14px!important;font-size:14px!important}
 .aup-email-code-head h2{font-size:19px!important}.aup-email-code-head p{font-size:14px!important;line-height:1.9!important}
 .aup-email-code-state{margin-top:10px;font-size:13px;gap:6px}
 .aup-email-code-last-submit{margin-top:7px;font-size:12px}
 .aup-email-code-feedback{margin-top:8px;padding:8px 10px;font-size:13px}
}

/* 3.9.64 — fixed customer copy for order email-code box */
.aup-email-code-copy{min-width:0}
.aup-email-code-title{display:flex!important;align-items:baseline;gap:7px;flex-wrap:wrap;margin:0 0 7px!important;line-height:1.65!important}
.aup-email-code-title strong{color:#d12f35!important;font-size:22px!important;font-weight:900!important}
.aup-email-code-title span{color:#596273!important;font-size:16px!important;font-weight:650!important}
.aup-email-code-note{display:grid;gap:6px;margin:15px 0 0!important;padding:14px 16px;border:1px solid #f2d4cf;border-radius:12px;background:#fff0ee;color:#4b5563;text-align:right}.aup-email-code-note-title{display:block;margin:0 0 1px!important;color:#3f4652!important;font-size:15px!important;font-weight:850!important;line-height:1.7!important}.aup-email-code-note p{display:flex!important;align-items:flex-start;gap:5px;margin:0!important;padding:0!important;color:#4b5563!important;font-size:14.5px!important;font-weight:500!important;line-height:1.9!important}.aup-email-code-note p:before{content:"-";flex:0 0 auto;color:#3f4652;font-size:13px;font-weight:800}
@media(max-width:640px){
 .aup-email-code-title{gap:5px;margin-bottom:6px!important}
 .aup-email-code-title strong{font-size:19px!important}
 .aup-email-code-title span{font-size:14px!important;line-height:1.9!important}
 .aup-email-code-note{gap:5px;margin-top:12px!important;padding:12px 13px;border-radius:10px}
 .aup-email-code-note-title{font-size:14.5px!important}
 .aup-email-code-note p{font-size:13.75px!important;line-height:1.9!important}
 .aup-email-code-note p:before{font-size:12.5px!important}
}

/* 3.9.73 — tighten the real gap between the order heading and the email-code card. */
.aup-live-order-root>.aup-page-head{
  margin-bottom:5px!important;
}
.aup-live-order-root>.aup-page-head+.aup-email-code-box{
  margin-top:0!important;
}
@media(max-width:640px){
  .aup-live-order-root>.aup-page-head{
    margin-bottom:3px!important;
  }
  .aup-live-order-root>.aup-page-head+.aup-email-code-box{
    margin-top:0!important;
  }
}

/* 3.9.74 — live 30-minute email-code countdown. */
.aup-email-code-countdown{
  display:inline-block;
  min-width:66px;
  color:#16814a!important;
  font-weight:850!important;
  direction:ltr;
  unicode-bidi:isolate;
  text-align:center;
  font-variant-numeric:tabular-nums;
}
@media(max-width:640px){
  .aup-email-code-countdown{min-width:62px;font-weight:850!important}
}

/* 3.9.75 — order-created countdown expiry state. */
.aup-email-code-countdown.is-expired{
  color:#d12f35!important;
}

/* 3.9.66 — order failure reason, order conversation and re-review request */
.aup-review-request-success{border:1px solid #b8e7cb;background:#effbf4;color:#176b3a;border-radius:18px;padding:18px 20px;margin-bottom:18px;box-shadow:0 8px 24px rgba(23,107,58,.08)}
.aup-review-request-success strong{display:block;font-size:18px;margin-bottom:6px}.aup-review-request-success span{line-height:1.8}
.aup-order-review-card{margin:0 0 20px}.aup-order-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--aup-border)}
.aup-order-review-head h2{margin:0 0 6px;font-size:21px}.aup-order-review-head p{margin:0;color:var(--aup-muted);line-height:1.75}
.aup-order-review-state{flex:0 0 auto;background:#eef1ff;color:#3c56bc;border-radius:99px;padding:7px 11px;font-size:12px;font-weight:700}
.aup-order-review-messages{display:flex;flex-direction:column;gap:11px;max-height:430px;overflow:auto;padding:18px 2px 6px;scrollbar-width:thin}
.aup-order-review-empty{padding:18px;text-align:center;color:var(--aup-muted);background:#f7f8fb;border:1px dashed #dcdfe8;border-radius:14px}
.aup-order-review-message{max-width:78%;border-radius:16px;padding:13px 15px;line-height:1.85;border:1px solid transparent}
.aup-order-review-message.is-user{align-self:flex-start;background:#eef1ff;border-color:#dde3ff}.aup-order-review-message.is-admin{align-self:flex-end;background:#eef9f1;border-color:#d9efdf}.aup-order-review-message.is-system{align-self:center;max-width:92%;background:#f4f5f7;border-color:#e5e7eb;color:#626977;text-align:center}
.aup-order-review-message.is-review-request{background:#fff7e8;border-color:#f3ddb1;color:#7b5a17}
.aup-order-review-message-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:5px;font-size:12px}.aup-order-review-message-meta span{color:var(--aup-muted);direction:ltr}.aup-order-review-message-text{overflow-wrap:anywhere;white-space:normal}
.aup-order-review-form{margin-top:17px;padding-top:18px;border-top:1px solid var(--aup-border)}.aup-order-review-form label{display:block;font-weight:700;margin-bottom:8px}
.aup-order-review-form textarea{width:100%;min-height:104px;resize:vertical;border:1px solid #d9dde7;border-radius:14px;background:#fff;color:#222;padding:13px 14px;outline:none;font:inherit;line-height:1.8}
.aup-order-review-form textarea:focus{border-color:var(--aup-blue);box-shadow:0 0 0 3px rgba(70,101,220,.1)}
.aup-order-review-actions{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}.aup-review-request-btn{background:#c93d3d!important;box-shadow:0 8px 18px rgba(201,61,61,.16)!important}
@media(max-width:720px){.aup-order-review-head{display:block}.aup-order-review-state{display:inline-block;margin-top:10px}.aup-order-review-message{max-width:92%}.aup-order-review-actions .aup-btn{flex:1 1 140px}}


/* 1.2.30 — failed-order conversation: one clean card, visible only while Failed. */
.aup-order-review-failed-only{margin:0 0 20px!important;padding:22px!important;border:1px solid #dfe5fb!important;background:#fff!important;box-shadow:0 8px 26px rgba(36,42,66,.045)!important}
.aup-order-review-failed-copy{display:grid;gap:8px}
.aup-order-review-failed-title{margin:0!important;color:#d12f35!important;font-size:22px!important;font-weight:900!important;line-height:1.65!important}
.aup-order-review-support-text{margin:0;color:#596273;font-size:16px;font-weight:650;line-height:1.95;overflow-wrap:anywhere}
.aup-order-review-support-followups{display:grid;gap:8px;margin-top:4px}
.aup-order-review-support-followup{padding:10px 12px;border-radius:12px;background:#f7f8fb;color:#4f596b;line-height:1.85}
.aup-order-review-support-followup span{display:block;margin-top:4px;color:#8a93a3;font-size:11.5px;direction:ltr;text-align:left}
.aup-order-review-divider{height:1px;background:var(--aup-border);margin:18px 0}
.aup-order-review-user-area>h3{margin:0 0 12px!important;color:#2f3542;font-size:17px!important;font-weight:800!important}
.aup-order-review-user-messages{display:flex;flex-direction:column;gap:9px;margin-bottom:13px}
.aup-order-review-user-message{align-self:stretch;padding:11px 13px;border:1px solid #dde3ff;border-radius:14px;background:#f4f6ff;color:#4f586c;line-height:1.85;overflow-wrap:anywhere}
.aup-order-review-user-message span{display:block;margin-top:5px;color:#8a93a3;font-size:11.5px;direction:ltr;text-align:left}
.aup-order-review-failed-only .aup-order-review-form{margin-top:0;padding-top:0;border-top:0}
.aup-order-review-failed-only .aup-order-review-form textarea{min-height:104px}
.aup-order-review-failed-only .aup-order-review-actions{margin-top:10px}
.aup-order-review-failed-only .aup-review-request-btn{background:#c93d3d!important;box-shadow:0 8px 18px rgba(201,61,61,.16)!important}
@media(max-width:720px){
 .aup-order-review-failed-only{padding:14px!important}
 .aup-order-review-failed-title{font-size:19px!important}
 .aup-order-review-support-text{font-size:14px!important;line-height:1.9}
 .aup-order-review-divider{margin:15px 0}
 .aup-order-review-user-area>h3{font-size:15px!important}
 .aup-order-review-failed-only .aup-order-review-actions .aup-btn{flex:1 1 140px}
}

/* 1.2.31 — failed-order chat mirrors ticket conversation: customer right, support left. */
.aup-order-review-failed-only{overflow:hidden!important}
.aup-order-review-chat{display:flex;flex-direction:column;gap:10px;max-height:430px;overflow-y:auto;overflow-x:hidden;padding:2px 2px 8px;scrollbar-width:thin;direction:rtl}
.aup-order-review-chat-message{width:auto;max-width:76%;padding:12px 14px;border-radius:18px;line-height:1.85;text-align:right;overflow-wrap:anywhere;border:1px solid transparent}
.aup-order-review-chat-message.is-user{margin-left:auto;margin-right:0;background:#eef1ff;border-color:#dde3ff;border-bottom-right-radius:6px}
.aup-order-review-chat-message.is-admin{margin-right:auto;margin-left:0;background:#f0f8f2;border-color:#d9efdf;border-bottom-left-radius:6px}
.aup-order-review-chat-message strong{display:block;margin:0 0 4px;font-size:13px;color:#303746}
.aup-order-review-chat-message small{display:block;margin-top:6px;color:var(--aup-muted);font-size:11px;direction:ltr;text-align:left}
.aup-order-review-chat-empty{padding:15px;text-align:center;color:var(--aup-muted);background:#f7f8fb;border:1px dashed #dcdfe8;border-radius:14px}
.aup-order-review-failed-only .aup-order-review-form{margin-top:14px!important;padding-top:16px!important;border-top:1px solid var(--aup-border)!important}
@media(max-width:720px){
 .aup-order-review-chat{gap:8px;max-height:360px}
 .aup-order-review-chat-message{max-width:91%;padding:10px 12px;font-size:13px;line-height:1.7}
 .aup-order-review-chat-message strong{font-size:12.5px}
 .aup-order-review-chat-message small{font-size:10.5px}
}


/* 1.2.32.1 — clearer review action labels and slightly rounded order-review buttons. */
.aup-order-review-failed-only .aup-order-review-actions .aup-btn{border-radius:10px!important}
\n\n/* 1.2.34 — compact failed-order chat and clean action buttons. */
.aup-order-review-failed-only .aup-order-review-chat{
  max-height:260px!important;
  min-height:0!important;
}
.aup-order-review-failed-only .aup-order-review-form textarea{
  min-height:72px!important;
  height:84px;
  resize:vertical;
}
.aup-order-review-failed-only .aup-order-review-actions .aup-btn,
.aup-order-review-failed-only .aup-review-request-btn{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:8px!important;
}
@media(max-width:720px){
  .aup-order-review-failed-only .aup-order-review-chat{max-height:230px!important}
  .aup-order-review-failed-only .aup-order-review-form textarea{min-height:68px!important;height:76px}
  .aup-order-review-failed-only .aup-order-review-actions .aup-btn{border-radius:8px!important}
}

/* 1.2.35 — keep failed-order conversation compact: roughly two messages tall. */
.aup-order-review-failed-only .aup-order-review-chat{
  max-height:180px!important;
  min-height:0!important;
  height:auto!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
@media(max-width:720px){
  .aup-order-review-failed-only .aup-order-review-chat{
    max-height:170px!important;
  }
}


/* 3.9.70 — unavailable quick-buy state */
.aup-quick-buy-shortcode .aup-quick-buy-btn.is-out-of-stock,
.aup-quick-buy-shortcode .aup-quick-buy-btn[data-stock-unavailable="1"],
.woocommerce .aup-quick-buy-shortcode .aup-quick-buy-btn.is-out-of-stock,
.elementor .aup-quick-buy-shortcode .aup-quick-buy-btn.is-out-of-stock,
.aup-single-product-buy .aup-quick-buy-btn.is-out-of-stock,
.aup-single-product-buy .aup-quick-buy-btn.is-out-of-stock:hover,
.aup-single-product-buy .aup-quick-buy-btn.is-out-of-stock:focus,
.aup-single-product-buy .aup-quick-buy-btn.is-out-of-stock:active{
  background:#e5e7eb!important;
  border-color:transparent!important;
  color:#7b8190!important;
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
  text-shadow:none!important;
  filter:none!important;
  transform:none!important;
  opacity:1!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
.aup-quick-buy-shortcode .aup-quick-buy-btn.is-out-of-stock>span{
  color:inherit!important;
}


/* 3.9.74 — Iran-IP modal: compact card, oversized faded Wi-Fi behind copy, close affordances. */
.aup-payment-ip-modal{position:fixed;inset:0;z-index:1000060;display:none;align-items:center;justify-content:center;padding:24px;direction:rtl}
.aup-payment-ip-modal.is-open{display:flex}
.aup-payment-ip-backdrop{position:absolute;inset:0;background:rgba(234,237,242,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);cursor:pointer}
.aup-payment-ip-box{box-sizing:border-box;position:relative;width:min(282px,calc(100vw - 118px));background:rgba(255,255,255,.97);border-radius:27px;padding:44px 18px 25px;text-align:center;box-shadow:none!important;-webkit-box-shadow:none!important;font-family:PeydaAUP,Tahoma,sans-serif;overflow:hidden;transform:translateY(-14px)}
.aup-payment-ip-box:before{content:"";position:absolute;z-index:0;left:50%;top:47%;transform:translate(-50%,-50%);width:365px;height:280px;opacity:.06;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cg fill=%27none%27 stroke=%27%239aa4b2%27 stroke-linecap=%27round%27 stroke-width=%274.6%27%3E%3Cpath d=%27M7 22.5a35.5 35.5 0 0 1 50 0%27/%3E%3Cpath d=%27M16 32a22.5 22.5 0 0 1 32 0%27/%3E%3Cpath d=%27M25 41a10 10 0 0 1 14 0%27/%3E%3Ccircle cx=%2732%27 cy=%2750%27 r=%273.7%27 fill=%27%239aa4b2%27 stroke=%27none%27/%3E%3C/g%3E%3C/svg%3E")}
.aup-payment-ip-box>*{position:relative;z-index:1}
.aup-payment-ip-box p{margin:0 auto;color:#242733;font-size:19px;font-weight:800;line-height:1.9;width:max-content;max-width:100%}.aup-payment-ip-box p span{display:block;white-space:nowrap}
.aup-payment-ip-error{min-height:18px;margin:10px 0 3px;color:#e33434;font-size:11px;font-weight:800;line-height:1.5;visibility:hidden}
.aup-payment-ip-error.is-visible{visibility:visible}
.aup-payment-ip-confirm{margin-top:0;border:0!important;border-radius:14px!important;background:#3478f6!important;color:#fff!important;min-width:138px;min-height:48px;padding:11px 22px!important;font:700 16px PeydaAUP,Tahoma,sans-serif!important;cursor:pointer!important;box-shadow:none!important;-webkit-box-shadow:none!important;transition:opacity .16s ease!important;transform:none!important}
.aup-payment-ip-confirm:hover,.aup-payment-ip-confirm:active,.aup-payment-ip-confirm:focus{transform:none!important;box-shadow:none!important;-webkit-box-shadow:none!important}
.aup-payment-ip-confirm:disabled{cursor:wait!important;opacity:.76}
.aup-payment-ip-confirm.is-checking,.aup-payment-ip-confirm.is-denied{animation:none!important;transform:none!important}
.aup-payment-ip-confirm.is-checking{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;direction:rtl!important}
.aup-payment-ip-spinner{box-sizing:border-box;display:inline-block;width:16px;height:16px;flex:0 0 16px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:aup-payment-ip-spin .7s linear infinite}
@keyframes aup-payment-ip-spin{to{transform:rotate(360deg)}}
.aup-purchase-transition-lock{position:fixed;inset:0;z-index:1000050;background:transparent;pointer-events:auto;touch-action:none;cursor:wait}
.aup-payment-ip-box,.aup-payment-ip-confirm{box-shadow:none!important;-webkit-box-shadow:none!important;text-shadow:none!important}
.aup-payment-ip-close{position:absolute!important;z-index:3!important;left:12px;top:12px;width:28px;height:28px;min-width:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border:0!important;border-radius:999px!important;background:rgba(239,242,247,.96)!important;color:#697080!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;font:600 22px/1 Arial,sans-serif!important;cursor:pointer!important;transform:none!important}
.aup-payment-ip-close:hover,.aup-payment-ip-close:active,.aup-payment-ip-close:focus{background:#e8ecf2!important;color:#343a46!important;transform:none!important;box-shadow:none!important}
.aup-payment-ip-modal.is-connecting .aup-payment-ip-close{opacity:.86}
@media(max-width:430px){.aup-payment-ip-modal{padding:18px}.aup-payment-ip-box{width:min(278px,calc(100vw - 112px));padding:42px 17px 24px;border-radius:26px;box-shadow:none!important;-webkit-box-shadow:none!important}.aup-payment-ip-box:before{width:350px;height:270px;top:47%;opacity:.06}.aup-payment-ip-box p{font-size:18px;line-height:1.95}.aup-payment-ip-error{font-size:10.5px}.aup-payment-ip-confirm{min-width:134px;min-height:47px;font-size:15.5px}.aup-payment-ip-close{left:11px;top:11px;width:27px;height:27px;min-width:27px!important;min-height:27px!important;font-size:21px!important}}

/* 3.9.73 — hide the Woo order-pay step while it is auto-submitted to the configured gateway. */
.aup-auto-pay-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;background:#fff;color:#252936;font-family:PeydaAUP,Tahoma,sans-serif}.aup-auto-pay-overlay i{width:30px;height:30px;border:3px solid #e4e7ed;border-top-color:#3478f6;border-radius:50%;animation:aupAutoPaySpin .75s linear infinite}.aup-auto-pay-overlay span{font-size:14px;font-weight:700}@keyframes aupAutoPaySpin{to{transform:rotate(360deg)}}

/* 1.2.49 order retry: same inline checking treatment as the product payment flow. */
.aup-order-pay-button.is-checking{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;pointer-events:none!important}
.aup-order-pay-button.is-checking .aup-payment-ip-spinner{display:inline-block!important}
\n\n/* 1.2.52 — auth modal must outrank theme/device/sticky overlays and never leak page UI above it. */
.aup-auth-modal{z-index:2147483000!important;isolation:isolate!important}
.aup-auth-modal .aup-auth-backdrop{z-index:0!important}
.aup-auth-modal .aup-auth-box{z-index:1!important}
/* The live account nav is created immediately after OTP, without a reload. */
body.aup-live-logged-in .aup-mobile-nav{visibility:visible!important;opacity:1!important}
@media(min-width:1025px){body.aup-live-logged-in .aup-global-sidebar{visibility:visible!important;opacity:1!important}}

/* 3.9.77 — keep the auth scrim truly full-screen on mobile browsers.
   The dialog still follows the VisualViewport above the keyboard, but the
   dark/blur backdrop is no longer limited to that reduced viewport. */
@media(max-width:1024px){
  .aup-auth-modal.is-open{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:none!important;
    padding:0!important;
    overflow:hidden!important;
    display:block!important;
  }
  @supports (height:100lvh){
    .aup-auth-modal.is-open{
      height:100lvh!important;
      min-height:100lvh!important;
    }
  }
  .aup-auth-modal.is-open .aup-auth-backdrop{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:none!important;
  }
  @supports (height:100lvh){
    .aup-auth-modal.is-open .aup-auth-backdrop{
      height:100lvh!important;
      min-height:100lvh!important;
    }
  }
  .aup-auth-modal.is-open .aup-auth-box{
    position:absolute!important;
    z-index:1!important;
    top:calc(var(--aup-auth-vv-top, 0px) + (var(--aup-auth-vv-height, 100dvh) / 2))!important;
    right:14px!important;
    left:14px!important;
    width:auto!important;
    max-width:430px!important;
    margin:0 auto!important;
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 24px)!important;
    transform:translateY(-50%)!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 16px)!important;
    transform:translateY(-50%)!important;
  }
}


/* 1.2.87 — remove blue shadow under login/register CTA */
body .aup-auth-trigger.aup-auth-account,
body button.aup-auth-trigger.aup-auth-account,
body a.aup-auth-trigger.aup-auth-account,
body .aup-auth-trigger.aup-auth-account:hover,
body button.aup-auth-trigger.aup-auth-account:hover,
body a.aup-auth-trigger.aup-auth-account:hover {
  box-shadow:none!important;
  -webkit-box-shadow:none!important;
}


/* 1.2.94 — auth dialog is centered in VisualViewport coordinates without double-counting offsetTop. */
@media(max-width:1024px){
  .aup-auth-modal.is-open .aup-auth-box{
    position:fixed!important;
    top:var(--aup-auth-center-y,50dvh)!important;
    right:14px!important;
    left:14px!important;
    margin:0 auto!important;
    transform:translateY(-50%)!important;
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 24px)!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    top:var(--aup-auth-center-y,50dvh)!important;
    transform:translateY(-50%)!important;
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 16px)!important;
  }
}


/* 1.2.99 — stable OTP touch target: keep the real input over the six visual boxes.
   This avoids Android/Samsung viewport panning toward a clipped 1px focused input. */
@media(max-width:1024px){
  .aup-otp-fields{position:relative!important}
  .aup-otp-input{
    position:absolute!important;
    inset:0!important;
    left:0!important;
    bottom:auto!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    opacity:.001!important;
    pointer-events:auto!important;
    clip-path:none!important;
    overflow:hidden!important;
    color:transparent!important;
    caret-color:transparent!important;
    background:transparent!important;
    font-size:16px!important;
    -webkit-user-select:none!important;
    user-select:none!important;
    -webkit-touch-callout:none!important;
    touch-action:manipulation!important;
  }
}

/* 3.9.84 — mobile tab bar: active item keeps the exact inactive size/position.
   Only the active color + soft blue outline/background identifies the current tab. */
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item,
  .aup-mobile-nav .aup-nav-item:hover,
  .aup-mobile-nav .aup-nav-item.aup-nav-home,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover,
  .aup-mobile-nav .aup-nav-item.is-active,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active{
    transform:none!important;
    min-height:62px!important;
    padding:5px 2px!important;
    gap:3px!important;
    border-radius:16px!important;
    border:1px solid transparent!important;
    box-shadow:none!important;
  }

  .aup-mobile-nav .aup-nav-item:not(.is-active),
  .aup-mobile-nav .aup-nav-item:not(.is-active):hover,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:not(.is-active),
  .aup-mobile-nav .aup-nav-item.aup-nav-home:not(.is-active):hover{
    background:transparent!important;
    color:#666d7c!important;
  }

  .aup-mobile-nav .aup-nav-item.is-active,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active{
    background:#f3f6ff!important;
    border-color:rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
  }

  .aup-mobile-nav .aup-nav-item .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon{
    width:25px!important;
    height:25px!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
  }

  .aup-mobile-nav .aup-nav-item .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.aup-nav-home .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon svg{
    width:24px!important;
    height:24px!important;
  }
}

/* 3.9.85 — center every mobile-nav icon exactly inside its unchanged tab box. */
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item,
  .aup-mobile-nav .aup-nav-item:hover,
  .aup-mobile-nav .aup-nav-item.is-active,
  .aup-mobile-nav .aup-nav-item.aup-nav-home,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active{
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .aup-mobile-nav .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:center!important;
    flex:0 0 25px!important;
    width:25px!important;
    height:25px!important;
    margin:0 auto!important;
    padding:0!important;
    line-height:0!important;
  }
  .aup-mobile-nav .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon svg,
  .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon svg{
    display:block!important;
    margin:auto!important;
    flex:none!important;
    transform:none!important;
  }
}

/* 3.9.93 — keep the reserved auth status row even when its text is empty. */
.aup-auth-message[hidden]{display:block!important;visibility:hidden!important}


/* 1.4.1 — stable auth centering across Android browser-bar transitions.
   When no keyboard is active, let the dynamic viewport itself center the box.
   This avoids stale JS top coordinates while Chrome/Samsung expands/collapses
   its address bar. Background scroll is still locked by overflow, while touch
   suppression stays on the modal layer instead of the entire document. */
@media(max-width:1024px){
  html:not(.aup-auth-keyboard-open) .aup-auth-modal.is-open{
    position:fixed!important;
    top:0!important;right:0!important;bottom:auto!important;left:0!important;
    width:100vw!important;
    height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:12px 14px!important;
  }
  html:not(.aup-auth-keyboard-open) .aup-auth-modal.is-open .aup-auth-box{
    position:relative!important;
    top:auto!important;right:auto!important;left:auto!important;
    width:min(430px,calc(100vw - 28px))!important;max-width:430px!important;
    margin:0!important;transform:none!important;
    max-height:calc(100dvh - 24px)!important;
  }
  .aup-auth-modal.is-open .aup-auth-backdrop{touch-action:none!important}
  .aup-auth-modal.is-open .aup-auth-box{touch-action:pan-y!important}
}


/* 1.4.2 — authoritative auth modal geometry + immediate page-scroll release.
   Keep the backdrop full-screen, but position the dialog itself from the
   VisualViewport center supplied by JS in every browser-bar/keyboard state. */
@media(max-width:1024px){
  html.aup-modal-locked,body.aup-modal-locked{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body.aup-modal-locked{
    position:static!important;
    top:auto!important;left:auto!important;right:auto!important;
    width:auto!important;
  }
  .aup-auth-modal.is-open{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
    min-height:100vh!important;
    max-height:none!important;
    display:block!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .aup-auth-modal.is-open .aup-auth-backdrop{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100vh!important;
  }
  .aup-auth-modal.is-open .aup-auth-box,
  html:not(.aup-auth-keyboard-open) .aup-auth-modal.is-open .aup-auth-box,
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    position:fixed!important;
    top:var(--aup-auth-center-y,50dvh)!important;
    right:14px!important;
    left:14px!important;
    width:auto!important;
    max-width:430px!important;
    margin:0 auto!important;
    transform:translateY(-50%)!important;
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 24px)!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
  }
  html.aup-auth-keyboard-open .aup-auth-modal.is-open .aup-auth-box{
    max-height:calc(var(--aup-auth-vv-height,100dvh) - 16px)!important;
  }
  .aup-auth-modal.is-open .aup-auth-backdrop{touch-action:none!important}
}


/* 1.4.6 — backdrop taps must not poison the first page swipe after closing.
   Dragging is blocked in JS only while the backdrop is visible. */
@media(max-width:1024px){
  .aup-auth-modal.is-open .aup-auth-backdrop{touch-action:manipulation!important}
}

/* 3.10.9 — zero-flash account shell for neutral shared-cache documents. */
.aup-login-hint-nav,.aup-login-hint-sidebar,.aup-auth-hint-label{display:none!important}
html.aup-login-hint [data-aup-auth-open] .aup-auth-guest-label{display:none!important}
html.aup-login-hint [data-aup-auth-open] .aup-auth-hint-label{display:inline!important}
@media(max-width:1024px){html.aup-login-hint .aup-login-hint-nav{display:grid!important}html.aup-login-hint body:not(.aup-panel-page){padding-bottom:105px!important}}
@media(min-width:1025px){html.aup-login-hint .aup-login-hint-sidebar{display:block!important}html.aup-login-hint .aup-login-hint-sidebar .aup-side-nav.aup-login-hint-nav{display:flex!important}html.aup-login-hint body:not(.aup-panel-page){padding-right:calc(var(--aup-side,286px) + 36px)!important}}

/* 3.10.11 — private panel partial navigation. Keep the current section visible
   while only the next .aup-main fragment is fetched; show a tiny delayed progress
   line instead of blanking/rebuilding the whole document. */
.aup-panel-page .aup-main{position:relative}
.aup-panel-page .aup-main.is-aup-partial-loading::before{content:"";position:fixed;z-index:1000000;top:0;left:0;height:3px;width:34%;background:currentColor;opacity:.72;animation:aup-panel-partial-progress .9s ease-in-out infinite alternate;pointer-events:none}
@keyframes aup-panel-partial-progress{from{transform:translateX(-15vw)}to{transform:translateX(82vw)}}
@media (prefers-reduced-motion:reduce){.aup-panel-page .aup-main.is-aup-partial-loading::before{animation:none;width:100%}}

/* 3.10.12 — public -> private panel bridge.
 * The public document is kept alive in a hidden stash so entering the account
 * area does not wait for a second full WordPress document. */
#aup-public-page-stash[hidden]{display:none!important}
#aup-public-panel-bridge{display:block;min-height:100vh;width:100%}
body.aup-public-panel-bridge-active{margin:0!important;background:var(--aup-bg,#f5f6f8)!important;color:var(--aup-text,#202532)!important;padding-right:0!important;padding-bottom:0!important;overflow-x:hidden!important}
.aup-bridge-loading-card{display:grid;gap:14px;min-height:170px;align-content:center;overflow:hidden}
.aup-bridge-loading-line{display:block;height:18px;border-radius:9px;background:linear-gradient(90deg,#f0f2f6 25%,#fafbfc 45%,#f0f2f6 65%);background-size:220% 100%;animation:aupBridgeShimmer 1.1s linear infinite}
.aup-bridge-loading-line.short{width:58%}
@keyframes aupBridgeShimmer{0%{background-position:100% 0}100%{background-position:-120% 0}}
@media(prefers-reduced-motion:reduce){.aup-bridge-loading-line{animation:none}}

/* 3.10.16 / suite 1.4.36 — panel loading reliability.
   The site-wide iOS loader is the only navigation loader: never replace the
   current section with a skeleton/progress bar while a private fragment loads. */
.aup-panel-page .aup-main.is-aup-partial-loading::before{display:none!important;content:none!important;animation:none!important}
.aup-bridge-loading-card,.aup-bridge-loading-line{display:none!important}
.aup-bridge-spinner-wait{display:block!important;min-height:72px!important;background:transparent!important}

/* aria-current is authoritative as well as .is-active. This makes the selected
   tab survive bridge mounts, popstate and rapid taps even while classes are
   being reconciled by another module. */
.aup-nav-item[aria-current="page"]{background:#eef1ff!important;color:var(--aup-blue)!important}
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item[aria-current="page"]{
    transform:none!important;
    background:#f3f6ff!important;
    border:1px solid rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
  }
}

/* The AIDM stylesheet may be lazy-loaded after an account fragment. Reserve a
   sane card box immediately so its fixed 1011px fallback DOM can never leak out
   during that short interval. */
.aup-panel-page .aidm-card{position:relative!important;width:100%!important;max-width:100%!important;aspect-ratio:1011/638;overflow:hidden!important;box-sizing:border-box!important}
.aup-panel-page .aidm-card.aidm-canvas-loading .aidm-card-stage,
.aup-panel-page .aidm-card.aidm-canvas-loading .aidm-card-canvas,
.aup-panel-page .aidm-card:not(.aidm-canvas-ready):not(.aidm-canvas-failed) .aidm-card-stage,
.aup-panel-page .aidm-card:not(.aidm-canvas-ready):not(.aidm-canvas-failed) .aidm-card-canvas{visibility:hidden!important}
.aup-panel-page .aidm-card-local-loader{position:absolute!important;inset:0!important;z-index:40!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(248,250,253,.76)!important;pointer-events:none!important}
.aup-panel-page .aidm-card-local-spinner{width:28px!important;height:28px!important;border-radius:50%!important;border:3px solid rgba(70,101,220,.18)!important;border-top-color:#4665dc!important;animation:aidmCardSpin .72s linear infinite!important;box-sizing:border-box!important}

/* 3.10.16 / suite 1.4.36 — route-owned navigation state.
   The body attribute survives nav DOM replacement during public hydration, while
   classes/aria are still updated for accessibility. This prevents the selected
   tab from disappearing a moment after the logged-in nav replaces the cached shell. */
body[data-aup-nav-active="home"] .aup-nav-home,
body[data-aup-nav-active="shop"] .aup-nav-shop,
body[data-aup-nav-active="orders"] .aup-nav-orders,
body[data-aup-nav-active="account"] .aup-nav-account,
body[data-aup-nav-active="support"] .aup-nav-support{background:#eef1ff!important;color:var(--aup-blue)!important}
@media(max-width:1024px){
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home,
  body[data-aup-nav-active="shop"] .aup-mobile-nav .aup-nav-shop,
  body[data-aup-nav-active="orders"] .aup-mobile-nav .aup-nav-orders,
  body[data-aup-nav-active="account"] .aup-mobile-nav .aup-nav-account,
  body[data-aup-nav-active="support"] .aup-mobile-nav .aup-nav-support{
    background:#f3f6ff!important;
    border:1px solid rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
  }
}



/* 3.10.17 / suite 1.4.41 — single visual owner for mobile tab state.
 * `data-aup-nav-active` is the route truth. A stale .is-active/aria-current left
 * for one frame by a replaced nav DOM must never make a second tab look active. */
@media(max-width:1024px){
  body[data-aup-nav-active] .aup-mobile-nav .aup-nav-item{
    background:transparent!important;
    border-color:transparent!important;
    color:#666d7c!important;
    transform:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home,
  body[data-aup-nav-active="shop"] .aup-mobile-nav .aup-nav-shop,
  body[data-aup-nav-active="orders"] .aup-mobile-nav .aup-nav-orders,
  body[data-aup-nav-active="account"] .aup-mobile-nav .aup-nav-account,
  body[data-aup-nav-active="support"] .aup-mobile-nav .aup-nav-support{
    background:#f3f6ff!important;
    border-color:rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
  }
}


/* 3.10.18 / suite 1.4.42 — atomic mobile nav switching.
 * Android's native tap highlight plus the old .2s transition made the touched tab
 * and the previously selected tab look active at the same time even when JS state
 * was already correct. The bottom navigation is state, not an animation: switch it
 * atomically and let the global spinner provide interaction feedback. */
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item,
  .aup-mobile-nav .aup-nav-item .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item .aup-nav-icon svg{
    transition:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .aup-mobile-nav .aup-nav-item{
    touch-action:manipulation;
    -webkit-user-select:none;
    user-select:none;
  }
}

/* 3.10.18-homefix / suite 1.4.44.1 — Home must look exactly like every other mobile tab.
 * Older mobile rules gave the Home link a special tap/focus treatment, so after
 * partial navigation it could keep only the blue frame while its icon/label were
 * already inactive. The route-owned body state remains authoritative; Home gets
 * the exact same active box/color treatment as Shop/Orders/Account/Support. */
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-home,
  .aup-mobile-nav .aup-nav-home:focus,
  .aup-mobile-nav .aup-nav-home:focus-visible,
  .aup-mobile-nav .aup-nav-home:active{
    outline:0!important;
    outline-offset:0!important;
    box-shadow:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  /* If the central route says another tab owns the page, Home is completely
     inactive — no leftover focus border/background from Android browsers. */
  body[data-aup-nav-active]:not([data-aup-nav-active="home"]) .aup-mobile-nav .aup-nav-home{
    transform:none!important;
    background:transparent!important;
    border:1px solid transparent!important;
    color:#666d7c!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active]:not([data-aup-nav-active="home"]) .aup-mobile-nav .aup-nav-home .aup-nav-icon{
    width:25px!important;
    height:25px!important;
    border-radius:0!important;
    background:transparent!important;
    color:inherit!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active]:not([data-aup-nav-active="home"]) .aup-mobile-nav .aup-nav-home .aup-nav-icon svg{
    width:24px!important;
    height:24px!important;
    stroke:currentColor!important;
  }
  body[data-aup-nav-active]:not([data-aup-nav-active="home"]) .aup-mobile-nav .aup-nav-home > span:last-child{
    color:inherit!important;
  }

  /* Route-owned Home active state: intentionally identical to the other tabs. */
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home.is-active,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home[aria-current="page"]{
    transform:none!important;
    min-height:62px!important;
    padding:5px 2px!important;
    gap:3px!important;
    border-radius:16px!important;
    background:#f3f6ff!important;
    border:1px solid rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home.is-active .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home[aria-current="page"] .aup-nav-icon{
    width:25px!important;
    height:25px!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--aup-blue)!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home .aup-nav-icon svg,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home.is-active .aup-nav-icon svg,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home[aria-current="page"] .aup-nav-icon svg{
    width:24px!important;
    height:24px!important;
    stroke:currentColor!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home.is-active > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-home[aria-current="page"] > span:last-child{
    color:var(--aup-blue)!important;
  }
}

/* 1.5.1 — final mobile-tab visual contract.
 * A restored/BFCache DOM can briefly contain a stale .is-active class while the
 * route-owned body state has already changed. Home used to be the only tab with
 * enough legacy selectors to end up half-active (blue frame/background but grey
 * icon/label). Reset every mobile tab from one contract, then paint the single
 * route-owned tab completely. Active is all-or-nothing: box, icon and label. */
@media(max-width:1024px){
  .aup-mobile-nav .aup-nav-item,
  .aup-mobile-nav .aup-nav-item:hover,
  .aup-mobile-nav .aup-nav-item:focus,
  .aup-mobile-nav .aup-nav-item:focus-visible,
  .aup-mobile-nav .aup-nav-item:active{
    transform:none!important;
    min-height:62px!important;
    padding:5px 2px!important;
    gap:3px!important;
    border-radius:16px!important;
    background:transparent!important;
    border:1px solid transparent!important;
    color:#666d7c!important;
    outline:0!important;
    outline-offset:0!important;
    box-shadow:none!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .aup-mobile-nav .aup-nav-item .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:hover .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:focus .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:focus-visible .aup-nav-icon,
  .aup-mobile-nav .aup-nav-item:active .aup-nav-icon{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
    border-radius:0!important;
    background:transparent!important;
    color:#666d7c!important;
    box-shadow:none!important;
  }
  .aup-mobile-nav .aup-nav-item .aup-nav-icon svg{
    width:24px!important;
    height:24px!important;
    color:inherit!important;
    stroke:currentColor!important;
  }
  .aup-mobile-nav .aup-nav-item > span:last-child{
    color:#666d7c!important;
  }

  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home,
  body[data-aup-nav-active="shop"] .aup-mobile-nav .aup-nav-shop,
  body[data-aup-nav-active="orders"] .aup-mobile-nav .aup-nav-orders,
  body[data-aup-nav-active="account"] .aup-mobile-nav .aup-nav-account,
  body[data-aup-nav-active="support"] .aup-mobile-nav .aup-nav-support,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.is-active,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item[aria-current="page"]{
    transform:none!important;
    background:#f3f6ff!important;
    border:1px solid rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home .aup-nav-icon,
  body[data-aup-nav-active="shop"] .aup-mobile-nav .aup-nav-shop .aup-nav-icon,
  body[data-aup-nav-active="orders"] .aup-mobile-nav .aup-nav-orders .aup-nav-icon,
  body[data-aup-nav-active="account"] .aup-mobile-nav .aup-nav-account .aup-nav-icon,
  body[data-aup-nav-active="support"] .aup-mobile-nav .aup-nav-support .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.is-active .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item[aria-current="page"] .aup-nav-icon{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
    border-radius:0!important;
    background:transparent!important;
    color:var(--aup-blue)!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-home > span:last-child,
  body[data-aup-nav-active="shop"] .aup-mobile-nav .aup-nav-shop > span:last-child,
  body[data-aup-nav-active="orders"] .aup-mobile-nav .aup-nav-orders > span:last-child,
  body[data-aup-nav-active="account"] .aup-mobile-nav .aup-nav-account > span:last-child,
  body[data-aup-nav-active="support"] .aup-mobile-nav .aup-nav-support > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.is-active > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item[aria-current="page"] > span:last-child{
    color:var(--aup-blue)!important;
  }
}



/* 1.5.2 — Home active fill must be visually identical to the other mobile tabs.
 * Legacy Home-only rules and restored DOM focus state could leave only a blue
 * frame while the center stayed effectively white. Force the exact same filled
 * active surface used by Shop/Orders/Account/Support. */
@media(max-width:1024px){
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-item.aup-nav-home,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home[aria-current="page"]{
    transform:none!important;
    background:#f3f6ff!important;
    background-color:#f3f6ff!important;
    background-image:none!important;
    background-clip:border-box!important;
    border:1px solid rgba(70,101,220,.18)!important;
    color:var(--aup-blue)!important;
    opacity:1!important;
    box-shadow:none!important;
    outline:0!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-item.aup-nav-home .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active .aup-nav-icon,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home[aria-current="page"] .aup-nav-icon{
    color:var(--aup-blue)!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body[data-aup-nav-active="home"] .aup-mobile-nav .aup-nav-item.aup-nav-home > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home.is-active > span:last-child,
  body:not([data-aup-nav-active]) .aup-mobile-nav .aup-nav-item.aup-nav-home[aria-current="page"] > span:last-child{
    color:var(--aup-blue)!important;
  }
}
