/* ══════════════════════════════════════════════════════════════════════
YAPIMCI : OFISIMO 
Versiyon: E-TICARET v10.0.0
    CSS INDEX OFISIMO SOFTWARE
   ----------------------------------------------------------------------
   PAYLAŞILAN DOSYA — temaya ait DEĞİL. Her temada aynı görünür.
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {

  /* Sayfanın en altındaki içerik yüzen çubuğun altında kalmasın */
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }

  /* Kenara yapışık şerit yerine yüzen, kenar boşluklu kapsayıcı */
  #ofmHemenAra {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: 99999;
    padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;               /* boşluklardan sayfaya tıklanabilsin */
    animation: ofmBarUp .55s cubic-bezier(.16, 1, .3, 1) both;
  }
  @keyframes ofmBarUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }

  /* float tabanlı eski yerleşim → flex */
  .altofmhemenara {
    display: flex;
    gap: 10px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    position: static;
    text-align: left;
    pointer-events: auto;
  }
  .altofmhemenara > div { flex: 1 1 0; min-width: 0; }

  /* İkon solda, metin hemen yanında (ortalanmış değil) */
  .ofmbox-1,
  .ofmbox-2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    float: none;
    width: 100%;
    height: 45px;
    padding: 0 12px 0 10px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45),
                inset 0 1px 0 rgba(255, 255, 255, .22);
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .ofmbox-1 { background: linear-gradient(135deg, #25D366 0%, #10A44E 100%); }
  .ofmbox-2 { background: linear-gradient(135deg, #3D9CFF 0%, #0A5FC4 100%); }

  .ofmbox-1:active,
  .ofmbox-2:active {
    transform: translateY(2px) scale(.985);
    box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5),
                inset 0 1px 0 rgba(255, 255, 255, .22);
  }

  /* İkon: yarı saydam daire içinde, beyaza sabitlenmiş.
     DİKKAT: hopscotch.css'te .ofmbox-icon İKİ KEZ tanımlı ve ikincisi `position:absolute` —
     bu hâliyle ikon flex akışından çıkıp metnin üstüne biniyor. relative'e zorlamak ŞART. */
  .ofmbox-icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-weight: 400;
  }
  .ofmbox-icon img {
    display: block;
    width: 17px; height: 17px;
    filter: brightness(0) invert(1);   /* ikon hangi renkte olursa olsun beyaz */
  }

  /* display:block şart — satır içi span'de overflow/ellipsis çalışmaz,
     dar ekranda metin butonun dışına taşıyordu */
  .ofmbox-text {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .01em;
    color: #fff;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Dar telefonlar */
  @media (max-width: 360px) {
    .ofmbox-1, .ofmbox-2 { height: 40px; gap: 8px; padding: 0 8px 0 7px; }
    .ofmbox-icon { width: 28px; height: 28px; }
    .ofmbox-icon img { width: 15px; height: 15px; }
    .ofmbox-text { font-size: 13.5px; }
  }

  /* Hareket azaltma tercihi */
  @media (prefers-reduced-motion: reduce) {
    #ofmHemenAra { animation: none; }
    .ofmbox-1, .ofmbox-2 { transition: none; }
  }
}

  @media (max-width: 960px) {
button#pxTop {
    display: none;
}  }