/* v22.25.8 - Keep product search results below the textbox on mobile, not covering the input. */
@media(max-width:640px){
  html body .wp-sync-json-product-search,
  html body .wps-theme-json-search{position:relative!important;overflow:visible!important;z-index:1000!important;isolation:isolate!important}
  html body .wp-sync-json-product-search .wpsjps-form,
  html body .wps-theme-json-search input[type="search"],
  html body .wps-theme-json-search input[name="s"]{position:relative!important;z-index:1002!important}
  html body .wp-sync-json-product-search .wpsjps-results{
    position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;bottom:auto!important;width:auto!important;
    max-height:min(58vh,430px)!important;margin:0!important;z-index:1001!important;transform:none!important;border-radius:16px!important;
  }
  html body .wp-sync-json-product-search .wpsjps-list{max-height:min(58vh,410px)!important}
  html body .wps-theme-json-search .wps-theme-json-search-panel{
    position:absolute!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;bottom:auto!important;width:auto!important;
    max-height:min(58vh,430px)!important;margin:0!important;z-index:1001!important;border-radius:16px!important;
  }
  html body .wps-theme-json-search .wps-theme-json-search-list{max-height:min(58vh,410px)!important}
}
/* v22.25.8 - Detail_01 mobile sticky: price + discount in one row, specs never attach to bottom sticky. */
@media(max-width:782px){
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-featured-specs-inline,
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot .wp-sync-detail-featured-specs-inline,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-featured-specs-inline,
  html body .wp-sync-pdetail-v2020.has-mobile-sticky-buy .wpsd4-mobile-buy-slot .wp-sync-detail-featured-specs-inline,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-featured-specs-inline{display:none!important}

  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-card.is-buy-box,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-card.is-buy-box,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-card.is-buy-box{gap:8px!important;max-height:none!important;overflow:visible!important;grid-template-rows:auto auto!important}

  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price{
    display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
    width:100%!important;min-height:46px!important;margin:0!important;padding:8px 10px!important;border-radius:14px!important;overflow:hidden!important;
  }
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price__label,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price__label,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price__label{grid-column:1!important;min-width:0!important;max-width:34vw!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:left!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price__value,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price__value,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price__value{grid-column:2!important;width:100%!important;max-width:none!important;justify-self:stretch!important;text-align:left!important;overflow:visible!important;white-space:normal!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price__value .ttgdw-price-v2138,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price__value .ttgdw-price-v2138,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price__value .ttgdw-price-v2138{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price__value .ttgdw-price-v2138__line,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price__value .ttgdw-price-v2138__line,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-price__value .ttgdw-price-v2138__line{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;margin:0!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .ttgdw-price-v2138__main,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .ttgdw-price-v2138__main,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .ttgdw-price-v2138__main{min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .ttgdw-price-v2138__current,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .amount,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot bdi,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .ttgdw-price-v2138__current,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .amount,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot bdi,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .ttgdw-price-v2138__current,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .amount,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal bdi{font-size:clamp(19px,5.2vw,23px)!important;line-height:1!important;font-weight:900!important;white-space:nowrap!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .ttgdw-price-v2138__discount,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .ttgdw-price-v2138__discount,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .ttgdw-price-v2138__discount{display:inline-flex!important;justify-self:end!important;margin-left:0!important;align-self:center!important;min-height:20px!important;padding:3px 7px!important;border-radius:999px!important;font-size:10.5px!important;line-height:1!important;white-space:nowrap!important;background:#fde2e2!important;color:#0f172a!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .ttgdw-price-v2138__meta,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .ttgdw-price-v2138__meta,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .ttgdw-price-v2138__meta{display:none!important}

  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-actions.is-with-cart,
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot .wpsd2-buy-actions,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wpsd3-buybox-v2153__actions,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-actions:not(.is-no-price),
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wpsd3-buybox-v2153__actions,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-actions:not(.is-no-price),
  html body .wp-sync-pdetail-v2020.has-mobile-sticky-buy .wpsd4-mobile-buy-slot .wpsd4-actions{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;grid-template-rows:46px 44px!important;gap:8px!important;width:100%!important;min-width:0!important;align-items:stretch!important;margin:0!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot 
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot 
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wpsd3-buybox-v2153__cart,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot 
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wpsd3-buybox-v2153__cart,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal 
  html body .wp-sync-pdetail-v2020.has-mobile-sticky-buy .wpsd4-mobile-buy-slot .wpsd4-btn.is-outline{grid-column:1!important;grid-row:1!important;width:50px!important;min-width:50px!important;max-width:50px!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:0!important;border-radius:13px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-quick-buy-btn,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .is-buy:not(.is-accent),
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot .wp-sync-quick-buy-btn,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wpsd3-buybox-v2153__buy,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-quick-buy-btn,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-btn.is-primary,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wpsd3-buybox-v2153__buy,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-quick-buy-btn,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-detail-btn.is-primary,
  html body .wp-sync-pdetail-v2020.has-mobile-sticky-buy .wpsd4-mobile-buy-slot .wpsd4-btn.is-buy:not(.is-call){grid-column:2!important;grid-row:1!important;width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;border-radius:13px!important;font-size:13.5px!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-btn.is-accent,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-call-order-btn,
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot .wpsd2-call-btn,
  html body .wp-sync-pdetail-v2002.has-mobile-sticky-buy .wpsd2-mobile-buy-slot .wp-sync-consult-phone,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wpsd3-buybox-v2153__call,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-consult-phone,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wpsd3-buybox-v2153__call,
  html body .wpsd3-mobile-buy-slot.wpsd3-sticky-portal .wp-sync-consult-phone,
  html body .wp-sync-pdetail-v2020.has-mobile-sticky-buy .wpsd4-mobile-buy-slot .wpsd4-btn.is-call{grid-column:1/-1!important;grid-row:2!important;width:100%!important;height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:13px!important;font-size:13.5px!important;font-weight:900!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
@media(max-width:370px){
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .wp-sync-detail-price__label,
  html body .wp-sync-pdetail-v2013.has-mobile-sticky-buy .wpsd3-mobile-buy-slot .wp-sync-detail-price__label{max-width:31vw!important;font-size:11.5px!important}
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .ttgdw-price-v2138__current,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot .amount,
  html body .wp-sync-detail-v1987.has-mobile-sticky-buy .wp-sync-mobile-buy-slot bdi{font-size:18px!important}
}
