/* Conversion, accessibility and responsive fixes from the 2026-08-29 storefront audit. */
body[data-ly-route="product/category"] .ly-ai-chat,
body[data-ly-route="product/search"] .ly-ai-chat,
body[data-ly-route="product/photo_search"] .ly-ai-chat,
body[data-ly-route="product/special"] .ly-ai-chat,
body[data-ly-route="product/product"] .ly-ai-chat{display:none!important}
.ly-card-rating-v12.is-empty{display:none!important}
.ly-product-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 0;padding:0;list-style:none}
.ly-product-trust li{display:flex;align-items:center;gap:6px;min-height:42px;padding:8px;border:1px solid #dfe7e2;border-radius:8px;background:#f7faf8;color:#405149;font-size:10px;line-height:1.25}
.ly-product-trust .ly-icon{width:16px;height:16px;flex:0 0 16px;color:var(--ref-green)}
.ly-filter-actions{position:sticky;z-index:4;bottom:0;display:grid;grid-template-columns:.8fr 1.2fr;gap:8px;margin:14px -14px -14px;padding:12px 14px;border-top:1px solid #dfe6e2;background:rgba(255,255,255,.97);backdrop-filter:blur(10px)}
.ly-filter-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;padding-inline:10px}
#product-search{display:flex;flex-direction:column}
#product-search>.breadcrumb{order:0}
#product-search>.ly-search-find-row{order:1}
#product-search>.ly-search-titlebar{order:2}
#product-search>.ly-search-active-tags{order:3}
#product-search>.ly-search-catalog{order:4}
#product-search>.ly-search-insight{order:5;margin-top:36px}
#product-search>.ly-search-agent{order:6}
#product-search>.ly-recently-viewed{order:7}
#product-search>.ly-search-after{order:8}
@media(max-width:767px){
  .ly-product-v7>.breadcrumb{scrollbar-width:none}
  .ly-product-v7>.breadcrumb::-webkit-scrollbar{display:none}
  .ly-product-trust{grid-template-columns:1fr}
  .ly-product-trust li{min-height:38px}
  body.ly-body #product-category .ly-category-hero{min-height:0!important;height:auto!important;margin-bottom:12px!important}
  body.ly-body #product-category .ly-category-hero-media{display:none!important;height:0!important;min-height:0!important}
  body.ly-body #product-category .ly-category-hero-copy{display:block!important;min-height:0!important;height:auto!important;padding:16px!important}
  body.ly-body #product-category .ly-category-kicker{display:none!important}
  body.ly-body #product-category .ly-category-hero-copy h1{margin:0 0 10px!important;font-size:clamp(27px,7.4vw,31px)!important;line-height:1.08!important}
  .ly-category-hero-copy h2,.ly-category-hero-copy p{display:none!important}
  body.ly-body #product-category .ly-category-hero-actions{display:block!important;height:auto!important;margin-top:8px!important}
  body.ly-body #product-category .ly-category-hero-actions button{display:none!important}
  body.ly-body #product-category .ly-category-hero-actions a{display:flex!important;width:100%;min-height:44px!important;align-items:center;justify-content:center}
  body.ly-body #product-category .ly-category-hero-copy>small{display:block;margin-top:9px!important}
  .ly-category-intents{display:flex!important;gap:8px;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}
  .ly-category-intents::-webkit-scrollbar{display:none}
  .ly-category-intents>a{min-width:210px}
  #product-search>.ly-search-insight{margin-top:24px}
  .ly-language-current{min-width:44px!important;min-height:44px!important}
}
