/*
 * Lazarus Labs mobile consistency overrides.
 * Keeps brand identity while reducing visual noise and improving readability.
 */

@media (max-width:980px){
  .ll-product-header,
  .ll-cart-header,
  .ll-account-header,
  .ll-search-header{
    padding-bottom:44px;
  }

  .ll-features,
  .ll-popular-products,
  .ll-home-trustpilot,
  .ll-vip-wrap,
  .ll-coa,
  .ll-track,
  .ll-contact,
  .ll-shipping,
  .ll-refund,
  .ll-terms,
  .ll-policy{
    padding-top:clamp(48px, 7vw, 74px);
    padding-bottom:clamp(48px, 7vw, 84px);
  }

  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-ordering select,
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woo-listing-top .woocommerce-ordering select{
    min-height:44px;
    padding-top:12px;
    padding-bottom:12px;
  }

  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woo-listing-top{
    gap:12px;
  }
}

@media (max-width:700px){
  .ll-product-header,
  .ll-cart-header,
  .ll-account-header,
  .ll-track,
  .ll-coa,
  .ll-contact,
  .ll-shipping,
  .ll-refund,
  .ll-terms,
  .ll-policy{
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
  }

  .ll-product-header:before,
  .ll-cart-header:before,
  .ll-account-header:before,
  .ll-search-header:before,
  .ll-track__head:before,
  .ll-contact__head:before,
  .ll-shipping__head:before,
  .ll-refund__head:before,
  .ll-terms__head:before,
  .ll-policy__head:before,
  .ll-coa__head:before{
    opacity:var(--ll-mobile-glow-opacity);
  }

  .ll-product-header:after,
  .ll-cart-header:after,
  .ll-account-header:after,
  .ll-search-header:after,
  .ll-track__head:after,
  .ll-contact__head:after,
  .ll-shipping__head:after,
  .ll-refund__head:after,
  .ll-terms__head:after,
  .ll-policy__head:after,
  .ll-coa__head:after{
    opacity:.45;
  }

  .ll-product-header__title,
  .ll-search-header__title,
  .ll-account-header__title,
  .ll-cart-header__title,
  .ll-track__title,
  .ll-contact__title,
  .ll-shipping__title,
  .ll-refund__title,
  .ll-terms__title,
  .ll-policy__title,
  .ll-coa__title{
    letter-spacing:var(--ll-mobile-title-tracking);
    text-shadow:var(--ll-mobile-title-shadow);
  }

  .ll-product-header__title:after,
  .ll-search-header__title:after,
  .ll-account-header__title:after,
  .ll-cart-header__title:after,
  .ll-track__title:after,
  .ll-contact__title:after,
  .ll-shipping__title:after,
  .ll-refund__title:after,
  .ll-terms__title:after,
  .ll-policy__title:after,
  .ll-coa__title:after{
    width:96px;
    margin-top:10px;
  }

  .ll-product-header__shiptext,
  .ll-track__bartext,
  .ll-shipping__bartext,
  .ll-refund__bartext,
  .ll-terms__bartext,
  .ll-policy__bartext,
  .ll-coa__bartext{
    font-size:var(--ll-mobile-bar-size);
    letter-spacing:var(--ll-mobile-bar-tracking);
    line-height:1.55;
    text-transform:none;
  }

  .ll-track__head,
  .ll-contact__head,
  .ll-shipping__head,
  .ll-refund__head,
  .ll-terms__head,
  .ll-policy__head,
  .ll-coa__head{
    padding:24px 20px;
    box-shadow:var(--ll-mobile-elevation);
  }

  .ll-shipping__panel,
  .ll-refund__panel,
  .ll-terms__card,
  .ll-policy__card,
  .ll-coa-card,
  .ll-about__pillar,
  .ll-about__step,
  .ll-about__supply-card,
  .ll-about__support-card,
  .ll-about__cta-panel,
  .ll-about__hero-qualifier,
  .ll-about__hero-panel{
    border-radius:14px;
    box-shadow:var(--ll-mobile-elevation);
  }

  .ll-shipping__panel:hover,
  .ll-refund__panel:hover,
  .ll-terms__card:hover,
  .ll-policy__card:hover,
  .ll-coa-card:hover,
  .ll-about__pillar:hover,
  .ll-about__step:hover,
  .ll-about__support-card:hover{
    transform:none;
  }

  .ll-features__title,
  .ll-popular-products :is(h1,h2,.ll-popular-products__title),
  .ll-home-trustpilot :is(h1,h2,.ll-home-trustpilot__title),
  .ll-vip-title,
  .ll-about__hero-title{
    letter-spacing:var(--ll-mobile-title-tracking);
    text-shadow:var(--ll-mobile-title-shadow);
  }

  .ll-search-field,
  .ll-search-submit,
  .ll-product-header__shiplink,
  .ll-track__barlink,
  .ll-shipping__barlink,
  .ll-refund__barlink,
  .ll-terms__barlink,
  .ll-policy__barlink,
  .ll-coa__barlink,
  .ll-about__panel-links a,
  .ll-about__supply-links a{
    min-height:44px;
  }

  body.single-product .ll-single-product-bar__inner{
    box-shadow:var(--ll-mobile-elevation);
  }

  body.single-product .ll-single-product-bar__text{
    font-size:var(--ll-mobile-bar-size);
    letter-spacing:var(--ll-mobile-bar-tracking);
    text-transform:none;
  }

  body.single-product form.cart .quantity,
  body.single-product form.cart .single_add_to_cart_button,
  .ll-loop-native-cart__button{
    min-height:44px;
  }

  body.single-product form.cart .quantity :is(.plus,.minus),
  .ll-loop-native-cart .quantity :is(.plus,.minus){
    width:34px;
    min-width:34px;
    height:34px;
  }

  body.single-product form.cart .quantity .qty,
  .ll-loop-native-cart .quantity .qty{
    min-height:44px;
  }

  body :is(.ll-track,.ll-contact,.ll-shipping,.ll-refund,.ll-terms,.ll-policy,.ll-coa,.ll-about,.ll-home-trustpilot,.ll-popular-products,.ll-features,.ll-vip-wrap)
  :is(p,li,.ll-feature__text,.ll-review-card__text,.ll-popular-products__sub,.ll-home-trustpilot__sub){
    color:var(--ll-mobile-muted);
  }

  .ll-coa__lightbox{
    align-items:flex-start;
    padding-top:0;
    padding-bottom:0;
  }

  .ll-coa__viewer{
    max-width:100vw;
    max-height:100vh;
    width:100vw;
    height:100vh;
    border-radius:0;
    border-left:0;
    border-right:0;
  }

  .ll-coa__viewer img{
    max-width:100vw;
    max-height:100vh;
    touch-action:pinch-zoom;
    -webkit-user-select:none;
    user-select:none;
  }

  .ll-coa__close{
    top:10px;
    right:10px;
    z-index:3;
  }

  .ll-coa__controls{
    left:10px;
    right:10px;
    bottom:10px;
    transform:none;
    justify-content:space-between;
    gap:8px;
  }

  .ll-coa__kbd{
    display:none;
  }

  .ll-coa__nav{
    width:42px;
    height:42px;
  }

  .ll-coa__prev{left:8px}
  .ll-coa__next{right:8px}

  .ll-coa[data-ll-coa-library="1"] .ll-coa__inner{
    gap:18px;
  }

  .ll-coa-hero{
    padding:20px 16px;
    gap:16px;
    border-radius:18px;
  }

  .ll-coa-hero__title{
    max-width:none;
    font-size:clamp(1.72rem,9.8vw,2.45rem);
    line-height:1.02;
    letter-spacing:.06em;
  }

  .ll-coa-hero__copy,
  .ll-coa-library__sub,
  .ll-coa-support__copy{
    font-size:.96rem;
    line-height:1.7;
  }

  .ll-coa-hero__signals,
  .ll-coa-toolbar__chips,
  .ll-coa-library__actions,
  .ll-coa-support__actions{
    gap:8px;
  }

  .ll-coa-hero__signal{
    min-height:38px;
    padding:9px 12px;
    letter-spacing:.1em;
  }

  .ll-coa-toolbar{
    grid-template-columns:1fr;
    padding:18px 16px;
    border-radius:18px;
  }

  .ll-coa-toolbar__status{
    grid-template-columns:1fr;
    gap:8px;
    align-items:flex-start;
  }

  .ll-coa-toolbar__input{
    min-height:54px;
    padding:13px 16px;
  }

  .ll-coa-library__heading{
    gap:10px;
  }

  .ll-coa-library__title{
    font-size:1.45rem;
  }

  .ll-coa-library__card{
    border-radius:18px;
  }

  .ll-coa-library__visual,
  .ll-coa-library__body{
    padding:14px;
  }

  .ll-coa-library__frame{
    border-radius:14px;
  }

  .ll-coa-library__name{
    font-size:1.16rem;
  }

  .ll-coa-library__action,
  .ll-coa-support__action{
    min-height:44px;
    width:100%;
  }

  .ll-coa-support{
    grid-template-columns:1fr;
  }

  .ll-coa-support__panel{
    padding:20px 18px;
    border-radius:18px;
  }

  /* NOTE: legacy .ll-coa-viewer__* mobile rules removed — the COA viewer
     modal (desktop + mobile) is styled exclusively by assets/css/ll-coa.css. */
}

@media (max-width:700px) and (prefers-reduced-motion:reduce){
  .ll-announcement .ll-announcement__group + .ll-announcement__group{
    display:none;
  }
}

/* a11y: fully stop the announcement marquee for reduced-motion users at every
   width, and drop the duplicate (loop-seam) group so a single static copy shows
   instead of the text scrolling halfway off and looping. */
@media (prefers-reduced-motion:reduce){
  .ll-announcement .ll-announcement__track{ animation:none !important; transform:none !important; }
  .ll-announcement .ll-announcement__group + .ll-announcement__group{ display:none !important; }
}

@media (hover:none) and (pointer:coarse){
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag)
  :is(.woocommerce ul.products li.product, ul.products[data-products] li.product):hover{
    transform:none;
    box-shadow:0 18px 44px rgba(0,0,0,.5);
  }
}
