/* v14 — second mobile adaptation pass: working navigation + inner pages */
@media (max-width:900px){
  html body.store-body.mobile-nav-open-v14{overflow:hidden!important}

  /* Keep the mobile action row stable with a real menu button. */
  html body.store-body .topbar.topbar-v849{grid-auto-flow:row!important;align-items:center!important}
  html body.store-body .topbar.topbar-v849>.mobile-nav-toggle-v13{display:grid!important}
  html body.store-body .topbar.topbar-v849>.lang-switch,
  html body.store-body .topbar.topbar-v849>.notifications-shell-v283,
  html body.store-body .topbar.topbar-v849>.cart-shell-v11,
  html body.store-body .topbar.topbar-v849>.profile-menu-shell-v285,
  html body.store-body .topbar.topbar-v849>.guest-login-v931,
  html body.store-body .topbar.topbar-v849>.mobile-nav-toggle-v13{grid-row:2!important}
  html body.store-body .topbar.topbar-v849>.lang-switch{grid-column:1!important}
  html body.store-body .topbar.topbar-v849>.notifications-shell-v283{grid-column:2!important}
  html body.store-body .topbar.topbar-v849>.cart-shell-v11{grid-column:3!important}
  html body.store-body .topbar.topbar-v849>.profile-menu-shell-v285,
  html body.store-body .topbar.topbar-v849>.guest-login-v931{grid-column:4!important}
  html body.store-body .topbar.topbar-v849>.mobile-nav-toggle-v13{grid-column:5!important}
  html body.store-body .topbar.topbar-v849 .topbar-search-v849{grid-row:1!important}

  /* Drawer */
  html body.store-body .drawer-mask{position:fixed!important;inset:0!important;z-index:2100!important;background:rgba(17,32,52,.36)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
  html body.store-body .cart-drawer{position:fixed!important;z-index:2110!important;inset:auto 8px calc(8px + env(safe-area-inset-bottom)) 8px!important;width:auto!important;max-width:none!important;max-height:min(84dvh,760px)!important;border-radius:26px!important;padding:18px!important;overflow:auto!important}
  html body.store-body .cart-drawer .cart-row{grid-template-columns:64px minmax(0,1fr) auto!important;gap:12px!important}
  html body.store-body .cart-drawer .cart-row img{width:64px!important;height:64px!important}

  /* Product details */
  html body.store-body .product-v108-page{grid-template-columns:1fr!important;gap:14px!important;width:100%!important;min-width:0!important}
  html body.store-body .product-v108-main,
  html body.store-body .product-v108-aside{width:100%!important;min-width:0!important;box-sizing:border-box!important}
  html body.store-body .product-v108-main{padding:16px!important;border-radius:24px!important}
  html body.store-body .product-v108-hero{height:auto!important;min-height:220px!important;aspect-ratio:16/10!important;border-radius:20px!important}
  html body.store-body .product-v108-info{padding:0 2px 12px!important}
  html body.store-body .product-v108-info h1{font-size:clamp(30px,8.4vw,40px)!important;line-height:1.02!important;word-break:normal!important;overflow-wrap:anywhere!important}
  html body.store-body .product-v108-kicker{display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  html body.store-body .product-v108-tabs{width:calc(100% + 16px)!important;margin-left:-8px!important;padding:10px 8px!important;overflow-x:auto!important;scrollbar-width:none!important}
  html body.store-body .product-v108-tabs::-webkit-scrollbar{display:none!important}
  html body.store-body .product-v108-tabs button{flex:0 0 auto!important;white-space:nowrap!important}
  html body.store-body .product-v108-content{font-size:15px!important;line-height:1.65!important;overflow-wrap:anywhere!important}
  html body.store-body .product-v108-aside{position:static!important;display:grid!important;gap:12px!important}
  html body.store-body .product-v108-buy,
  html body.store-body .product-v108-side-card{padding:17px!important;border-radius:22px!important}
  html body.store-body .product-v108-buy .primary,
  html body.store-body .product-v108-buy .ghost{width:100%!important;min-width:0!important;height:52px!important}

  /* Favorites */
  html body.store-body .bookmarks-page-v924{width:100%!important;min-width:0!important}
  html body.store-body .bookmarks-hero-v924{grid-template-columns:52px minmax(0,1fr)!important;padding:18px!important;border-radius:23px!important;gap:12px!important}
  html body.store-body .bookmarks-hero-side-v924{grid-column:1/-1!important;width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important}
  html body.store-body .bookmarks-list-v924{gap:12px!important}
  html body.store-body .bookmark-item-v924{grid-template-columns:74px minmax(0,1fr)!important;gap:13px!important;padding:15px!important;border-radius:22px!important}
  html body.store-body .bookmark-visual-v924{width:74px!important;height:74px!important}
  html body.store-body .bookmark-copy-v924 h2{font-size:21px!important;overflow-wrap:anywhere!important}
  html body.store-body .bookmark-copy-v924 p{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  html body.store-body .bookmark-actions-v924{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:8px!important;align-items:center!important}
  html body.store-body .bookmark-price-v924{grid-column:1/-1!important}

  /* Billing */
  html body.store-body .billing-page-v4{width:100%!important;min-width:0!important;margin:4px 0 40px!important;padding:0!important}
  html body.store-body .billing-page-v4 .billing-hero-v1{min-height:0!important;padding:20px!important;border-radius:22px!important;grid-template-columns:1fr!important;gap:16px!important}
  html body.store-body .billing-page-v4 .billing-hero-copy-v1 h1{font-size:clamp(32px,8.7vw,44px)!important}
  html body.store-body .billing-page-v4 .billing-hero-v1>.billing-primary-v1{width:100%!important;justify-content:center!important}
  html body.store-body .billing-page-v4 .billing-summary-v1{grid-template-columns:1fr 1fr!important;gap:9px!important}
  html body.store-body .billing-page-v4 .billing-balance-card-v1{min-height:132px!important;padding:14px!important;grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}
  html body.store-body .billing-page-v4 .billing-balance-card-v1 p{font-size:10px!important;line-height:1.4!important}
  html body.store-body .billing-page-v4 .billing-tabs-v1{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:7px!important;scrollbar-width:none!important}
  html body.store-body .billing-page-v4 .billing-tabs-v1::-webkit-scrollbar{display:none!important}
  html body.store-body .billing-page-v4 .billing-tabs-v1 button{flex:0 0 auto!important;white-space:nowrap!important}
  html body.store-body .billing-page-v4 .billing-overview-v1,
  html body.store-body .billing-page-v4 .billing-topup-grid-v1{grid-template-columns:1fr!important}
  html body.store-body .billing-page-v4 .billing-referral-link-v1{grid-template-columns:1fr!important}
  html body.store-body .billing-page-v4 .billing-referral-link-v1 button{width:100%!important}
  html body.store-body .billing-page-v4 .billing-list-v1.full article{grid-template-columns:38px minmax(0,1fr)!important;gap:10px!important}
  html body.store-body .billing-page-v4 .billing-list-v1.full article>strong{grid-column:2!important;justify-self:start!important}

  /* Checkout */
  html body.store-body .checkout-page-v259{width:100%!important;min-width:0!important;padding:0!important}
  html body.store-body .checkout-page-v259 .checkout-v251{grid-template-columns:1fr!important;width:100%!important;min-width:0!important;gap:12px!important}
  html body.store-body .checkout-summary-v251{order:-1!important;position:static!important;padding:18px!important;border-radius:22px!important}
  html body.store-body .checkout-form-v251{padding:18px!important;border-radius:22px!important}
  html body.store-body .checkout-form-v251 .form-heading h1{font-size:31px!important}
  html body.store-body .checkout-method-card-v251{grid-template-columns:22px minmax(0,1fr)!important}
  html body.store-body .checkout-method-card-v251 em{grid-column:2!important;justify-self:start!important}
  html body.store-body .checkout-addon-grid-v260,
  html body.store-body .checkout-support-options-v260{grid-template-columns:1fr!important}
  html body.store-body .checkout-promo-v893{grid-template-columns:1fr!important}
  html body.store-body .checkout-promo-v893 .ghost{width:100%!important}

  /* Payment page */
  html body.store-body .order-pay-page-v257,
  html body.store-body .order-pay-page-v258{width:100%!important;min-width:0!important;gap:12px!important}
  html body.store-body .order-pay-hero-v257,
  html body.store-body .order-pay-hero-v258{grid-template-columns:1fr!important;padding:18px!important;border-radius:22px!important;gap:12px!important}
  html body.store-body .order-pay-hero-v257 strong,
  html body.store-body .order-pay-hero-v258 strong{font-size:28px!important;justify-self:start!important}
  html body.store-body .order-pay-grid-v257,
  html body.store-body .order-pay-grid-v258{grid-template-columns:1fr!important;gap:12px!important}
  html body.store-body .order-pay-card-v257,
  html body.store-body .order-pay-card-v258,
  html body.store-body .order-pay-side-v257,
  html body.store-body .order-pay-side-v258{padding:18px!important;border-radius:22px!important}
  html body.store-body .order-pay-amount-v257 b,
  html body.store-body .order-pay-amount-v258 b{font-size:clamp(30px,9vw,42px)!important;overflow-wrap:anywhere!important}
  html body.store-body .order-pay-qr-wrap-v257,
  html body.store-body .order-pay-qr-wrap-v258{flex-direction:column!important;align-items:flex-start!important}
  html body.store-body .order-pay-qr-wrap-v257 img,
  html body.store-body .order-pay-qr-wrap-v258 img{width:min(200px,100%)!important;height:auto!important;aspect-ratio:1!important}
  html body.store-body .order-pay-facts-v257,
  html body.store-body .order-pay-facts-v258{grid-template-columns:1fr!important}
  html body.store-body .order-pay-actions-v257,
  html body.store-body .order-pay-actions-v258{display:grid!important;grid-template-columns:1fr!important}
  html body.store-body .order-pay-actions-v257>* ,
  html body.store-body .order-pay-actions-v258>*{width:100%!important;min-width:0!important}

  /* Account */
  html body.store-body .profile-hero-v262{grid-template-columns:1fr!important;justify-items:center!important;text-align:center!important;padding:20px!important;border-radius:24px!important}
  html body.store-body .profile-identity-v262{min-width:0!important;width:100%!important}
  html body.store-body .profile-identity-v262 h1{font-size:30px!important;overflow-wrap:anywhere!important}
  html body.store-body .profile-status-grid-v262{grid-template-columns:1fr 1fr!important;width:100%!important}
  html body.store-body .profile-layout-v262{grid-template-columns:1fr!important;gap:12px!important}
  html body.store-body .profile-nav-v262{position:static!important;display:flex!important;overflow-x:auto!important;scrollbar-width:none!important;padding:7px!important;border-radius:20px!important}
  html body.store-body .profile-nav-v262::-webkit-scrollbar{display:none!important}
  html body.store-body .profile-nav-v262 button{flex:0 0 auto!important;min-width:auto!important;white-space:nowrap!important;padding:0 15px!important}
  html body.store-body .profile-grid-v262,
  html body.store-body .profile-stats-v262{grid-template-columns:1fr!important}
  html body.store-body .profile-panel-v262{padding:17px!important;border-radius:22px!important}
  html body.store-body .profile-setting-card-v262{grid-template-columns:42px minmax(0,1fr)!important;gap:11px!important}
  html body.store-body .profile-setting-card-v262>button{grid-column:1/-1!important;width:100%!important}

  /* Auth */
  html body.store-body .auth-layout-v930 .main{padding:10px!important}
  html body.store-body .auth-v928-shell,
  html body.store-body .auth-v928-card{width:100%!important;max-width:none!important;min-width:0!important}
  html body.store-body .auth-v928-card{padding:20px!important;border-radius:24px!important}
  html body.store-body .auth-v928-card h1{font-size:32px!important}
  html body.store-body .auth-v928-aside{display:none!important}

  /* Support */
  html body.store-body .support-page-v935{width:100%!important;min-width:0!important}
  html body.store-body .support-layout-v935{grid-template-columns:1fr!important;min-height:0!important;height:auto!important}
  html body.store-body .support-list-pane-v935,
  html body.store-body .support-chat-pane-v935{width:100%!important;min-width:0!important;min-height:70dvh!important;border-radius:22px!important}
  html body.store-body .support-page-v935:not(.mobile-chat-open) .support-chat-pane-v935{display:none!important}
  html body.store-body .support-page-v935.mobile-chat-open .support-list-pane-v935{display:none!important}
  html body.store-body .support-back-v935{display:grid!important}
  html body.store-body .support-new-thread-v935{padding:14px!important}
  html body.store-body .support-composer-v935{padding:10px!important;grid-template-columns:minmax(0,1fr) 46px!important}

  /* Reviews */
  html body.store-body .reviews-v949{width:100%!important;min-width:0!important;margin-top:6px!important}
  html body.store-body .reviews-v949 .reviews-layout-v942{grid-template-columns:1fr!important;gap:12px!important}
  html body.store-body .reviews-v949 .reviews-page-head-v942{padding:0!important}
  html body.store-body .reviews-v949 .reviews-page-title-v942 h1{font-size:30px!important}
  html body.store-body .reviews-v949 .reviews-head-score-v942{width:100%!important;min-width:0!important}
  html body.store-body .reviews-v949 .reviews-tabs-v942{overflow-x:auto!important;scrollbar-width:none!important}
  html body.store-body .reviews-v949 .reviews-tabs-v942::-webkit-scrollbar{display:none!important}
  html body.store-body .reviews-v949 .reviews-tabs-v942 button{flex:0 0 auto!important}
  html body.store-body .reviews-v949 .reviews-composer-v942,
  html body.store-body .reviews-v949 .review-card-v942,
  html body.store-body .reviews-v949 .reviews-overall-v942,
  html body.store-body .reviews-v949 .reviews-why-v942{border-radius:20px!important}
  html body.store-body .reviews-v949 .review-card-head-v942{grid-template-columns:42px minmax(0,1fr) 28px!important}
  html body.store-body .reviews-v949 .review-card-head-v942>time{grid-column:2!important}
  html body.store-body .reviews-v949 .reviews-score-options-v942{overflow-x:auto!important;justify-content:flex-start!important}
  html body.store-body .reviews-v949 .reviews-score-options-v942>button{flex:0 0 52px!important}

  /* Desk / generic forms */
  html body.store-body .desk-page-v176,
  html body.store-body .desk-layout-v176{grid-template-columns:1fr!important;width:100%!important;min-width:0!important}
  html body.store-body .desk-form-v176,
  html body.store-body .desk-aside-v176{padding:17px!important;border-radius:22px!important}

  /* Floating UI */
  html body.store-body .toast-card{left:10px!important;right:10px!important;top:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important}
  html body.store-body .notification-popup-stack-v341{left:10px!important;right:10px!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;width:auto!important}
  html body.store-body .notification-popup-card-v341{width:100%!important;max-width:none!important}
}

@media (max-width:620px){
  html body.store-body .billing-page-v4 .billing-summary-v1{grid-template-columns:1fr!important}
  html body.store-body .billing-page-v4 .billing-balance-card-v1{min-height:112px!important}
  html body.store-body .bookmark-item-v924{grid-template-columns:62px minmax(0,1fr)!important}
  html body.store-body .bookmark-visual-v924{width:62px!important;height:62px!important}
  html body.store-body .bookmark-actions-v924{grid-template-columns:1fr!important}
  html body.store-body .bookmark-actions-v924>*{width:100%!important}
  html body.store-body .profile-status-grid-v262{grid-template-columns:1fr!important}
  html body.store-body .product-v108-hero{min-height:190px!important}
  html body.store-body .order-pay-amount-v257,
  html body.store-body .order-pay-amount-v258{padding:17px!important}
}
