@media(min-width:768px){.msm-mobile-sticky,.msm-mobile-panel,.msm-mobile-panel-overlay{display:none!important}}@media(max-width:767px){body{padding-bottom:82px}.msm-mobile-sticky{position:fixed;left:10px;right:10px;bottom:10px;z-index:99990;display:grid;grid-template-columns:1fr 1fr 72px 1fr 1fr;align-items:end;background:var(--msm-sticky-bg,#fff);border:1px solid var(--msm-sticky-border,#eee);border-radius:24px;padding:8px 7px 9px;box-shadow:0 18px 45px rgba(0,0,0,.22)}.msm-sticky-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;border:0;background:transparent;color:var(--msm-sticky-text,#222);font-size:var(--msm-sticky-font-size,11px);font-weight:900;line-height:1;cursor:pointer}.msm-sticky-icon{font-size:20px;color:var(--msm-sticky-icon,#111);line-height:1}.msm-sticky-phone{width:66px;height:66px;margin:-30px auto 0;display:flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(145deg,var(--msm-sticky-phone-bg,#ffc400),var(--msm-primary,#ec1b8c));color:#111;border:4px solid var(--msm-sticky-bg,#fff);box-shadow:0 14px 30px rgba(0,0,0,.26),inset 0 2px 0 rgba(255,255,255,.45);font-size:29px;font-weight:900}.msm-mobile-sticky .msm-cart-count{position:absolute;top:0;right:10px;min-width:18px;height:18px;font-size:10px}.msm-mobile-panel-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99991}.msm-mobile-panel{position:fixed;left:0;right:0;bottom:0;z-index:99992;max-height:92vh;background:#fff;border-radius:26px 26px 0 0;box-shadow:0 -20px 55px rgba(0,0,0,.25);transform:translateY(105%);transition:transform .24s ease;overflow:hidden}.msm-mobile-panel.is-open{transform:translateY(0)}.msm-panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 13px;border-bottom:1px solid #eee}.msm-panel-head strong{font-size:18px}.msm-panel-close{width:38px;height:38px;border:0;border-radius:999px;background:#f3f3f3;font-size:28px;line-height:1;cursor:pointer}.msm-panel-content{padding:14px;max-height:calc(92vh - 70px);overflow:auto}.msm-mobile-category-list{display:grid;gap:10px}.msm-mobile-category-item{border:1px solid #eee;border-radius:16px;padding:12px;background:#fff}.msm-mobile-category-main{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:900}.msm-mobile-category-main small{color:var(--msm-muted,#666);font-size:11px}.msm-mobile-category-children{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.msm-mobile-category-children a{font-size:12px;font-weight:800;background:#f7f7f7;border-radius:999px;padding:6px 9px}.msm-cart-panel .woocommerce-mini-cart{list-style:none;margin:0;padding:0}.msm-cart-panel .woocommerce-mini-cart-item{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;position:relative;margin-bottom:10px;border-bottom:1px solid #eee;padding:0 26px 10px 0}.msm-cart-panel .woocommerce-mini-cart-item img{width:56px;height:56px;object-fit:contain;border-radius:10px;background:#fafafa}.msm-cart-panel .remove{position:absolute;right:0;top:0}.msm-cart-panel .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.msm-cart-panel .woocommerce-mini-cart__buttons a{display:flex;align-items:center;justify-content:center;border-radius:999px;padding:10px;background:#111;color:#fff;font-weight:900}.msm-cart-panel .woocommerce-mini-cart__buttons .checkout{background:var(--msm-primary,#ec1b8c)}}


@media(max-width:767px){.msm-panel-all-link{display:flex;align-items:center;justify-content:center;margin:14px 0 4px;border-radius:999px;background:linear-gradient(135deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c));color:#111;font-weight:950;padding:12px 14px;box-shadow:0 10px 24px rgba(0,0,0,.12)}}

/* v0.6 sticky SVG icon refinements */
@media(max-width:767px){.msm-mobile-sticky svg{width:22px;height:22px;display:block}.msm-sticky-phone{color:var(--msm-sticky-phone-icon,#111)!important}.msm-sticky-phone-svg svg{width:30px;height:30px;filter:drop-shadow(0 2px 0 rgba(255,255,255,.35))}}


/* v0.7 gelişmiş sticky görünüm ve ayarlar */
@media(max-width:767px){
    .msm-mobile-sticky{
        background:linear-gradient(145deg,var(--msm-sticky-bg,#fff),var(--msm-sticky-bg-2,var(--msm-sticky-bg,#fff)))!important;
        border-color:var(--msm-sticky-border,#eee)!important;
        box-shadow:0 18px 42px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.55)!important;
        backdrop-filter:blur(14px);
    }
    .msm-sticky-item{
        font-weight:var(--msm-sticky-font-weight,800)!important;
        font-size:var(--msm-sticky-font-size,11px)!important;
        text-shadow:0 1px 0 rgba(255,255,255,.35);
    }
    .msm-sticky-icon{
        width:calc(var(--msm-sticky-icon-size,23px) + 10px);
        height:calc(var(--msm-sticky-icon-size,23px) + 10px);
        display:flex!important;
        align-items:center;
        justify-content:center;
        border-radius:14px;
        background:linear-gradient(145deg,rgba(255,255,255,.85),rgba(255,255,255,.35));
        box-shadow:0 8px 18px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.65);
        color:var(--msm-sticky-icon,#111)!important;
    }
    .msm-mobile-sticky .msm-sticky-icon svg{
        width:var(--msm-sticky-icon-size,23px)!important;
        height:var(--msm-sticky-icon-size,23px)!important;
        filter:drop-shadow(0 1px 0 rgba(255,255,255,.35));
    }
    .msm-mobile-sticky svg path,
    .msm-mobile-sticky svg circle,
    .msm-mobile-sticky svg rect,
    .msm-mobile-sticky svg line,
    .msm-mobile-sticky svg polyline{
        stroke-width:var(--msm-sticky-icon-stroke,2.2)!important;
    }
    .msm-sticky-phone{
        background:linear-gradient(145deg,var(--msm-sticky-phone-bg,#ffc400),var(--msm-sticky-phone-bg-2,var(--msm-primary,#ec1b8c)))!important;
        color:var(--msm-sticky-phone-icon,#111)!important;
        box-shadow:0 16px 32px rgba(0,0,0,.28), inset 0 2px 0 rgba(255,255,255,.55), inset 0 -8px 20px rgba(0,0,0,.12)!important;
    }
    .msm-sticky-phone-svg svg{
        width:var(--msm-sticky-phone-icon-size,32px)!important;
        height:var(--msm-sticky-phone-icon-size,32px)!important;
    }
}

/* v5.6 - Mobil sticky kategori ve sepet paneli Martfury tarzı aç/kapa */
@media(max-width:767px){
  .msm-mobile-category-list.msm-mobile-category-accordion{
    display:flex!important;
    flex-direction:column!important;
    gap:9px!important;
  }
  .msm-mobile-category-item{
    padding:0!important;
    overflow:hidden!important;
    border-radius:18px!important;
    border:1px solid rgba(0,0,0,.08)!important;
    box-shadow:0 8px 22px rgba(0,0,0,.045)!important;
  }
  .msm-mobile-category-item.is-open{
    border-color:color-mix(in srgb,var(--msm-primary,#ec1b8c) 35%,#eee)!important;
    box-shadow:0 12px 26px rgba(0,0,0,.075)!important;
  }
  .msm-mobile-category-row,
  .msm-mobile-child-row{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  .msm-mobile-category-row{
    padding:12px 12px!important;
    background:linear-gradient(180deg,#fff,#fafafa)!important;
  }
  .msm-mobile-category-main{
    flex:1 1 auto!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    text-decoration:none!important;
  }
  .msm-mobile-category-name{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .msm-mobile-accordion-toggle,
  .msm-mini-cart-toggle{
    -webkit-tap-highlight-color:transparent;
  }
  .msm-mobile-accordion-toggle{
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    border:0!important;
    border-radius:13px!important;
    background:linear-gradient(135deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c))!important;
    color:#111!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:20px!important;
    font-weight:950!important;
    line-height:1!important;
    box-shadow:0 8px 18px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.45)!important;
  }
  .msm-mobile-accordion-toggle span{
    display:block!important;
    transform:rotate(0deg)!important;
    transition:transform .18s ease!important;
  }
  .msm-mobile-accordion-item.is-open > .msm-mobile-category-row .msm-mobile-accordion-toggle span,
  .msm-mobile-child-item.is-open > .msm-mobile-child-row .msm-mobile-accordion-toggle span{
    transform:rotate(180deg)!important;
  }
  .msm-mobile-category-children{
    display:block!important;
    margin:0!important;
    padding:6px 10px 10px!important;
    background:#fff!important;
    border-top:1px solid rgba(0,0,0,.06)!important;
  }
  .msm-mobile-category-children[hidden],
  .msm-mobile-grandchildren[hidden],
  .msm-mini-cart-accordion-content[hidden]{
    display:none!important;
  }
  .msm-mobile-child-item{
    border-bottom:1px solid rgba(0,0,0,.07)!important;
  }
  .msm-mobile-child-item:last-child{
    border-bottom:0!important;
  }
  .msm-mobile-child-row{
    padding:9px 0!important;
  }
  .msm-mobile-child-row > a{
    flex:1 1 auto!important;
    min-width:0!important;
    display:block!important;
    background:transparent!important;
    border-radius:0!important;
    padding:0!important;
    color:var(--msm-text,#222)!important;
    font-size:13px!important;
    font-weight:850!important;
    text-decoration:none!important;
  }
  .msm-mobile-child-toggle{
    flex-basis:30px!important;
    width:30px!important;
    height:30px!important;
    border-radius:11px!important;
    font-size:17px!important;
    background:#f3f3f3!important;
    color:var(--msm-text,#222)!important;
    box-shadow:none!important;
  }
  .msm-mobile-grandchildren{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    margin:0 0 6px 10px!important;
    padding:0 0 4px 12px!important;
    border-left:2px solid color-mix(in srgb,var(--msm-primary,#ec1b8c) 35%,#eee)!important;
  }
  .msm-mobile-grandchildren a{
    display:block!important;
    padding:8px 0!important;
    color:var(--msm-muted,#666)!important;
    font-size:12.5px!important;
    font-weight:800!important;
    text-decoration:none!important;
    border-bottom:1px dashed rgba(0,0,0,.06)!important;
  }
  .msm-mobile-grandchildren a:last-child{
    border-bottom:0!important;
  }

  .msm-mini-cart-accordion{
    border:1px solid rgba(0,0,0,.08)!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(0,0,0,.055)!important;
  }
  .msm-mini-cart-toggle{
    width:100%!important;
    border:0!important;
    background:linear-gradient(180deg,#fff,#fafafa)!important;
    color:var(--msm-text,#222)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:13px 14px!important;
    font-weight:950!important;
    font-size:15px!important;
    cursor:pointer!important;
  }
  .msm-mini-cart-toggle-icon{
    width:32px!important;
    height:32px!important;
    border-radius:12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:linear-gradient(135deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c))!important;
    color:#111!important;
    font-size:18px!important;
    font-weight:950!important;
    transition:transform .18s ease!important;
  }
  .msm-mini-cart-accordion.is-open .msm-mini-cart-toggle-icon{
    transform:rotate(180deg)!important;
  }
  .msm-mini-cart-accordion-content{
    padding:12px!important;
    border-top:1px solid rgba(0,0,0,.06)!important;
  }
  .msm-mini-cart-accordion-content .woocommerce-mini-cart{
    margin:0!important;
  }
}


/* v5.7 - Menülerden gelen mobil sticky kategori paneli için ek hizalama */
@media(max-width:767px){
  .msm-mobile-category-menu-source .msm-mobile-category-main{
    justify-content:flex-start!important;
  }
  .msm-mobile-category-menu-source .msm-mobile-grandchildren .msm-mobile-child-item{
    border-bottom:1px dashed rgba(0,0,0,.06)!important;
  }
  .msm-mobile-category-menu-source .msm-mobile-grandchildren .msm-mobile-child-row{
    padding:8px 0!important;
  }
  .msm-mobile-category-menu-source .msm-mobile-grandchildren .msm-mobile-child-row > a{
    color:var(--msm-muted,#666)!important;
    font-size:12.5px!important;
    font-weight:800!important;
  }
}


/* v5.8 - Mobil sticky panel dokunma/katman düzeltmesi */
.msm-mobile-sticky{
  z-index:999990!important;
}
.msm-mobile-panel-overlay{
  z-index:999991!important;
}
.msm-mobile-panel{
  z-index:999992!important;
  pointer-events:auto!important;
}
.msm-mobile-panel .msm-mobile-accordion-toggle,
.msm-mobile-panel .msm-mini-cart-toggle,
.msm-mobile-sticky .msm-open-categories,
.msm-mobile-sticky .msm-open-mini-cart{
  cursor:pointer!important;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
