/*
 * Ajosa Factory v2.0.4 mobile fidelity layer.
 * Loaded last. Fixes the mobile overflow/partial-width Elementor rendering and
 * follows the uploaded React storefront breakpoints: <640px = 1 product/deal
 * column, 640-767px = 2 columns, CategoryRibbon stays 4 columns on mobile.
 */

/* WooCommerce adds clearfix pseudo-elements to ul.products. Once the list is
 * converted to CSS grid those pseudo-elements can become real empty grid cells.
 */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after{
  content:none!important;
  display:none!important;
}

@media(max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  body.ajosa-theme{width:100%;max-width:100%;overflow-x:hidden}

  /* Elementor legacy sections can retain generated column widths from an older
   * imported layout. Ajosa's supplied templates use one top-level column per
   * section, so force only those top-level Ajosa page/template columns to 100%.
   */
  body.ajosa-theme .elementor,
  body.ajosa-theme .elementor-section-wrap,
  body.ajosa-theme .elementor-section.elementor-top-section,
  body.ajosa-theme .elementor-section.elementor-top-section>.elementor-container,
  body.ajosa-theme .elementor-element.e-con.e-parent,
  body.ajosa-theme .elementor-element.e-con.e-parent>.e-con-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.ajosa-theme .elementor-section.elementor-top-section>.elementor-container>.elementor-column{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    flex:0 0 100%!important;
  }
  body.ajosa-theme .elementor-section.elementor-top-section>.elementor-container>.elementor-column>.elementor-widget-wrap,
  body.ajosa-theme .elementor-widget[class*="elementor-widget-ajosa-"],
  body.ajosa-theme .elementor-widget[class*="elementor-widget-ajosa-"]>.elementor-widget-container{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  /* No Ajosa child is allowed to establish a wider page than the device. */
  .ajosa-container,
  .ajosa-header-row,
  .ajosa-category-ribbon,
  .ajosa-hero,
  .ajosa-hero-card,
  .ajosa-hero-main,
  .ajosa-home-contained,
  .ajosa-lightning-section,
  .ajosa-trend-section,
  .ajosa-catalog,
  .ajosa-catalog-layout,
  .ajosa-catalog-grid,
  .ajosa-ai-wrap,
  .ajosa-ai-card,
  .ajosa-footer,
  .ajosa-footer-main,
  .ajosa-footer-trust{
    min-width:0!important;
    max-width:100%!important;
  }
  .ajosa-container{width:100%!important;padding-left:16px!important;padding-right:16px!important}
  .ajosa-hero-main>*,.ajosa-catalog-layout>*,.ajosa-lightning-grid>*,.ajosa-trend-cards>*{min-width:0!important;max-width:100%!important}
  body.ajosa-theme img,body.ajosa-theme svg,body.ajosa-theme video{max-width:100%!important;height:auto}

  /* Header matches the React mobile composition: compact brand + icon actions,
   * desktop search/location/tools hidden, horizontal department nav contained.
   */
  .ajosa-announcement .ajosa-container{justify-content:center!important;min-height:28px}
  .ajosa-announcement-left{display:none!important}
  .ajosa-announcement-right{width:100%;justify-content:center!important}
  .ajosa-supercoins{font-size:10px;padding:2px 8px}
  .ajosa-header-row{min-height:62px!important;gap:8px!important;justify-content:flex-start!important}
  .ajosa-mobile-menu{display:grid!important;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:5px}
  .ajosa-brand{min-width:0;flex:0 1 auto}
  .ajosa-reference-brand{gap:7px!important}
  .ajosa-logo-svg{width:31px!important;height:31px!important}
  .ajosa-reference-wordmark strong{font-size:16px!important}
  .ajosa-reference-wordmark b{font-size:7px!important;letter-spacing:.22em!important}
  .ajosa-search,.ajosa-deliver,.ajosa-head-icon,.ajosa-head-wide{display:none!important}
  .ajosa-head-action{margin-left:auto;padding:5px!important;min-height:36px!important;gap:3px!important;flex:0 0 auto}
  .ajosa-head-action+.ajosa-head-action{margin-left:0}
  .ajosa-head-action>span:last-child{display:none!important}
  .ajosa-head-action>span:first-child{font-size:20px!important}
  .ajosa-cart-count{top:-8px;right:-7px}
  .ajosa-nav .ajosa-container{padding-left:8px!important;padding-right:8px!important;overflow:hidden!important}
  .ajosa-nav nav{width:100%!important;max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}

  /* Category Ribbon source: grid-cols-4 on mobile, md:grid-cols-8. */
  .ajosa-category-ribbon .ajosa-container{overflow:hidden!important}
  .ajosa-market-tabs,.ajosa-market-tab-list{min-width:0!important;max-width:100%!important}
  .ajosa-category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
  .ajosa-category-ribbon .ajosa-category-tile{min-width:0!important;width:100%!important;min-height:88px!important;padding:6px 4px!important}
  .ajosa-category-tile .ajosa-cat-icon{width:36px!important;height:36px!important;font-size:16px!important;margin-bottom:4px!important}
  .ajosa-category-tile b{font-size:9px!important;line-height:1.15!important;overflow-wrap:anywhere}
  .ajosa-category-tile small{font-size:7px!important;line-height:1.2!important;overflow-wrap:anywhere}
  .ajosa-category-tile em{font-size:7px!important;padding:1px 4px!important}

  /* Hero source: one column until lg. Keep both copy and featured product full width. */
  .ajosa-hero>.ajosa-container{padding-top:16px!important;padding-bottom:16px!important}
  .ajosa-hero-card{width:100%!important;border-radius:18px!important}
  .ajosa-hero-main{grid-template-columns:minmax(0,1fr)!important;width:100%!important;padding:22px 16px!important;gap:20px!important}
  .ajosa-hero-copy,.ajosa-featured-deal{width:100%!important;max-width:100%!important}
  .ajosa-hero h1{font-size:30px!important;line-height:1.12!important;overflow-wrap:anywhere}
  .ajosa-hero-copy>p{font-size:13px!important;line-height:1.55!important}
  .ajosa-value-grid{grid-template-columns:minmax(0,1fr)!important;font-size:11px!important}
  .ajosa-hero-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .ajosa-hero-actions .ajosa-btn{width:100%!important;min-width:0!important;padding:12px 14px!important}
  .ajosa-featured-deal{padding:14px!important}
  .ajosa-featured-image{width:100%!important;max-width:100%!important}
  .ajosa-hero-bottom{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px 12px!important;font-size:9px!important}

  /* Feed stays inside viewport and scrolls internally if its ticker is wider. */
  .ajosa-deal-strip .ajosa-container{min-width:0!important;overflow:hidden!important}
  .ajosa-marquee{min-width:0!important;overflow-x:auto!important;scrollbar-width:none}
  .ajosa-deal-strip a{display:none!important}

  /* Catalog chrome. */
  .ajosa-lightning-section,.ajosa-trend-section{margin:24px 0!important;padding:16px!important;border-radius:16px!important;width:100%!important}
  .ajosa-lightning-head,.ajosa-trend-head,.ajosa-catalog-head{align-items:flex-start!important;flex-direction:column!important;gap:12px!important}
  .ajosa-lightning-title{align-items:flex-start!important}
  .ajosa-lightning-title h2{font-size:20px!important}
  .ajosa-countdown{max-width:100%;flex-wrap:wrap}
  .ajosa-trend-head h2{font-size:26px!important;line-height:1.12!important}
  .ajosa-trend-head p{font-size:12px!important;line-height:1.5!important}
  .ajosa-trend-saving{text-align:left!important;white-space:normal!important}
  .ajosa-catalog{padding:24px 0 32px!important}
  .ajosa-catalog-layout{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important}
  .ajosa-filter-sidebar{display:none!important}
  .ajosa-catalog-head{padding-bottom:16px!important}
  .ajosa-catalog-head h2{font-size:25px!important;line-height:1.15!important}
  .ajosa-catalog-head>div>p{font-size:12px!important}
  .ajosa-catalog-head>label,.ajosa-catalog-head select{width:100%!important;max-width:100%!important}
  .ajosa-offers-strip{align-items:flex-start!important;flex-direction:column!important;padding:12px!important;margin-bottom:20px!important}
  .ajosa-offer-chips{width:100%!important;display:flex!important;overflow-x:auto!important;max-width:100%!important}

  /* AI + footer remain readable and never force document width. */
  .ajosa-ai-wrap{padding-top:28px!important;padding-bottom:32px!important}
  .ajosa-ai-card{grid-template-columns:minmax(0,1fr)!important;padding:24px 18px!important;gap:20px!important}
  .ajosa-ai-card h2{font-size:27px!important;line-height:1.15!important}
  .ajosa-ai-card p{font-size:12px!important;line-height:1.6!important}
  .ajosa-ai-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ajosa-footer-trust>.ajosa-container,.ajosa-footer-main{grid-template-columns:minmax(0,1fr)!important;gap:22px!important}
  .ajosa-footer-trust>.ajosa-container{padding-top:32px!important;padding-bottom:32px!important}
  .ajosa-footer-main{padding-top:40px!important;padding-bottom:40px!important}
  .ajosa-footer-bottom .ajosa-container{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}

  /* WooCommerce archives/pages: no blank first grid cell, no cramped 2-up cards. */
  .woocommerce,.woocommerce-page,.ajosa-wc-main,.ajosa-content{width:100%!important;max-width:100%!important;min-width:0!important}
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none!important;width:100%!important;margin:0 0 12px!important}
  .woocommerce .woocommerce-ordering select{width:100%!important;max-width:100%!important}
  .woocommerce ul.products,.woocommerce .products ul{width:100%!important;max-width:100%!important;min-width:0!important}
  .woocommerce ul.products li.product{min-width:0!important;max-width:100%!important}
  .woocommerce div.product{width:100%!important;max-width:100%!important;padding:16px!important}
  .woocommerce table.shop_table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* React sm breakpoint: 2 cards from 640px, while narrow phones stay 1-up. */
@media(min-width:640px) and (max-width:767px){
  .ajosa-lightning-grid,
  .ajosa-trend-cards,
  .ajosa-catalog-layout .ajosa-catalog-grid,
  .woocommerce ul.products,
  .woocommerce .products ul{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}

@media(max-width:639px){
  .ajosa-lightning-grid,
  .ajosa-trend-cards,
  .ajosa-catalog-layout .ajosa-catalog-grid,
  .woocommerce ul.products,
  .woocommerce .products ul{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .ajosa-deal-card,.ajosa-trend-card,.ajosa-product-card,.ajosa-wc-card{width:100%!important;max-width:100%!important;min-width:0!important}
  .ajosa-product-media{width:100%!important}
  .ajosa-product-body{padding:14px!important}
  .ajosa-product-card h3,.ajosa-wc-card h2{font-size:14px!important;line-height:1.35!important}
  .ajosa-price{font-size:20px!important}
  .ajosa-card-actions{grid-template-columns:1fr!important}
  .ajosa-card-actions a,.ajosa-card-actions .button{width:100%!important}
  .ajosa-trend-img{aspect-ratio:3/4!important}
  .ajosa-category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

@media(max-width:390px){
  .ajosa-container{padding-left:12px!important;padding-right:12px!important}
  .ajosa-category-tiles{gap:5px!important}
  .ajosa-category-ribbon .ajosa-category-tile{padding:5px 3px!important;min-height:84px!important}
  .ajosa-reference-wordmark strong{font-size:15px!important}
  .ajosa-hero h1{font-size:28px!important}
  .ajosa-ai-stats{grid-template-columns:1fr!important}
}

/* ========================================================================
   AJOSA FACTORY v2.1.0 — MOBILE MARKETPLACE SYSTEM
   Authoritative <=767px layer. Keeps the v2.0.4 overflow/clearfix fixes and
   upgrades the phone UX to a professional touch-first marketplace layout.
   ======================================================================== */
@media(max-width:767px){
  :root{--ajosa-mobile-bottom-nav-height:64px}
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.ajosa-theme{padding-bottom:calc(var(--ajosa-mobile-bottom-nav-height) + env(safe-area-inset-bottom,0px))!important;background:#f4f7fb!important}
  body.ajosa-filter-open{overflow:hidden!important}
  .ajosa-container,.ajosa-home-contained{width:calc(100% - 24px)!important;max-width:none!important;margin-inline:12px!important;padding-inline:0!important}

  /* Sticky two-row mobile commerce header. */
  .ajosa-market-header{position:sticky!important;top:0!important;z-index:9990!important}
  .admin-bar .ajosa-market-header{top:46px!important}
  .ajosa-market-utility{display:none!important}
  .ajosa-market-primary{width:100%!important;margin:0!important;min-height:56px!important;padding:0 12px!important;gap:8px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px 48px!important;background:#071a2f!important}
  .ajosa-market-mobile-menu{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#fff!important;font-size:22px!important;cursor:pointer!important}
  .ajosa-market-brand{min-width:0!important;justify-self:start!important;overflow:hidden!important}
  .ajosa-market-brand .custom-logo{max-width:132px!important;max-height:38px!important}
  .ajosa-market-brand .ajosa-reference-brand{gap:7px!important}
  .ajosa-market-brand .ajosa-logo-svg{width:34px!important;height:34px!important}
  .ajosa-market-brand .ajosa-reference-wordmark strong{font-size:16px!important}
  .ajosa-market-brand .ajosa-reference-wordmark b{font-size:7px!important;letter-spacing:.22em!important}
  .ajosa-market-location,.ajosa-desktop-search,.ajosa-orders-action,.ajosa-market-actions>.ajosa-wishlist-open{display:none!important}
  .ajosa-market-actions{display:contents!important}
  .ajosa-market-actions>.ajosa-account-action{grid-column:3!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:9px!important}
  .ajosa-market-actions>.ajosa-account-action>span:first-child{font-size:21px!important}
  .ajosa-market-actions>.ajosa-account-action>span:last-child{display:none!important}
  .ajosa-market-actions>.ajosa-market-cart{grid-column:4!important;width:48px!important;height:44px!important;min-height:44px!important;padding:0!important;display:grid!important;place-items:center!important;background:transparent!important;color:#fff!important;border-radius:9px!important}
  .ajosa-market-actions>.ajosa-market-cart>span:last-child{display:none!important}
  .ajosa-market-actions>.ajosa-market-cart .ajosa-cart-icon{font-size:20px!important;color:#fff!important}
  .ajosa-market-actions>.ajosa-market-cart .ajosa-cart-count{border-color:#071a2f!important}
  .ajosa-mobile-search-row{display:block!important;width:100%!important;margin:0!important;padding:0 12px 10px!important;background:#071a2f!important}
  .ajosa-mobile-search-form{display:flex!important;width:100%!important;height:44px!important;min-width:0!important;border-radius:9px!important;overflow:hidden!important;background:#fff!important}
  .ajosa-mobile-search-form input[type=search]{width:100%!important;min-width:0!important;height:44px!important;font-size:13px!important;padding:0 12px!important}
  .ajosa-mobile-search-form button[type=submit]{width:48px!important;height:44px!important;flex:none!important}

  /* Category surface is a dropdown/drawer under the mobile search. */
  .ajosa-market-categorybar{position:absolute!important;left:0!important;right:0!important;top:100%!important;z-index:9989!important;display:block!important;max-height:0!important;overflow:hidden!important;opacity:0!important;visibility:hidden!important;transition:max-height .22s ease,opacity .18s ease!important;background:#0d3154!important;box-shadow:0 14px 30px rgba(2,12,27,.24)!important}
  .ajosa-market-categorybar.open{max-height:62vh!important;opacity:1!important;visibility:visible!important;overflow-y:auto!important}
  .ajosa-market-categorybar>.ajosa-container{width:100%!important;margin:0!important;padding:8px 12px 14px!important}
  .ajosa-market-categorybar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;white-space:normal!important;overflow:visible!important;min-height:0!important;padding:0!important}
  .ajosa-market-categorybar nav>a,.ajosa-market-categorybar nav>button{min-width:0!important;min-height:44px!important;justify-content:flex-start!important;text-align:left!important;border:1px solid rgba(255,255,255,.1)!important;background:rgba(255,255,255,.04)!important;border-radius:8px!important;padding:9px 10px!important;font-size:11px!important;white-space:normal!important}

  /* Fixed bottom shopping navigation. */
  .ajosa-mobile-bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:9998!important;height:calc(var(--ajosa-mobile-bottom-nav-height) + env(safe-area-inset-bottom,0px))!important;padding:4px 6px env(safe-area-inset-bottom,0px)!important;background:#fff!important;border-top:1px solid #d8e2eb!important;box-shadow:0 -7px 20px rgba(15,35,55,.10)!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:start!important}
  .ajosa-mobile-bottom-item{position:relative!important;min-width:0!important;height:56px!important;border:0!important;background:transparent!important;color:#40566b!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;padding:4px 2px!important;font-size:18px!important;cursor:pointer!important}
  .ajosa-mobile-bottom-item>b{font-size:9px!important;line-height:1!important;font-weight:700!important;color:#52677b!important}
  .ajosa-mobile-bottom-item:hover,.ajosa-mobile-bottom-item:focus-visible{color:#0878d1!important;background:#f0f8ff!important;border-radius:8px!important}
  .ajosa-mobile-nav-icon em{right:-10px!important;top:-8px!important;min-width:15px!important;height:15px!important;font-size:8px!important}
  .ajosa-floating-compare{bottom:calc(var(--ajosa-mobile-bottom-nav-height) + 8px)!important}

  /* Category discovery becomes a horizontal rail like major marketplaces. */
  .ajosa-category-ribbon>.ajosa-container{width:100%!important;margin:0!important;padding:10px 12px 12px!important;overflow:hidden!important}
  .ajosa-market-tabs{margin-bottom:9px!important}
  .ajosa-market-tabs>span{display:none!important}
  .ajosa-market-tab-list{gap:6px!important;overflow-x:auto!important;padding-bottom:2px!important}
  .ajosa-market-tab-list>a{min-height:32px!important;padding:7px 10px!important;font-size:9px!important}
  .ajosa-category-tiles{display:flex!important;grid-template-columns:none!important;gap:7px!important;width:auto!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding:7px 1px 4px!important;scrollbar-width:none!important;align-items:stretch!important}
  .ajosa-category-tiles::-webkit-scrollbar{display:none!important}
  .ajosa-category-ribbon .ajosa-category-tile{flex:0 0 82px!important;width:82px!important;min-height:84px!important;padding:16px 4px 6px!important;border-radius:11px!important;scroll-snap-align:start!important;justify-content:flex-start!important}
  .ajosa-category-tile .ajosa-cat-icon{width:32px!important;height:32px!important;font-size:15px!important;margin:0 0 4px!important;flex:none!important}
  .ajosa-category-tile b{font-size:8.5px!important;line-height:1.12!important;min-height:19px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .ajosa-category-tile small{font-size:6.4px!important;line-height:1.12!important;margin-top:2px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .ajosa-category-tile em{top:4px!important;font-size:5.8px!important;line-height:1!important;padding:2px 4px!important}

  /* Hero and content hierarchy. */
  .ajosa-hero>.ajosa-container{width:calc(100% - 24px)!important;margin:0 12px!important;padding:12px 0 14px!important}
  .ajosa-hero-card{width:100%!important;border-radius:15px!important}
  .ajosa-hero-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:16px 14px 14px!important}
  .ajosa-hero-copy,.ajosa-featured-deal{width:100%!important;max-width:none!important;min-width:0!important}
  .ajosa-hero-chip{font-size:7.5px!important;padding:4px 7px!important}
  .ajosa-hero h1{font-size:clamp(24px,6.2vw,28px)!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:8px 0 10px!important;overflow-wrap:normal!important}
  .ajosa-hero-copy>p{font-size:10px!important;line-height:1.45!important;margin:0!important;max-width:36rem!important}
  .ajosa-value-grid{grid-template-columns:1fr 1fr!important;gap:6px 8px!important;font-size:8.5px!important;line-height:1.3!important;margin:11px 0 0!important}
  .ajosa-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin-top:13px!important}
  .ajosa-hero-actions .ajosa-btn{width:100%!important;min-height:42px!important;padding:9px 11px!important;font-size:9.5px!important}
  .ajosa-featured-deal{padding:11px!important;border-radius:13px!important}
  .ajosa-featured-top{font-size:8px!important}
  .ajosa-featured-image img{aspect-ratio:16/10!important;object-fit:cover!important}
  .ajosa-featured-deal h3{font-size:13px!important;margin-top:9px!important}
  .ajosa-featured-deal p{font-size:8px!important}
  .ajosa-featured-trust{font-size:8px!important}
  .ajosa-hero-bottom{grid-template-columns:1fr 1fr!important;gap:6px!important;padding:9px 10px!important;font-size:7.5px!important}
  .ajosa-deal-strip>.ajosa-container{width:100%!important;margin:0!important;padding:8px 12px!important;overflow:hidden!important}
  .ajosa-deal-strip strong{flex:none!important;font-size:8px!important}
  .ajosa-deal-strip .ajosa-marquee{min-width:0!important;font-size:8px!important;overflow:hidden!important}
  .ajosa-deal-strip>a{display:none!important}

  /* Deal/trend/catalog sections. 2-up phone cards, 1-up only below 360px. */
  .ajosa-lightning-section,.ajosa-trend-section{margin:16px 0!important;padding:13px!important;border-radius:14px!important;width:100%!important}
  .ajosa-lightning-head,.ajosa-trend-head,.ajosa-catalog-head{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  .ajosa-lightning-title h2{font-size:20px!important}
  .ajosa-lightning-title p{font-size:9px!important}
  .ajosa-countdown{align-self:stretch!important;justify-content:center!important;min-height:36px!important}
  .ajosa-trend-head h2{font-size:23px!important;line-height:1.12!important}
  .ajosa-trend-head p{font-size:9px!important;line-height:1.45!important}
  .ajosa-trend-saving{display:none!important}
  .ajosa-catalog{padding:18px 0 30px!important}
  .ajosa-offers-strip{padding:11px!important;gap:9px!important;overflow:hidden!important}
  .ajosa-offers-title>span{width:34px!important;height:34px!important}
  .ajosa-offers-title h3{font-size:10px!important}
  .ajosa-offers-title p{font-size:7.5px!important}
  .ajosa-offer-chips{display:flex!important;overflow-x:auto!important;gap:6px!important;scrollbar-width:none!important;width:100%!important}
  .ajosa-offer-chips::-webkit-scrollbar{display:none!important}
  .ajosa-offer-chips>div{flex:none!important}
  .ajosa-catalog-head{padding-bottom:0!important;margin-top:18px!important;margin-bottom:12px!important}
  .ajosa-catalog-head h2{font-size:23px!important;line-height:1.1!important}
  .ajosa-catalog-head>div>p{font-size:9px!important}
  .ajosa-catalog-head form{width:100%!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:6px!important}
  .ajosa-catalog-head select{width:100%!important;max-width:none!important;height:40px!important}
  .ajosa-mobile-filter-toggle{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;border:1px solid #cbdbe8!important;border-radius:8px!important;background:#fff!important;color:#25445e!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important}
  .ajosa-catalog-layout{display:block!important;width:100%!important}
  .ajosa-filter-sidebar{position:fixed!important;left:0!important;right:0!important;bottom:var(--ajosa-mobile-bottom-nav-height)!important;top:auto!important;z-index:9997!important;width:100%!important;max-height:72vh!important;overflow:auto!important;display:block!important;border-radius:18px 18px 0 0!important;padding:44px 16px 22px!important;box-shadow:0 -14px 40px rgba(15,35,55,.28)!important;transform:translateY(110%)!important;visibility:hidden!important;transition:transform .22s ease,visibility .22s!important}
  .ajosa-filter-sidebar.open{transform:translateY(0)!important;visibility:visible!important}
  .ajosa-filter-close{display:grid!important;place-items:center!important;position:absolute!important;right:12px!important;top:10px!important;width:34px!important;height:34px!important;border:1px solid #d5e1eb!important;border-radius:50%!important;background:#fff!important;color:#355066!important;font-size:20px!important;cursor:pointer!important}
  .ajosa-sidebar-ai{display:none!important}
  .ajosa-lightning-grid,.ajosa-trend-cards,.ajosa-catalog-layout .ajosa-catalog-grid,.woocommerce ul.products,.woocommerce .products ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .ajosa-deal-card,.ajosa-trend-card,.ajosa-market-product-card,.woocommerce ul.products li.product{min-width:0!important;width:100%!important;max-width:100%!important}
  .ajosa-deal-img{aspect-ratio:1/1!important}
  .ajosa-deal-body{padding:9px!important}
  .ajosa-deal-body h3{font-size:10px!important;min-height:2.7em!important}
  .ajosa-deal-price{font-size:15px!important}
  .ajosa-claim{display:none!important}
  .ajosa-claim-btn{min-height:40px!important;font-size:8px!important}
  .ajosa-trend-img{aspect-ratio:3/4!important}
  .ajosa-trend-body{padding:9px!important}
  .ajosa-trend-body h3{font-size:10px!important;min-height:2.7em!important}
  .ajosa-trend-body p{display:none!important}
  .ajosa-trend-price{font-size:14px!important}
  .ajosa-trend-actions{grid-template-columns:1fr!important;margin-top:8px!important}
  .ajosa-trend-actions>a:first-child{display:none!important}
  .ajosa-trend-actions>a{min-height:40px!important;font-size:8px!important}

  /* Shared mobile product card. */
  .ajosa-market-product-card{border-radius:11px!important}
  .ajosa-market-card-media{aspect-ratio:1/1!important}
  .ajosa-market-card-media img{padding:7px!important}
  .ajosa-market-card-media .ajosa-product-badge{left:6px!important;top:6px!important;max-width:74%!important;padding:3px 5px!important;font-size:6.5px!important}
  .ajosa-market-discount{left:6px!important;bottom:6px!important;font-size:7px!important;padding:2px 5px!important}
  .ajosa-market-card-media .ajosa-card-tools{right:5px!important;top:5px!important;gap:4px!important}
  .ajosa-market-card-media .ajosa-card-tools button{width:30px!important;height:30px!important;font-size:14px!important}
  .ajosa-market-card-media .ajosa-market-watch{display:none!important}
  .ajosa-market-card-body{gap:5px!important;padding:9px!important}
  .ajosa-market-card-brand-row .ajosa-brandline{font-size:7px!important}
  .ajosa-market-card-brand-row .ajosa-stock{display:none!important}
  .ajosa-market-card-title{font-size:10px!important;line-height:1.3!important;min-height:2.6em!important}
  .ajosa-market-card-rating{font-size:7px!important;gap:3px!important}
  .ajosa-market-card-rating span{padding:2px 4px!important;font-size:7px!important}
  .ajosa-market-card-price-row .ajosa-price{font-size:14px!important}
  .ajosa-market-card-price-row .ajosa-price del{font-size:8px!important}
  .ajosa-market-reference-price,.ajosa-market-delivery,.ajosa-market-card-body .ajosa-bank-preview,.ajosa-market-variants{display:none!important}
  .ajosa-market-card-actions{grid-template-columns:1fr!important;gap:5px!important;padding-top:2px!important}
  .ajosa-market-card-actions .ajosa-card-secondary{display:none!important}
  .ajosa-market-card-actions .ajosa-market-add-cart{grid-column:1!important;min-height:44px!important;border-radius:8px!important;font-size:9px!important;padding:8px 5px!important}

  /* AI / footer / modals. */
  .ajosa-ai-wrap{padding:16px 0 26px!important}
  .ajosa-ai-card{grid-template-columns:1fr!important;padding:22px 16px!important;border-radius:15px!important;gap:16px!important}
  .ajosa-ai-card h2{font-size:24px!important;line-height:1.12!important}
  .ajosa-ai-card p{font-size:10px!important;line-height:1.55!important}
  .ajosa-ai-card .ajosa-btn{min-height:44px!important;width:100%!important}
  .ajosa-ai-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ajosa-ai-stats div{padding:11px!important}
  .ajosa-footer-trust>.ajosa-container,.ajosa-footer-main{grid-template-columns:1fr!important;gap:20px!important}
  .ajosa-footer-trust>.ajosa-container{padding-top:26px!important;padding-bottom:26px!important}
  .ajosa-footer-main{padding-top:34px!important;padding-bottom:34px!important}
  .ajosa-footer-bottom .ajosa-container{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}
  .ajosa-modal-card{width:calc(100% - 24px)!important;max-width:none!important;max-height:calc(100vh - var(--ajosa-mobile-bottom-nav-height) - 32px)!important;margin:12px!important}

  /* WooCommerce surfaces. */
  .ajosa-wc-main{width:calc(100% - 24px)!important;margin-inline:12px!important;padding:16px 0 28px!important}
  .woocommerce .woocommerce-breadcrumb{font-size:9px!important;margin-bottom:12px!important}
  .woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none!important;width:100%!important;margin:0 0 10px!important}
  .woocommerce .woocommerce-ordering select{width:100%!important;height:42px!important}
  .woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce .products ul::before,.woocommerce .products ul::after{display:none!important;content:none!important}
  .woocommerce div.product{padding:12px!important;border-radius:14px!important;box-shadow:none!important;border:1px solid #dce6ef!important}
  .woocommerce div.product .product_title{font-size:24px!important;line-height:1.15!important}
  .woocommerce div.product p.price,.woocommerce div.product span.price{font-size:24px!important}
  .woocommerce div.product form.cart{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .woocommerce div.product form.cart .button{min-height:46px!important;flex:1!important}
  .woocommerce table.shop_table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .woocommerce-cart .cart-collaterals,.woocommerce-checkout .col2-set,.woocommerce-checkout #order_review_heading,.woocommerce-checkout #order_review{width:100%!important;float:none!important}
  .woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{grid-column:1!important;grid-row:auto!important;width:100%!important;float:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:12px!important}
}

@media(min-width:390px) and (max-width:767px){
  .ajosa-lightning-grid,.ajosa-trend-cards,.ajosa-catalog-layout .ajosa-catalog-grid,.woocommerce ul.products,.woocommerce .products ul{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:389px){
  .ajosa-container,.ajosa-home-contained{width:calc(100% - 24px)!important;margin-inline:12px!important}
  .ajosa-market-brand .ajosa-reference-wordmark{display:none!important}
  .ajosa-market-primary{grid-template-columns:44px minmax(0,1fr) 44px 46px!important}
}

@media(max-width:359px){
  .ajosa-lightning-grid,.ajosa-trend-cards,.ajosa-catalog-layout .ajosa-catalog-grid,.woocommerce ul.products,.woocommerce .products ul{grid-template-columns:1fr!important}
  .ajosa-market-card-title{font-size:12px!important}
  .ajosa-market-card-price-row .ajosa-price{font-size:17px!important}
}
@media(max-width:767px){
  .ajosa-recommendations{padding:0 0 28px!important}
  .ajosa-section-heading{align-items:flex-start!important;gap:8px!important;margin-bottom:11px!important}
  .ajosa-section-heading h2{font-size:21px!important}
  .ajosa-section-heading p{font-size:8px!important}
  .ajosa-section-heading>a{font-size:8px!important;white-space:nowrap!important}
  .ajosa-recommendation-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
}
@media(max-width:359px){.ajosa-recommendation-grid{grid-template-columns:1fr!important}}
@media(max-width:767px){
  .ajosa-market-footer .ajosa-footer-main{grid-template-columns:1fr!important}
  .ajosa-footer-account-link{min-height:44px!important;width:100%!important}
}
@media(max-width:767px){
  body.ajosa-filter-open::before{content:"";position:fixed;inset:0;z-index:9996;background:rgba(3,18,32,.48)}
  .ajosa-filter-sidebar{z-index:9997!important}
  .ajosa-mobile-bottom-nav{z-index:9998!important}

  .woocommerce div.product{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  .woocommerce div.product div.images,.woocommerce div.product div.summary,.woocommerce div.product .woocommerce-tabs,.woocommerce .related.products,.woocommerce .upsells.products{grid-column:1!important;width:100%!important;min-width:0!important}
  .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none!important}

  .woocommerce-cart .woocommerce{display:block!important}
  .woocommerce-cart form.woocommerce-cart-form{display:block!important;width:100%!important}
  .woocommerce-cart table.shop_table.cart,.woocommerce-cart table.shop_table.cart tbody,.woocommerce-cart table.shop_table.cart tr,.woocommerce-cart table.shop_table.cart td{display:block!important;width:100%!important}
  .woocommerce-cart table.shop_table.cart thead{display:none!important}
  .woocommerce-cart table.shop_table.cart tr.woocommerce-cart-form__cart-item{position:relative!important;margin-bottom:12px!important;padding:12px!important;border:1px solid #dce6ef!important;border-radius:12px!important;background:#fff!important}
  .woocommerce-cart table.shop_table.cart td{border:0!important;padding:5px 0!important;text-align:left!important}
  .woocommerce-cart table.shop_table.cart td::before{float:none!important;margin-right:7px!important;font-size:9px!important;color:#6c8093!important}
  .woocommerce-cart table.shop_table.cart td.product-remove{position:absolute!important;right:8px!important;top:8px!important;width:auto!important;z-index:2!important}
  .woocommerce-cart table.shop_table.cart td.product-thumbnail{padding-right:38px!important}
  .woocommerce-cart table.shop_table.cart td.product-thumbnail::before{display:none!important}
  .woocommerce-cart table.shop_table.cart td.product-name{font-size:12px!important;font-weight:800!important}
  .woocommerce-cart table.shop_table.cart td.actions{padding-top:10px!important;border-top:1px solid #e6edf3!important;margin-top:6px!important}
  .woocommerce-cart table.shop_table.cart td.actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;width:100%!important}
  .woocommerce-cart table.shop_table.cart td.actions>button{width:100%!important;margin-top:8px!important;min-height:42px!important}
  .woocommerce-cart .cart-collaterals{margin-top:14px!important}

  .woocommerce-checkout form.checkout{display:block!important}
  .woocommerce-checkout form.checkout>.col2-set,.woocommerce-checkout form.checkout>#order_review_heading,.woocommerce-checkout form.checkout>#order_review{width:100%!important;margin:0 0 12px!important}
  .woocommerce-checkout form.checkout>#order_review_heading{border-radius:12px 12px 0 0!important;margin-bottom:0!important}
  .woocommerce-checkout form.checkout>#order_review{border-radius:0 0 12px 12px!important}
  .woocommerce-checkout #payment #place_order{width:100%!important;min-height:48px!important}

  .woocommerce-account .woocommerce{display:block!important}
  .woocommerce-account .woocommerce-MyAccount-navigation{width:100%!important;overflow-x:auto!important;margin:0 0 12px!important;scrollbar-width:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar{display:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex!important;gap:5px!important;width:max-content!important;min-width:100%!important;padding:5px!important}
  .woocommerce-account .woocommerce-MyAccount-navigation li{flex:none!important}
  .woocommerce-account .woocommerce-MyAccount-navigation a{min-height:40px!important;display:flex!important;align-items:center!important;padding:8px 11px!important;white-space:nowrap!important}
  .woocommerce-account .woocommerce-MyAccount-content{grid-column:1!important;grid-row:auto!important;width:100%!important;padding:14px!important}
}
@media(max-width:767px){
  .ajosa-trust-grid{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:10px 0!important;scrollbar-width:none!important}
  .ajosa-trust-grid::-webkit-scrollbar{display:none!important}
  .ajosa-trust-grid>div{flex:0 0 190px!important;border:1px solid #e0e8ef!important;border-radius:10px!important;padding:10px!important;background:#fff!important}
}
