/* Premium Shop UI/UX refresh v1.7.0 — presentation only */
:root{
  --ux-blue:#1f5bd8;--ux-blue-2:#1646b8;--ux-blue-soft:#eef4ff;--ux-navy:#071725;
  --ux-bg:#f5f7fb;--ux-surface:#fff;--ux-line:#e7ebf2;--ux-text:#111827;--ux-muted:#6b7280;
  --ux-shadow:0 16px 45px rgba(19,39,74,.08);--ux-shadow-soft:0 7px 22px rgba(19,39,74,.06);
}
/* ux-redesign.css - Modern E-Commerce UI Polish */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Shared polish */
body{background:var(--ux-bg);color:var(--ux-text)}
.button{border-radius:9px;min-height:42px;font-weight:750;letter-spacing:-.01em}
.button-primary{background:linear-gradient(135deg,var(--ux-blue),var(--ux-blue-2));box-shadow:0 8px 18px rgba(31,91,216,.22)}
.button-primary:hover{background:linear-gradient(135deg,#2868ee,#1748b8)}
.button-outline{border-color:#dce2ec;color:#203049;background:#fff}
.panel,.product-card,.category-card,.order-card,.stat-card{border-color:var(--ux-line);box-shadow:var(--ux-shadow-soft)}
.status-badge{border-radius:6px!important;text-transform:none!important;letter-spacing:0!important;font-weight:750!important;padding:5px 8px!important}

/* Store header */
.topbar{background:#f8fafc;color:#6b7280;border-bottom:1px solid #edf0f4}
.topbar a{color:#334155}.topbar-dot{color:#c4cad4}
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--ux-line);box-shadow:0 6px 24px rgba(18,35,64,.04)}
.header-main{height:76px;gap:20px}
.brand-mark{background:linear-gradient(145deg,var(--ux-blue),#123f9f);color:#fff;border-radius:10px;box-shadow:0 8px 18px rgba(31,91,216,.2)}
.brand-copy strong{font-size:18px;color:#162033}.brand-copy small{color:#8490a4;letter-spacing:.06em}
.header-search{height:45px;max-width:620px;border-color:#dfe4ec;border-radius:8px;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.header-search:focus-within{border-color:#8eaff6;box-shadow:0 0 0 4px rgba(31,91,216,.09)}
.header-search button{background:var(--ux-blue);padding-inline:25px}
.wallet-chip{border-color:#dce6fb;background:#f4f7ff;border-radius:8px}.wallet-chip span{color:#7180a0}
.icon-button,.notification-bell{border-color:#e1e6ee;border-radius:9px;background:#fff}
.avatar{background:linear-gradient(135deg,#ffb673,#ef6e7a)}
.header-nav-wrap{border-top:1px solid #f0f2f6;background:#fff}
.main-nav{height:44px;gap:30px}.main-nav a{color:#525d70;font-size:12px;font-weight:650}.main-nav a:hover,.main-nav a.active{color:var(--ux-blue)}.main-nav a.active:after{background:var(--ux-blue)}

/* Storefront home */
.shop-home .site-header{position:sticky}
.commerce-home{padding:22px 0 0}
.commerce-top-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:stretch}
.department-panel{background:#fff;border:1px solid var(--ux-line);border-radius:12px;box-shadow:var(--ux-shadow-soft);overflow:hidden}
.department-title{display:flex;align-items:center;gap:10px;padding:15px 16px;background:linear-gradient(135deg,var(--ux-blue),var(--ux-blue-2));color:#fff;font-size:12px;font-weight:800}
.department-title svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.department-list{display:grid;padding:6px 0}
.department-list a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 15px;text-decoration:none;color:#4b5563;font-size:11px;border-left:3px solid transparent}
.department-list a:hover{background:#f5f8ff;color:var(--ux-blue);border-left-color:var(--ux-blue)}
.department-list a span:last-child{color:#a1a8b5}

.commerce-hero{position:relative;min-width:0;border:1px solid #e3e8ef;border-radius:13px;background:#edf3f8;overflow:hidden;box-shadow:var(--ux-shadow)}
.commerce-slides{position:relative;min-height:390px}
.commerce-slide{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);align-items:center;padding:44px 48px;opacity:0;visibility:hidden;transform:translateX(28px);transition:opacity .45s ease,transform .45s ease,visibility .45s}
.commerce-slide.is-active{opacity:1;visibility:visible;transform:translateX(0)}
.commerce-slide:nth-child(2){background:linear-gradient(125deg,#f7f9ff,#e8f2ff)}
.commerce-slide:nth-child(3){background:linear-gradient(125deg,#f8fafc,#eef7f4)}
.commerce-slide-copy{position:relative;z-index:2;max-width:560px}
.commerce-slide-copy small{display:block;color:var(--ux-blue);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
.commerce-slide-copy h1{font-size:clamp(34px,4.1vw,58px);line-height:.98;letter-spacing:-.055em;margin:0;color:#111827;max-width:620px}
.commerce-slide-copy p{max-width:540px;color:#647084;font-size:14px;line-height:1.65;margin:20px 0 25px}
.commerce-slide-actions{display:flex;gap:10px;flex-wrap:wrap}
.commerce-slide-art{position:relative;min-height:270px;display:grid;place-items:center}
.commerce-product-stack{position:relative;width:min(410px,100%);height:265px}
.commerce-product-chip{position:absolute;width:190px;min-height:112px;display:grid;grid-template-columns:76px 1fr;gap:10px;align-items:center;padding:14px;border:1px solid rgba(217,224,235,.95);border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 22px 45px rgba(42,64,95,.13);backdrop-filter:blur(9px)}
.commerce-product-chip:nth-child(1){left:6%;top:12%;transform:rotate(-7deg)}
.commerce-product-chip:nth-child(2){right:3%;top:2%;transform:rotate(6deg)}
.commerce-product-chip:nth-child(3){left:31%;bottom:0;transform:rotate(1deg)}
.commerce-product-chip img{width:72px;height:72px;object-fit:contain;border-radius:13px;background:#f4f6f9;padding:7px}
.commerce-product-chip .product-fallback{width:72px;height:72px;font-size:28px;border-radius:13px}
.commerce-product-chip strong{display:block;font-size:11px;line-height:1.25}.commerce-product-chip span small{display:block;color:var(--ux-blue);font-size:10px;font-weight:800;margin-top:7px}
.commerce-graphic{width:270px;height:230px;border-radius:44px;background:linear-gradient(145deg,#fff,#dce8f7);box-shadow:0 28px 60px rgba(30,63,111,.16);display:grid;place-items:center;transform:rotate(-7deg)}
.commerce-graphic-inner{width:170px;height:170px;border-radius:38px;background:linear-gradient(145deg,var(--ux-blue),#0b2d78);display:grid;place-items:center;color:#fff;font-size:76px;box-shadow:0 20px 35px rgba(31,91,216,.3)}
.commerce-slider-nav{position:absolute;left:48px;bottom:24px;z-index:5;display:flex;align-items:center;gap:8px}
.commerce-slider-nav button{width:8px;height:8px;border:0;border-radius:999px;background:#bdc8d8;padding:0;cursor:pointer;transition:.25s}.commerce-slider-nav button.is-active{width:26px;background:var(--ux-blue)}
.commerce-slider-arrows{position:absolute;right:20px;bottom:18px;z-index:5;display:flex;gap:7px}
.commerce-slider-arrows button{width:36px;height:36px;border:1px solid #d9e0ea;background:rgba(255,255,255,.92);border-radius:50%;cursor:pointer;color:#2e3c50;font-size:17px}

.commerce-benefits{margin-top:16px;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--ux-line);border-radius:12px;box-shadow:var(--ux-shadow-soft)}
.commerce-benefit{display:flex;align-items:center;justify-content:center;gap:12px;padding:17px;border-right:1px solid var(--ux-line)}.commerce-benefit:last-child{border-right:0}
.commerce-benefit i{font-style:normal;width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:var(--ux-blue-soft);color:var(--ux-blue);font-size:17px}
.commerce-benefit strong{display:block;font-size:11px}.commerce-benefit small{display:block;color:#8a93a2;font-size:9px;margin-top:3px}

.commerce-section{padding:42px 0}.commerce-section.alt{background:#fff}
.commerce-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:19px}
.commerce-heading h2{margin:0;font-size:27px;letter-spacing:-.035em}.commerce-heading p{margin:6px 0 0;color:#7a8494;font-size:12px}.commerce-heading a{color:var(--ux-blue);font-size:11px;font-weight:800;text-decoration:none}
.commerce-catalog-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}
.commerce-deal{position:sticky;top:150px;background:#fff;border:1px solid var(--ux-line);border-radius:13px;padding:18px;box-shadow:var(--ux-shadow-soft)}
.commerce-deal-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800}.commerce-deal-label span{color:#a7afbb}
.commerce-deal-media{height:210px;display:grid;place-items:center;margin:8px 0}.commerce-deal-media img{width:165px;height:165px;object-fit:contain}.commerce-deal-media .product-fallback{width:155px;height:155px;font-size:58px}
.commerce-deal h3{font-size:15px;margin:0}.commerce-deal p{color:#7b8492;font-size:11px;line-height:1.55}.commerce-deal-price{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.commerce-deal-price strong{font-size:21px;color:var(--ux-blue)}.commerce-deal-price span{padding:7px 9px;border-radius:50%;background:#49ad45;color:#fff;font-size:9px;font-weight:800;text-align:center}
.commerce-products .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.commerce-products .product-card{border-radius:12px;box-shadow:none;transition:.2s ease}.commerce-products .product-card:hover{transform:translateY(-4px);box-shadow:var(--ux-shadow)}
.commerce-products .product-image{height:180px;background:#f7f8fb}.commerce-products .product-content{padding:15px}.commerce-products .product-meta{color:#8b94a2}.commerce-products .product-content h3{font-size:14px}.commerce-products .product-content p{font-size:11px}.commerce-products .product-price strong{font-size:17px}
.category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.category-card{border-radius:12px;padding:18px 14px;text-align:left}.category-card:hover{border-color:#a8c0f4;box-shadow:0 10px 30px rgba(31,91,216,.08)}.category-icon{background:var(--ux-blue-soft);color:var(--ux-blue);border-radius:10px}
.info-band{background:linear-gradient(135deg,#071725,#0d2e49)}
.site-footer{background:#071725}

/* User dashboard */
.dashboard-layout{grid-template-columns:245px minmax(0,1fr);gap:20px}.dashboard-sidebar{border-radius:13px;border-color:var(--ux-line);box-shadow:var(--ux-shadow-soft)}.dashboard-nav a{border-radius:8px}.dashboard-nav a:hover,.dashboard-nav a.active{background:var(--ux-blue)}.dashboard-main .panel,.dashboard-main .order-card{border-radius:13px}.dashboard-welcome h1{font-size:28px}.stat-card{border-radius:12px}.stat-card strong{color:#17213a}.order-card-head{background:#fbfcfe}.dashboard-access-card{border-radius:12px!important}

/* Admin app */
.admin-body{--admin-bg:#f5f7fb;--admin-surface:#fff;--admin-sidebar:#071725;--admin-sidebar-2:#0a2235;--admin-text:#172033;--admin-muted:#768195;--admin-line:#e5e9f0;--admin-accent:#1f5bd8;--admin-accent-soft:#eef4ff;--admin-shadow:0 8px 28px rgba(20,38,67,.055);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.admin-shell{grid-template-columns:242px minmax(0,1fr)}
.admin-sidebar{background:linear-gradient(180deg,#071725,#0a2133);padding:20px 12px 16px}
.admin-brand{padding:5px 10px 20px;margin-bottom:12px}.admin-brand-mark{background:rgba(255,255,255,.1);border-radius:9px}.admin-brand-copy strong{font-size:14px}.admin-brand-copy small{color:#8093a4}
.admin-nav{gap:4px}.admin-nav a,.admin-sidebar-foot a{border-radius:8px;padding:11px 12px;color:#bdc8d2;font-size:11px}.admin-nav a:hover,.admin-nav a.active,.admin-sidebar-foot a:hover{background:#fff;color:#111b2a;box-shadow:0 8px 20px rgba(0,0,0,.19)}
.admin-nav a.active{font-weight:800}.admin-nav-icon{width:18px;height:18px}.nav-count{background:#ffcf5a;color:#342600}
.admin-page{background:var(--admin-bg)}
.admin-topbar{height:74px;padding:0 25px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-color:var(--admin-line)}
.admin-topbar h1{font-size:22px}.admin-topbar p{color:#9099a7}.admin-icon-action,.admin-menu-toggle{border-color:#e2e7ee;border-radius:9px}.admin-notice{background:#fff9e8;border-color:#f0d99c;border-radius:8px}.admin-user-menu{padding:6px 8px;border:1px solid #e7ebf1;border-radius:10px;background:#fff}.admin-user-menu .avatar{background:linear-gradient(135deg,#ffad72,#ef6f7c)}
.admin-content{padding:24px 26px 56px;max-width:1680px;width:100%;margin:0 auto}.admin-kpis{gap:15px}.admin-kpi,.admin-card{border-radius:12px;border-color:var(--admin-line);box-shadow:var(--admin-shadow)}.admin-kpi{padding:18px}.admin-kpi i{background:var(--admin-accent-soft);color:var(--admin-accent)}.admin-kpi strong{color:#172033}.admin-grid{grid-template-columns:minmax(0,1fr) 360px;gap:18px}
.admin-card-head{padding:16px 18px}.admin-card-head h2,.admin-card-head h3{font-size:15px}.admin-card-body{padding:18px}.admin-table th{background:#fbfcfe;color:#7c8798;padding:11px 13px}.admin-table td{padding:12px 13px}.admin-table tbody tr{transition:.16s}.admin-table tbody tr:hover td{background:#f7f9fd}.admin-button{border-radius:7px;min-height:33px;font-size:9px}.admin-button.primary{background:var(--admin-accent);border-color:var(--admin-accent)}
.admin-filter{padding:13px;border:1px solid #edf0f4;background:#fbfcfe;border-radius:10px}.admin-filter input,.admin-filter select,.admin-form-grid input,.admin-form-grid select,.admin-form-grid textarea{border-radius:8px;border-color:#dfe4ec}.admin-filter input:focus,.admin-filter select:focus,.admin-form-grid input:focus,.admin-form-grid select:focus,.admin-form-grid textarea:focus{outline:0;border-color:#91b0ef;box-shadow:0 0 0 3px rgba(31,91,216,.08)}
.admin-product-image{background:#f4f6fa;border-radius:9px}.admin-mini-stat{background:#f7f9fc;border:1px solid #edf0f4;border-radius:9px}.receipt-preview img,.admin-receipt{border-color:#e2e7ee}
.admin-detail-view .admin-grid{grid-template-columns:minmax(0,1fr) 365px}.admin-detail-view .admin-grid>aside{position:sticky;top:98px}.admin-detail-view .admin-order-summary{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Responsive */
@media(max-width:1220px){.commerce-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.commerce-slide{padding:38px}.admin-shell{grid-template-columns:220px minmax(0,1fr)}.admin-grid,.admin-detail-view .admin-grid{grid-template-columns:1fr}.admin-detail-view .admin-grid>aside{position:static}}
@media(max-width:980px){.commerce-top-grid{grid-template-columns:1fr}.department-panel{display:none}.commerce-slide{grid-template-columns:1fr 330px}.commerce-catalog-grid{grid-template-columns:1fr}.commerce-deal{position:relative;top:auto;display:grid;grid-template-columns:180px 1fr;gap:18px}.commerce-deal-media{grid-row:1/5;height:auto}.commerce-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.commerce-benefits{grid-template-columns:repeat(2,1fr)}.commerce-benefit:nth-child(2){border-right:0}.commerce-benefit:nth-child(-n+2){border-bottom:1px solid var(--ux-line)}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.admin-shell{display:block}.admin-sidebar{width:min(288px,86vw)}.admin-content{padding:18px 16px 44px}.admin-topbar{padding-inline:16px}}
@media(max-width:820px){.topbar{display:none}.site-header{top:0}.header-main{height:68px}.header-search{display:none}.header-actions{margin-left:auto}.header-nav-wrap{border-top:0}.main-nav{position:fixed;inset:68px 0 auto 0;max-height:calc(100vh - 68px);overflow:auto;background:#fff;border-top:1px solid var(--ux-line);padding:14px 18px 24px;box-shadow:0 18px 35px rgba(20,38,67,.12)}.main-nav a{padding:12px;border-radius:8px}.main-nav a:hover,.main-nav a.active{background:#f3f6fb}.commerce-home{padding-top:12px}.commerce-slide{grid-template-columns:1fr;min-height:510px;padding:35px 30px 80px;text-align:center}.commerce-slide-copy{margin:auto}.commerce-slide-copy p{margin-inline:auto}.commerce-slide-actions{justify-content:center}.commerce-slide-art{min-height:210px}.commerce-product-stack{height:210px;transform:scale(.82)}.commerce-slider-nav{left:50%;transform:translateX(-50%)}.commerce-slider-arrows{display:none}.commerce-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{position:static}.dashboard-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:680px){.commerce-slides{min-height:480px}.commerce-slide{min-height:480px;padding:30px 20px 68px}.commerce-slide-copy h1{font-size:36px}.commerce-slide-copy p{font-size:13px}.commerce-product-stack{transform:scale(.72);width:390px;max-width:130%;margin-left:-15%}.commerce-benefits{grid-template-columns:1fr 1fr}.commerce-benefit{padding:13px 8px;justify-content:flex-start}.commerce-benefit i{width:33px;height:33px}.commerce-benefit strong{font-size:10px}.commerce-section{padding:32px 0}.commerce-heading{align-items:flex-start;flex-direction:column}.commerce-deal{display:block}.commerce-deal-media{height:170px}.commerce-products .product-grid{grid-template-columns:1fr 1fr;gap:10px}.commerce-products .product-image{height:150px}.commerce-products .product-content{padding:12px}.commerce-products .product-content p,.commerce-products .stock{display:none}.commerce-products .product-actions{grid-template-columns:1fr auto}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-kpis{grid-template-columns:1fr 1fr}.admin-table-wrap{overflow:visible}.admin-table{display:block;min-width:0}.admin-table thead{display:none}.admin-table tbody{display:grid;gap:10px}.admin-table tr{display:block;border:1px solid var(--admin-line);border-radius:10px;background:#fff;overflow:hidden}.admin-table td{display:flex;justify-content:space-between;align-items:center;gap:18px;text-align:right;padding:9px 12px;border-bottom:1px solid #edf0f4}.admin-table td:last-child{border-bottom:0}.admin-table td:before{content:attr(data-label);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--admin-muted);text-align:left}.admin-table td>*{max-width:68%}.admin-table td .admin-product{margin-left:auto;text-align:left}.admin-detail-view .admin-order-summary{grid-template-columns:1fr 1fr}.admin-form-grid{grid-template-columns:1fr}.admin-topbar p,.admin-user-copy,.admin-mail-action{display:none}}
@media(max-width:460px){.container{width:min(100% - 20px,1180px)}.brand-copy strong{font-size:15px}.header-actions{gap:6px}.notification-bell,.icon-button{width:38px;height:38px}.commerce-slide-copy h1{font-size:31px}.commerce-slide-art{min-height:185px}.commerce-product-stack{transform:scale(.62);margin-left:-25%}.commerce-products .product-grid{grid-template-columns:1fr}.commerce-products .product-image{height:200px}.commerce-benefits{grid-template-columns:1fr}.commerce-benefit{border-right:0!important;border-bottom:1px solid var(--ux-line)}.commerce-benefit:last-child{border-bottom:0}.category-grid{grid-template-columns:1fr 1fr}.dashboard-nav{grid-template-columns:repeat(2,1fr)}.admin-kpis{grid-template-columns:1fr}.admin-content{padding:12px 9px 34px}.admin-card-head,.admin-card-body{padding:13px}.admin-order-summary,.admin-detail-view .admin-order-summary{grid-template-columns:1fr 1fr}}

/* Mobile navigation hardening v1.7.1: keep every admin action reachable on small screens. */
.admin-sidebar-head{display:flex;align-items:center;gap:8px;flex:none}
.admin-sidebar-head .admin-brand{flex:1;min-width:0}
.admin-sidebar-close{display:none;width:38px;height:38px;flex:none;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}
.admin-sidebar-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
.admin-nav{min-height:0}

@media(max-width:900px){
  .admin-sidebar{
    width:min(320px,calc(100vw - 28px));
    height:100vh;
    height:100dvh;
    max-height:100dvh;
    padding:14px 12px max(14px,env(safe-area-inset-bottom));
    overflow:hidden;
    overscroll-behavior:contain;
    display:flex;
  }
  .admin-sidebar-head{border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:10px;margin-bottom:8px}
  .admin-sidebar-head .admin-brand{border-bottom:0;margin:0;padding:5px 8px}
  .admin-sidebar-close{display:grid}
  .admin-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.24) transparent}
  .admin-nav::-webkit-scrollbar{width:5px}.admin-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.24);border-radius:999px}
  .admin-nav a,.admin-sidebar-foot a{min-height:44px;padding:11px 12px;font-size:12px}
  .admin-nav-label,.admin-sidebar-foot span:last-child{display:block;white-space:normal;line-height:1.25}
  .admin-sidebar-foot{flex:none;margin-top:0;padding-top:10px;background:linear-gradient(180deg,rgba(7,23,37,0),rgba(7,23,37,.96) 18%)}
  .admin-sidebar-scrim{cursor:pointer}
}

@media(max-width:820px){
  .main-nav{
    z-index:70;
    max-height:calc(100vh - 68px);
    max-height:calc(100dvh - 68px);
    padding-bottom:max(24px,env(safe-area-inset-bottom));
    overscroll-behavior:contain;
  }
  body.store-nav-open{overflow:hidden}
  .main-nav.open{display:flex}
  .main-nav a{min-height:44px;display:flex;align-items:center;padding:11px 12px}
}

@media(max-width:420px){
  .admin-sidebar{width:calc(100vw - 16px)}
  .admin-nav a,.admin-sidebar-foot a{min-height:43px}
}

/* Settings tabs v1.7.2 — grouped like a professional control-panel settings page. */
.settings-shell{
  --settings-tab-border:#d7dde7;
  --settings-tab-text:#17305d;
  --settings-tab-muted:#68758a;
  width:100%;
  min-width:0;
}
.settings-tabs{
  display:flex;
  align-items:flex-end;
  gap:8px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 3px 0;
  margin-bottom:-1px;
  scrollbar-width:thin;
  scrollbar-color:#c8d0dc transparent;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.settings-tabs::-webkit-scrollbar{height:6px}
.settings-tabs::-webkit-scrollbar-thumb{background:#c8d0dc;border-radius:999px}
.settings-tab{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border:1px solid var(--settings-tab-border);
  border-bottom-color:#cfd6e1;
  border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,#f8f9fb,#eef1f5);
  color:var(--settings-tab-text);
  font-size:13px;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.settings-tab:hover{
  background:#fff;
  color:var(--admin-accent,#1f5bd8);
  border-color:#c9d2df;
}
.settings-tab:focus-visible{
  outline:3px solid rgba(31,91,216,.18);
  outline-offset:2px;
}
.settings-tab.is-active{
  z-index:3;
  background:#fff;
  color:#172033;
  border-color:var(--settings-tab-border);
  border-bottom-color:#fff;
  box-shadow:0 -5px 16px rgba(19,39,74,.045);
}
.settings-tab.is-active::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-1px;
  height:2px;
  background:#fff;
}
.settings-panels{
  position:relative;
  z-index:2;
  padding:24px;
  border:1px solid var(--settings-tab-border);
  border-radius:0 12px 12px 12px;
  background:#fff;
  box-shadow:var(--admin-shadow,0 8px 26px rgba(19,39,74,.06));
}
.settings-panel[hidden]{display:none!important}
.settings-panel{
  animation:settings-panel-in .2s ease;
}
@keyframes settings-panel-in{
  from{opacity:.25;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
.settings-panel-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:0 2px 18px;
}
.settings-panel-heading h2{
  margin:0;
  color:#172033;
  font-size:20px;
  letter-spacing:-.025em;
}
.settings-panel-heading p{
  margin:6px 0 0;
  max-width:720px;
  color:var(--settings-tab-muted);
  font-size:12px;
  line-height:1.6;
}
.settings-panel>.admin-card,
.settings-content-grid>.admin-card,
.settings-side-stack>.admin-card{
  margin:0;
  box-shadow:none;
}
.settings-content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:18px;
  align-items:start;
}
.settings-side-stack{
  display:grid;
  gap:16px;
}
.settings-help-text{
  display:block;
  margin-top:4px;
  color:#738096;
  line-height:1.5;
}
.settings-compact-card{
  max-width:760px;
}
.settings-save-bar{
  position:sticky;
  bottom:12px;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:16px;
  padding:14px 16px;
  border:1px solid #d9e0eb;
  border-radius:12px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 45px rgba(18,35,64,.14);
  backdrop-filter:blur(12px);
}
.settings-save-bar>div{
  min-width:0;
}
.settings-save-bar strong,
.settings-save-bar span{
  display:block;
}
.settings-save-bar strong{
  color:#172033;
  font-size:13px;
}
.settings-save-bar span{
  margin-top:3px;
  color:#788397;
  font-size:10px;
}
.settings-save-bar .button{
  flex:0 0 auto;
  min-width:150px;
}

@media(max-width:1100px){
  .settings-content-grid{grid-template-columns:1fr}
  .settings-side-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .settings-tabs{
    gap:6px;
    padding-inline:0;
    scroll-padding-inline:4px;
  }
  .settings-tab{
    min-height:42px;
    padding:10px 15px;
    font-size:12px;
  }
  .settings-panels{
    padding:16px 12px;
    border-radius:0 10px 10px 10px;
  }
  .settings-panel-heading{
    padding:0 2px 14px;
  }
  .settings-panel-heading h2{font-size:17px}
  .settings-panel-heading p{font-size:11px}
  .settings-side-stack{grid-template-columns:1fr}
  .settings-save-bar{
    bottom:8px;
    align-items:stretch;
    flex-direction:column;
    padding:12px;
  }
  .settings-save-bar .button{
    width:100%;
  }
}
@media(max-width:420px){
  .settings-tab{
    min-height:40px;
    padding:9px 13px;
    font-size:11px;
  }
  .settings-panels{padding:12px 9px}
  .settings-save-bar span{display:none}
}
@media(prefers-reduced-motion:reduce){
  .settings-panel{animation:none}
  .settings-tab{transition:none}
}

/* Premium Shop v1.7.3 — checkbox, branding, scrolling, dropdown and cart refinements. */
.brand-mark img,.admin-brand-mark img{width:100%;height:100%;object-fit:contain;display:block;border-radius:inherit}
.admin-brand-mark img{padding:3px;background:#fff}
.brand-mark img{padding:3px;background:#fff}

/* Consistent left-aligned checkbox anatomy on every admin and customer form. */
.check-row,.permission-option{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  justify-content:start!important;
  gap:11px!important;
  min-width:0;
  width:100%;
  margin:0;
  text-align:left!important;
  cursor:pointer;
}
.check-row{padding:12px 13px;border:1px solid var(--line,#e4e9e6);border-radius:10px;background:#fff;color:var(--text,#17231f)}
.admin-body .check-row{border-color:var(--admin-line);color:var(--admin-text)}
.check-row:hover,.permission-option:hover{border-color:#aebbc4;background:#f9fbfa}
.check-row:has(input:checked),.permission-option:has(input:checked){border-color:var(--admin-accent,#1f5bd8);background:var(--admin-accent-soft,#eef4ff)}
.check-row input[type="checkbox"],.permission-option input[type="checkbox"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  margin:1px 0 0!important;
  padding:0!important;
  border:2px solid #aab5bf!important;
  border-radius:5px!important;
  background:#fff!important;
  position:relative;
  cursor:pointer;
  box-shadow:none!important;
}
.check-row input[type="checkbox"]:checked,.permission-option input[type="checkbox"]:checked{border-color:var(--admin-accent,#1f5bd8)!important;background:var(--admin-accent,#1f5bd8)!important}
.check-row input[type="checkbox"]:checked::after,.permission-option input[type="checkbox"]:checked::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.check-row input[type="checkbox"]:focus-visible,.permission-option input[type="checkbox"]:focus-visible{outline:3px solid rgba(31,91,216,.2);outline-offset:3px}
.check-row>span,.permission-option>span{display:block;min-width:0;line-height:1.45;overflow-wrap:anywhere}
.check-row strong{display:block;margin-bottom:3px;color:inherit}
.check-row small{display:block;margin-top:4px;color:var(--muted,#6f7d77)}
.admin-form-grid>.check-row.full,.form-grid>.check-row.full{grid-column:1/-1}
.permission-grid{align-items:stretch}
.permission-option{padding:12px!important;background:#fff!important}
.permission-option:has(input:checked){background:var(--admin-accent-soft,#eef4ff)!important}

/* Branding upload previews in Settings > General. */
.branding-upload-layout{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;align-items:center;padding:14px;border:1px solid var(--admin-line);border-radius:12px;background:#fafbfd}
.branding-preview{width:96px;height:96px;border:1px dashed #cbd3de;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}
.branding-preview-wide{width:110px;height:78px}
.branding-preview .image-preview-button{width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.branding-preview img{width:100%;height:100%;object-fit:contain;display:block}
.branding-preview-placeholder{font-size:12px;font-weight:800;color:#8290a2;text-transform:uppercase;letter-spacing:.06em}
.branding-upload-controls{display:grid;gap:9px;min-width:0}
.branding-upload-controls input[type="file"]{width:100%}
.branding-upload-controls .check-row{margin-top:2px}
.commerce-custom-hero-image{width:min(100%,460px);height:310px;display:grid;place-items:center;margin:auto}
.commerce-custom-hero-image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 24px 34px rgba(0,0,0,.16))}

/* Sidebar and table scrolling remain usable on short phones and desktop screens. */
.admin-sidebar{overflow:hidden!important}
.admin-nav{flex:1;min-height:0;overflow-y:auto!important;overflow-x:hidden;padding-right:3px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}
.admin-nav::-webkit-scrollbar{width:5px}.admin-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:999px}
.admin-sidebar-foot{flex:none}
.admin-table-wrap,.table-scroll{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#aeb8c6 #eef1f5}
.admin-table-wrap::-webkit-scrollbar,.table-scroll::-webkit-scrollbar{height:9px}
.admin-table-wrap::-webkit-scrollbar-track,.table-scroll::-webkit-scrollbar-track{background:#eef1f5;border-radius:999px}
.admin-table-wrap::-webkit-scrollbar-thumb,.table-scroll::-webkit-scrollbar-thumb{background:#aeb8c6;border:2px solid #eef1f5;border-radius:999px}
.admin-table{display:table!important;min-width:780px!important;width:100%!important}
.admin-table thead{display:table-header-group!important}
.admin-table tbody{display:table-row-group!important}
.admin-table tr{display:table-row!important;border:0!important;background:transparent!important}
.admin-table th,.admin-table td{display:table-cell!important;text-align:left!important;white-space:normal}
.admin-table td::before{display:none!important;content:none!important}
.admin-table td>*{max-width:none!important}
.cart-table-scroll .cart-table,.table-scroll .cart-table{min-width:650px}

/* Compact icon-only row action dropdown. */
.admin-row-actions{position:relative;display:inline-flex;justify-content:flex-end}
.admin-row-action-toggle{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--admin-line);border-radius:9px;background:#fff;color:var(--admin-text);cursor:pointer;transition:.16s ease}
.admin-row-action-toggle:hover,.admin-row-actions.is-open .admin-row-action-toggle{border-color:var(--admin-accent);background:var(--admin-accent-soft);color:var(--admin-accent)}
.admin-row-action-toggle svg{width:18px;height:18px;fill:currentColor}
.admin-row-action-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:70;min-width:170px;padding:7px;border:1px solid var(--admin-line);border-radius:11px;background:#fff;box-shadow:0 18px 45px rgba(17,32,51,.18)}
.admin-row-action-menu>a,.admin-row-action-menu>button,.admin-row-action-menu>form{display:block;width:100%;margin:0}
.admin-row-action-menu .admin-button,.admin-row-action-menu form .admin-button{width:100%;min-height:36px;justify-content:flex-start;padding:0 11px;border:0;background:transparent;text-align:left;font-size:10px}
.admin-row-action-menu .admin-button:hover{background:#f3f6fa}
.admin-row-action-menu .admin-button.danger{color:#ad3f35}
.admin-table tbody tr:last-child .admin-row-action-menu{top:auto;bottom:calc(100% + 7px)}

/* Storefront account dropdown. */
.user-account-menu{position:relative;flex:none}
.user-account-toggle{border:0;background:transparent;cursor:pointer;font:inherit;padding:0}
.account-chevron{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s ease}
.user-account-menu.is-open .account-chevron{transform:rotate(180deg)}
.user-account-dropdown{position:absolute;right:0;top:calc(100% + 14px);z-index:95;width:min(330px,calc(100vw - 24px));padding:9px;border:1px solid #e0e6e3;border-radius:15px;background:#fff;box-shadow:0 24px 60px rgba(17,39,30,.2)}
.user-account-card{display:flex;align-items:center;gap:11px;padding:12px;border-bottom:1px solid #edf1ef;margin-bottom:5px}
.user-account-card>span:last-child{min-width:0}
.user-account-card strong,.user-account-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-account-card strong{font-size:13px}.user-account-card small{margin-top:3px;font-size:10px;color:var(--muted)}
.user-account-dropdown>a{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border-radius:10px;color:var(--text);text-decoration:none}
.user-account-dropdown>a:hover{background:#f3f7f5}
.user-account-dropdown>a>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eef4f1;color:var(--green-900);font-weight:900}
.user-account-dropdown>a strong,.user-account-dropdown>a small{display:block}
.user-account-dropdown>a strong{font-size:11px}.user-account-dropdown>a small{margin-top:2px;font-size:9px;color:var(--muted)}
.user-account-dropdown .user-account-logout{margin-top:5px;border-top:1px solid #edf1ef;border-radius:0 0 10px 10px;color:#a43e35}

/* Password guidance stays directly below the password input. */
.password-format-box{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin-top:8px!important;padding:10px 11px;border:1px solid #dfe6e2;border-radius:9px;background:#f7faf8;color:#5f6e67!important;font-size:10px!important;line-height:1.4!important}
.password-format-box strong{grid-column:1/-1;color:#273a32;font-size:10px}
.password-format-box span::before{content:"✓";margin-right:5px;color:#248153;font-weight:900}

/* Cart quantity changes recalculate line subtotal and grand total immediately. */
.cart-table [data-line-subtotal]{display:inline-block;min-width:84px}
.cart-table .quantity input{text-align:center}

@media(max-width:900px){
  .admin-sidebar{height:100dvh!important;max-height:100dvh!important}
  .admin-row-action-menu{position:fixed;right:14px;left:auto;top:auto;bottom:18px;width:min(260px,calc(100vw - 28px));max-height:60dvh;overflow-y:auto}
  .admin-table{min-width:760px!important}
}
@media(max-width:680px){
  .branding-upload-layout{grid-template-columns:1fr;align-items:start}
  .branding-preview,.branding-preview-wide{width:100%;height:130px}
  .permission-grid{grid-template-columns:1fr!important}
  .check-row,.permission-option{grid-template-columns:20px minmax(0,1fr)!important;padding:11px!important}
  .password-format-box{grid-template-columns:1fr}
  .user-account-dropdown{position:fixed;left:12px;right:12px;top:74px;width:auto;max-height:calc(100dvh - 92px);overflow-y:auto}
  .account-link-copy{display:none!important}
  .account-chevron{display:none}
  .commerce-custom-hero-image{height:220px}
  .admin-table{min-width:720px!important}
}

/* Fixed-position row menus are not clipped by horizontally scrolling table containers. */
.admin-row-action-menu{position:fixed!important;right:auto;bottom:auto}
.admin-table tbody tr:last-child .admin-row-action-menu{top:auto}
.user-account-toggle{color:var(--ink)}
@media(max-width:1020px){.account-link-copy{display:none!important}.account-chevron{display:none}}
@media(max-width:900px){.admin-row-action-menu{left:14px!important;right:14px!important;top:auto!important;bottom:18px!important;width:auto!important}}


/* Premium Shop v1.7.5 — responsive tables, customer controls, mobile navigation, password fields and toast alerts. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Password controls and placement of Forgot password below the input. */
.password-input-wrap{position:relative;display:block;width:100%}
.password-input-wrap>input{padding-right:48px!important}
.password-visibility-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#748078;cursor:pointer}
.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:#eef3f0;color:#17231e;outline:none}
.password-visibility-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.password-visibility-toggle.is-showing svg{opacity:.55}
.password-field-footer{display:flex;justify-content:flex-end;margin-top:8px}
.password-field-footer a{font-size:11px;font-weight:750;color:var(--ux-blue,#1f5bd8);text-decoration:none}
.password-field-footer a:hover{text-decoration:underline}

/* Alerts are compact right-side toasts; only confirmation/loading remain modal. */
.toast-stack{position:fixed!important;right:18px!important;top:88px!important;bottom:auto!important;z-index:12050!important;width:min(380px,calc(100vw - 28px))!important;display:block!important;pointer-events:none}
.ps-toast{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 28px;gap:11px;align-items:start;width:100%;padding:13px 12px 14px;border:1px solid #dfe6e2;border-radius:13px;background:#fff;color:#17231e;box-shadow:0 18px 45px rgba(18,37,30,.18);opacity:0;transform:translateX(28px);transition:opacity .2s ease,transform .2s ease;overflow:hidden;pointer-events:auto}
.ps-toast.is-visible{opacity:1;transform:translateX(0)}
.ps-toast-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#eef3f1;color:#315147;font-size:17px;font-weight:900}
.ps-toast-success{border-color:#bfe2ca}.ps-toast-success .ps-toast-icon{background:#e7f7ec;color:#1d7040}
.ps-toast-error{border-color:#edc4bd}.ps-toast-error .ps-toast-icon{background:#fff0ed;color:#a33125}
.ps-toast-warning{border-color:#ead6a6}.ps-toast-warning .ps-toast-icon{background:#fff7e2;color:#86600e}
.ps-toast-copy{min-width:0;padding-top:1px}.ps-toast-copy strong{display:block;font-size:12px;line-height:1.35}.ps-toast-copy p{margin:3px 0 0;color:#68746e;font-size:10px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}
.ps-toast-close{width:28px;height:28px;border:0;border-radius:8px;background:#f1f4f2;color:#3e514a;font-size:18px;line-height:1;cursor:pointer}
.ps-toast-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--ux-blue,#1f5bd8);transform-origin:left;animation:ps-toast-countdown linear forwards}
.ps-toast-success .ps-toast-progress{background:#2d8a55}.ps-toast-error .ps-toast-progress{background:#b44135}.ps-toast-warning .ps-toast-progress{background:#c28a20}
@keyframes ps-toast-countdown{from{transform:scaleX(1)}to{transform:scaleX(0)}}

/* Horizontal table scrolling with a clear, touch-friendly viewport. */
.admin-table-wrap{position:relative;max-width:100%;overflow-x:auto!important;overflow-y:visible!important;padding-bottom:3px;background:#fff;scrollbar-gutter:stable}
.admin-table-wrap.is-scrollable:not(.is-scrolled-end)::after{content:"";position:sticky;right:0;float:right;width:28px;height:100%;margin-top:-100%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(33,48,72,.1))}
.admin-table{min-width:760px!important}
.admin-screen-index .admin-table{min-width:820px!important}
.admin-screen-index .admin-card{min-width:0}
.admin-screen-index .admin-grid>div,.admin-screen-index .admin-grid>aside{min-width:0}
.admin-table th,.admin-table td{vertical-align:middle}

/* Customer management header and icon-only verification toggle. */
.users-card-head{align-items:flex-start}
.verification-control{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.verification-state{display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid var(--admin-line);border-radius:10px;background:#fafbfd}
.verification-state>i{width:9px;height:9px;border-radius:50%;background:#b65c50;box-shadow:0 0 0 4px rgba(182,92,80,.1)}
.verification-state.is-enabled>i{background:#2f8a58;box-shadow:0 0 0 4px rgba(47,138,88,.11)}
.verification-state strong,.verification-state small{display:block}.verification-state strong{font-size:9px}.verification-state small{font-size:8px;color:var(--admin-muted);margin-top:1px}
.verification-toggle-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #e7bcb5;border-radius:10px;background:#fff3f0;color:#a23e32;cursor:pointer;transition:.18s ease}
.verification-toggle-button.is-disabled{border-color:#b9d8c7;background:#eff9f3;color:#267348}
.verification-toggle-button:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(18,37,30,.1)}
.verification-toggle-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.users-tools{display:grid;gap:12px}
.users-search{display:grid;grid-template-columns:minmax(220px,440px) auto auto;align-items:end;margin:0}
.icon-button-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.users-table td:nth-child(1),.users-table td:nth-child(2){min-width:170px}.users-table td:nth-child(3){min-width:220px}.users-table td:last-child{min-width:260px}
.users-table td:last-child .admin-actions{display:grid;grid-template-columns:1fr 1fr;align-items:end}
.users-table td:last-child input{width:100%!important;height:36px!important;font-size:10px!important}
.users-table td:last-child button{grid-column:1/-1}

/* Full-height mobile store navigation; every link is reachable. */
.mobile-nav-head,.mobile-nav-account,.store-nav-scrim,.mobile-nav-icon{display:none}
@media(max-width:820px){
  body.store-nav-open{overflow:hidden!important}
  .header-nav-wrap{position:static!important;border:0!important}
  .main-nav{position:fixed!important;z-index:1003!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(340px,90vw)!important;height:100dvh!important;max-height:none!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;padding:12px!important;background:#fff!important;box-shadow:-24px 0 60px rgba(13,29,52,.2)!important;overflow-y:auto!important;overscroll-behavior:contain;transform:translateX(105%);opacity:0;visibility:hidden;transition:transform .23s ease,opacity .2s ease,visibility .23s!important}
  .main-nav.open{transform:translateX(0)!important;opacity:1!important;visibility:visible!important}
  .store-nav-scrim{display:block;position:fixed;inset:0;z-index:1001;border:0;background:rgba(8,20,35,.48);opacity:0;visibility:hidden;transition:.2s;cursor:pointer}
  body.store-nav-open .store-nav-scrim{opacity:1;visibility:visible}
  .mobile-nav-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 2px 13px;margin-bottom:6px;border-bottom:1px solid #e8ecf2}
  .mobile-nav-brand{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;background:transparent!important;min-height:0!important}
  .mobile-nav-brand>span:last-child{min-width:0}.mobile-nav-brand strong,.mobile-nav-brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-nav-brand strong{font-size:13px}.mobile-nav-brand small{font-size:8px;color:#7a8494;margin-top:3px}
  .mobile-nav-close{width:38px;height:38px;flex:none;border:1px solid #e4e8ef;border-radius:10px;background:#f7f9fc;color:#1a2739;font-size:23px;cursor:pointer}
  .main-nav>a{display:grid!important;grid-template-columns:34px minmax(0,1fr);align-items:center!important;gap:10px!important;min-height:48px!important;padding:7px 10px!important;border-radius:10px!important;color:#344054!important;font-size:12px!important;font-weight:720!important}
  .main-nav>a:hover,.main-nav>a.active{background:#eef4ff!important;color:#1f5bd8!important}
  .mobile-nav-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#f1f4f8;color:inherit;font-size:15px;font-weight:850}
  .mobile-nav-count{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:5px;padding:0 5px;border-radius:999px;background:#d74338;color:#fff;font-size:8px}
  .mobile-nav-account{display:grid;gap:5px;margin-top:auto;padding-top:11px;border-top:1px solid #e8ecf2}
  .mobile-nav-account>a{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:46px;padding:6px 10px;border-radius:10px;text-decoration:none;color:#344054;font-size:11px}
  .mobile-nav-account>a:hover{background:#f3f6fa}.mobile-nav-account .primary{background:#1f5bd8;color:#fff}.mobile-nav-account .primary .mobile-nav-icon{background:rgba(255,255,255,.16)}
  .mobile-nav-user{display:flex;align-items:center;gap:10px;padding:9px}.mobile-nav-user>span:last-child{min-width:0}.mobile-nav-user strong,.mobile-nav-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-nav-user strong{font-size:11px}.mobile-nav-user small{font-size:9px;color:#7a8494;margin-top:2px}
  .mobile-nav-signout{color:#9d3d34!important}
  .header-actions .wallet-chip,.header-actions .notification-bell,.header-actions .user-account-menu{display:none!important}
  .mobile-menu-toggle{display:block!important;position:relative;z-index:60}
}

/* More balanced forms and modals on smaller screens. */
.page-modal-card{width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border-radius:18px}
.page-modal-head{padding:17px 19px}.page-modal-body{padding:18px 19px}
.ps-modal-card{width:min(390px,calc(100vw - 28px));padding:22px;border-radius:18px}.ps-modal-icon{width:54px;height:54px;border-radius:16px;font-size:24px}.ps-modal-copy h3{font-size:18px}.ps-modal-copy p{font-size:12px}
.auth-shell{width:min(880px,100%)}.auth-form{padding:38px}.auth-form h1{font-size:28px}

@media(max-width:760px){
  .toast-stack{top:76px!important;right:10px!important;width:calc(100vw - 20px)!important}.ps-toast{grid-template-columns:34px minmax(0,1fr) 28px;padding:11px}.ps-toast-icon{width:32px;height:32px}.ps-toast-copy p{font-size:9px}
  .admin-content{max-width:100vw;overflow:hidden}
  .admin-table-wrap{margin-inline:0;border-top:1px solid var(--admin-line);border-bottom:1px solid var(--admin-line)}
  .admin-table{min-width:700px!important}.admin-screen-index .admin-table{min-width:760px!important}
  .users-card-head{display:grid!important;grid-template-columns:1fr auto;align-items:center!important}.verification-state{display:none}.verification-control{gap:6px}
  .users-tools{padding:12px!important}.users-search{grid-template-columns:minmax(0,1fr) 40px auto;gap:7px}.users-search .field{min-width:0}.users-search .icon-button-label{width:40px;padding:0}.users-search .icon-button-label span{display:none}
  .users-admin-card .admin-table-wrap{overflow:visible!important;border:0;padding:0 10px 12px;background:#f5f7fb}
  .users-table{display:block!important;min-width:0!important;background:transparent}.users-table thead{display:none!important}.users-table tbody{display:grid!important;gap:10px}.users-table tr{display:grid!important;grid-template-columns:1fr!important;border:1px solid var(--admin-line)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 5px 16px rgba(18,37,30,.045)}
  .users-table td{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;min-width:0!important;padding:10px 12px!important;border-bottom:1px solid #edf1ef!important;text-align:left!important;white-space:normal!important}
  .users-table td:last-child{border-bottom:0!important}.users-table td::before{display:block!important;content:attr(data-label)!important;font-size:8px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--admin-muted)!important;text-align:left!important}
  .users-table td>*{max-width:none!important;min-width:0}.users-table td .admin-actions{justify-content:flex-start}.users-table td:last-child .admin-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.users-table td:last-child button{grid-column:1/-1}
  .page-modal-layer{padding:7px}.page-modal-card{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:14px}.page-modal-head{padding:13px 14px}.page-modal-head h2{font-size:18px}.page-modal-body{padding:14px}.page-modal-close{width:34px;height:34px;font-size:21px}
  .page-modal-body .admin-form-grid,.page-modal-body .form-grid{gap:10px}.page-modal-body input,.page-modal-body select,.page-modal-body textarea{font-size:12px!important;padding:10px!important}.page-modal-body textarea{min-height:90px!important}
  .auth-page{padding:22px 10px}.auth-shell{border-radius:16px}.auth-form{padding:24px 18px}.auth-form h1{font-size:24px}.auth-form>p{margin-bottom:18px}.field input,.field select,.field textarea{padding:11px 12px}.button{min-height:40px}
}
@media(max-width:420px){
  .users-card-head{grid-template-columns:minmax(0,1fr) auto}.users-card-head h2{font-size:14px}.users-card-head .admin-pagination-note{font-size:8px}.verification-toggle-button{width:36px;height:36px}
  .users-table td{grid-template-columns:92px minmax(0,1fr)!important;padding:9px 10px!important}.users-table td:last-child .admin-actions{grid-template-columns:1fr}
  .main-nav{width:94vw!important}.ps-modal-card{padding:18px 15px}.ps-modal-actions{margin-top:16px}
}

/* v1.7.4 final mobile navigation specificity fix. */
@media(max-width:820px){
  .main-nav>.mobile-nav-head>.mobile-nav-brand{display:flex!important;grid-template-columns:none!important;align-items:center!important;min-height:0!important;padding:0!important;background:transparent!important}
}


/* Premium Shop v1.7.5 — payment logos, checkout progress, compact alerts, balanced confirmations, and admin sign-in layout. */

/* Payment method logo selector */
.payment-method-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.payment-method-option{position:relative;display:grid!important;grid-template-columns:52px minmax(0,1fr) 24px;align-items:center!important;gap:13px!important;min-height:86px;padding:14px 15px!important;overflow:hidden}
.payment-method-native-radio{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.payment-method-logo{width:52px;height:52px;border:1px solid #dfe5e2;border-radius:14px;background:#f4f7f5;display:grid!important;place-items:center!important;overflow:hidden;flex:none}
.payment-method-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}
.payment-method-logo b{font-size:19px;color:var(--ux-blue,#1f5bd8)}
.payment-method-copy{display:flex!important;flex-direction:column;min-width:0;text-align:left}
.payment-method-copy strong{display:block;font-size:13px;line-height:1.35}
.payment-method-copy small{display:block;margin-top:3px;font-size:10px;line-height:1.4;color:var(--muted,#68746e);overflow-wrap:anywhere}
.payment-method-check{width:22px;height:22px;border:1.5px solid #c9d3ce;border-radius:50%;display:grid!important;place-items:center!important;color:transparent;background:#fff;font-size:12px;font-weight:900}
.payment-method-option:has(.payment-method-native-radio:checked){border-color:var(--ux-blue,#1f5bd8)!important;background:#f5f8ff!important;box-shadow:0 0 0 3px rgba(31,91,216,.10)!important}
.payment-method-option:has(.payment-method-native-radio:checked) .payment-method-check{border-color:var(--ux-blue,#1f5bd8);background:var(--ux-blue,#1f5bd8);color:#fff}
.payment-method-option:focus-within{outline:3px solid rgba(31,91,216,.18);outline-offset:2px}
.payment-logo-admin-field{display:grid;gap:10px}
.payment-logo-admin-preview{width:88px;height:88px;border:1px solid var(--line,#dfe5e2)!important;border-radius:16px!important;background:#f5f8f6!important;overflow:hidden}
.payment-logo-admin-preview img{display:block;width:100%;height:100%;object-fit:contain;padding:7px;box-sizing:border-box}
.payment-method-admin-name{display:flex;align-items:center;gap:10px;min-width:170px}.payment-method-admin-name>img,.payment-method-admin-name>span{width:38px;height:38px;border-radius:10px;border:1px solid #e1e7e3;background:#f4f7f5;object-fit:contain;display:grid;place-items:center;font-weight:900;color:var(--ux-blue,#1f5bd8)}
.payment-method-admin-name>div{min-width:0}.payment-method-admin-name strong,.payment-method-admin-name small{display:block}

/* Five-step checkout progress inspired by the supplied reference. */
.order-progress{--progress-accent:var(--ux-blue,#1f5bd8);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:900px;margin:0 auto 24px;padding:16px 20px;border:1px solid #e1e7ee;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(29,51,83,.06);overflow:hidden}
.order-progress-step{position:relative;display:grid;justify-items:center;gap:7px;min-width:0;color:#9aa3af;text-align:center}
.order-progress-step:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 25px);right:calc(-50% + 25px);top:21px;height:2px;background:#dfe4eb}
.order-progress-step span{position:relative;z-index:1;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#d6d9dd;color:#fff;font-size:17px;font-weight:850;border:5px solid #fff;box-shadow:0 0 0 1px #e0e4e9}
.order-progress-step strong{font-size:11px;font-weight:750;line-height:1.25;white-space:nowrap}
.order-progress-step.is-active,.order-progress-step.is-complete{color:#17231e}
.order-progress-step.is-active span,.order-progress-step.is-complete span{background:var(--progress-accent);box-shadow:0 0 0 1px rgba(31,91,216,.25)}
.order-progress-step.is-complete span::after{content:"✓";font-size:14px}.order-progress-step.is-complete span{font-size:0}
.order-progress-step.is-complete:not(:last-child)::after{background:var(--progress-accent)}

/* Confirmation buttons stay as a balanced two-column action grid. */
.ps-modal-root.is-confirm .ps-modal-card{width:min(420px,100%);padding:24px}
.ps-modal-root.is-confirm .ps-modal-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin-top:20px}
.ps-modal-root.is-confirm .ps-modal-actions .button{width:100%;min-width:0;margin:0}

/* Smaller right-side alerts, one at a time. */
.toast-stack{right:14px!important;top:76px!important;width:min(310px,calc(100vw - 24px))!important}
.ps-toast{grid-template-columns:30px minmax(0,1fr) 24px!important;gap:8px!important;padding:9px 9px 11px!important;border-radius:11px!important;box-shadow:0 14px 34px rgba(18,37,30,.16)!important}
.ps-toast-icon{width:29px!important;height:29px!important;border-radius:8px!important;font-size:14px!important}
.ps-toast-copy strong{font-size:11px!important;line-height:1.25!important}.ps-toast-copy p{font-size:9px!important;line-height:1.4!important;margin-top:2px!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.ps-toast-close{width:24px!important;height:24px!important;border-radius:7px!important;font-size:16px!important}
.ps-toast-progress{height:2px!important}

/* Admin sign-in: polished split-screen layout; authentication behavior is unchanged. */
.admin-auth-body{margin:0;background:#eef3f7;color:#13221d}
.admin-auth-page{min-height:100vh;display:grid;place-items:center;padding:28px}
.admin-auth-shell{width:min(1020px,100%);min-height:620px;display:grid;grid-template-columns:minmax(330px,.9fr) minmax(420px,1.1fr);overflow:hidden;border:1px solid rgba(255,255,255,.8);border-radius:26px;background:#fff;box-shadow:0 30px 90px rgba(17,35,57,.18)}
.admin-auth-aside{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:38px;background:linear-gradient(150deg,#081826 0%,#0d2d3f 55%,#123d50 100%);color:#fff}
.admin-auth-aside::before{content:"";position:absolute;right:-100px;bottom:-120px;width:330px;height:330px;border-radius:50%;background:rgba(49,129,184,.18)}
.admin-auth-brand{position:relative;z-index:1;display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}.admin-auth-brand .brand-mark,.admin-auth-mobile-brand .brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#2563d8;color:#fff;font-size:20px;box-shadow:0 10px 24px rgba(37,99,216,.28)}
.admin-auth-brand strong,.admin-auth-brand small,.admin-auth-mobile-brand strong,.admin-auth-mobile-brand small{display:block}.admin-auth-brand strong{font-size:15px}.admin-auth-brand small{margin-top:3px;color:#a9c5d1;font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.admin-auth-aside-copy{position:relative;z-index:1}.admin-auth-aside-copy .eyebrow{color:#75b8df}.admin-auth-aside-copy h1{max-width:500px;margin:15px 0 14px;color:#fff;font-size:38px;line-height:1.06;letter-spacing:-.045em}.admin-auth-aside-copy p{max-width:480px;margin:0;color:#bdd0d9;font-size:12px;line-height:1.75}.admin-auth-aside-copy ul{display:grid;gap:10px;margin:27px 0 0;padding:0;list-style:none}.admin-auth-aside-copy li{display:flex;align-items:center;gap:9px;color:#e4f0f4;font-size:11px}.admin-auth-aside-copy li::before{content:"✓";width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:rgba(117,184,223,.16);color:#8ad0f5;font-weight:900}
.admin-auth-foot{position:relative;z-index:1;color:#7ea1b0;font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.admin-auth-form-panel{display:grid;place-items:center;padding:42px;background:#fff}.admin-auth-form-wrap{width:min(430px,100%)}.admin-auth-mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:26px}.admin-auth-mobile-brand strong{font-size:14px}.admin-auth-mobile-brand small{margin-top:2px;color:#6b7780;font-size:9px}
.admin-auth-form-wrap>.eyebrow{color:#2c6bd7}.admin-auth-form-wrap h2{margin:8px 0 8px;font-size:31px;letter-spacing:-.04em}.admin-auth-form-wrap>p{margin:0 0 25px;color:#69766f;font-size:12px;line-height:1.6}.admin-auth-form-wrap .form-grid{grid-template-columns:1fr}.admin-auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.admin-auth-actions .button{width:100%;margin:0}.admin-auth-security-note{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:12px;border:1px solid #e0e7e3;border-radius:12px;background:#f7faf8}.admin-auth-security-note p{margin:0;color:#6b7771;font-size:9px;line-height:1.5}

@media(max-width:760px){
  .payment-method-grid{grid-template-columns:1fr}.payment-method-option{min-height:78px;grid-template-columns:46px minmax(0,1fr) 22px;padding:12px!important}.payment-method-logo{width:46px;height:46px;border-radius:12px}
  .order-progress{margin-bottom:18px;padding:12px 8px;border-radius:14px}.order-progress-step{gap:5px}.order-progress-step span{width:34px;height:34px;border-width:4px;font-size:13px}.order-progress-step strong{font-size:8px;white-space:normal}.order-progress-step:not(:last-child)::after{left:calc(50% + 19px);right:calc(-50% + 19px);top:16px}
  .admin-auth-page{padding:12px}.admin-auth-shell{min-height:0;grid-template-columns:1fr;border-radius:18px}.admin-auth-aside{display:none}.admin-auth-form-panel{padding:28px 20px}.admin-auth-mobile-brand{display:flex}.admin-auth-form-wrap h2{font-size:25px}.admin-auth-actions{grid-template-columns:1fr 1fr}
  .toast-stack{top:68px!important;right:8px!important;width:min(290px,calc(100vw - 16px))!important}
}
@media(max-width:420px){
  .order-progress{padding:10px 4px}.order-progress-step span{width:30px;height:30px;border-width:3px}.order-progress-step:not(:last-child)::after{left:calc(50% + 17px);right:calc(-50% + 17px);top:14px}.order-progress-step strong{font-size:7px}
  .ps-modal-root.is-confirm .ps-modal-card{padding:20px 15px}.ps-modal-root.is-confirm .ps-modal-actions{grid-template-columns:1fr 1fr;gap:8px}.ps-modal-root.is-confirm .ps-modal-actions .button{padding-inline:8px;font-size:11px}
  .admin-auth-page{padding:0}.admin-auth-shell{min-height:100vh;border:0;border-radius:0}.admin-auth-form-panel{padding:24px 16px}.admin-auth-actions{grid-template-columns:1fr}.admin-auth-security-note{margin-top:14px}
}

/* Premium Shop v1.7.7 — polished search, anchored actions, responsive admin orders and payment flow. */

/* Search controls share one compact, touch-friendly treatment across admin lists. */
.admin-filter-bar{gap:10px;margin:0;align-items:end}
.admin-search-field{flex:1 1 300px;min-width:min(100%,260px)!important}
.admin-search-control{position:relative;display:flex;align-items:center;min-height:42px;border:1px solid #d9d4e6;border-radius:14px;background:#f8f5ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.admin-search-control:focus-within{border-color:#7b6cc8;background:#fff;box-shadow:0 0 0 3px rgba(123,108,200,.13)}
.admin-search-control-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;display:grid;place-items:center;color:#847b99;pointer-events:none}
.admin-search-control-icon svg,.admin-search-clear svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.admin-search-control input{height:40px!important;padding:0 42px 0 41px!important;border:0!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important;font-size:11px!important}
.admin-search-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:31px;height:31px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#8d849d;cursor:pointer}
.admin-search-clear:hover,.admin-search-clear:focus-visible{background:#ece7f8;color:#3d3553;outline:none}
.admin-filter-bar>.admin-button{min-height:42px;padding-inline:15px;border-radius:11px;font-size:10px}
.users-search{grid-template-columns:minmax(240px,480px) auto auto;gap:9px}

/* Wallet changes stay in the customer table and use an icon submit control. */
.wallet-adjust-form{display:grid;grid-template-columns:minmax(92px,.85fr) minmax(110px,1.15fr) 38px;gap:7px;align-items:center;min-width:260px}
.wallet-adjust-form input{width:100%;height:38px;border:1px solid var(--admin-line);border-radius:9px;background:#fff;padding:0 10px;font-size:10px;color:var(--admin-text);outline:none}
.wallet-adjust-form input:focus{border-color:var(--admin-accent);box-shadow:0 0 0 3px rgba(17,61,49,.09)}
.admin-icon-submit{width:38px;height:38px;display:grid;place-items:center;border:1px solid #1f5bd8;border-radius:10px;background:#1f5bd8;color:#fff;cursor:pointer;box-shadow:0 6px 14px rgba(31,91,216,.18);transition:transform .15s ease,box-shadow .15s ease}
.admin-icon-submit:hover,.admin-icon-submit:focus-visible{transform:translateY(-1px);box-shadow:0 9px 20px rgba(31,91,216,.24);outline:none}
.admin-icon-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.users-table td:last-child{min-width:300px}

/* Row actions are an anchored desktop-style popover on every viewport. */
.admin-row-actions{position:relative;display:inline-flex;justify-content:flex-end}
.admin-row-action-toggle{width:36px;height:36px;border-radius:10px;border-color:#2f6ae1;color:#235bc7;background:#fff;box-shadow:0 3px 10px rgba(31,91,216,.08)}
.admin-row-action-toggle svg{width:18px;height:18px}
.admin-row-action-menu{position:fixed!important;left:var(--action-left,10px)!important;top:var(--action-top,10px)!important;right:auto!important;bottom:auto!important;width:var(--action-width,190px)!important;min-width:170px!important;max-width:calc(100vw - 20px)!important;max-height:min(360px,calc(100dvh - 20px));overflow-y:auto;padding:7px!important;border:1px solid #dfe4ec!important;border-radius:12px!important;background:#fff!important;box-shadow:0 18px 46px rgba(18,35,64,.2)!important;z-index:1200!important;animation:admin-action-pop .14s ease-out}
@keyframes admin-action-pop{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.admin-row-action-menu>a,.admin-row-action-menu>button,.admin-row-action-menu>form{display:block;width:100%;margin:0!important}
.admin-row-action-menu .admin-button,.admin-row-action-menu form .admin-button,.admin-row-action-menu .admin-action-menu-item{width:100%;min-height:39px;display:flex;align-items:center;justify-content:flex-start;gap:9px;padding:0 10px;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--admin-text);text-align:left;font-size:10px;font-weight:760;box-shadow:none!important}
.admin-row-action-menu .admin-button:hover,.admin-row-action-menu .admin-button:focus-visible,.admin-row-action-menu .admin-action-menu-item:hover,.admin-row-action-menu .admin-action-menu-item:focus-visible{background:#f3f6fb!important;outline:none}
.admin-row-action-menu .admin-button.danger,.admin-row-action-menu .danger{color:#a83d32!important}
.admin-action-menu-icon{width:22px;height:22px;display:grid;place-items:center;flex:none;border-radius:7px;background:#edf3ff;color:#245ec8}
.admin-action-menu-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.admin-row-action-menu .danger .admin-action-menu-icon,.admin-row-action-menu .admin-button.danger .admin-action-menu-icon{background:#fff0ee;color:#a83d32}

/* Admin order details retain readable hierarchy and do not overflow on phones. */
.admin-detail-back{margin-bottom:14px}
.admin-order-layout{grid-template-columns:minmax(0,1fr) minmax(280px,350px)}
.admin-order-primary,.admin-order-sidebar{min-width:0}
.admin-order-head>div:first-child{min-width:0}
.admin-order-head .admin-pagination-note{overflow-wrap:anywhere}
.admin-order-items-wrap{border:1px solid #e8ecea;border-radius:11px}
.admin-order-items-table{min-width:620px!important}
.admin-order-fulfillment textarea{min-height:115px}
.admin-order-sidebar .summary-row strong{max-width:62%;overflow-wrap:anywhere;text-align:right}
.admin-detail-view .admin-topbar-left>div{min-width:0}
.admin-detail-view .admin-topbar h1{overflow-wrap:anywhere}

/* Customer order: summary first, payment action directly below, with a lighter dashboard link. */
.order-page-main,.order-payment-column{min-width:0}
.order-page-main{display:grid;gap:18px}
.order-payment-column{position:sticky;top:138px;display:grid;gap:18px;align-self:start}
.order-payment-column .summary-card{position:static}
.order-payment-column .payment-launch-card{margin:0!important}
.order-payment-summary .panel-head>div span{display:block;margin-top:4px;color:var(--muted);font-size:9px}
.order-summary-link{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 2px 2px;color:#1f5bd8;text-decoration:none;font-size:11px;font-weight:800}
.order-summary-link:hover{text-decoration:underline}
.order-access-message,.order-delivery-panel{margin-top:0!important}
.order-activation-note span{overflow-wrap:anywhere}

/* Payment methods and orders use semantic tables while becoming readable stacked rows on small screens. */
.payment-methods-table td:last-child,.orders-table td:last-child{white-space:nowrap;text-align:right}
.payment-methods-admin-card>.admin-card-head{align-items:center}

/* Refined mobile admin sign-in spacing. */
.admin-auth-form-wrap .field input{min-height:46px}
.admin-auth-actions .button{min-height:46px}

@media(max-width:1180px){
  .admin-order-layout{grid-template-columns:1fr}
  .admin-order-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .admin-order-sidebar .admin-card+.admin-card{margin-top:0}
}

@media(max-width:820px){
  .admin-filter-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .admin-filter-bar .admin-search-field{grid-column:1/-1;min-width:0!important}
  .admin-filter-bar>.admin-button{width:100%}
  .users-search{grid-template-columns:minmax(0,1fr) 42px auto!important}
  .users-search .admin-search-field{grid-column:auto}
  .users-search>.admin-button{width:42px;padding:0}
  .users-search>.admin-button span{display:none}
  .admin-order-sidebar{grid-template-columns:1fr}
  .admin-order-sidebar .admin-card+.admin-card{margin-top:0}
  .order-payment-column{position:static;gap:0;margin-top:18px}
  .order-payment-column .summary-card:has(+ .payment-launch-card){border-radius:18px 18px 0 0;border-bottom-color:#eef1ef}
  .order-payment-column .summary-card+.payment-launch-card{margin-top:-1px!important;border-radius:0 0 18px 18px}
  .order-payment-column .summary-card+.payment-launch-card .panel-head{border-top:1px solid #eef1ef}
}

@media(max-width:760px){
  .admin-detail-view .admin-topbar{min-height:68px;height:auto;padding-block:10px}
  .admin-detail-view .admin-topbar h1{max-width:calc(100vw - 92px);font-size:15px;line-height:1.2}
  .admin-detail-back .admin-button{min-height:38px}
  .admin-order-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .admin-mini-stat{min-width:0;padding:12px}
  .admin-mini-stat strong{font-size:14px;overflow-wrap:anywhere}
  .admin-order-head{display:grid!important;grid-template-columns:1fr;align-items:start!important}
  .admin-order-head .admin-actions{justify-content:flex-start}
  .admin-order-overview-card .notice-box{overflow-wrap:anywhere}
  .admin-order-fulfillment .form-actions .button{width:100%}

  /* Orders become labelled stacked rows instead of a clipped wide table. */
  .orders-table-wrap,.payment-methods-table-wrap{overflow:visible!important;border:0!important;padding:0 10px 12px!important;background:#f5f7fb!important}
  .orders-table,.payment-methods-table{display:block!important;min-width:0!important;background:transparent!important}
  .orders-table thead,.payment-methods-table thead{display:none!important}
  .orders-table tbody,.payment-methods-table tbody{display:grid!important;gap:10px!important}
  .orders-table tr,.payment-methods-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border:1px solid var(--admin-line)!important;border-radius:13px!important;background:#fff!important;overflow:visible!important;box-shadow:0 5px 16px rgba(18,37,30,.05)!important}
  .orders-table td,.payment-methods-table td{display:grid!important;grid-template-columns:94px minmax(0,1fr)!important;align-items:start!important;gap:9px!important;min-width:0!important;padding:10px 12px!important;border-bottom:1px solid #edf1ef!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
  .orders-table td::before,.payment-methods-table td::before{display:block!important;content:attr(data-label)!important;font-size:8px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--admin-muted)!important}
  .orders-table td:first-child,.orders-table td:nth-child(2),.orders-table td:nth-child(3),.payment-methods-table td:first-child,.payment-methods-table td:nth-child(2){grid-column:1/-1}
  .orders-table td:nth-last-child(-n+4),.payment-methods-table td:nth-last-child(-n+5){grid-column:auto}
  .orders-table td:last-child,.payment-methods-table td:last-child{border-bottom:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;min-height:55px}
  .orders-table td>*:not(.admin-row-actions),.payment-methods-table td>*:not(.admin-row-actions){min-width:0;max-width:none}

  /* Product rows in the order detail are compact two-column mini tables. */
  .admin-order-items-wrap{overflow:visible!important;border:0!important;background:transparent!important}
  .admin-order-items-table{display:block!important;min-width:0!important}
  .admin-order-items-table thead{display:none!important}
  .admin-order-items-table tbody{display:grid!important;gap:9px!important}
  .admin-order-items-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;border:1px solid #e4e9e6!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important}
  .admin-order-items-table td{display:grid!important;grid-template-columns:74px minmax(0,1fr)!important;gap:8px!important;min-width:0!important;padding:9px 10px!important;border-bottom:1px solid #edf1ee!important;white-space:normal!important;overflow-wrap:anywhere}
  .admin-order-items-table td::before{display:block!important;content:attr(data-label)!important;font-size:8px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:var(--admin-muted)!important}
  .admin-order-items-table td:first-child{grid-column:1/-1}
  .admin-order-items-table td:last-child{border-bottom:0!important}

  /* Customer accounts stay a true table with horizontal scroll and sticky identity column. */
  .users-admin-card .users-table-wrap{overflow-x:auto!important;overflow-y:visible!important;border-top:1px solid var(--admin-line)!important;border-bottom:1px solid var(--admin-line)!important;padding:0!important;background:#fff!important}
  .users-table{display:table!important;min-width:1010px!important;width:100%!important;background:#fff!important}
  .users-table thead{display:table-header-group!important}
  .users-table tbody{display:table-row-group!important}
  .users-table tr{display:table-row!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .users-table th,.users-table td{display:table-cell!important;min-width:0!important;padding:10px!important;border-bottom:1px solid #edf1ef!important;text-align:left!important;white-space:normal!important}
  .users-table td::before{display:none!important;content:none!important}
  .users-table th:first-child,.users-table td:first-child{position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 0 #e7ece9}
  .users-table th:first-child{z-index:3;background:#f8faf8}
  .users-table td:last-child{min-width:300px!important}
  .users-table td:last-child .wallet-adjust-form{display:grid!important}
  .wallet-adjust-form{min-width:280px}

  .page-modal-card.payment-modal-card{width:calc(100vw - 14px)}
  .gcash-card{gap:14px;padding:15px}
  .gcash-card img{justify-self:center;width:min(160px,55vw);height:min(160px,55vw)}
  .payment-launch-copy .button{min-height:44px}
}

@media(max-width:520px){
  .admin-filter-bar{grid-template-columns:1fr}
  .admin-filter-bar .admin-search-field{grid-column:auto}
  .users-search{grid-template-columns:minmax(0,1fr) 42px auto!important}
  .users-search .admin-search-field{grid-column:auto}
  .admin-card-head{align-items:flex-start;flex-wrap:wrap}
  .payment-methods-admin-card>.admin-card-head .admin-button{width:100%}
  .admin-order-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .orders-table tr,.payment-methods-table tr{grid-template-columns:1fr!important}
  .orders-table td,.payment-methods-table td{grid-column:1/-1!important;grid-template-columns:88px minmax(0,1fr)!important}
  .orders-table td:last-child,.payment-methods-table td:last-child{justify-content:flex-start!important}
  .order-payment-column .panel-head{align-items:flex-start}
  .order-payment-column .panel-head .status-badge{flex:none}
  .order-payment-summary .summary-row{align-items:flex-start}
  .order-payment-summary .summary-row strong{max-width:55%;text-align:right;overflow-wrap:anywhere}
  .admin-auth-page{align-items:start!important;background:#fff}
  .admin-auth-form-panel{padding:24px 16px 32px!important}
  .admin-auth-mobile-brand{margin-bottom:24px;padding-bottom:17px;border-bottom:1px solid #e6ebe8}
  .admin-auth-form-wrap h2{font-size:28px!important;line-height:1.08}
  .admin-auth-form-wrap>p{font-size:11px!important}
  .admin-auth-actions{grid-template-columns:1fr!important}
}

/* v1.7.7 final narrow-screen overflow guard for customer order pages. */
.page-hero h1{overflow-wrap:anywhere}
@media(max-width:580px){
  .order-items-scroll{width:100%;max-width:100%;overflow:visible!important}
  .order-items-scroll .order-items-table{min-width:0!important;width:100%!important}
  .order-details-panel,.order-payment-column,.order-page-layout{max-width:100%;min-width:0}
  .page-hero h1{font-size:31px;line-height:1.08}
}

/* v1.7.7 customer-table action alignment. */
.users-search{grid-template-columns:minmax(240px,480px) max-content max-content;justify-content:start}
.wallet-adjust-form .admin-icon-submit{grid-column:auto!important}

/* v1.7.7: keep the Orders list as the desktop table on phones. The table
   scrolls horizontally instead of changing each order into a stacked card. */
@media(max-width:760px){
  .admin-screen-orders:not(.admin-detail-view) .orders-table-wrap{
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:visible!important;
    padding:0!important;
    border-top:1px solid var(--admin-line)!important;
    border-bottom:1px solid var(--admin-line)!important;
    background:#fff!important;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-gutter:stable;
    -webkit-overflow-scrolling:touch;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table{
    display:table!important;
    width:100%!important;
    min-width:960px!important;
    border-collapse:collapse!important;
    background:#fff!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table thead{display:table-header-group!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table tbody{display:table-row-group!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table tr{
    display:table-row!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table th,
  .admin-screen-orders:not(.admin-detail-view) .orders-table td{
    display:table-cell!important;
    grid-column:auto!important;
    grid-template-columns:none!important;
    min-width:0!important;
    padding:10px 11px!important;
    border-bottom:1px solid #edf1ef!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
    vertical-align:middle!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table th{
    white-space:nowrap!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table td::before{
    display:none!important;
    content:none!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(1),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(1){width:175px;min-width:175px!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(2),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(2){width:205px;min-width:205px!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(3),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(3){width:180px;min-width:180px!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(4),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(4){width:115px;min-width:115px!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(5),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(5),
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(6),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(6){width:105px;min-width:105px!important}
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:nth-child(7),
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:nth-child(7){
    width:75px;
    min-width:75px!important;
    text-align:right!important;
    min-height:0!important;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:first-child,
  .admin-screen-orders:not(.admin-detail-view) .orders-table td:first-child{
    position:sticky;
    left:0;
    z-index:2;
    background:#fff;
    box-shadow:1px 0 0 #e5eaf0;
  }
  .admin-screen-orders:not(.admin-detail-view) .orders-table th:first-child{
    z-index:3;
    background:#f8faf8;
  }
}


/* Premium Shop v1.7.8 — desktop-consistent customer portal on phones. */
.user-portal-page .table-scroll,
.user-portal-page .order-card-table-scroll,
.user-portal-page .portal-horizontal-scroll{
  max-width:100%;
  overflow-x:auto;
  overflow-y:visible;
  overscroll-behavior-inline:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:#9facc0 #edf1f6;
}
.user-portal-page .table-scroll::-webkit-scrollbar,
.user-portal-page .order-card-table-scroll::-webkit-scrollbar,
.user-portal-page .portal-horizontal-scroll::-webkit-scrollbar{height:9px}
.user-portal-page .table-scroll::-webkit-scrollbar-track,
.user-portal-page .order-card-table-scroll::-webkit-scrollbar-track,
.user-portal-page .portal-horizontal-scroll::-webkit-scrollbar-track{background:#edf1f6;border-radius:999px}
.user-portal-page .table-scroll::-webkit-scrollbar-thumb,
.user-portal-page .order-card-table-scroll::-webkit-scrollbar-thumb,
.user-portal-page .portal-horizontal-scroll::-webkit-scrollbar-thumb{background:#9facc0;border:2px solid #edf1f6;border-radius:999px}
.user-portal-page .table-scroll:focus-visible,
.user-portal-page .order-card-table-scroll:focus-visible,
.user-portal-page .portal-horizontal-scroll:focus-visible{outline:3px solid rgba(31,91,216,.2);outline-offset:3px}

/* The customer navigation and cart drawers use a compact inset sheet instead
   of covering almost the whole phone or appearing to push the page sideways. */
@media(max-width:820px){
  .main-nav{
    top:max(8px,env(safe-area-inset-top))!important;
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    left:auto!important;
    width:min(348px,calc(100vw - 32px))!important;
    height:auto!important;
    max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    border:1px solid #e1e7ee!important;
    border-radius:18px!important;
    box-shadow:-16px 14px 50px rgba(13,29,52,.22)!important;
    transform:translateX(calc(100% + 24px))!important;
  }
  .main-nav.open{transform:translateX(0)!important}

  .drawer-backdrop{overflow:hidden;padding:0}
  .cart-drawer{
    position:absolute;
    top:max(8px,env(safe-area-inset-top));
    right:max(8px,env(safe-area-inset-right));
    bottom:max(8px,env(safe-area-inset-bottom));
    left:auto;
    width:min(380px,calc(100vw - 24px));
    height:auto;
    max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border:1px solid #e1e7ee;
    border-radius:18px;
    overflow:hidden;
    transform:translateX(calc(100% + 24px));
    box-shadow:-16px 14px 50px rgba(0,0,0,.24);
  }
  .drawer-backdrop.open .cart-drawer{transform:translateX(0)}
  .drawer-header{padding:17px 18px}
  .drawer-items{padding:6px 16px}
  .drawer-summary{padding:16px}
}

@media(max-width:680px){
  /* The dashboard sidebar becomes one labelled horizontal rail. It keeps the
     same destinations as desktop without hiding labels or squeezing four tabs. */
  .user-dashboard-page .dashboard-sidebar{
    position:sticky;
    top:76px;
    z-index:12;
    display:flex;
    align-items:center;
    gap:9px;
    max-width:100%;
    padding:9px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    border-radius:13px;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(12px);
  }
  .user-dashboard-page .dashboard-user{
    flex:0 0 auto;
    min-width:205px;
    padding:8px 11px;
    border:0;
    border-right:1px solid var(--line);
  }
  .user-dashboard-page .dashboard-user .avatar{width:38px;height:38px}
  .user-dashboard-page .dashboard-nav{
    display:flex!important;
    grid-template-columns:none!important;
    flex:0 0 auto;
    gap:6px;
    padding:0;
  }
  .user-dashboard-page .dashboard-nav a{
    flex:0 0 auto;
    min-width:108px;
    min-height:44px;
    justify-content:flex-start!important;
    padding:10px 12px;
    white-space:nowrap;
  }
  .user-dashboard-page .dashboard-nav a span{display:inline!important}

  /* Keep the desktop three-card statistics row and allow a deliberate swipe. */
  .user-dashboard-page .stats-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(225px,78vw);
    gap:12px;
    max-width:100%;
    padding-bottom:5px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }

  /* Order summaries retain their desktop columns. Only the order row scrolls;
     released access remains full-width below it. */
  .user-dashboard-page .order-card-expanded{overflow:hidden}
  .user-dashboard-page .order-card-table-scroll{width:100%}
  .user-dashboard-page .order-card-table-scroll .order-card-head,
  .user-dashboard-page .order-card-table-scroll .order-card-body{min-width:690px}
  .user-dashboard-page .order-card-table-scroll .order-card-head{align-items:center}
  .user-dashboard-page .order-card-table-scroll .order-card-body{
    grid-template-columns:minmax(245px,1fr) 120px 130px 165px!important;
  }
  .user-dashboard-page .dashboard-access-grid{
    grid-template-columns:none!important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(275px,82vw);
    overflow-x:auto;
    padding-bottom:5px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }

  /* Cart and order-item tables stay identical to the desktop table and use a
     contained horizontal scrollbar instead of turning into stacked cards. */
  .user-cart-page .cart-table-scroll,
  .user-order-page .order-items-scroll{
    width:100%;
    max-width:100%;
    overflow-x:auto!important;
    overflow-y:visible!important;
    border:1px solid #e5eaf0;
    border-radius:12px;
    background:#fff;
  }
  .user-cart-page .cart-table,
  .user-order-page .order-items-table{
    display:table!important;
    width:100%!important;
    border-collapse:collapse!important;
    background:#fff;
  }
  .user-cart-page .cart-table{min-width:700px!important}
  .user-order-page .order-items-table{min-width:590px!important}
  .user-cart-page .cart-table thead,
  .user-order-page .order-items-table thead{display:table-header-group!important}
  .user-cart-page .cart-table tbody,
  .user-order-page .order-items-table tbody{display:table-row-group!important}
  .user-cart-page .cart-table tr,
  .user-order-page .order-items-table tr{
    display:table-row!important;
    width:auto!important;
    padding:0!important;
    border:0!important;
  }
  .user-cart-page .cart-table th,
  .user-cart-page .cart-table td,
  .user-order-page .order-items-table th,
  .user-order-page .order-items-table td{
    display:table-cell!important;
    width:auto!important;
    padding:13px 12px!important;
    border-bottom:1px solid #edf0ed!important;
    text-align:left!important;
    white-space:normal!important;
    vertical-align:middle!important;
  }
  .user-cart-page .cart-table td::before,
  .user-order-page .order-items-table td::before{display:none!important;content:none!important}
  .user-cart-page .cart-table th:first-child,
  .user-cart-page .cart-table td:first-child{position:sticky;left:0;z-index:2;min-width:245px;background:#fff;box-shadow:1px 0 0 #e7ebf0}
  .user-cart-page .cart-table th:first-child{z-index:3;background:#f8fafc}
  .user-cart-page .cart-table th:nth-child(2),.user-cart-page .cart-table td:nth-child(2){min-width:105px}
  .user-cart-page .cart-table th:nth-child(3),.user-cart-page .cart-table td:nth-child(3){min-width:145px}
  .user-cart-page .cart-table th:nth-child(4),.user-cart-page .cart-table td:nth-child(4){min-width:115px}
  .user-cart-page .cart-table th:nth-child(5),.user-cart-page .cart-table td:nth-child(5){min-width:90px}
  .user-order-page .order-items-table th:first-child,
  .user-order-page .order-items-table td:first-child{position:sticky;left:0;z-index:2;min-width:220px;background:#fff;box-shadow:1px 0 0 #e7ebf0}
  .user-order-page .order-items-table th:first-child{z-index:3;background:#f8fafc}

  /* Checkout keeps the desktop payment choices in one horizontally scrollable
     row rather than changing their visual hierarchy. */
  .user-checkout-page .payment-method-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(300px,84vw);
    overflow-x:auto;
    max-width:100%;
    padding:3px 3px 8px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
  .user-checkout-page .payment-method-option{min-height:86px!important}

  /* Desktop-style support cards stay in one row and scroll only inside the
     support section on narrow screens. */
  .user-support-page .support-grid{
    display:grid!important;
    grid-template-columns:none!important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(270px,82vw);
    overflow-x:auto;
    padding-bottom:6px;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
  }
}

@media(max-width:420px){
  .main-nav{width:min(332px,calc(100vw - 24px))!important}
  .cart-drawer{width:calc(100vw - 24px);right:8px}
  .user-dashboard-page .dashboard-user{min-width:185px}
  .user-dashboard-page .dashboard-nav a{min-width:102px}
  .user-dashboard-page .order-card-table-scroll .order-card-head,
  .user-dashboard-page .order-card-table-scroll .order-card-body{min-width:650px}
}

/* v1.7.8 drawer overflow guard: keep the closed navigation inside the viewport
   so it cannot create a sideways page scroll before it is opened. */
@media(max-width:820px){
  .main-nav{
    transform:scale(.985) translateY(4px)!important;
    transform-origin:top right!important;
    pointer-events:none;
  }
  .main-nav.open{transform:scale(1) translateY(0)!important;pointer-events:auto}
}
/* v1.7.8: mobile fixed drawers must use the viewport, not the sticky header as
   their containing block. Disabling header backdrop blur on phones fixes that. */
@media(max-width:820px){
  .site-header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}

/* Premium Shop v1.8.0 — responsive hero, benefit marquee, category images,
   timeline process, and balanced mobile footer. */

/* Slider items share one grid cell so the carousel automatically grows to the
   tallest content or uploaded image instead of clipping it at a fixed height. */
.commerce-slides{display:grid;min-height:0!important}
.commerce-slide{
  position:relative!important;
  inset:auto!important;
  grid-area:1/1;
  min-height:470px;
  gap:28px;
  pointer-events:none;
}
.commerce-slide.is-active{pointer-events:auto}
.commerce-slide-art{min-height:360px;overflow:visible}
.commerce-custom-hero-image{
  width:min(100%,540px)!important;
  height:400px!important;
  padding:8px;
  display:flex!important;
  align-items:center;
  justify-content:center;
}
.commerce-custom-hero-image img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Compact continuous benefits marquee. */
.commerce-benefit-marquee{margin-top:15px}
.commerce-benefit-viewport{
  overflow:hidden;
  border:1px solid var(--ux-line);
  border-radius:13px;
  background:#fff;
  box-shadow:var(--ux-shadow-soft);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
.commerce-benefit-track{
  display:flex;
  width:max-content;
  padding:10px 0;
  animation:commerce-benefit-scroll 24s linear infinite;
  will-change:transform;
}
.commerce-benefit-group{display:flex;flex:none;gap:10px;padding-right:10px}
.commerce-benefit-pill{
  min-width:210px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:9px 14px;
  border:1px solid #e5eaf2;
  border-radius:999px;
  background:linear-gradient(180deg,#fff,#f8faff);
  box-shadow:0 4px 12px rgba(29,56,96,.045);
}
.commerce-benefit-pill i{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--ux-blue-soft);color:var(--ux-blue);font-size:14px;font-style:normal}
.commerce-benefit-pill strong,.commerce-benefit-pill small{display:block;white-space:nowrap}
.commerce-benefit-pill strong{font-size:10px;color:#162033}
.commerce-benefit-pill small{font-size:8px;color:#8791a0;margin-top:2px}
.commerce-benefit-viewport:hover .commerce-benefit-track,.commerce-benefit-viewport:focus-within .commerce-benefit-track{animation-play-state:paused}
@keyframes commerce-benefit-scroll{to{transform:translateX(-50%)}}

/* Category cards now use admin-uploaded images and a neutral visual fallback. */
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.category-card{padding:0!important;overflow:hidden;min-width:0;display:flex!important;flex-direction:column;background:#fff}
.category-media{height:138px;display:grid;place-items:center;padding:16px;background:linear-gradient(145deg,#f7f9ff,#eef3fb);border-bottom:1px solid #e9edf4;overflow:hidden}
.category-media img{width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .25s ease}
.category-media svg{width:58px;height:58px;fill:none;stroke:#91a5ca;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.category-card:hover .category-media img{transform:scale(1.045)}
.category-card-copy{display:block;padding:15px 16px 17px}
.category-card-copy strong{font-size:13px}
.category-card-copy small{font-size:10px}

/* Admin category image controls. */
.category-branding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.category-branding-field{min-width:0}
.category-branding-field>label{display:block;margin-bottom:7px;font-size:11px;font-weight:800;color:var(--admin-text)}
.category-branding-layout{height:100%;grid-template-columns:120px minmax(0,1fr)}
.category-branding-preview{width:120px;height:92px}

/* Light alternating timeline based on the supplied process reference. */
.process-timeline-section{background:linear-gradient(180deg,#fff,#f7f9fc)!important;color:#172033!important;border-top:1px solid #edf0f5}
.process-timeline-shell{max-width:1040px}
.process-timeline-intro{text-align:center;max-width:760px;margin:0 auto 48px}
.process-timeline-intro .eyebrow{color:var(--ux-blue)}
.process-timeline-intro h2{font-size:clamp(31px,4.4vw,50px);line-height:1.05;letter-spacing:-.045em;margin:13px 0 16px;color:#111827}
.process-timeline-intro p{max-width:680px;margin:0 auto 23px;color:#667286;font-size:14px;line-height:1.7}
.process-timeline-list{position:relative;display:grid;gap:4px}
.process-timeline-list::before{content:"";position:absolute;top:36px;bottom:36px;left:50%;width:3px;transform:translateX(-50%);border-radius:999px;background:linear-gradient(#9eb9f6,#2f6de4,#9eb9f6)}
.process-timeline-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);align-items:center;min-height:150px;gap:16px}
.process-timeline-marker{grid-column:2;grid-row:1;z-index:2;display:grid;place-items:center}
.process-timeline-marker span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:6px solid #dce7ff;color:var(--ux-blue);font-size:13px;font-weight:900;box-shadow:0 5px 18px rgba(31,91,216,.16)}
.process-timeline-card{max-width:390px;padding:18px 20px;border:1px solid #e1e7f0;border-radius:15px;background:#fff;box-shadow:0 12px 30px rgba(27,51,88,.07)}
.process-timeline-card small{display:block;margin-bottom:5px;color:var(--ux-blue);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.process-timeline-card strong{display:block;font-size:15px;color:#172033}
.process-timeline-card p{margin:7px 0 0;color:#6f7a8c;font-size:11px;line-height:1.6}
.process-timeline-visual{display:grid;place-items:center}
.process-timeline-visual svg{width:78px;height:78px;padding:15px;border:1px solid #dce5f4;border-radius:50%;background:#fff;fill:none;stroke:#7395d8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 8px 22px rgba(31,91,216,.06)}
.process-timeline-item.is-right .process-timeline-visual{grid-column:1;grid-row:1;justify-self:end}
.process-timeline-item.is-right .process-timeline-card{grid-column:3;grid-row:1;justify-self:start;text-align:left}
.process-timeline-item.is-left .process-timeline-card{grid-column:1;grid-row:1;justify-self:end;text-align:right}
.process-timeline-item.is-left .process-timeline-visual{grid-column:3;grid-row:1;justify-self:start}

/* Preserve the desktop footer structure while distributing phone content instead
   of stacking every section against the left edge. */
.site-footer .brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}

@media(max-width:980px){
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .commerce-slide{min-height:500px}
  .commerce-slide-art{min-height:320px}
  .commerce-custom-hero-image{height:350px!important}
}

@media(max-width:820px){
  .commerce-slide{grid-template-columns:1fr!important;min-height:0!important;gap:8px;padding:34px 24px 68px!important}
  .commerce-slide-art{min-height:270px!important}
  .commerce-custom-hero-image{height:270px!important;width:min(100%,500px)!important}
  .commerce-slider-nav{bottom:22px}
  .process-timeline-list::before{left:25px;transform:none}
  .process-timeline-item{grid-template-columns:50px minmax(0,1fr);gap:13px;min-height:0;padding:9px 0}
  .process-timeline-marker,.process-timeline-item.is-right .process-timeline-marker,.process-timeline-item.is-left .process-timeline-marker{grid-column:1;grid-row:1;align-self:start;padding-top:15px}
  .process-timeline-marker span{width:38px;height:38px;border-width:5px}
  .process-timeline-card,.process-timeline-item.is-right .process-timeline-card,.process-timeline-item.is-left .process-timeline-card{grid-column:2;grid-row:1;justify-self:stretch;max-width:none;text-align:left}
  .process-timeline-visual{display:none!important}
}

@media(max-width:680px){
  .commerce-custom-hero-image{height:250px!important}
  .commerce-benefit-marquee{width:100%;margin-top:12px;padding-inline:10px}
  .commerce-benefit-pill{min-width:188px;padding:8px 12px}
  .commerce-benefit-pill i{width:28px;height:28px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
  .category-media{height:112px;padding:12px}
  .category-card-copy{padding:12px 13px 14px}
  .category-branding-grid{grid-template-columns:1fr}
  .category-branding-layout{grid-template-columns:1fr}
  .category-branding-preview{width:100%;height:150px}
  .process-timeline-intro{margin-bottom:30px}
  .process-timeline-intro h2{font-size:32px}
  .process-timeline-intro p{font-size:12px}
  .process-timeline-card{padding:15px 16px}
  .site-footer{padding-top:38px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 16px!important;padding-bottom:34px!important;text-align:center}
  .footer-grid>div{min-width:0;align-items:center!important}
  .footer-grid>div:first-child{grid-column:1/-1;display:flex;flex-direction:column;align-items:center}
  .footer-grid>div:first-child p{margin:14px auto 0;max-width:330px}
  .footer-grid>div:nth-child(4){grid-column:1/-1}
  .brand-footer{justify-content:center}
  .footer-grid h4{margin-bottom:11px}
  .footer-grid a,.footer-grid span{overflow-wrap:anywhere}
  .footer-bottom{align-items:center!important;text-align:center;gap:10px!important;padding:17px 0 22px!important}
}

@media(max-width:460px){
  .commerce-slide{padding:29px 17px 62px!important}
  .commerce-slide-copy h1{font-size:30px!important}
  .commerce-slide-copy p{margin-top:14px;margin-bottom:18px}
  .commerce-slide-actions{gap:8px}
  .commerce-slide-actions .button{min-height:40px;padding-inline:13px;font-size:11px}
  .commerce-slide-art{min-height:230px!important}
  .commerce-custom-hero-image{height:230px!important;padding:0}
  .category-media{height:100px}
  .process-timeline-item{grid-template-columns:44px minmax(0,1fr);gap:10px}
  .process-timeline-list::before{left:21px}
  .process-timeline-marker span{width:34px;height:34px;border-width:4px;font-size:11px}
  .process-timeline-card strong{font-size:13px}
  .process-timeline-card p{font-size:10px}
}

@media(prefers-reduced-motion:reduce){
  .commerce-benefit-track{animation:none}
  .commerce-benefit-group[aria-hidden="true"]{display:none}
  .commerce-benefit-viewport{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
}

/* Premium Shop account access redesign v1.8.1 */
.account-auth-body{
  --auth-accent:#2463d8;
  --auth-accent-soft:#e9f0ff;
  --auth-dark:#071a2a;
  --auth-dark-2:#0c2a3d;
  --auth-gold:#ddb85b;
  min-width:320px;
  min-height:100vh;
  overflow-x:hidden;
  background:#edf2f8;
  color:#102033;
}
.account-auth-body.account-auth-admin{--auth-accent:#d7aa42;--auth-accent-soft:#fff5d9;--auth-dark:#061a29;--auth-dark-2:#0c3046}
.account-auth-backdrop{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(circle at 8% 4%,rgba(36,99,216,.11),transparent 30%),radial-gradient(circle at 90% 92%,rgba(221,184,91,.11),transparent 28%),linear-gradient(145deg,#f6f8fb,#e9eef5)}
.account-auth-backdrop span{position:absolute;border:1px solid rgba(67,98,132,.09);border-radius:50%}
.account-auth-backdrop span:nth-child(1){width:380px;height:380px;left:-170px;top:-180px}
.account-auth-backdrop span:nth-child(2){width:620px;height:620px;right:-310px;bottom:-350px}
.account-auth-backdrop span:nth-child(3){width:190px;height:190px;right:8%;top:5%;border-color:rgba(36,99,216,.07)}
.account-auth-page{position:relative;z-index:1;min-height:100vh;display:grid;place-items:center;padding:28px}
.account-auth-shell{width:min(1160px,100%);min-height:700px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr);overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:30px;background:#fff;box-shadow:0 32px 90px rgba(24,45,72,.17)}
.account-auth-showcase{position:relative;isolation:isolate;display:flex;min-width:0;flex-direction:column;overflow:hidden;padding:38px 42px 31px;background:linear-gradient(145deg,var(--auth-dark) 0%,var(--auth-dark-2) 70%,#15445a 100%);color:#fff}
.account-auth-showcase::before{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(circle at 86% 11%,rgba(91,157,255,.25),transparent 27%),radial-gradient(circle at 18% 80%,rgba(221,184,91,.16),transparent 31%)}
.account-auth-showcase::after{content:"";position:absolute;z-index:-1;width:480px;height:480px;right:-250px;bottom:-260px;border:1px solid rgba(255,255,255,.11);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}
.account-auth-showcase-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.account-auth-brand{display:inline-flex;align-items:center;min-width:0;gap:12px;color:#fff;text-decoration:none}
.account-auth-logo{width:45px;height:45px;display:grid;place-items:center;flex:none;overflow:hidden;border:1px solid rgba(255,255,255,.32);border-radius:14px;background:#fff;color:var(--auth-dark);font-size:20px;box-shadow:0 12px 26px rgba(0,0,0,.2)}
.account-auth-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.account-auth-brand>span:last-child{min-width:0;display:flex;flex-direction:column;line-height:1.05}
.account-auth-brand strong{max-width:250px;overflow:hidden;color:#fff;font-size:16px;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.02em}
.account-auth-brand small{margin-top:5px;color:#b7cad8;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.account-auth-portal-chip{display:inline-flex;align-items:center;min-height:29px;padding:0 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.08);color:#d8e7ef;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(10px)}
.account-auth-showcase-copy{position:relative;z-index:2;max-width:560px;margin-top:62px}
.account-auth-kicker{display:inline-flex;align-items:center;gap:9px;color:#7db4ff;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.account-auth-kicker::before{content:"";width:24px;height:1px;background:currentColor}
.account-auth-admin .account-auth-kicker{color:var(--auth-gold)}
.account-auth-showcase-copy h1{max-width:590px;margin:16px 0 17px;color:#fff;font-size:clamp(37px,4.1vw,56px);line-height:1.02;letter-spacing:-.055em}
.account-auth-showcase-copy p{max-width:530px;margin:0;color:#c0d2de;font-size:13px;line-height:1.75}
.account-auth-showcase-foot{position:relative;z-index:2;display:flex;align-items:center;gap:10px;margin-top:auto;color:#90acbb;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.account-auth-showcase-foot span:nth-child(2){color:var(--auth-gold)}

.account-auth-account-scene{position:relative;z-index:1;width:min(525px,96%);height:280px;margin:31px auto 24px;perspective:1100px}
.account-scene-orbit{position:absolute;border:1px solid rgba(122,183,255,.22);border-radius:50%;transform:rotate(-8deg)}
.account-scene-orbit.orbit-one{width:440px;height:220px;left:43px;top:44px}
.account-scene-orbit.orbit-two{width:330px;height:165px;left:97px;top:71px;border-color:rgba(221,184,91,.19);transform:rotate(12deg)}
.account-scene-main,.account-scene-card{position:absolute;border:1px solid rgba(255,255,255,.17);background:linear-gradient(150deg,rgba(255,255,255,.19),rgba(255,255,255,.075));box-shadow:0 25px 50px rgba(0,0,0,.24);backdrop-filter:blur(14px)}
.account-scene-main{z-index:3;width:320px;left:101px;top:36px;padding:22px;border-radius:24px;transform:rotateX(2deg) rotateY(-5deg)}
.scene-main-head{display:flex;align-items:center;gap:12px}.scene-main-logo{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#1f5ecd;font-size:18px}.scene-main-head span:last-child{display:flex;flex-direction:column}.scene-main-head small{color:#aac1cf;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.scene-main-head strong{margin-top:4px;color:#fff;font-size:13px}
.scene-main-lines{display:grid;gap:10px;margin:27px 0}.scene-main-lines i{height:8px;border-radius:99px;background:rgba(255,255,255,.12)}.scene-main-lines i:nth-child(1){width:92%}.scene-main-lines i:nth-child(2){width:72%}.scene-main-lines i:nth-child(3){width:84%}
.scene-main-foot{display:flex;gap:7px;flex-wrap:wrap}.scene-main-foot span{padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.07);color:#d6e4ec;font-size:8px;font-weight:800}
.account-scene-card{z-index:2;width:210px;display:flex;align-items:center;gap:11px;padding:15px;border-radius:18px}.account-scene-card .scene-card-icon{width:37px;height:37px;display:grid;place-items:center;flex:none;border-radius:11px;background:#fff;color:#255fd0;font-weight:900}.account-scene-card>span:last-child{display:flex;flex-direction:column}.account-scene-card small{color:#a9bfcc;font-size:8px;text-transform:uppercase}.account-scene-card strong{margin-top:3px;color:#fff;font-size:10px}.scene-card-back{left:2px;top:50px;transform:rotate(-9deg)}.scene-card-mid{right:-1px;bottom:36px;transform:rotate(8deg)}

.admin-store-scene{position:relative;z-index:2;width:min(545px,100%);margin:34px auto 25px;perspective:1000px}
.admin-store-window{overflow:hidden;border:1px solid rgba(255,255,255,.17);border-radius:22px;background:rgba(255,255,255,.1);box-shadow:0 27px 55px rgba(0,0,0,.27);backdrop-filter:blur(15px);transform:rotateX(3deg) rotateY(-3deg)}
.admin-store-window-head{height:42px;display:flex;align-items:center;gap:7px;padding:0 15px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04)}
.admin-store-window-head>span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.32)}.admin-store-window-head b{margin-left:7px;color:#b9ced9;font-size:9px;font-weight:800}
.admin-store-window-body{min-height:225px;display:grid;grid-template-columns:57px minmax(0,1fr)}
.admin-store-sidebar{display:grid;align-content:start;gap:12px;padding:22px 15px;border-right:1px solid rgba(255,255,255,.09)}.admin-store-sidebar i{width:25px;height:25px;border-radius:8px;background:rgba(255,255,255,.09)}.admin-store-sidebar i:first-child{background:rgba(221,184,91,.8)}
.admin-store-content{padding:18px}.admin-store-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.admin-store-overview span{padding:11px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.06)}.admin-store-overview small,.admin-store-overview strong{display:block}.admin-store-overview small{color:#9eb7c4;font-size:7px}.admin-store-overview strong{margin-top:7px;color:#fff;font-size:18px}
.admin-store-products{display:grid;gap:7px;margin-top:13px}.admin-store-products>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:rgba(255,255,255,.045)}.admin-store-products b{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#fff;color:#1b5bc7;font-size:10px}.admin-store-products span{display:flex;min-width:0;flex-direction:column}.admin-store-products small{color:#8eabb9;font-size:7px}.admin-store-products strong{margin-top:2px;overflow:hidden;color:#e8f0f4;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.admin-store-products em{padding:4px 6px;border-radius:99px;background:rgba(73,194,132,.15);color:#8ae0b0;font-size:6px;font-style:normal;font-weight:900;text-transform:uppercase}

.account-auth-panel{display:grid;min-width:0;place-items:center;padding:46px 52px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.account-auth-form-card{width:min(420px,100%)}
.account-auth-mobile-head{display:none;align-items:center;justify-content:space-between;gap:14px;margin-bottom:32px}.account-auth-mobile-head .account-auth-brand strong{color:#102033}.account-auth-mobile-head .account-auth-brand small{color:#718095}.account-auth-mobile-head .account-auth-logo{border-color:#dce3ec;background:#fff}.account-auth-mobile-head>a{color:#2863cc;font-size:10px;font-weight:800;text-decoration:none}
.account-auth-form-heading{margin-bottom:26px}.account-auth-form-heading.is-centered{text-align:center}.account-auth-form-heading.is-centered .account-auth-kicker{justify-content:center}.account-auth-form-heading h2{margin:10px 0 9px;color:#101f31;font-size:34px;line-height:1.08;letter-spacing:-.045em}.account-auth-form-heading p{margin:0;color:#6e7c8c;font-size:12px;line-height:1.65}.account-auth-form-heading p strong{color:#1a2b40;overflow-wrap:anywhere}
.account-auth-notice{margin:0 0 18px!important;border-radius:13px!important;font-size:11px!important;line-height:1.55}
.account-auth-form{display:grid;gap:17px}.account-auth-form .field{display:grid;gap:8px}.account-auth-form .field>label,.account-auth-label-row label{color:#243449;font-size:10px;font-weight:850;letter-spacing:.01em}.account-auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.account-auth-label-row a{color:#2863cc;font-size:9px;font-weight:850;text-decoration:none}.account-auth-label-row a:hover{text-decoration:underline}
.account-auth-input{position:relative;display:flex!important;align-items:center;width:100%;min-height:52px;overflow:hidden;border:1px solid #d8e0e9;border-radius:13px;background:#f9fbfd;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.account-auth-input:focus-within{border-color:var(--auth-accent);background:#fff;box-shadow:0 0 0 4px color-mix(in srgb,var(--auth-accent) 11%,transparent)}
.account-auth-input>span:first-child{position:absolute;z-index:2;left:14px;width:20px;height:20px;display:grid;place-items:center;color:#8493a4}.account-auth-input>span:first-child svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-auth-input>input{width:100%;min-height:50px!important;margin:0!important;padding:0 48px 0 45px!important;border:0!important;outline:0!important;background:transparent!important;color:#13243a!important;font-size:12px!important;box-shadow:none!important}.account-auth-input>input::placeholder{color:#9aa6b4}.account-auth-input.password-input-wrap>input{padding-right:52px!important}.account-auth-input .password-visibility-toggle{right:8px;color:#718094}.account-auth-input .password-visibility-toggle:hover{background:#edf2f7;color:#17304c}
.account-auth-captcha .captcha-wrap{min-height:70px;border:1px dashed #cfd8e3;border-radius:13px;background:#f8fafc}.account-auth-submit{width:100%;min-height:51px!important;margin-top:1px;border-radius:13px!important;background:linear-gradient(135deg,#1f5ed0,#2d72ec)!important;color:#fff!important;box-shadow:0 13px 26px rgba(36,99,216,.24)!important;font-size:11px!important;letter-spacing:.01em}.account-auth-submit:hover{background:linear-gradient(135deg,#194eaf,#2463d8)!important}.account-auth-admin .account-auth-submit{background:linear-gradient(135deg,#10283b,#173f58)!important;box-shadow:0 13px 26px rgba(6,27,42,.22)!important}.account-auth-submit span{font-size:17px;line-height:1}
.account-auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0 14px;color:#8c98a6;font-size:9px;font-weight:750}.account-auth-divider::before,.account-auth-divider::after{content:"";height:1px;flex:1;background:#e4e9ef}.account-auth-secondary{min-height:48px;display:flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #d8e0e9;border-radius:13px;background:#fff;color:#21344a;font-size:10px;font-weight:850;text-align:center;text-decoration:none;transition:.18s ease}.account-auth-secondary:hover{border-color:#bac7d6;background:#f8fafc;transform:translateY(-1px)}
.account-auth-small-links{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;color:#8995a3;font-size:8px;line-height:1.55;text-align:center}.account-auth-small-links a{color:#63758a;text-decoration:none}.account-auth-small-links a:hover{color:#235fcf;text-decoration:underline}

.account-auth-recovery-shell{min-height:660px}.account-auth-recovery-showcase .account-auth-showcase-copy{margin-top:55px}.recovery-mail-scene{position:relative;width:min(430px,90%);height:220px;margin:37px auto 30px}.recovery-mail-ring{position:absolute;width:215px;height:215px;left:50%;top:50%;border:1px solid rgba(117,179,255,.26);border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.016)}.recovery-mail-card{position:absolute;z-index:2;left:50%;top:50%;width:300px;display:flex;align-items:center;gap:15px;padding:20px;border:1px solid rgba(255,255,255,.2);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.08));box-shadow:0 25px 45px rgba(0,0,0,.23);transform:translate(-50%,-50%) rotate(-3deg);backdrop-filter:blur(14px)}.recovery-mail-card>span{width:50px;height:50px;display:grid;place-items:center;flex:none;border-radius:15px;background:#fff;color:#2261d4;font-size:23px}.recovery-mail-card>div{display:flex;min-width:0;flex:1;flex-direction:column}.recovery-mail-card small{color:#a9bfcc;font-size:8px;text-transform:uppercase;letter-spacing:.09em}.recovery-mail-card strong{margin:4px 0 12px;color:#fff;font-size:12px}.recovery-mail-card i{height:6px;margin-top:6px;border-radius:99px;background:rgba(255,255,255,.12)}.recovery-mail-card i:last-child{width:70%}.recovery-mail-lock{position:absolute;z-index:3;right:28px;bottom:21px;width:55px;height:55px;display:grid;place-items:center;border:4px solid var(--auth-dark-2);border-radius:18px;background:var(--auth-gold);color:#10273a;font-size:25px;font-weight:900;transform:rotate(7deg)}
.account-auth-success-icon{width:72px;height:72px;display:grid;place-items:center;margin:0 auto 18px;border-radius:22px;background:var(--auth-accent-soft);color:var(--auth-accent);font-size:29px;box-shadow:0 13px 30px rgba(36,99,216,.11)}
.recovery-password-scene{position:relative;width:min(410px,90%);height:215px;margin:35px auto 30px}.recovery-password-shield{position:absolute;z-index:1;left:50%;top:0;width:105px;height:115px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:34px 34px 46px 46px;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.07));color:var(--auth-gold);font-size:34px;transform:translateX(-50%);box-shadow:0 23px 45px rgba(0,0,0,.2)}.recovery-password-field{position:absolute;z-index:2;left:50%;bottom:29px;width:300px;height:68px;display:flex;align-items:center;gap:11px;padding:0 18px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.13);transform:translateX(-50%);backdrop-filter:blur(13px);box-shadow:0 20px 45px rgba(0,0,0,.23)}.recovery-password-field i{width:9px;height:9px;border-radius:50%;background:#fff}.recovery-password-field span{width:32px;height:32px;display:grid;place-items:center;margin-left:auto;border-radius:10px;background:#6bd19a;color:#0b3e27;font-weight:900}.recovery-password-label{position:absolute;left:50%;bottom:0;color:#91adbb;font-size:8px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;transform:translateX(-50%)}
.account-auth-password-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:13px 14px;border:1px solid #dfe6ee;border-radius:12px;background:#f8fafc;color:#718093;font-size:8px;line-height:1.45}.account-auth-password-rules strong{grid-column:1/-1;color:#34465c;font-size:9px}.account-auth-password-rules span::before{content:"✓";margin-right:5px;color:#2c8b57;font-weight:900}
.account-auth-expired{display:grid;justify-items:center;margin:4px 0 22px;padding:22px;border:1px solid #ead8d4;border-radius:16px;background:#fff8f6;text-align:center}.account-auth-expired>span{width:43px;height:43px;display:grid;place-items:center;margin-bottom:10px;border-radius:13px;background:#f8e3de;color:#a14335;font-size:20px;font-weight:900}.account-auth-expired strong{font-size:13px}.account-auth-expired p{margin:7px 0 0;color:#7b6e6b;font-size:10px;line-height:1.55}

@media(max-width:1050px){
  .account-auth-page{padding:18px}.account-auth-shell{min-height:650px;grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);border-radius:24px}.account-auth-showcase{padding:32px}.account-auth-showcase-copy{margin-top:46px}.account-auth-showcase-copy h1{font-size:42px}.account-auth-panel{padding:38px 35px}.account-auth-account-scene{transform:scale(.9);transform-origin:center}.admin-store-scene{transform:scale(.94);transform-origin:center}
}
@media(max-width:820px){
  .account-auth-backdrop{background:#f6f8fb}.account-auth-page{display:block;padding:0}.account-auth-shell,.account-auth-recovery-shell{width:100%;min-height:100vh;grid-template-columns:1fr;border:0;border-radius:0;box-shadow:none}.account-auth-showcase{display:none}.account-auth-panel{min-height:100vh;display:block;padding:26px 24px 42px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)}.account-auth-mobile-head{display:flex}.account-auth-form-card{width:min(480px,100%);margin:7vh auto 0}.account-auth-recovery-shell .account-auth-form-card{margin-top:5vh}.account-auth-form-heading h2{font-size:32px}.account-auth-form-heading p{font-size:12px}.account-auth-submit{min-height:52px!important}
}
@media(max-width:520px){
  .account-auth-panel{padding:19px 16px 32px}.account-auth-mobile-head{margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid #e8edf2}.account-auth-mobile-head .account-auth-brand{gap:9px}.account-auth-mobile-head .account-auth-logo{width:39px;height:39px;border-radius:12px}.account-auth-mobile-head .account-auth-brand strong{max-width:190px;font-size:14px}.account-auth-mobile-head .account-auth-brand small{font-size:8px}.account-auth-mobile-head>a{font-size:9px}.account-auth-form-card{margin-top:3.5vh}.account-auth-recovery-shell .account-auth-form-card{margin-top:2vh}.account-auth-form-heading{margin-bottom:22px}.account-auth-form-heading h2{font-size:28px}.account-auth-form-heading p{font-size:11px}.account-auth-kicker{font-size:9px}.account-auth-form{gap:15px}.account-auth-input{min-height:50px}.account-auth-input>input{min-height:48px!important;font-size:11px!important}.account-auth-submit{min-height:50px!important}.account-auth-password-rules{grid-template-columns:1fr}.account-auth-password-rules strong{grid-column:auto}.account-auth-small-links{flex-wrap:wrap}.account-auth-success-icon{width:64px;height:64px;border-radius:19px;font-size:25px}
}
@media(max-width:370px){
  .account-auth-panel{padding-inline:12px}.account-auth-mobile-head .account-auth-brand small{display:none}.account-auth-mobile-head>a{font-size:8px}.account-auth-form-heading h2{font-size:25px}.account-auth-label-row{align-items:flex-end}.account-auth-label-row a{font-size:8px}.account-auth-input>input{padding-left:42px!important}.account-auth-input>span:first-child{left:12px}
}
@media(prefers-reduced-motion:reduce){.account-auth-input,.account-auth-secondary,.account-auth-submit{transition:none!important}}

/* Premium Shop v1.8.2 — smooth portal presentation, clean navigation and editable login artwork. */
html{scroll-behavior:smooth;scroll-padding-top:96px}
[id]{scroll-margin-top:104px}
body{animation:ps-page-enter .34s ease both}
@keyframes ps-page-enter{from{opacity:.01}to{opacity:1}}
.ps-motion-ready .ps-reveal{opacity:0;transform:translateY(18px);transition:opacity .58s cubic-bezier(.22,1,.36,1),transform .58s cubic-bezier(.22,1,.36,1);transition-delay:var(--ps-reveal-delay,0ms);will-change:opacity,transform}
.ps-motion-ready .ps-reveal.is-visible{opacity:1;transform:none;will-change:auto}

/* Authentication links now live in the storefront navigation bar instead of the top action row. */
.desktop-nav-auth{margin-left:auto!important;padding:7px 14px!important;border:1px solid #d9e2ef!important;border-radius:9px!important;background:#fff!important;color:#1e3350!important;font-weight:800!important;text-decoration:none!important}
.desktop-nav-auth.desktop-nav-register{margin-left:-20px!important;border-color:#225ed5!important;background:#225ed5!important;color:#fff!important}
.desktop-nav-auth::after{display:none!important}
.desktop-nav-auth:hover{border-color:#225ed5!important;background:#eef4ff!important;color:#225ed5!important}
.desktop-nav-auth.desktop-nav-register:hover{background:#174fbf!important;color:#fff!important}

/* Admin-editable login page artwork. */
.account-auth-custom-media{position:relative;z-index:2;width:min(560px,100%);height:285px;display:grid;place-items:center;margin:30px auto 24px;padding:10px}
.account-auth-custom-media::before{content:"";position:absolute;inset:8% 4%;z-index:-1;border-radius:38px;background:radial-gradient(circle at center,rgba(99,157,245,.17),transparent 68%);filter:blur(4px)}
.account-auth-custom-media img{width:100%;height:100%;display:block;object-fit:contain;filter:drop-shadow(0 25px 38px rgba(0,0,0,.25))}
.account-auth-custom-media-admin::before{background:radial-gradient(circle at center,rgba(221,184,91,.18),transparent 68%)}

/* Settings controls for customer/admin login page copy and artwork. */
.login-customization-card{margin-top:16px}
.login-customization-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.login-customization-panel{min-width:0;padding:17px;border:1px solid var(--admin-line);border-radius:14px;background:linear-gradient(180deg,#fff,#fafbfd)}
.login-customization-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--admin-line)}
.login-customization-heading span{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:var(--admin-muted)}
.login-customization-heading strong{font-size:12px;color:var(--admin-text)}
.login-copy-fields{margin-top:14px}
.login-branding-preview{height:108px}

/* Preserve the desktop payment-method table on phones and provide touch scrolling. */
.payment-methods-table-wrap{position:relative;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#9fb2d7 #eef2f8}
.payment-methods-table-wrap::-webkit-scrollbar{height:8px}.payment-methods-table-wrap::-webkit-scrollbar-track{background:#eef2f8}.payment-methods-table-wrap::-webkit-scrollbar-thumb{background:#9fb2d7;border-radius:999px}
.payment-methods-table{min-width:1040px!important}
.payment-methods-table th,.payment-methods-table td{white-space:nowrap}
.payment-methods-table td:nth-child(1){min-width:230px}.payment-methods-table td:nth-child(2){min-width:210px}.payment-methods-table td:nth-child(4){min-width:190px}
.payment-methods-table-wrap.is-scrollable::after{content:"Swipe to view all columns →";position:sticky;left:12px;bottom:8px;display:inline-flex;margin:8px 12px;padding:6px 9px;border:1px solid #d8e1ef;border-radius:999px;background:rgba(255,255,255,.94);color:#64748b;font-size:8px;font-weight:800;letter-spacing:.03em;pointer-events:none;box-shadow:0 5px 14px rgba(33,55,91,.08)}
.payment-methods-table-wrap.is-scrolled-end::after{opacity:0}

@media(max-width:820px){
  /* Hide the desktop-only authentication buttons inside the mobile drawer.
     The proper mobile Sign in/Create account actions remain in .mobile-nav-account. */
  .main-nav > a.desktop-nav-auth{display:none!important}
  html{scroll-padding-top:76px}
  [id]{scroll-margin-top:82px}
  .account-auth-custom-media{height:230px}
  .login-customization-grid{grid-template-columns:1fr}
}

@media(max-width:680px){
  .payment-methods-admin-card .admin-card-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:13px!important}
  .payment-methods-admin-card .admin-card-head h2{font-size:13px!important;line-height:1.18}
  .payment-methods-admin-card .admin-card-head .admin-button{min-height:36px;padding-inline:13px}
  .payment-methods-table-wrap{margin:0!important;border-top:1px solid var(--admin-line)!important;border-bottom:0!important;background:#fff!important}
  .payment-methods-table{display:table!important;width:100%!important;min-width:1040px!important;border-collapse:collapse!important}
  .payment-methods-table thead{display:table-header-group!important}
  .payment-methods-table tbody{display:table-row-group!important}
  .payment-methods-table tr{display:table-row!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important}
  .payment-methods-table th{display:table-cell!important;padding:11px 13px!important}
  .payment-methods-table td{display:table-cell!important;padding:13px!important;text-align:left!important;border-bottom:1px solid #edf1f5!important;vertical-align:middle!important}
  .payment-methods-table td::before{display:none!important;content:none!important}
  .payment-methods-table td>*{max-width:none!important}
  .payment-methods-table .payment-method-admin-name{margin:0!important;text-align:left!important}
  .payment-methods-table .admin-row-actions{margin:0!important}
  .login-customization-panel{padding:13px}
  .login-customization-heading{align-items:flex-start;flex-direction:column;gap:3px}
}

@media(max-width:460px){
  .payment-methods-admin-card .admin-card-head{grid-template-columns:1fr!important}
  .payment-methods-admin-card .admin-card-head .admin-button{width:max-content}
  .account-auth-custom-media{height:205px;padding:0}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body{animation:none}
  .ps-motion-ready .ps-reveal{opacity:1!important;transform:none!important;transition:none!important}
}
