/* Sova Mart — phone layout for the homepage hero.
 * Phones get a small, wide banner strip: height follows the screen width (about 16:9, 180–240px),
 * every slide is the same height (no jumping), and the text is reduced to a headline and a button
 * so the shop starts right below. Loaded last so it wins over the theme files.
 */
@media (max-width: 760px) {
  /* one compact height for every slide (logo, video and picture banners) */
  html .slider .slides, html .slider .slide.on, html .slider .slide.brand-slide.on, html .slider .slide.video-slide.on {
    min-height: 0 !important; height: clamp(180px, 56vw, 240px);
  }
  html .slider .slide { overflow: hidden; }
  html .slider { border-radius: 0 0 18px 18px; }

  /* animated logo slide: headline + button on the left, owl + wordmark on the right */
  html .brand-inner { grid-template-columns: 1.05fr 1fr; gap: 6px; padding: 10px 0 24px; height: 100%; align-items: center; align-content: center; }
  html .brand-art { order: 0; height: clamp(66px, 22vw, 96px); gap: 1%; }
  html .brand-copy { min-width: 0; }
  html .slider .brand-copy h1 { font-size: clamp(.98rem, 4.4vw, 1.2rem); line-height: 1.15; margin: 0 0 .5em; }
  html .slider .brand-copy p { display: none; }
  html .slider .brand-copy .btn { padding: .45em 1em; font-size: .8rem; }

  /* picture banners: headline + small button only */
  html .slider .slide-inner { padding: 10px 0 26px; }
  html .slider .slide h1 { font-size: clamp(1rem, 4.8vw, 1.25rem); line-height: 1.15; margin: 0 0 .45em; max-width: 78%; }
  html .slider .slide p { display: none; }
  html .slider .slide .btn { padding: .45em 1em; font-size: .8rem; }

  /* video slide: the whole video, centred */
  html .slider .slide-video { object-fit: contain; }

  /* small dots */
  html .slider .dots { bottom: 7px; gap: 6px; }
  html .slider .dots button { width: 7px; height: 7px; }
  html .slider .dots button.on { width: 18px; }

  /* the announcement bar stays short */
  html .topbar { font-size: .72em; padding: .4em 10px; line-height: 1.3; }
}

/* very narrow phones (320px): stack is too tight side by side, so keep art small */
@media (max-width: 340px) {
  html .brand-art { height: 58px; }
  html .slider .brand-copy h1 { font-size: .92rem; }
}

/* small phones: keep logo, wishlist and cart on one header row */
@media (max-width: 360px) {
  html .header-row { gap: 8px; }
  html .icon-btn { width: 36px; height: 36px; font-size: 1em; }
  html .logo { font-size: 1.12em; gap: 6px; }
  html .logo-mark { width: 30px; height: 30px; }
}

/* ---------- category tiles with a photo: the photo is the whole tile ---------- */
html .cat.cat-photo { position: relative; display: block; padding: 0; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate;
  background: none !important; border: 0 !important; border-radius: var(--radius, 16px); box-shadow: 0 10px 24px rgba(0, 0, 0, .28) !important; color: #fff !important; }
html .cat.cat-photo::before, html .cat.cat-photo::after { content: none; }
html .cat-photo .cat-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
html .cat-photo:hover .cat-cover { transform: scale(1.07); }
html .cat-photo .cat-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 1px; padding: 28px 12px 10px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); color: #fff; }
html .cat-photo .cat-label b { font-size: .95em; line-height: 1.2; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
html .cat-photo .cat-label small { color: rgba(255, 255, 255, .82) !important; font-size: .78em; font-weight: 500; }
html .cat.cat-photo:hover { color: #fff !important; }
@media (max-width: 760px) {
  html .cat-photo .cat-label { padding: 22px 8px 7px; }
  html .cat-photo .cat-label b { font-size: .8em; }
  html .cat-photo .cat-label small { font-size: .7em; }
}
