/* SORFPANEL v1.2 Mobile Full UI — progressive mobile layer */
@media (max-width: 768px){
  html{overflow-x:hidden}
  body{overflow-x:hidden;-webkit-text-size-adjust:100%}
  body.page-products,body.page-product{background:#f6f7f9!important}
  body.page-products main,body.page-product main{padding-bottom:calc(76px + env(safe-area-inset-bottom))}

  /* Catalog: compact native-mobile hierarchy */
  body.page-products .search-results-page{padding-top:0!important}
  body.page-products .search-results-shell{width:100%!important;max-width:none!important;padding:0 10px 18px!important}
  body.page-products .search-mobile-top{position:sticky!important;top:0!important;z-index:45!important;height:56px!important;margin:0 -10px!important;padding:8px 10px!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px);border-bottom:1px solid #eceef1!important}
  body.page-products .search-back{width:36px!important;height:40px!important;border:0!important;background:transparent!important}
  body.page-products .search-mobile-query{height:40px!important;border:1px solid #e0e3e8!important;border-radius:12px!important;background:#f4f5f7!important;box-shadow:none!important}
  body.page-products .search-mobile-query input{font-size:13px!important}
  body.page-products .search-breadcrumb,body.page-products .v2-search-tabs,body.page-products .v2-popular-searches{display:none!important}
  body.page-products .search-title-row{margin:13px 2px 8px!important;align-items:end!important}
  body.page-products .search-title-row h1{font-size:18px!important;line-height:1.22!important;letter-spacing:-.02em!important}
  body.page-products .search-title-row p{font-size:11px!important;margin-top:3px!important}
  body.page-products .search-eyebrow{font-size:9px!important;letter-spacing:.08em!important}
  body.page-products .search-view-tools{display:none!important}
  body.page-products .search-mobile-actions{position:sticky!important;top:56px!important;z-index:40!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important;margin:0 -10px 9px!important;padding:7px 10px!important;background:#fff!important;border-bottom:1px solid #eee!important}
  body.page-products .search-chip{height:38px!important;border:1px solid #e2e4e8!important;border-radius:10px!important;background:#fff!important;font-size:11px!important;font-weight:750!important;color:#30343b!important;box-shadow:none!important}
  body.page-products .search-chip .sp-icon{width:15px!important;height:15px!important}
  body.page-products .catalog-subcategories{gap:10px!important;margin:0 -10px!important;padding:7px 10px 13px!important;background:#fff!important;scroll-snap-type:x proximity}
  body.page-products .catalog-subcategories a{flex:0 0 72px!important;scroll-snap-align:start;font-size:10px!important;line-height:1.2!important;color:#30343b!important}
  body.page-products .catalog-subcategories a span{width:56px!important;height:56px!important;border:1px solid #eceef1!important;border-radius:50%!important;background:#fafafa!important}
  body.page-products .catalog-active-filters{margin:0 -10px 8px!important;padding:7px 10px!important;background:#fff!important}
  body.page-products .catalog-active-filters a{height:30px!important;border-radius:15px!important;font-size:10px!important}
  body.page-products .search-product-grid{gap:8px!important;padding-top:2px!important}
  body.page-products .search-product-grid .product-card,body.page-products .search-product-grid .sp-product-card{overflow:hidden!important;border:1px solid #e8eaed!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  body.page-products .search-product-grid .product-image,body.page-products .search-product-grid .sp-product-card__media{aspect-ratio:1/1.08!important;background:#fff!important}
  body.page-products .search-product-grid .product-card-body,body.page-products .search-product-grid .sp-product-card__body{padding:8px 8px 5px!important}
  body.page-products .search-product-grid .product-card h3,body.page-products .search-product-grid .sp-product-card__title{height:38px!important;min-height:38px!important;font-size:11px!important;line-height:1.35!important;color:#25282d!important}
  body.page-products .search-product-grid .price strong,body.page-products .search-product-grid .sp-product-card__price strong{font-size:15px!important;letter-spacing:-.02em!important}
  body.page-products .search-product-grid .favorite-float{width:31px!important;height:31px!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;box-shadow:0 1px 5px rgba(0,0,0,.1)!important}
  body.page-products .search-product-grid .product-actions,body.page-products .search-product-grid .sp-product-card__actions{padding:4px 7px 8px!important}
  body.page-products .search-product-grid .quick-add,body.page-products .search-product-grid .sp-product-card__add{height:33px!important;border-radius:8px!important;font-size:10px!important;font-weight:800!important}
  body.page-products .catalog-pagination{padding-bottom:8px!important}

  /* Product detail: content-first, thumb-friendly */
  body.page-product{padding-top:54px!important}
  body.page-product .mobile-product-toolbar{height:54px!important;padding:7px 9px!important;grid-template-columns:36px minmax(0,1fr) 36px 36px!important;gap:4px!important;border-bottom:1px solid #eceef1!important;box-shadow:none!important}
  body.page-product .mobile-product-toolbar .mpt-icon{width:36px!important;height:36px!important;min-width:36px!important}
  body.page-product .mpt-search{height:38px!important;border-radius:12px!important;background:#f4f5f7!important;border-color:#e1e4e8!important}
  body.page-product .mp-v1-page{background:#f5f6f8!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important}
  body.page-product .mp-v1-gallery{background:#fff!important;margin:0!important;border-radius:0 0 14px 14px!important;overflow:hidden!important}
  body.page-product .mp-v1-gallery>img{width:100%!important;max-height:390px!important;object-fit:contain!important;padding:8px 16px 4px!important;box-sizing:border-box!important}
  body.page-product .mp-v1-info,body.page-product .mp-v1-seller,body.page-product .mp-v1-delivery,body.page-product .mp-v1-section{margin:8px 9px 0!important;padding:13px!important;border:1px solid #e9ebee!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
  body.page-product .mp-v1-info h1{font-size:15px!important;line-height:1.38!important;margin:0 0 8px!important;color:#20242a!important}
  body.page-product .mp-v1-rating{font-size:11px!important;gap:6px!important}
  body.page-product .mp-v1-visitor{margin-top:8px!important;padding:7px 9px!important;border-radius:8px!important;background:#fff7f1!important;font-size:10px!important}
  body.page-product .mp-v1-seller-head{gap:8px!important;align-items:center!important}
  body.page-product .seller-follow-form button{min-height:34px!important;border-radius:9px!important;padding:0 10px!important}
  body.page-product .mp-v1-delivery p{font-size:11px!important;line-height:1.45!important}
  body.page-product .mp-v1-section h2{font-size:14px!important}
  body.page-product .mp-v1-features{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-product .mp-v1-features span{min-height:54px!important;padding:9px!important;border-radius:9px!important;background:#f7f8fa!important}
  body.page-product .mp-v1-bottom-campaign{left:9px!important;right:9px!important;bottom:calc(70px + env(safe-area-inset-bottom))!important;border-radius:11px!important}
  body.page-product .product-variant-option span{min-height:38px!important;border-radius:9px!important;padding:8px 11px!important}
  body.page-product .mobile-share-sheet{border-radius:18px 18px 0 0!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
}
@media (max-width:380px){
 body.page-products .search-product-grid{gap:6px!important}
 body.page-products .search-product-grid .product-card-body,body.page-products .search-product-grid .sp-product-card__body{padding-left:7px!important;padding-right:7px!important}
 body.page-product .mp-v1-gallery>img{max-height:340px!important}
}

/* v1.2 Mobile Full UI — shopping flow continuation */
@media (max-width:768px){
  body.page-cart,body.page-checkout{background:#f5f6f8!important;padding-bottom:calc(142px + env(safe-area-inset-bottom))!important}
  body.page-cart .ref-cart-page,body.page-checkout .sp-checkout-page{padding-left:9px!important;padding-right:9px!important}

  /* Cart */
  body.page-cart .ref-cart-header{height:54px!important;display:flex!important;align-items:center!important;margin:0 -9px 8px!important;padding:0 13px!important;border-bottom:1px solid #eceef1!important;background:#fff!important}
  body.page-cart .ref-cart-header h1{font-size:18px!important;line-height:1.2!important;letter-spacing:-.02em!important;color:#1f2328!important}
  body.page-cart .ref-cart-header h1 small{font-size:11px!important;color:#7a7f86!important;font-weight:650!important}
  body.page-cart .cart-plus-banner{margin:8px 0 10px!important;border-radius:12px!important;overflow:hidden!important;box-shadow:none!important}
  body.page-cart .ty-mobile-cart{display:grid!important;gap:9px!important}
  body.page-cart .ty-seller-card{margin:0!important;border:1px solid #e7e9ed!important;border-radius:13px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
  body.page-cart .ty-seller-head{min-height:58px!important;padding:9px 10px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important;align-items:center!important}
  body.page-cart .ty-store-logo{width:34px!important;height:34px!important;min-width:34px!important;border-radius:9px!important;font-size:10px!important;display:grid!important;place-items:center!important;background:#fff7f1!important;color:#ff6000!important;border:1px solid #ffe0ca!important;font-weight:900!important}
  body.page-cart .ty-store-main{min-width:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:6px!important;row-gap:1px!important;align-items:center!important}
  body.page-cart .ty-store-main>b{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;color:#22262b!important}
  body.page-cart .ty-seller-score{font-size:9px!important;padding:2px 5px!important;border-radius:5px!important;background:#eef8f2!important;color:#198754!important;font-weight:800!important}
  body.page-cart .ty-store-meta{grid-column:1/-1!important;font-size:9.5px!important;color:#858a90!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-cart .ty-shipping-band{height:34px!important;min-height:34px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;padding:0 10px!important;background:#edf9f3!important;color:#178754!important;font-size:10px!important;font-weight:750!important;border-top:1px solid #e7f5ed!important;border-bottom:1px solid #e7f5ed!important}
  body.page-cart .ty-shipping-band .sp-icon{width:15px!important;height:15px!important}
  body.page-cart .ty-cart-product{position:relative!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:9px!important;padding:11px 10px 12px!important;border-bottom:1px solid #eef0f2!important;align-items:start!important}
  body.page-cart .ty-cart-product:last-child{border-bottom:0!important}
  body.page-cart .ty-cart-product>a{display:block!important;width:76px!important;height:94px!important;border:1px solid #eceef1!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
  body.page-cart .ty-cart-image{width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:#fff!important}
  body.page-cart .ty-cart-info{min-width:0!important;padding-right:28px!important}
  body.page-cart .ty-cart-name{margin:0 0 5px!important;font-size:11.5px!important;line-height:1.38!important;color:#262a2f!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body.page-cart .ty-cart-delivery{margin:0 0 9px!important;font-size:9.5px!important;line-height:1.35!important;color:#178754!important}
  body.page-cart .ty-cart-row-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:auto!important}
  body.page-cart .ty-qty{height:32px!important;display:grid!important;grid-template-columns:31px 30px 31px!important;border:1px solid #e0e3e7!important;border-radius:9px!important;overflow:hidden!important;background:#fff!important}
  body.page-cart .ty-qty form,body.page-cart .ty-qty button,body.page-cart .ty-qty span{height:30px!important;min-height:30px!important}
  body.page-cart .ty-qty button{width:31px!important;border:0!important;background:#f7f8fa!important;color:#34383d!important;font-size:17px!important;line-height:1!important;padding:0!important}
  body.page-cart .ty-qty button:disabled{opacity:.35!important}
  body.page-cart .ty-qty span{display:grid!important;place-items:center!important;font-size:11px!important;font-weight:800!important;color:#2d3136!important;border-left:1px solid #eceef1!important;border-right:1px solid #eceef1!important}
  body.page-cart .ty-cart-price{font-size:14px!important;line-height:1!important;color:#ff6000!important;white-space:nowrap!important}
  body.page-cart .ty-remove-form{position:absolute!important;top:9px!important;right:8px!important}
  body.page-cart .ty-remove-btn{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;border:0!important;border-radius:50%!important;background:#f7f8fa!important;color:#777d84!important;padding:0!important;display:grid!important;place-items:center!important}
  body.page-cart .ty-remove-btn .sp-icon{width:15px!important;height:15px!important}
  body.page-cart .ty-cart-checkout-bar{left:0!important;right:0!important;bottom:calc(58px + env(safe-area-inset-bottom))!important;height:auto!important;min-height:68px!important;grid-template-columns:minmax(112px,40%) minmax(0,60%)!important;gap:8px!important;padding:8px 10px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(10px)!important;border-top:1px solid #e2e5e9!important;box-shadow:0 -5px 18px rgba(0,0,0,.08)!important}
  body.page-cart .ty-cart-total{padding-left:2px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}
  body.page-cart .ty-cart-total small{font-size:9.5px!important;color:#777d84!important}
  body.page-cart .ty-cart-total b{font-size:17px!important;line-height:1.1!important;color:#ff6000!important;white-space:nowrap!important}
  body.page-cart .ty-cart-checkout{min-height:50px!important;border-radius:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:13px!important;font-weight:850!important;background:#ff6000!important;color:#fff!important;text-decoration:none!important}
  body.page-cart .ty-cart-checkout .sp-icon{width:17px!important;height:17px!important}
  body.page-cart .empty-cart-block{margin:10px 0!important;padding:28px 17px!important;border:1px solid #e7e9ed!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
  body.page-cart .empty-cart-icon{width:60px!important;height:60px!important;margin:0 auto 12px!important;border-radius:18px!important;background:#fff3e9!important;color:#ff6000!important;display:grid!important;place-items:center!important}
  body.page-cart .empty-cart-icon .sp-icon{width:28px!important;height:28px!important}
  body.page-cart .empty-cart-block h2{font-size:17px!important;margin:0 0 5px!important}
  body.page-cart .empty-cart-block p{font-size:11px!important;color:#7d8289!important;margin:0 0 15px!important}
  body.page-cart .empty-cart-block .ref-primary-btn{min-height:44px!important;border-radius:10px!important;padding:0 18px!important}
  body.page-cart .recommend-card{margin-top:9px!important;border-radius:13px!important;border:1px solid #e7e9ed!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
  body.page-cart .recommend-card>header{padding:11px 12px!important}
  body.page-cart .recommend-card>header h2{font-size:14px!important}
  body.page-cart .recommend-list{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:0 10px 11px!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important}
  body.page-cart .recommend-list::-webkit-scrollbar{display:none!important}
  body.page-cart .recommend-item{flex:0 0 142px!important;scroll-snap-align:start!important;border:1px solid #eceef1!important;border-radius:11px!important;padding:7px!important;background:#fff!important}
  body.page-cart .recommend-item img{width:100%!important;aspect-ratio:1/1!important;object-fit:contain!important}

  /* Checkout */
  body.page-checkout .sp-checkout-page{padding-bottom:18px!important}
  body.page-checkout .sp-checkout-top{height:54px!important;display:flex!important;align-items:center!important;margin:0 -9px 7px!important;padding:0 13px!important;border-bottom:1px solid #eceef1!important;background:#fff!important}
  body.page-checkout .sp-checkout-title h1{font-size:18px!important;line-height:1.2!important;letter-spacing:-.02em!important}
  body.page-checkout .sp-checkout-steps{position:sticky!important;top:0!important;z-index:34!important;margin:0 -9px 8px!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid #eceef1!important;border-radius:0!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(10px)!important;overflow:visible!important;gap:5px!important}
  body.page-checkout .sp-checkout-step{min-height:36px!important;border:0!important;border-radius:9px!important;background:#f4f5f7!important;color:#8b9097!important;gap:4px!important;font-size:8.5px!important;white-space:nowrap!important}
  body.page-checkout .sp-checkout-step.is-active{background:#fff0e4!important;color:#ff6000!important}
  body.page-checkout .sp-checkout-step.is-done{background:#edf8f2!important;color:#16834f!important}
  body.page-checkout .sp-checkout-step b{width:17px!important;height:17px!important;font-size:8px!important}
  body.page-checkout .sp-checkout-main{gap:9px!important}
  body.page-checkout .sp-checkout-card,body.page-checkout .sp-checkout-consents,body.page-checkout .sp-checkout-summary{border:1px solid #e7e9ed!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
  body.page-checkout .sp-checkout-card{padding:13px!important}
  body.page-checkout .sp-checkout-card__head{margin-bottom:11px!important}
  body.page-checkout .sp-checkout-card__head h2{font-size:14px!important;line-height:1.25!important;color:#24282d!important}
  body.page-checkout .sp-checkout-card__head a{font-size:10px!important;color:#ff6000!important}
  body.page-checkout .sp-address-grid{gap:8px!important}
  body.page-checkout .sp-address-choice>span{padding:11px!important;border:1px solid #e4e7ea!important;border-radius:10px!important;background:#fff!important}
  body.page-checkout .sp-address-choice input:checked+span{padding:10px!important;border:2px solid #ff6000!important;background:#fffaf6!important}
  body.page-checkout .sp-address-choice b{font-size:11.5px!important;color:#24282d!important}
  body.page-checkout .sp-address-choice small,body.page-checkout .sp-address-choice em{font-size:9.5px!important;line-height:1.35!important;color:#737980!important}
  body.page-checkout .sp-address-choice .is-default{font-size:8px!important;border-radius:5px!important;padding:2px 5px!important}
  body.page-checkout .sp-field span{font-size:10px!important;font-weight:750!important;color:#555b62!important}
  body.page-checkout .sp-field input,body.page-checkout .sp-field select{height:43px!important;border:1px solid #dfe3e7!important;border-radius:9px!important;background:#fff!important;padding:0 11px!important;font-size:12px!important;box-shadow:none!important}
  body.page-checkout .sp-payment-options{display:grid!important;gap:8px!important}
  body.page-checkout .sp-payment-choice>span{min-height:58px!important;border-radius:10px!important;border-color:#e3e6e9!important;padding:10px!important}
  body.page-checkout .sp-payment-choice input:checked+span{padding:9px!important;border:2px solid #ff6000!important;background:#fffaf6!important}
  body.page-checkout .sp-payment-choice b{font-size:11.5px!important}
  body.page-checkout .sp-payment-choice small{font-size:9.5px!important;color:#7b8087!important}
  body.page-checkout .sp-payment-badge{font-size:8px!important;padding:3px 5px!important;border-radius:5px!important}
  body.page-checkout .sp-card-options{margin-top:9px!important}
  body.page-checkout .integration-warning{border-radius:9px!important;padding:10px!important;font-size:10px!important}
  body.page-checkout .sp-checkout-consents{margin-top:0!important;padding:10px 12px!important}
  body.page-checkout .sp-consent-row{gap:8px!important;padding:7px 0!important;font-size:10.5px!important;line-height:1.4!important}
  body.page-checkout .sp-consent-row input{width:18px!important;height:18px!important;min-width:18px!important}
  body.page-checkout .sp-checkout-summary{margin-top:9px!important;padding:13px!important}
  body.page-checkout .sp-checkout-summary h2{font-size:14px!important;margin-bottom:9px!important}
  body.page-checkout .sp-summary-items{max-height:none!important;overflow:visible!important}
  body.page-checkout .sp-checkout-item{grid-template-columns:44px minmax(0,1fr) auto!important;gap:8px!important;padding:8px 0!important}
  body.page-checkout .sp-checkout-item img{width:44px!important;height:54px!important;border-radius:8px!important}
  body.page-checkout .sp-checkout-item span{font-size:10px!important;line-height:1.32!important}
  body.page-checkout .sp-checkout-item b{font-size:10.5px!important}
  body.page-checkout .sp-coupon-box{grid-template-columns:minmax(0,1fr) 62px!important;gap:7px!important;margin:10px 0!important}
  body.page-checkout .sp-coupon-box input{height:40px!important;border-radius:9px!important;font-size:11px!important}
  body.page-checkout .sp-coupon-box span{height:40px!important;border-radius:9px!important;background:#f3f4f6!important;color:#60666d!important}
  body.page-checkout .sp-summary-line{font-size:11px!important;padding:5px 0!important}
  body.page-checkout .sp-summary-total{margin-top:6px!important;padding:11px 0 4px!important}
  body.page-checkout .sp-summary-total span{font-size:12px!important}
  body.page-checkout .sp-summary-total b{font-size:18px!important;color:#ff6000!important}
  body.page-checkout .sp-secure-note{font-size:9px!important;color:#878c92!important}
  body.page-checkout .sp-checkout-mobile-bar{bottom:calc(58px + env(safe-area-inset-bottom))!important;height:auto!important;min-height:68px!important;grid-template-columns:minmax(112px,40%) minmax(0,60%)!important;gap:8px!important;padding:8px 10px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(10px)!important;border-top:1px solid #e2e5e9!important;box-shadow:0 -5px 18px rgba(0,0,0,.08)!important}
  body.page-checkout .sp-checkout-mobile-total{padding-left:2px!important}
  body.page-checkout .sp-checkout-mobile-total small{font-size:9.5px!important;color:#777d84!important}
  body.page-checkout .sp-checkout-mobile-total b{font-size:17px!important;color:#ff6000!important;white-space:nowrap!important}
  body.page-checkout .sp-checkout-mobile-bar button{min-height:50px!important;border-radius:11px!important;background:#ff6000!important;font-size:13px!important;font-weight:850!important}
  body.page-checkout .sp-checkout-empty-address{margin:10px 0!important;padding:27px 18px!important;border:1px solid #e7e9ed!important;border-radius:14px!important;background:#fff!important}
  body.page-checkout .sp-checkout-empty-address h2{font-size:16px!important}
  body.page-checkout .sp-checkout-empty-address p{font-size:11px!important;line-height:1.45!important}
}

@media (max-width:380px){
  body.page-cart .ty-cart-product{grid-template-columns:68px minmax(0,1fr)!important;padding-left:8px!important;padding-right:8px!important}
  body.page-cart .ty-cart-product>a{width:68px!important;height:88px!important}
  body.page-cart .ty-qty{grid-template-columns:29px 28px 29px!important}
  body.page-cart .ty-qty button{width:29px!important}
  body.page-checkout .sp-checkout-step{font-size:8px!important;padding:0 3px!important}
}

/* v1.2 Mobile Full UI — account & customer experience */
@media (max-width:768px){
  /* Shared account shell */
  body.page-account-overview,body.page-orders,body.page-order-detail,body.page-order-tracking,
  body.page-favorites,body.page-coupons,body.page-wallet,body.page-notifications,body.page-profile,
  body.page-addresses{background:#f5f6f8!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}

  body.page-account-overview .sp-account-shell{padding:0 9px calc(84px + env(safe-area-inset-bottom))!important;background:#f5f6f8!important}
  body.page-account-overview .sp-account-layout{display:block!important;max-width:none!important;margin:0!important}
  body.page-account-overview .sp-account-sidebar{display:none!important}
  body.page-account-overview .sp-account-content{display:grid!important;gap:9px!important;min-width:0!important}
  body.page-account-overview .sp-profile-card{margin:0 -9px!important;padding:13px 12px!important;border:0!important;border-bottom:1px solid #e8eaed!important;border-radius:0 0 14px 14px!important;box-shadow:none!important;background:#fff!important;display:grid!important;gap:10px!important}
  body.page-account-overview .sp-profile-main{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;text-decoration:none!important;color:#222!important}
  body.page-account-overview .sp-profile-avatar{width:46px!important;height:46px!important;border-radius:50%!important;background:#fff1e6!important;color:#ff6000!important;font-size:15px!important;font-weight:900!important;display:grid!important;place-items:center!important}
  body.page-account-overview .sp-profile-copy{display:grid!important;gap:1px!important;min-width:0!important}
  body.page-account-overview .sp-profile-copy small{font-size:9px!important;color:#8b9096!important;font-weight:700!important}
  body.page-account-overview .sp-profile-copy strong{font-size:16px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-account-overview .sp-profile-copy em{font-size:9.5px!important;color:#787e85!important;font-style:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.page-account-overview .sp-profile-meta{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:6px!important;align-items:center!important}
  body.page-account-overview .sp-profile-meta>span{min-height:42px!important;padding:6px 8px!important;border-radius:9px!important;background:#f7f8fa!important;display:grid!important;gap:1px!important}
  body.page-account-overview .sp-profile-meta b{font-size:8px!important;color:#8c9299!important;text-transform:uppercase!important;letter-spacing:.04em!important}
  body.page-account-overview .sp-profile-meta small{font-size:10px!important;color:#25292e!important;font-weight:800!important}
  body.page-account-overview .sp-profile-meta>a{height:36px!important;padding:0 9px!important;border:1px solid #e2e5e8!important;border-radius:9px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#ff6000!important;text-decoration:none!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important}

  body.page-account-overview .sp23-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important}
  body.page-account-overview .sp23-summary-card{min-height:72px!important;padding:9px!important;border-radius:11px!important;grid-template-columns:34px minmax(0,1fr)!important;gap:8px!important;box-shadow:none!important}
  body.page-account-overview .sp23-summary-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  body.page-account-overview .sp23-summary-card strong{font-size:14px!important}
  body.page-account-overview .sp23-summary-card small{font-size:8.5px!important}
  body.page-account-overview .sp23-summary-card em{font-size:8px!important}
  body.page-account-overview .sp-account-alert{margin:0!important;padding:10px!important;border-radius:11px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
  body.page-account-overview .sp-alert-icon{font-size:18px!important}
  body.page-account-overview .sp-account-alert b{font-size:10.5px!important}
  body.page-account-overview .sp-account-alert small{font-size:8.5px!important;line-height:1.35!important}
  body.page-account-overview .sp-account-alert>a{font-size:9px!important;white-space:nowrap!important}

  body.page-account-overview .sp-seller-banner{min-height:86px!important;margin:0!important;padding:11px!important;border-radius:12px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;overflow:hidden!important}
  body.page-account-overview .sp-seller-art{width:38px!important;height:38px!important;border-radius:11px!important}
  body.page-account-overview .sp-seller-copy small{font-size:8px!important}
  body.page-account-overview .sp-seller-copy b{font-size:12px!important;line-height:1.25!important}
  body.page-account-overview .sp-seller-copy>span{font-size:8.5px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body.page-account-overview .sp-seller-action{grid-column:2!important;justify-self:start!important;margin-top:-2px!important;font-size:9px!important;font-style:normal!important}

  body.page-account-overview .sp-wallet-card{margin:0!important;border-radius:12px!important;overflow:hidden!important}
  body.page-account-overview .sp-wallet-main{min-height:74px!important;padding:10px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important}
  body.page-account-overview .sp-wallet-icon{width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important;font-size:17px!important}
  body.page-account-overview .sp-wallet-main small{font-size:7.5px!important}
  body.page-account-overview .sp-wallet-main b{font-size:11px!important}
  body.page-account-overview .sp-wallet-main em{display:none!important}
  body.page-account-overview .sp-wallet-main>strong{font-size:9px!important;white-space:nowrap!important}

  body.page-account-overview .sp-account-section{margin:0!important;padding:11px!important;border:1px solid #e7e9ec!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  body.page-account-overview .sp-account-section>header{margin-bottom:8px!important}
  body.page-account-overview .sp-account-kicker{font-size:7.5px!important}
  body.page-account-overview .sp-account-section h2{font-size:13px!important;margin:2px 0 0!important}
  body.page-account-overview .sp-account-section>header>a{font-size:9px!important}
  body.page-account-overview .sp-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-account-overview .sp-quick-grid>a{min-height:72px!important;padding:9px!important;border-radius:10px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:8px!important;align-items:center!important}
  body.page-account-overview .sp-quick-grid>a>span{grid-row:1/3!important;width:30px!important;height:30px!important;border-radius:9px!important}
  body.page-account-overview .sp-quick-grid b{font-size:9.5px!important;line-height:1.25!important}
  body.page-account-overview .sp-quick-grid small{font-size:7.5px!important;line-height:1.25!important}
  body.page-account-overview .sp-action-grid{grid-template-columns:1fr!important;gap:6px!important}
  body.page-account-overview .sp-action-grid>a{min-height:54px!important;padding:8px 9px!important;border-radius:10px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr) 16px!important;gap:8px!important;align-items:center!important}
  body.page-account-overview .sp-action-grid>a>span{width:30px!important;height:30px!important;border-radius:9px!important}
  body.page-account-overview .sp-action-grid b{font-size:10px!important}
  body.page-account-overview .sp-action-grid small{font-size:8px!important}
  body.page-account-overview .sp-social-banner{min-height:70px!important;margin:0!important;padding:11px!important;border-radius:12px!important}
  body.page-account-overview .sp-social-banner small{font-size:7.5px!important}
  body.page-account-overview .sp-social-banner b{font-size:11px!important}

  /* Shared mobile account-page header */
  .account-mobile-page,.notif-page,.wallet-page,.sp23-shell,.sp-orders-page{max-width:none!important;margin:0!important;padding-left:9px!important;padding-right:9px!important;padding-bottom:calc(84px + env(safe-area-inset-bottom))!important;background:#f5f6f8!important}
  .account-mobile-page .amp-head{position:sticky!important;top:0!important;z-index:38!important;height:52px!important;min-height:52px!important;margin:0 -9px 9px!important;padding:0 9px!important;grid-template-columns:38px minmax(0,1fr) 38px!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(10px)!important;border-bottom:1px solid #e9ebee!important}
  .account-mobile-page .amp-head>a{width:38px!important;height:38px!important;font-size:27px!important}
  .account-mobile-page .amp-head h1{font-size:15px!important;line-height:1.2!important;text-align:left!important;font-weight:850!important}
  .account-mobile-page .amp-head .right{font-size:10px!important;padding:0!important;text-align:right!important}
  .amp-card{border-color:#e5e8eb!important;border-radius:12px!important;box-shadow:none!important}
  .amp-empty{margin:0!important;padding:30px 16px!important;border:1px dashed #d9dde2!important;border-radius:13px!important;background:#fff!important;font-size:11px!important}
  .amp-btn{min-height:38px!important;border-radius:9px!important;padding:0 12px!important;font-size:10px!important}

  /* Orders */
  body.page-orders .sp-orders-page{padding-top:0!important}
  body.page-orders .sp-orders-shell{max-width:none!important}
  body.page-orders .sp-orders-head{height:52px!important;margin:0 -9px 8px!important;padding:0 10px!important;background:#fff!important;border-bottom:1px solid #e9ebee!important;display:flex!important;align-items:center!important}
  body.page-orders .sp-orders-head h1{font-size:16px!important}
  body.page-orders .sp-orders-back{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border:0!important;border-radius:9px!important;background:transparent!important;font-size:24px!important}
  body.page-orders .sp-orders-status-tabs{gap:6px!important;margin:0 -9px 7px!important;padding:7px 9px!important;background:#fff!important}
  body.page-orders .sp-orders-status-tabs a{padding:7px 10px!important;font-size:9px!important}
  body.page-orders .sp-orders-search{gap:6px!important;margin:0 0 8px!important}
  body.page-orders .sp-orders-search label{height:39px!important;border-radius:10px!important;padding:0 9px!important}
  body.page-orders .sp-orders-search input{min-height:37px!important;font-size:10.5px!important}
  body.page-orders .sp-orders-search button{height:39px!important;border-radius:9px!important;padding:0 12px!important;font-size:9.5px!important}
  body.page-orders .sp-orders-list{gap:8px!important}
  body.page-orders .sp-order-card{border-radius:12px!important;box-shadow:none!important}
  body.page-orders .sp-order-card-head{padding:10px!important;gap:8px!important}
  body.page-orders .sp-order-card-head span{font-size:10px!important}
  body.page-orders .sp-order-card-head small{font-size:8px!important}
  body.page-orders .sp-order-status{padding:5px 7px!important;font-size:8px!important}
  body.page-orders .sp-order-card-body{padding:10px!important;gap:8px!important}
  body.page-orders .sp-order-products img{width:48px!important;height:60px!important;border-radius:8px!important}
  body.page-orders .sp-order-summary strong{font-size:13px!important}
  body.page-orders .sp-order-summary span{font-size:8px!important}
  body.page-orders .sp-order-meta-row{padding:0 10px 9px!important;font-size:8.5px!important}
  body.page-orders .sp-order-card-footer{padding:8px 10px!important;gap:6px!important;overflow-x:auto!important;justify-content:flex-start!important}
  body.page-orders .sp-order-card-footer a{padding:7px 9px!important;font-size:8.5px!important;white-space:nowrap!important}
  body.page-orders .sp23-empty{padding:34px 15px!important;border-radius:13px!important}
  body.page-orders .sp23-empty strong{font-size:15px!important}
  body.page-orders .sp23-empty p{font-size:10px!important}

  /* Favorites */
  body.page-favorites .ref-favorites-page{padding:0 9px calc(84px + env(safe-area-inset-bottom))!important;background:#f5f6f8!important}
  body.page-favorites .favorites-head{margin:0 -9px 8px!important;padding:9px 11px!important;background:#fff!important;border-bottom:1px solid #e9ebee!important;min-height:52px!important;align-items:center!important}
  body.page-favorites .favorites-head h1{font-size:16px!important}
  body.page-favorites .favorites-head p{display:none!important}
  body.page-favorites .favorites-filter-bar{margin:0 -9px 8px!important;padding:7px 9px!important;background:#fff!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important}
  body.page-favorites .favorites-filter-bar::-webkit-scrollbar{display:none!important}
  body.page-favorites .favorites-filter-bar a{min-height:32px!important;padding:0 10px!important;border-radius:16px!important;font-size:9px!important;white-space:nowrap!important}
  body.page-favorites .favorite-products-section,body.page-favorites .sp-favorite-recommendations{margin:0!important;padding:10px!important;border:1px solid #e7e9ec!important;border-radius:12px!important;background:#fff!important}
  body.page-favorites .favorite-products-section header,body.page-favorites .sp-favorite-recommendations header{margin-bottom:8px!important}
  body.page-favorites .favorite-products-section h2,body.page-favorites .sp-favorite-recommendations h2{font-size:13px!important}
  body.page-favorites .favorite-product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-favorites .favorite-product-card{min-width:0!important;border:1px solid #e8eaed!important;border-radius:11px!important;overflow:hidden!important;box-shadow:none!important;background:#fff!important}
  body.page-favorites .favorite-image{aspect-ratio:1/1.06!important;min-height:0!important}
  body.page-favorites .favorite-image img{width:100%!important;height:100%!important;object-fit:contain!important;padding:5px!important;box-sizing:border-box!important}
  body.page-favorites .favorite-card-heart{width:30px!important;height:30px!important;right:6px!important;top:6px!important}
  body.page-favorites .favorite-card-body{padding:8px!important}
  body.page-favorites .favorite-card-body h3{font-size:10.5px!important;line-height:1.32!important;height:28px!important;overflow:hidden!important;margin:0 0 5px!important}
  body.page-favorites .favorite-stars{font-size:8.5px!important}
  body.page-favorites .favorite-price{font-size:14px!important;margin-top:4px!important}
  body.page-favorites .favorite-old-price{font-size:9px!important}
  body.page-favorites .favorite-stock{font-size:8px!important;min-height:18px!important}
  body.page-favorites .favorite-card-actions{gap:5px!important;margin-top:6px!important}
  body.page-favorites .favorite-card-actions .sp23-btn{min-height:34px!important;padding:0 7px!important;font-size:8.5px!important}
  body.page-favorites .sp-favorite-empty{padding:34px 16px!important;margin:0!important;border-radius:13px!important}
  body.page-favorites .sp-favorite-empty h2{font-size:15px!important}
  body.page-favorites .sp-favorite-empty p{font-size:10px!important;line-height:1.45!important}
  body.page-favorites .sp-favorite-empty-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}

  /* Coupons */
  body.page-coupons .coupon-tabs{margin:0 -9px!important;height:42px!important;border-bottom:1px solid #e7e9ed!important}
  body.page-coupons .coupon-tabs a{padding:0 5px!important;display:grid!important;place-items:center!important;font-size:10px!important}
  body.page-coupons .coupon-code{margin:0 -9px 8px!important;padding:8px 9px!important;gap:6px!important}
  body.page-coupons .coupon-code input{height:40px!important;border-radius:9px!important;font-size:11px!important}
  body.page-coupons .coupon-code button{height:40px!important;min-height:40px!important;white-space:nowrap!important}
  body.page-coupons .coupon-list{padding:0!important;display:grid!important;gap:8px!important}
  body.page-coupons .coupon-card{margin:0!important;padding:10px!important;grid-template-columns:58px minmax(0,1fr)!important;gap:9px!important}
  body.page-coupons .coupon-value{height:58px!important;border-radius:9px!important;font-size:11px!important}
  body.page-coupons .coupon-card h3{font-size:12px!important;margin:0 0 4px!important}
  body.page-coupons .coupon-card p{font-size:9px!important;margin:2px 0!important}
  body.page-coupons .coupon-card footer{margin-top:7px!important;gap:6px!important}
  body.page-coupons .coupon-card footer span{font-size:8px!important}

  /* Notifications */
  body.page-notifications .notif-page{padding-top:0!important}
  body.page-notifications .notif-head{height:auto!important;min-height:52px!important;margin:0 -9px!important;padding:7px 9px!important;background:#fff!important;border-bottom:1px solid #e8eaed!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:5px!important;align-items:center!important}
  body.page-notifications .notif-back{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;font-size:25px!important}
  body.page-notifications .notif-head h1{font-size:15px!important;margin:0!important}
  body.page-notifications .notif-tools{display:flex!important;gap:4px!important}
  body.page-notifications .notif-tools button{height:30px!important;padding:0 7px!important;border-radius:8px!important;font-size:7.5px!important}
  body.page-notifications .notif-tabs{margin:0 -9px 7px!important;padding:6px 9px!important;gap:5px!important;background:#fff!important;overflow-x:auto!important;display:flex!important;scrollbar-width:none!important}
  body.page-notifications .notif-tabs a{flex:0 0 auto!important;padding:7px 9px!important;border-radius:15px!important;font-size:8.5px!important;white-space:nowrap!important}
  body.page-notifications .notif-pref{padding:9px!important;margin:0 0 8px!important;border:1px solid #e7e9ec!important;border-radius:12px!important;background:#fff!important}
  body.page-notifications .notif-pref-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  body.page-notifications .notif-pref-grid label{min-height:42px!important;padding:7px!important;border:1px solid #eceef1!important;border-radius:9px!important;background:#fafbfc!important;font-size:8.5px!important;line-height:1.25!important;display:flex!important;align-items:center!important;gap:6px!important}
  body.page-notifications .notif-pref-grid input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important}
  body.page-notifications .notif-pref-grid input[type=datetime-local]{width:100%!important;min-width:0!important;height:31px!important;font-size:8px!important}
  body.page-notifications .notif-summary{margin:0 0 8px!important;padding:9px!important;border-radius:10px!important;font-size:9px!important;min-height:42px!important}
  body.page-notifications .notif-summary [data-push-action]{float:none!important;margin-left:6px!important;padding:5px 7px!important;font-size:8px!important}
  body.page-notifications .notif-list{display:grid!important;gap:7px!important}
  body.page-notifications .notif-item{grid-template-columns:30px minmax(0,1fr) 24px!important;gap:8px!important;padding:10px!important;border-radius:11px!important;box-shadow:none!important;border:1px solid #e7e9ec!important}
  body.page-notifications .notif-icon{width:30px!important;height:30px!important;font-size:13px!important}
  body.page-notifications .notif-copy h3{font-size:10.5px!important;margin-bottom:3px!important}
  body.page-notifications .notif-copy p{font-size:9px!important;line-height:1.4!important}
  body.page-notifications .notif-copy time{font-size:7.5px!important}
  body.page-notifications .notif-actions{gap:4px!important}
  body.page-notifications .notif-actions button{width:24px!important;height:24px!important;min-width:24px!important;font-size:11px!important}
  body.page-notifications .notif-empty{padding:34px 14px!important;border-radius:12px!important;font-size:10px!important}

  /* Wallet */
  body.page-wallet .wallet-page{padding-top:0!important}
  body.page-wallet .wallet-head{margin:0 -9px 8px!important;padding:9px 10px!important;min-height:52px!important;background:#fff!important;border-bottom:1px solid #e9ebee!important}
  body.page-wallet .wallet-head h1{font-size:16px!important}
  body.page-wallet .wallet-main{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.page-wallet .wallet-balance,body.page-wallet .wallet-load,body.page-wallet .wallet-history{border-radius:12px!important;box-shadow:none!important}
  body.page-wallet .wallet-balance{min-height:130px!important;padding:14px!important}
  body.page-wallet .wallet-balance strong{font-size:25px!important}
  body.page-wallet .wallet-load{padding:12px!important}
  body.page-wallet .wallet-load h2,body.page-wallet .wallet-history h2{font-size:13px!important}
  body.page-wallet .wallet-load input{height:41px!important;border-radius:9px!important;font-size:11px!important}
  body.page-wallet .wallet-history{padding:11px!important}
  body.page-wallet .wallet-history-row{padding:8px 0!important;font-size:9.5px!important}

  /* Profile & addresses forms */
  body.page-profile .container.page.account-page{padding:0 9px calc(84px + env(safe-area-inset-bottom))!important}
  body.page-profile .account-layout{display:block!important}
  body.page-profile .account-sidebar{display:none!important}
  body.page-profile .account-card{padding:12px!important;border-radius:12px!important;box-shadow:none!important}
  body.page-profile .section-head{margin-bottom:12px!important}
  body.page-profile .section-head h1{font-size:16px!important}
  body.page-profile .section-head p{font-size:9.5px!important}
  body.page-profile .profile-avatar-row{padding:10px!important;margin-bottom:11px!important;border-radius:10px!important}
  body.page-profile .form-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.page-profile .field{gap:4px!important}
  body.page-profile .field>span{font-size:9.5px!important}
  body.page-profile .field input{height:41px!important;border-radius:9px!important;font-size:11px!important}
  body.page-profile .field small{font-size:8px!important}
  body.page-profile .form-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-top:12px!important}
  body.page-profile .form-actions>*{width:100%!important;min-height:40px!important}
  body.page-profile .settings-list>a{min-height:54px!important;padding:9px 10px!important;border-radius:10px!important}
  body.page-profile .settings-list a b{font-size:10px!important}
  body.page-profile .settings-list a span{font-size:8.5px!important}

  body.page-addresses .address-compact-content{padding:0 0 calc(84px + env(safe-area-inset-bottom))!important}
  body.page-addresses .address-list{display:grid!important;gap:8px!important}
  body.page-addresses .address-card{padding:10px!important;border-radius:11px!important;box-shadow:none!important}
  body.page-addresses .address-card h3{font-size:11px!important}
  body.page-addresses .address-card p{font-size:9px!important;line-height:1.4!important}
}

@media (max-width:380px){
  body.page-account-overview .sp-profile-meta{grid-template-columns:1fr 1fr!important}
  body.page-account-overview .sp-profile-meta>a{grid-column:1/-1!important;width:100%!important}
  body.page-notifications .notif-pref-grid{grid-template-columns:1fr!important}
  body.page-favorites .favorite-product-grid{gap:6px!important}
}

/* v1.2 Mobile Full UI — auth, store, support & corporate pass */
@media (max-width:768px){
  /* Public static/support surfaces */
  body.page-contact,body.page-help,body.page-faq,body.page-about,body.page-privacy,body.page-terms,body.page-returns-policy{background:#f5f6f8!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  body.page-contact .sp-static-page,body.page-help .sp-static-page,body.page-faq .sp-static-page{padding:8px 0 18px!important}
  body.page-contact .sp-static-page>.container,body.page-help .sp-static-page>.container,body.page-faq .sp-static-page>.container{width:100%!important;max-width:none!important;padding-left:9px!important;padding-right:9px!important}
  body.page-contact .sp-static-head,body.page-help .sp-static-head,body.page-faq .sp-static-head{margin:0 0 9px!important;padding:13px 12px!important;background:#fff!important;border:1px solid #e8eaee!important;border-radius:13px!important}
  body.page-contact .sp-static-head small,body.page-help .sp-static-head small,body.page-faq .sp-static-head small{font-size:8px!important;letter-spacing:.08em!important}
  body.page-contact .sp-static-head h1,body.page-help .sp-static-head h1,body.page-faq .sp-static-head h1{font-size:20px!important;line-height:1.18!important;letter-spacing:-.025em!important}
  body.page-contact .sp-static-head p,body.page-help .sp-static-head p,body.page-faq .sp-static-head p{font-size:11px!important;line-height:1.48!important;margin-top:5px!important}
  body.page-contact .sp-contact-layout{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.page-contact .sp-contact-card{padding:13px!important;border:1px solid #e7e9ed!important;border-radius:13px!important;box-shadow:none!important;background:#fff!important}
  body.page-contact .sp-contact-card-head{gap:8px!important;margin-bottom:10px!important}
  body.page-contact .sp-contact-card-head h2{font-size:16px!important;line-height:1.2!important}
  body.page-contact .sp-contact-card-head small{font-size:8px!important}
  body.page-contact .sp-contact-map-link{min-height:32px!important;padding:0 9px!important;border-radius:9px!important;font-size:10px!important}
  body.page-contact .sp-contact-info-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.page-contact .sp-contact-info,body.page-contact .sp-contact-info.span-2{grid-column:auto!important;min-height:57px!important;padding:9px 10px!important;border-radius:10px!important;background:#f8f9fb!important;border:1px solid #eef0f2!important}
  body.page-contact .sp-contact-icon{width:32px!important;height:32px!important;min-width:32px!important;border-radius:9px!important}
  body.page-contact .sp-contact-icon .sp-icon{width:17px!important;height:17px!important}
  body.page-contact .sp-contact-info small{font-size:9px!important}
  body.page-contact .sp-contact-info b{font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
  body.page-contact .sp-company-legal{margin-top:9px!important;padding-top:9px!important}
  body.page-contact .sp-company-legal>div:first-child{gap:9px!important}
  body.page-contact .sp-company-legal dl{grid-template-columns:1fr!important;gap:6px!important;margin-top:9px!important}
  body.page-contact .sp-contact-support-copy{font-size:11px!important;line-height:1.5!important;margin:0 0 10px!important}
  body.page-contact .sp-contact-action-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.page-contact .sp-contact-action-grid>a{min-height:70px!important;padding:10px!important;border-radius:10px!important;grid-template-columns:32px minmax(0,1fr) auto!important;gap:9px!important}
  body.page-contact .sp-contact-action-grid b{font-size:11px!important}
  body.page-contact .sp-contact-action-grid small{font-size:9.5px!important;line-height:1.35!important}
  body.page-contact .sp-contact-action-grid em{font-size:9.5px!important}
  body.page-help .sp-faq-panel,body.page-faq .sp-faq-panel{border:1px solid #e7e9ed!important;border-radius:13px!important;overflow:hidden!important;box-shadow:none!important;background:#fff!important}
  body.page-help .sp-faq-panel details,body.page-faq .sp-faq-panel details{border-bottom:1px solid #eef0f2!important}
  body.page-help .sp-faq-panel summary,body.page-faq .sp-faq-panel summary{min-height:50px!important;padding:13px 12px!important;font-size:11px!important;line-height:1.35!important;font-weight:800!important}
  body.page-help .sp-faq-answer,body.page-faq .sp-faq-answer{padding:0 12px 13px!important;font-size:10.5px!important;line-height:1.55!important;color:#626973!important}

  /* Stores directory */
  body.page-stores{background:#f5f6f8!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  body.page-stores .stores-marketplace-page{width:100%!important;max-width:none!important;padding:8px 9px 18px!important}
  body.page-stores .stores-hero{margin:0!important;min-height:auto!important;padding:15px 13px!important;border-radius:13px!important;background:linear-gradient(135deg,#fff7ee,#fff)!important;border-color:#f2e4d6!important}
  body.page-stores .stores-eyebrow{font-size:8px!important;margin-bottom:5px!important}
  body.page-stores .stores-hero h1{font-size:21px!important;letter-spacing:-.03em!important}
  body.page-stores .stores-hero p{font-size:11px!important;line-height:1.45!important;margin:6px 0 12px!important}
  body.page-stores .stores-search{height:42px!important;max-width:none!important;border-radius:10px!important;box-shadow:none!important}
  body.page-stores .stores-search>span{font-size:21px!important;padding-left:11px!important}
  body.page-stores .stores-search input{font-size:12px!important;padding:0 8px!important}
  body.page-stores .stores-search button{padding:0 15px!important;font-size:11px!important}
  body.page-stores .stores-toolbar{margin:10px 1px 8px!important;align-items:center!important}
  body.page-stores .stores-toolbar b{font-size:14px!important}
  body.page-stores .stores-toolbar span{font-size:10px!important}
  body.page-stores .stores-toolbar select{height:34px!important;max-width:125px!important;border-radius:9px!important;font-size:10px!important}
  body.page-stores .stores-market-grid{gap:8px!important}
  body.page-stores .market-store-card{border-radius:12px!important;box-shadow:none!important}
  body.page-stores .market-store-main{padding:11px 11px 9px!important}
  body.page-stores .market-store-head{padding-right:58px!important;gap:9px!important}
  body.page-stores .market-store-logo{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:10px!important}
  body.page-stores .market-store-title h2{font-size:13px!important}
  body.page-stores .market-store-title p{font-size:9.5px!important;gap:6px!important;margin-top:5px!important}
  body.page-stores .store-popular-badge{top:9px!important;right:9px!important;padding:4px 7px!important;font-size:8px!important}
  body.page-stores .store-products-preview{gap:5px!important;margin-top:10px!important}
  body.page-stores .store-preview-item{border-radius:8px!important}
  body.page-stores .store-preview-item small{font-size:8.5px!important;padding:3px!important}
  body.page-stores .market-store-meta{margin-top:8px!important;font-size:9px!important}
  body.page-stores .market-store-actions{padding:8px!important;gap:7px!important}
  body.page-stores .market-store-actions a,body.page-stores .market-store-actions button{height:36px!important;border-radius:9px!important;font-size:10.5px!important}

  /* Store profile */
  body.page-store{background:#f5f6f8!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  body.page-store .store-v2{padding:0 9px 18px!important}
  body.page-store .store-hero-market{margin:0 -9px!important;padding:14px 10px 14px!important;border-radius:0 0 14px 14px!important}
  body.page-store .store-hero-top{grid-template-columns:30px 54px minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important}
  body.page-store .store-back{font-size:34px!important;line-height:1!important}
  body.page-store .store-avatar-market{width:54px!important;height:54px!important;border-radius:12px!important}
  body.page-store .store-title-line h1{font-size:15px!important;max-width:125px!important}
  body.page-store .verified-market{width:18px!important;height:18px!important;font-size:10px!important}
  body.page-store .rating-market{font-size:11px!important;padding:3px 6px!important}
  body.page-store .fast-seller-badge{font-size:9px!important;margin-top:4px!important}
  body.page-store .store-follow-market{min-width:72px!important;padding:8px 7px!important;font-size:11px!important;border-radius:9px!important}
  body.page-store .followers-market{font-size:9px!important}
  body.page-store .store-hero-search-row{grid-template-columns:minmax(0,1fr) 40px!important;gap:7px!important;margin-top:12px!important}
  body.page-store .store-search-market{height:42px!important;border-radius:11px!important;padding:0 9px!important}
  body.page-store .store-search-market span{font-size:21px!important}
  body.page-store .store-search-market input{font-size:12px!important;padding:0 6px!important}
  body.page-store .store-share-market{font-size:20px!important}
  body.page-store .store-success-strip{margin:0 -9px!important;padding:8px 9px!important;font-size:9.5px!important}
  body.page-store .store-tabs-market{margin:0 -9px 8px!important;background:#fff!important;border-bottom:1px solid #eceef1!important}
  body.page-store .store-tabs-market a{min-width:92px!important;padding:11px 6px!important;font-size:10.5px!important}
  body.page-store .store-section{margin-top:8px!important;padding:11px!important;border-radius:12px!important;box-shadow:none!important;border:1px solid #e8eaee!important}
  body.page-store .store-product-category-head h3{font-size:14px!important}
  body.page-store .store-section-link{font-size:10px!important}
  body.page-store .store-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-store .store-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.page-store .store-coupon-grid{grid-template-columns:1fr!important;gap:7px!important}
  body.page-store .store-coupon{padding:11px!important;border-radius:11px!important;gap:9px!important}
  body.page-store .store-coupon b{font-size:16px!important}
  body.page-store .store-coupon button{padding:7px 9px!important;border-radius:8px!important;font-size:10px!important}
  body.page-store .store-campaign-banner{min-height:125px!important;padding:14px!important;border-radius:12px!important}
  body.page-store .store-campaign-banner b{font-size:17px!important}
  body.page-store .store-campaign-banner em{font-size:10px!important}
  body.page-store .store-campaign-banner strong{font-size:10px!important;padding:7px 8px!important;border-radius:8px!important}
  body.page-store .seller-profile-market{margin:8px 0!important;padding:10px!important;border-radius:12px!important}
  body.page-store .seller-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-store .seller-profile-fact{min-height:100px!important;padding:12px 9px!important}
  body.page-store .seller-profile-icon{width:34px!important;height:34px!important;font-size:16px!important;margin-bottom:8px!important}
  body.page-store .seller-profile-fact strong{font-size:15px!important}
  body.page-store .seller-profile-fact small{font-size:9px!important}
  body.page-store .seller-profile-metrics{gap:7px!important}
  body.page-store .seller-profile-metric{min-height:70px!important;padding:12px!important;border-radius:11px!important}
  body.page-store .seller-profile-metric span{font-size:12px!important}
  body.page-store .seller-profile-metric strong{font-size:14px!important}
}

@media (max-width:380px){
  body.page-store .store-hero-top{grid-template-columns:28px 48px minmax(0,1fr) auto!important;gap:5px!important}
  body.page-store .store-avatar-market{width:48px!important;height:48px!important}
  body.page-store .store-title-line h1{font-size:14px!important;max-width:105px!important}
  body.page-contact .sp-contact-action-grid>a{grid-template-columns:30px minmax(0,1fr)!important}
  body.page-contact .sp-contact-action-grid em{display:none!important}
}

/* v1.2 Mobile Full UI — helper, corporate & discovery surfaces */
@media (max-width:768px){
  body.page-about,body.page-brands,body.page-campaigns,body.page-categories,body.page-compare,
  body.page-cookie-preferences,body.page-delivery-points,body.page-discover,body.page-distance-sales,
  body.page-membership-agreement,body.page-page,body.page-pre-information,body.page-privacy,
  body.page-returns-policy,body.page-shared-favorites,body.page-terms,body.page-visual-search{
    background:#f5f6f8!important;
    padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;
  }
  body.page-about .container.page,body.page-cookie-preferences .container.page,
  body.page-delivery-points .container.page,body.page-distance-sales .container.page,
  body.page-membership-agreement .container.page,body.page-page .container.page,
  body.page-pre-information .container.page,body.page-privacy .container.page,
  body.page-returns-policy .container.page,body.page-shared-favorites .container.page,
  body.page-terms .container.page,body.page-compare .container.page{
    width:100%!important;max-width:none!important;margin:0!important;padding:10px 9px 18px!important;box-sizing:border-box!important;
  }

  /* Legal / corporate content: readable mobile document cards */
  body .legal-page{font-size:12px!important;line-height:1.62!important;color:#30343a!important}
  body .legal-page>h1,body .legal-page .page-head h1{font-size:20px!important;line-height:1.2!important;letter-spacing:-.025em!important;margin:4px 0 10px!important}
  body .legal-page h2{font-size:14px!important;line-height:1.3!important;margin:18px 0 7px!important}
  body .legal-page h3{font-size:12px!important;margin:14px 0 6px!important}
  body .legal-page p,body .legal-page li{font-size:11px!important;line-height:1.58!important}
  body .legal-page .seller-box,body.page-about .seller-box{margin:0!important;padding:13px!important;border:1px solid #e6e8eb!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
  body.page-cookie-preferences .consent-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 0!important;border-bottom:1px solid #eef0f2!important}
  body.page-cookie-preferences .consent-row:last-child{border-bottom:0!important}
  body.page-cookie-preferences .consent-row b{font-size:11px!important}
  body.page-cookie-preferences .consent-row small{font-size:9px!important;line-height:1.35!important;color:#737980!important}

  /* Brands */
  body.page-brands .sp-static-page{padding:0 9px 18px!important}
  body.page-brands .sp-static-page>.container{width:100%!important;max-width:none!important;padding:0!important}
  body.page-brands .sp-static-breadcrumb{display:none!important}
  body.page-brands .sp-static-head{padding:13px 2px 8px!important}
  body.page-brands .sp-static-head small{font-size:8px!important;letter-spacing:.08em!important}
  body.page-brands .sp-static-head h1{font-size:20px!important;line-height:1.2!important;margin:2px 0 4px!important}
  body.page-brands .sp-static-head p{font-size:10px!important;line-height:1.4!important;margin:0!important}
  body.page-brands .sp-brand-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-bottom:8px!important}
  body.page-brands .sp-brand-toolbar strong{font-size:10px!important;padding-left:2px!important}
  body.page-brands .sp-brand-search{height:40px!important;border-radius:11px!important;font-size:11px!important;padding:0 12px!important}
  body.page-brands .sp-brand-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.page-brands .sp-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-brands .sp-brand-card{min-height:82px!important;padding:10px!important;border:1px solid #e6e8eb!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  body.page-brands .sp-brand-mark{width:34px!important;height:34px!important;border-radius:10px!important;font-size:11px!important}
  body.page-brands .sp-brand-card b{font-size:10.5px!important;line-height:1.25!important}
  body.page-brands .sp-brand-card small{font-size:8.5px!important}

  /* Campaigns */
  body.page-campaigns .desktop-campaign-page{width:100%!important;max-width:none!important;padding:10px 9px 18px!important}
  body.page-campaigns .desktop-section-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:end!important;margin:0 0 9px!important}
  body.page-campaigns .desktop-section-head span{font-size:8px!important;letter-spacing:.08em!important}
  body.page-campaigns .desktop-section-head h1{font-size:20px!important;line-height:1.2!important;margin:2px 0!important}
  body.page-campaigns .desktop-section-head p{font-size:9px!important;line-height:1.35!important;margin:0!important}
  body.page-campaigns .desktop-section-head>.btn{min-height:36px!important;padding:0 10px!important;border-radius:9px!important;font-size:9px!important;white-space:nowrap!important}
  body.page-campaigns .desktop-campaign-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  body.page-campaigns .desktop-campaign-tile{min-height:150px!important;border-radius:14px!important;overflow:hidden!important;position:relative!important;border:1px solid #e4e6e9!important;background:#fff!important;box-shadow:none!important}
  body.page-campaigns .desktop-campaign-tile img{width:100%!important;aspect-ratio:16/7!important;object-fit:cover!important;display:block!important}
  body.page-campaigns .desktop-campaign-tile>div{padding:10px 11px 11px!important}
  body.page-campaigns .desktop-campaign-tile small{font-size:8px!important}
  body.page-campaigns .desktop-campaign-tile h2{font-size:14px!important;line-height:1.25!important;margin:2px 0 4px!important}
  body.page-campaigns .desktop-campaign-tile p{font-size:9px!important;line-height:1.4!important;margin:0 0 5px!important}
  body.page-campaigns .desktop-campaign-tile b{font-size:9px!important;color:#ff6000!important}
  body.page-campaigns .desktop-empty-state{padding:28px 16px!important;border-radius:13px!important;background:#fff!important;border:1px solid #e6e8eb!important;text-align:center!important}

  /* Discover hub */
  body.page-discover .desktop-public-hub{width:100%!important;max-width:none!important;padding:10px 9px 18px!important}
  body.page-discover .desktop-hub-hero{padding:15px 13px!important;border-radius:14px!important;margin-bottom:9px!important}
  body.page-discover .desktop-hub-hero h1{font-size:20px!important;line-height:1.2!important;margin:0 0 5px!important}
  body.page-discover .desktop-hub-hero p{font-size:10px!important;line-height:1.45!important;margin:0!important}
  body.page-discover .desktop-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-discover .desktop-hub-card{min-height:88px!important;padding:11px!important;border-radius:12px!important;box-shadow:none!important}
  body.page-discover .desktop-hub-card h2{font-size:11px!important;margin:0 0 4px!important}
  body.page-discover .desktop-hub-card p{font-size:8.5px!important;line-height:1.35!important;margin:0!important}

  /* Compare */
  body.page-compare .compact-page-head{padding:4px 1px 8px!important;margin:0!important}
  body.page-compare .compact-page-head h1{font-size:19px!important;margin:2px 0!important}
  body.page-compare .compare-count{font-size:9px!important}
  body.page-compare .compare-product-strip{display:flex!important;gap:8px!important;overflow-x:auto!important;padding:0 0 8px!important;scroll-snap-type:x proximity!important}
  body.page-compare .compare-product-card{flex:0 0 142px!important;min-width:142px!important;padding:9px!important;border-radius:12px!important;scroll-snap-align:start!important}
  body.page-compare .compare-product-card img{height:108px!important;object-fit:contain!important}
  body.page-compare .compare-product-card h3{font-size:10px!important;line-height:1.35!important;min-height:27px!important}
  body.page-compare .compare-table-wrap{margin:0!important;border-radius:12px!important;overflow:auto!important;background:#fff!important;border:1px solid #e5e7ea!important}
  body.page-compare .compare-table{min-width:620px!important;font-size:10px!important}
  body.page-compare .compare-sticky-action{bottom:calc(70px + env(safe-area-inset-bottom))!important;left:9px!important;right:9px!important;border-radius:12px!important}

  /* Delivery points */
  body.page-delivery-points .page-head{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0 0 9px!important}
  body.page-delivery-points .page-head h1{font-size:19px!important;line-height:1.2!important;margin:2px 0!important}
  body.page-delivery-points .page-head p{font-size:9px!important;line-height:1.4!important;margin:0!important}
  body.page-delivery-points .inline-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
  body.page-delivery-points .inline-form select{height:40px!important;border-radius:10px!important;font-size:10px!important;min-width:0!important}
  body.page-delivery-points .inline-form .btn{min-height:40px!important;padding:0 11px!important;border-radius:10px!important;font-size:9px!important}
  body.page-delivery-points .point-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.page-delivery-points .point-card{padding:10px!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
  body.page-delivery-points .point-map{height:146px!important;border-radius:10px!important;overflow:hidden!important}
  body.page-delivery-points .point-card h2{font-size:12px!important;margin:8px 0 3px!important}
  body.page-delivery-points .point-card p,body.page-delivery-points .point-card small{font-size:9px!important;line-height:1.4!important}
  body.page-delivery-points .point-card .btn{min-height:36px!important;margin-top:8px!important;border-radius:9px!important;font-size:9px!important}

  /* Visual search */
  body.page-visual-search .visual-search-page{width:100%!important;max-width:none!important;padding:10px 9px 18px!important}
  body.page-visual-search .visual-search-head{padding:12px!important;border-radius:13px!important;background:#fff!important;border:1px solid #e6e8eb!important}
  body.page-visual-search .visual-search-head h1{font-size:18px!important;line-height:1.2!important;margin:0 0 4px!important}
  body.page-visual-search .visual-search-head p{font-size:9px!important;line-height:1.4!important;margin:0!important}
  body.page-visual-search .visual-query-preview{max-height:220px!important;border-radius:12px!important;margin:9px 0!important;object-fit:contain!important;background:#fff!important}
  body.page-visual-search .visual-search-status{padding:10px!important;border-radius:10px!important;font-size:9px!important}
  body.page-visual-search .visual-results{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-visual-search .visual-result{padding:8px!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  body.page-visual-search .visual-result img{aspect-ratio:1/1!important;object-fit:contain!important;border-radius:9px!important}
  body.page-visual-search .visual-result h3{font-size:10px!important;line-height:1.35!important;margin:6px 0 3px!important}
  body.page-visual-search .similarity{font-size:8px!important}

  /* Shared favorites / generic product grid */
  body.page-shared-favorites .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-shared-favorites .page-head h1{font-size:19px!important}

  /* Offline */
  body.page-offline{background:#f5f6f8!important;min-height:100dvh!important;display:grid!important;place-items:center!important;padding:18px!important}
  body.page-offline .offline-page{width:100%!important;max-width:420px!important;margin:0!important;padding:0!important}
  body.page-offline .offline-card{padding:24px 18px!important;border-radius:16px!important;background:#fff!important;border:1px solid #e6e8eb!important;box-shadow:none!important;text-align:center!important}
  body.page-offline .offline-icon{width:54px!important;height:54px!important;margin:0 auto 11px!important;border-radius:16px!important}
  body.page-offline .offline-card h1{font-size:19px!important;margin:0 0 6px!important}
  body.page-offline .offline-card p{font-size:10px!important;line-height:1.45!important}
  body.page-offline .offline-card .btn{min-height:42px!important;border-radius:10px!important;font-size:10px!important}

  /* Generic CMS page */
  body.page-page .cms-page{padding:13px!important;border-radius:13px!important;background:#fff!important;border:1px solid #e6e8eb!important;box-shadow:none!important}
  body.page-page .cms-page h1{font-size:20px!important;line-height:1.2!important}
  body.page-page .cms-page h2{font-size:14px!important}
  body.page-page .cms-page p,body.page-page .cms-page li{font-size:11px!important;line-height:1.58!important}
}

@media (max-width:380px){
  body.page-brands .sp-brand-grid{gap:6px!important}
  body.page-discover .desktop-hub-grid{grid-template-columns:1fr!important}
  body.page-campaigns .desktop-section-head{grid-template-columns:1fr!important}
  body.page-campaigns .desktop-section-head>.btn{justify-self:start!important}
}

/* v1.2 Mobile Full UI — Progress 7 consistency + final polish */
@media (max-width:768px){
  :root{
    --sp-mobile-edge:10px;
    --sp-mobile-radius:12px;
    --sp-mobile-control:42px;
    --sp-mobile-bottom-safe:calc(78px + env(safe-area-inset-bottom));
  }

  /* Global mobile rhythm and safety */
  body{min-width:0!important;background:#f6f7f9}
  body main{min-width:0}
  body .container,body .page,body .layout,body .content,body .content-wrap,body .page-content{min-width:0;max-width:100%}
  body input,body select,body textarea,body button{font-size:16px}
  body img,body video,body iframe{max-width:100%}
  body table{max-width:100%}
  body .btn,body button.btn,body a.btn{min-height:40px;border-radius:10px}
  body .empty-state,body .amp-empty,body .ac-empty{border-radius:13px!important}

  /* Account/support surfaces that previously inherited desktop spacing. */
  body:is(
    .page-affiliate,.page-announcement-preferences,.page-catalog-center,.page-change-initial-password,
    .page-company,.page-devices,.page-experience-center,.page-favorite-lists,.page-finance-center,
    .page-followed-stores,.page-invoice-center,.page-invoices,.page-live-support,.page-messages,
    .page-operation-center,.page-order-review,.page-payment-methods,.page-product-alerts,.page-questions,
    .page-rebuy,.page-recently-viewed,.page-recommendations,.page-return-create,.page-returns,
    .page-review-create,.page-reviews,.page-rewards,.page-saved-searches,.page-security,.page-support
  ){
    background:#f5f6f8!important;
    padding-bottom:var(--sp-mobile-bottom-safe)!important;
  }

  body:is(
    .page-affiliate,.page-announcement-preferences,.page-catalog-center,.page-change-initial-password,
    .page-company,.page-devices,.page-experience-center,.page-favorite-lists,.page-finance-center,
    .page-followed-stores,.page-invoice-center,.page-invoices,.page-live-support,.page-messages,
    .page-operation-center,.page-order-review,.page-payment-methods,.page-product-alerts,.page-questions,
    .page-rebuy,.page-recently-viewed,.page-recommendations,.page-return-create,.page-returns,
    .page-review-create,.page-reviews,.page-rewards,.page-saved-searches,.page-security,.page-support
  ) .container.page,
  body:is(
    .page-affiliate,.page-announcement-preferences,.page-catalog-center,.page-change-initial-password,
    .page-company,.page-devices,.page-experience-center,.page-favorite-lists,.page-finance-center,
    .page-followed-stores,.page-invoice-center,.page-invoices,.page-live-support,.page-messages,
    .page-operation-center,.page-order-review,.page-payment-methods,.page-product-alerts,.page-questions,
    .page-rebuy,.page-recently-viewed,.page-recommendations,.page-return-create,.page-returns,
    .page-review-create,.page-reviews,.page-rewards,.page-saved-searches,.page-security,.page-support
  ) .account-mobile-page,
  body.page-security .ac-shell,
  body.page-reviews .review-mobile{
    width:100%!important;max-width:none!important;margin:0!important;padding:10px var(--sp-mobile-edge) 18px!important;box-sizing:border-box!important;
  }

  /* Shared mobile page heads */
  body .page-head,body .listing-head,body .amp-head,body .ac-head,body .rv-head,body .support-head{
    min-width:0!important;gap:8px!important;
  }
  body .page-head h1,body .listing-head h1,body .amp-head h1,body .ac-head h1,body .rv-title,body .support-head h1{
    font-size:18px!important;line-height:1.25!important;letter-spacing:-.02em!important;margin:0!important;
  }
  body .eyebrow,body .ac-kicker{font-size:9px!important;letter-spacing:.08em!important}

  /* Cards, lists and grids */
  body .account-mobile-page .amp-card,
  body .container.page .info-panel,
  body .container.page .seller-box,
  body .ac-card,
  body .review-mobile .rv-card,
  body .support-page .support-list,
  body .support-page .support-chat,
  body .return-card{
    border:1px solid #e7e9ed!important;border-radius:var(--sp-mobile-radius)!important;background:#fff!important;box-shadow:none!important;
  }
  body .seller-grid,body .return-info-grid{grid-template-columns:1fr!important;gap:8px!important}
  body .return-list,body .rv-list,body .recent-list{gap:8px!important}
  body .return-card{padding:11px!important}
  body .return-info-grid{font-size:11px!important}
  body .return-card-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
  body .return-card-actions .btn{flex:1 1 120px!important}

  /* Messages / support become single-column, touch first */
  body.page-support .layout,body.page-live-support .layout{display:block!important}
  body.page-support .support-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.page-support .support-list,body.page-support .support-chat{min-width:0!important;max-height:none!important}
  body.page-support .support-ticket{padding:10px!important}
  body.page-support .message-stream{max-height:46vh!important;min-height:180px!important}
  body.page-support .support-reply{position:sticky!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;z-index:10!important;background:#fff!important;padding:8px!important;border-top:1px solid #eceef1!important}
  body.page-messages .msg-tabs,body.page-reviews .rv-tabs,body.page-reviews .rv-filters,body.page-recently-viewed .recent-filters{
    display:flex!important;gap:6px!important;overflow-x:auto!important;scrollbar-width:none!important;padding-bottom:3px!important;
  }
  body.page-messages .msg-tabs::-webkit-scrollbar,body.page-reviews .rv-tabs::-webkit-scrollbar,body.page-reviews .rv-filters::-webkit-scrollbar,body.page-recently-viewed .recent-filters::-webkit-scrollbar{display:none}
  body.page-messages .msg-tabs>a,body.page-reviews .rv-tabs>a,body.page-reviews .rv-pill,body.page-recently-viewed .recent-filters>a{
    flex:0 0 auto!important;min-height:34px!important;display:inline-flex!important;align-items:center!important;white-space:nowrap!important;border-radius:17px!important;font-size:10px!important;
  }

  /* Security / settings summaries */
  body.page-security .ac-layout{display:block!important}
  body.page-security .ac-main{width:100%!important;min-width:0!important}
  body.page-security .ac-card{padding:11px!important;margin-bottom:8px!important}
  body.page-security .ac-activity-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  body.page-security .ac-stat{padding:8px 6px!important;border-radius:9px!important;min-width:0!important}
  body.page-security .ac-stat strong{font-size:15px!important}
  body.page-security .ac-stat span{font-size:8px!important}
  body.page-security .ac-activity{grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;padding:9px 0!important}
  body.page-security .ac-activity-icon{width:30px!important;height:30px!important;border-radius:9px!important}

  /* Review center */
  body.page-reviews .rv-summary{margin:8px 0!important;border-radius:12px!important}
  body.page-reviews .rv-card{padding:10px!important;margin:0!important}
  body.page-reviews .rv-image{width:64px!important;height:64px!important;border-radius:10px!important}
  body.page-reviews .rv-name{font-size:11px!important;line-height:1.3!important}
  body.page-reviews .rv-question{font-size:10px!important;line-height:1.4!important}

  /* Recently viewed / recommendation cards */
  body.page-recently-viewed .recent-product{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:9px!important;padding:9px!important}
  body.page-recently-viewed .recent-product img{width:78px!important;height:78px!important;object-fit:contain!important;border-radius:9px!important;background:#fff!important}
  body.page-recently-viewed .recent-product .desc{min-width:0!important}
  body.page-recently-viewed .recent-product .actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr auto!important;gap:7px!important}

  /* Forms: prevent desktop two-column compression and iOS zoom. */
  body:is(.page-change-initial-password,.page-company,.page-payment-methods,.page-return-create,.page-review-create,.page-support) form{
    min-width:0!important;
  }
  body:is(.page-change-initial-password,.page-company,.page-payment-methods,.page-return-create,.page-review-create,.page-support) form input,
  body:is(.page-change-initial-password,.page-company,.page-payment-methods,.page-return-create,.page-review-create,.page-support) form select,
  body:is(.page-change-initial-password,.page-company,.page-payment-methods,.page-return-create,.page-review-create,.page-support) form textarea{
    width:100%!important;min-height:42px!important;border-radius:10px!important;box-sizing:border-box!important;
  }

  /* General tables on customer/mobile-only pages scroll inside their own surface. */
  body:is(.page-invoices,.page-finance-center,.page-operation-center,.page-catalog-center) .table-wrap,
  body:is(.page-invoices,.page-finance-center,.page-operation-center,.page-catalog-center) .table-responsive{
    overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:12px!important;
  }

  /* Dialogs and bottom sheets: keep actions visible above bottom nav. */
  body .dialog-card{width:calc(100vw - 18px)!important;max-width:520px!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;border-radius:16px!important}
  body .dialog-actions{position:sticky!important;bottom:0!important;background:inherit!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}

  /* Prevent empty whitespace before persistent bottom navigation. */
  body.page-offline main,body.page-help main,body.page-about main,body.page-contact main,body.page-faq main{min-height:auto!important}
}

@media (max-width:380px){
  body.page-security .ac-activity-summary{grid-template-columns:1fr!important}
  body.page-recently-viewed .recent-product{grid-template-columns:68px minmax(0,1fr)!important}
  body.page-recently-viewed .recent-product img{width:68px!important;height:68px!important}
}
