/* Product card extras (Alexander 24.09, p.8): favourite button and review rating in listings.
   Plain CSS on purpose: the theme's Tailwind build only has the classes it was compiled with. */
.ms-card-fav{position:absolute;left:.5rem;top:.5rem;z-index:5;display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:9999px;background:rgba(255,255,255,.85);color:#1d1713;box-shadow:0 1px 3px rgba(0,0,0,.12);transition:color .2s,transform .2s;cursor:pointer}
.ms-card-fav:hover{color:#ff6a00;transform:scale(1.08)}
.ms-card-fav.is-fav{color:#ff6a00;background:#fff3ea}
.ms-card-fav svg{width:20px;height:18px;pointer-events:none}
@media (min-width:1024px){.ms-card-fav{left:1rem;top:1rem}}
.ms-card-rating-row{display:flex;justify-content:center;align-items:center;min-height:1.25rem}
.ms-card-rating{display:inline-flex;align-items:center;gap:.25rem;font-size:.8125rem;line-height:1.25rem;color:#6b625c}
.ms-card-rating svg{color:#ff6a00;flex:none}
.ms-card-rating b{color:#1d1713;font-weight:600}
/* Empty favourites (Alexander evening p.6, 24.09) */
.ms-fav-empty{margin-top:1.5rem;padding:2rem 1rem;border-radius:.375rem;background:#f8f0ee;text-align:center}
.ms-fav-empty[hidden]{display:none}
.ms-fav-empty__title{font-size:1.25rem;font-weight:500;color:#1d1713}
.ms-fav-empty__text{margin-top:.375rem;font-size:.875rem;color:#6b625c}
.ms-fav-empty__link{display:inline-block;margin-top:.75rem;color:#ff6a00;text-decoration:underline}
.ms-fav-empty__link:hover{text-decoration:none}
/* Notice after "Поделиться" (Alexander evening p.1) */
.ms-toast{position:fixed;left:50%;bottom:1.5rem;z-index:9999;transform:translateX(-50%);padding:.75rem 1.25rem;border-radius:.375rem;background:#1d1713;color:#fff;font-size:.875rem;box-shadow:0 4px 14px rgba(0,0,0,.25);transition:opacity .4s}
.ms-toast.is-gone{opacity:0}
/* Mobile product slider (Alexander 05.10): show whole photo, infographic text must not be cut */
@media (max-width:1023px){#splide-horizontal1 .splide__slide a{display:flex;align-items:center;justify-content:center;height:474px}
#splide-horizontal1 .splide__slide img{width:100%!important;height:474px!important;object-fit:contain!important;background:#fff}}

/* Mobile search overlay (Sergey msg 10147, 2026-10-09): input full width, backdrop covers the whole screen */
@media (max-width: 1023px) {
  #mss_form { position: fixed; left: 9px; right: 9px; top: 10px; width: auto; }
  #mss_form::before { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; }
}
