/* Mobile storefront banner. Adapted using Unslop by Damir Sokolovsky, CC BY 4.0. */
.sf-scene-telegram-mobile { display: none; }

@layer storefront-home {
  @media (max-width: 700px) {
    #sfStorefrontBanners {
      height: 320px !important;
    }

    #sfStorefrontBanners .sf-scene-copy {
      inset-block-end: 16px !important;
    }

    #sfStorefrontBanners .sf-scene-actions {
      display: grid !important;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 8px !important;
      min-height: 0 !important;
      padding-top: 12px !important;
    }

    #sfStorefrontBanners .sf-scene-actions .sf-scene-cta {
      gap: 6px !important;
      min-width: 0 !important;
      height: auto !important;
      min-height: 44px !important;
      padding: 8px !important;
      border-radius: 10px !important;
      font-size: 13px !important;
      line-height: 1.3 !important;
      text-align: center !important;
      box-shadow: none !important;
    }

    #sfStorefrontBanners .sf-scene-cta svg {
      display: block !important;
      flex: 0 0 16px;
      width: 16px !important;
      height: 16px !important;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    #sfStorefrontBanners .sf-scene-telegram {
      background: #f7faff !important;
      color: #173b81 !important;
      border: 1px solid #c4d3eb !important;
    }

    #sfStorefrontBanners .sf-scene-telegram:hover {
      background: #eaf1ff !important;
    }

    .sf-scene-telegram-desktop { display: none !important; }
    .sf-scene-telegram-mobile { display: inline !important; }
  }

  @media (max-width: 360px) {
    #sfStorefrontBanners .sf-scene-actions .sf-scene-cta { font-size: 12px !important; }
    #sfStorefrontBanners .sf-scene-cta svg { flex-basis: 14px; width: 14px !important; height: 14px !important; }
  }
}
