/* =========================
   MOBILE (0–767)
   ========================= */
@media (max-width: 767px) {

  /* TOPBAR: sol küçük logo + sağ ikonlar */
  #topbar .show-mobile{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;  /* theme right'ı ezer */
    width: 100%;
    margin-bottom: 3px;
  }

  /* küçük logo solda */
  #topbar .pull-logo{
    flex: 0 0 auto !important;
    margin: 0 8px 0 6px !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

  #topbar .pull-logo img{
    max-height: 30px;
    width: auto;
    display: block;
    margin-left: 35px;
  }

  /* ikonları sağa it */
  #topbar .quick-cart{
    margin-left: auto !important;
  }

  /* topbar içindeki child'larda float/inline-block çakışmasını kır */
  #topbar .show-mobile > div{
    float: none !important;
    display: block !important;
    margin-left: 10px;
  }

  /* BÜYÜK ANA LOGO: sadece header-main içinde gizle */
  #header-main #logo,
  #header-main .logo,
  #header-main .logo-wrapper,
  #header-main .logo-container,
  #header-main .header-logo{
    display: none !important;
  }

  /* Breadcrumb: sadece son parça (li.last) gizle */
  #breadcrumb .breadcrumb li.last{
    display: none !important;
  }
  #breadcrumb .breadcrumb li.last a:before{
    display: none !important;
    content: none !important;
  }

  /* Ürün sayfasında asıl ürün başlığı görünür olsun + satır aralığı */
  .product-info h1{
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    opacity: 1 !important;
    line-height: 18px !important; /* senin düzelttiğin değer */
    padding-left: 10px;
    font-size: 15px;
    padding-right: 10px;
    margin-top: 10px;
  }

  /* HEADER: fixed + iPhone safe-area */

 /* TOPBAR sabit */
  #topbar{
    position: fixed !important;
    top: env(safe-area-inset-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  /* Varsayılan: sadece topbar kadar boşluk */
  #page{
    padding-top: calc(env(safe-area-inset-top, 0px) + 44px) !important; /* 44 = topbar */
  }

  /* HEADER-MAIN varsa: onu da sabitle ve ekstra boşluk ekle */
  #header-main{
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 25px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  /* header-main gerçekten DOM'da varsa (tema tüm sayfalarda basmıyorsa) */
  body:not(.checkout-cart) #header-main ~ #page,
  body:not(.checkout-cart) #page{
    padding-top: calc(env(safe-area-inset-top, 0px) + 25px + 18px) !important; /* 76 = header-main */
  }

  /* CART sayfasında (ve benzeri) arama yoksa: sadece topbar */
  .checkout-cart #page{
    padding-top: calc(env(safe-area-inset-top, 0px) + 44px) !important;
  }
  
    /* CART sayfasında: üstte sabit bar yoksa boşluk da olmasın */
  body.page-checkout-cart #page{
    padding-top: 0 !important;
  }

  /* Cart’ta olası fixed etkilerini de iptal et (varsa) */
  body.page-checkout-cart #topbar,
  body.page-checkout-cart #header-main{
    position: static !important;
    top: auto !important;
  }

  /* Header-main sabit değil (zaten mobilde logoyu gizlemiştik) */
  #header{
    position: static !important;
  }

  /* Breadcrumb ekstra boşluk yapmasın / header altına girme */
  #breadcrumb{
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  
  /* visibility:hidden alan bırakır; tamamen kaldır */
  /* SADECE CART SAYFASI: üst H1 alan kaplamasın */
  body.page-checkout-cart #content > h1{
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
  }
  #content {
  min-height: 50px;
  margin-bottom: 25px;
  margin-top: 0px;
}

/* Product page: footer gizle (sadece ürün sayfası) */
html.is-product-page #footer,
body.is-product-page #footer,
html.is-product-page footer,
body.is-product-page footer {
  display: none !important;
}


/* Tema bazı yerlerde wrapper'a margin/padding veriyorsa */
html.is-product-page #page,
body.is-product-page #page,
html.is-product-page .main,
body.is-product-page .main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


  
 .breadcrumb {
  padding-top: 10px;
  margin-bottom: 0;
  list-style: none;
  display: none !important;
 }
}

/* =========================
   TABLET (768–991)
   Küçük topbar logosunu gizle (tek logo kalsın)
   ========================= */
@media (min-width: 768px) and (max-width: 991px) {
  #topbar .topbar-mobile-logo,
  #topbar .pull-logo{
    display: none !important;
  }
}

@media (max-width: 767px) {

  /* Hamburger: ekrana sabit */
  .pav-megamenu .navbar-toggle{
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
    left: 10px !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 2px 5px !important;
  }

  .pav-megamenu .navbar-toggle .fa-bars{
    font-size: 20px;
  }
}

@media (max-width: 767px) {

  /* Menü paneli: ekran boyu, kendi içinde scroll */
  #menu-offcanvas{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 99998 !important;
  }

  /* Menü açıkken arka sayfa scroll olmasın (tema class'ı varsa yakalar) */
  body.offcanvas-container,
  body.offcanvas-container .offcanvas-pusher,
  body.offcanvas-container #page{
    overflow: hidden !important;
  }

}

@media (max-width: 767px) {

  /* Offcanvas içinde alt menüler kapalı başlasın */
  #menu-offcanvas li.dropdown-submenu > .dropdown-menu{
    display: none !important;
  }

  /* JS open verince aç */
  #menu-offcanvas li.dropdown-submenu.open > .dropdown-menu{
    display: block !important;
  }
}

/* Tek satır yatay ürün şeridi – tüm ekranlar */
.related-strip{
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.related-strip .product-cols{
  flex: 0 0 260px;   /* desktop kart genişliği */
}

/* Mobilde biraz büyüt */
@media (max-width: 767px){
  .related-strip .product-cols{
    flex-basis: 50%;
  }
}


/* manin menü product.tpl */
/* Ürün sayfasında alt mobile menüyü gizle (route bazlı) */
@media (max-width: 768px){
  body.is-product-page #mbnav{ display:none !important; }
}

@media (max-width: 768px){

  /* CART sayfasında SEPET DOLUYKEN: gizle */
  html.cart-filled body.page-checkout-cart #mbnav,
  body.cart-filled.page-checkout-cart #mbnav{
    display:none !important;
  }

  /* CART sayfasında SEPET BOŞKEN: göster */
  html.cart-empty body.page-checkout-cart #mbnav,
  body.cart-empty.page-checkout-cart #mbnav{
    display:grid !important;
  }
}


/* Mobile sticky buy bar */
.msticky-buybar{ display:none; }

@media (max-width: 768px){
  .msticky-buybar{
    display:flex;
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:99998;
    gap:10px;
    padding:10px 20px;
    padding-bottom:15px;
    background:#fff;
    box-shadow:0 -10px 25px rgba(0,0,0,.08);
    align-items:center;
  }

  /* S.. */
  body{ padding-bottom:90px; }

  .msticky-buybar__price{
    min-width:120px;
    display:flex;
    flex-direction:column;
    line-height:1.1;
  }
  .msticky-buybar__amount{
    font-size:16px;
    font-weight:600;
    color:#f05a00;
  }
  .msticky-buybar__ship{
    font-size:10px;
    font-weight:400;
    color:#1a9b3a;
    margin-top:4px;
  }

  .msticky-buybar__btn{
    flex:1;
    height:40px;
    border:0;
    border-radius:5px;
    font-weight:200;
    font-size:16px;
    cursor:pointer;
  }
  .msticky-buybar__btn--buy{background: #ffffff;color: #303030;border: 1px solid;}
  .msticky-buybar__btn--cart{ background:#f28705; color:#fff; }
}


/* footer.tpl search css */
.mbsearch{ position:fixed; inset:0; display:none; z-index:99999; }
.mbsearch.active{ display:block; }
.mbsearch__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.mbsearch__panel{
  position:absolute; left:12px; right:12px; bottom:86px;
  background:#fff; border-radius:14px; padding:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}
.mbsearch__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.mbsearch__title{ font-size:14px; font-weight:600; }
.mbsearch__close{ border:0; background:transparent; font-size:18px; line-height:1; padding:6px 8px; cursor:pointer; }
.mbsearch__body{ display:flex; gap:8px; }
.mbsearch__input{
  flex:1; height:44px; padding:0 12px;
  border:1px solid #ddd; border-radius:12px; outline:none;
  font-size:16px; /* iOS / mobil zoom fix */
}
.mbsearch__btn{
  height:44px; padding:0 14px;
  border:0; border-radius:12px; cursor:pointer;
}

/* cart css */
.mbnav__icon--cart{ position:relative; display:inline-block; }
.mbnav__badge{
  position:absolute; top:-6px; right:-10px;
  min-width:18px; height:18px;
  padding:0 5px;
  border-radius:999px;
  font-size:11px; line-height:18px;
  text-align:center;
  background:#e11; color:#fff;
  font-weight:700;
}


/* Mobile Bottom Nav */
:root{
  --mbnav-h: 74px;              /* bar yüksekliği */
  --mbnav-bg: #ffffff;
  --mbnav-border: rgba(0,0,0,.08);
  --mbnav-shadow: 0 -10px 30px rgba(0,0,0,.12);
  --mbnav-active: #ff6a00;      /* aktif renk */
  --mbnav-idle: #9aa4b2;        /* pasif renk */
  --mbnav-fab: #5a3ff2;         /* orta buton rengi */
}

/* Sadece mobil */
@media (min-width: 768px){
  .mbnav, .mbnavSheet { display:none !important; }
}

@media (max-width: 767px){
  /* içerik altta menünün altında kalmasın */
  body{
    padding-bottom: calc(var(--mbnav-h) + env(safe-area-inset-bottom, 0px));
  }

  .mbnav{
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px; /* “boşluk kalıyor” sorununu azaltır */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: var(--mbnav-h);
    background: var(--mbnav-bg);
    border: 1px solid var(--mbnav-border);
    border-radius: 0px;
    /*box-shadow: var(--mbnav-shadow);*/
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    z-index: 99999;
    -webkit-tap-highlight-color: transparent;
  }

  .mbnav__item{
    text-decoration: none;
    color: var(--mbnav-idle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    font-size: 12px;
    user-select: none;
  }

  .mbnav__icon{
    font-size: 20px;
    line-height: 1;
    display:block;
  }

  .mbnav__label{ font-size: 11px; }

  .mbnav__item.is-active{
    color: #000000;
  }

  /* Ortadaki FAB */
  .mbnav__fab{
    justify-self: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 6px solid #fff;
    background: #a4a4a4;
    color: #ffffff;
    box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 25%);
     transform: translateY(-2px); 
    cursor: pointer;
    margin-top: 10px;
  }

  .mbnav__fabIcon{
    font-size: 26px;
    line-height: 1;
    display: inline-block;
    transform: translateY(1px);
  }

  /* Açılır Menü Sheet */
  .mbnavSheet[hidden]{ display:none; }

  .mbnavSheet{
    position: fixed;
    inset: 0;
    z-index: 10000;
  }

  .mbnavSheet__backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.35);
  }

  .mbnavSheet__panel{
    position:absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -20px 50px rgba(0,0,0,.2);
  }

  .mbnavSheet__header{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }

  .mbnavSheet__close{
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
  }

  .mbnavSheet__body{
    display:flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
  }

  .mbnavSheet__body a{
    padding: 12px 10px;
    border-radius: 12px;
    text-decoration:none;
    color:#111827;
    background: rgba(0,0,0,.04);
  }
}
/* SVG icon base */
.mbnav__svg,
.mbnav__fabSvg{
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: #555;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* aktif/hover’da daha net */
.mbnav__item{
  color: #555; /* pasif */
}

.mbnav__item.is-active{
  color: #000; /* aktif */
}

.mbnav__item:active{
  transform: translateY(1px);
}

/* FAB ikon boyutu */
.mbnav__fabSvg{
  width: 24px;
  height: 24px;
}


/* CART: Topbar + Search sabitle (diğer "static" kurallarını ezer) */
@media (max-width:768px){
    
    
  body.page-checkout-cart #header{
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 25px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  }

  body.page-checkout-cart #topbar{
    position: fixed !important;
    top: env(safe-area-inset-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: #fff !important;
  }

/* Arama bloğu: temada hangisi varsa onu sabitle */
  body.page-checkout-cart #search_mobile,
  body.page-checkout-cart #search{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: 50px !important;   /* soldan boşluk */
    margin-right: 30px !important;  /* sağ ikonlardan önce nefes */
    padding: 0 !important;
    float: none !important;
    width: auto !important;
     margin-top: 3px !important;
  }

  /* İçerik, sabit barların altına insin */
  body.page-checkout-cart #page{
    padding-top: var(--cart-header-offset, 88px) !important;
  }
  
  body.page-checkout-cart #content{
  min-height: 50px;
  margin-bottom: 25px;
  margin-top: 0px;
}

}



@media (max-width:768px){

  /* Topbar satırı flex ise arama esnesin */
  #topbar .show-mobile{
    display:flex !important;
    align-items:center !important;
  }

  /* Sadece topbar’daki arama */
  #topbar #search.search--topbar{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin-left: 40px !important;   /* soldan boşluk */
    margin-right: 0px !important;  /* sağ ikonlardan önce nefes */
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    margin-top: 3px !important;
  }

  /* Input-group tek satır, taşmasın */
  #topbar #search.search--topbar .input-group{
    width: 100% !important;
    position: relative !important;
  }

  /* Kategori dropdown varsa (autosearch) istemiyorsan gizle */
  #topbar #search.search--topbar .input-group-btn,
  #topbar #search.search--topbar select{
    display:none !important;
  }

  /* Input “pill” */
  #topbar #search.search--topbar input[type="text"],
  #topbar #search.search--topbar .input-search,
  #topbar #search.search--topbar .form-control{
    width:100% !important;
    height:36px !important;
    border-radius:999px !important;
    padding-right:40px !important; /* ikon içeride */
    box-sizing:border-box !important;
  }

  /* Arama ikonu input içinde sağda */
  #topbar #search.search--topbar .button-search,
  #topbar #search.search--topbar .fa-search{
    position:absolute !important;
    right:12px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    margin:0 !important;
    z-index: 2 !important;
  }

  /* Mobilde alttaki eski aramayı (header-main içindeki) gizle */
  #header-main #search{
    display:none !important;
  }
}

@media (max-width:768px){
  /*  /* Ürün sayfası: adet +/- gizle */
  .product-detail .product-extra .quantity-adder{
    display:none !important;
  }

  /* Ürün sayfası: üstteki Sepete Ekle alanını da gizle */
  .product-detail .product-extra .cart,
  .product-detail .product-extra #button-cart{
    display:none !important;
  }
  
}

@media (max-width:768px){

  /* Sayfa yatay taşmasın */
  html, body{ overflow-x:hidden !important; }

  /* Thumbnail şeridi tamamen gizle */
  .product-detail #image-additional,
  .product-detail .image-additional{ display:none !important; }

  /* Ana görsel alanı yatay galeri */
  .product-detail .image-container .image{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
  }

  .product-detail .image-container .image > a{
    flex:0 0 100% !important;
    scroll-snap-align:start;
    pointer-events:none; /* popup açılmasın */
    display:block !important;
  }

.product-detail .image-container .image > a img{
  width:100% !important;
  height:auto !important;

  /* VH KULLANMA: Chrome scroll sırasında resize yapıyor */
  max-height: 560px !important;                 /* fallback */
  max-height: min(240vw, 580px) !important;     /* asıl: genişliğe bağlı, stabil */

  object-fit:contain !important;
  display:block !important;
}


  .product-info{
    margin-bottom:20px;
    border-radius:0;
    background-color:#fff;
    padding: 10px;
  }
  
  .product-label.product-label-special span {
  left: 0;
  padding: 15px 9px;
  background: #ef4a5a;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  border-radius: 100%;
  font-weight: 700;
  display:none !important;
  
}

.product-label.product-label-special {
  left: 0px;
  display:none !important;
}

.product-info .product-view {
  padding-left: 15px;
}

.fiyat-area{
  background: #fdfdfd40;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  padding-left: 5px;
  max-width: 315px;
  border: 1px solid #F3F2F2;
  border-radius: 5px;
  margin-left:25px;
}



.product-info .product-extra {
  display:none !important;
}
.page-not-found{
  text-align: center;
  font-size: 20px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-not-found.wrapper {
  background-color: #FFFFFF;
  padding: 25px 25px 35px;
  border: 1px solid #e9e9e9;
  margin-bottom: 20px;
  border-radius: 5px;
  margin-top: -20px;
}

/* Boş sepet ikonu (SVG) */
.page-not-found::before{
  content: "";
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px auto; /* ikon - yazı aralığı */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* inline SVG (tek renk) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6l-2-3H1'/%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M9 10h10'/%3E%3C/svg%3E");
}

/* İç içe .page-not-found varsa, içtekinde ikonu kapat */
.page-not-found .page-not-found::before{
  content: none !important;
  display: none !important;
}
 #content h1 {
  margin-top: 20px;
}

#header .show-mobile .quickaccess-toggle {
  width: 30px;
  height: 30px;
  line-height: 27px;
  text-align: center;
  cursor: pointer;
  border: 0px solid #dcdcdc;
  padding-top: 5px;
}
#header .show-mobile .quickaccess-toggle .fa {
  margin: 0;
  font-size: 20px;
  color: #555;
}

/* Normal sayfalar */
.pagination .links a {
  border-radius: 30px;
  margin-left: 10px;
}

/* Aktif sayfa */
.pagination .links b {
  border-radius: 30px;
  margin-left: 10px;
}

.pagination {
  padding-top: 10px;
  padding-left: 10px;
}

.pagination .results {
  margin-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.main-column .pagination .results {
  padding-top: 20px;
  padding-right: 10px;
}
}

@media (max-width:768px){
  /* Panzoom pinch/pan için gerekli */
  .product-detail .image-container .image > a img{
    touch-action: none;
  }

  /* Zoom aktifken swipe kilit */
  html.pz-on .product-detail .image-container .image{
    overflow-x: hidden !important;
  }
}





@media (max-width: 767px){

  /* Mobil accordion genel */
  .js-mobile-accordion .macc{
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .js-mobile-accordion .macc__head{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border: 0;
    border-top: 1px solid #eee;
    background: #fff;
    text-align: left;
  }
  .js-mobile-accordion .macc__head:first-child{ border-top: 0; }

  .js-mobile-accordion .macc__title{
    font-weight: 700;
    font-size: 15px;
    color: #333;
  }

  /* Sağdaki yuvarlak ikon */
  .js-mobile-accordion .macc__icon{
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: #f3f3f3;
    position: relative;
    flex: 0 0 29px;
  }

  /* Chevron (ok) */
  .js-mobile-accordion .macc__icon::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translate(-50%, -50%) rotate(-45deg); /* aşağı ok */
  }

  /* Açıkken yukarı ok */
  .js-mobile-accordion .macc__head.is-open .macc__icon::before{
    transform: translate(-50%, -50%) rotate(135deg); /* yukarı ok */
  }

  .js-mobile-accordion .macc__panel{
    display: block !important;          /* artık display ile saklamıyoruz */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    padding: 0 14px;                    /* kapalıyken padding 0 gibi */
    border-top: 1px solid #eee;
    transition: max-height 2.95s cubic-bezier(.2,.9,.2,1), opacity .65s ease, transform .65s ease, padding .65s ease;
    will-change: max-height, opacity, transform;
     margin-bottom: 0px;
  }

  .js-mobile-accordion .macc__panel.is-open{
    max-height: 2500px;                 /* içerik uzunsa artır (gerekirse 2000) */
    opacity: 1;
    transform: translateY(0);
    padding: 14px 14px 16px;
    margin-left: 10px;
  }
}
@media (max-width: 767px){
  .js-mobile-accordion .macc__head{
    scroll-margin-top: 140px; /* sticky header payı */
  }
}


@media (max-width:768px){

  /* Normalde: sayfa/galeri doğal davransın */
  .product-detail .image-container .image > a img{
    touch-action: pan-y;
  }

  /* Zoom aktifken: sadece aktif resim dokunuşu alsın */
  html.pz-on .product-detail .image-container .image > a.is-pz-active img{
    touch-action: none !important;
    will-change: transform;
    transform-origin: center center;
  }

  /* Zoom aktifken: swipe/snap kilit */
  html.pz-on .product-detail .image-container .image{
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }
}



.icocategories{
  margin: 10px 0 18px;
}

.icocategories__track{
  list-style: none;
  padding: 0 12px;
  margin: 0;
  padding-bottom: 10px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.icocategories__item{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 120px; /* item genişliği */
  text-align: center;
}

.icocategories__link{
  display: block;
  text-decoration: none;
}

.icocategories__circle{
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
}

.icocategories__svg{
  width: 54px;
  height: 54px;
  color: #8a8a8a; /* ikon rengi */
}

.icocategories__label{
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #222;
}

/* Desktop’ta daha geniş göster */
@media (min-width: 992px){
  .icocategories__track{
    justify-content: center;
    overflow: visible;
    scroll-snap-type: none;
  }
  .icocategories__item{
    width: 140px;
  }
  .icocategories__circle{
    width: 110px;
    height: 110px;
  }
  .icocategories__svg{
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 767px){

  /* Dış kutu */
  .home-seo-scrollbox{
    position: relative;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
  }

  /* İç scroller */
  .home-seo-scrollbox__inner{
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 12px;
  }

  /* ÜST shadow: başlangıçta görünmesin */
  .home-seo-scrollbox:before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:12px;
    pointer-events:none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0));
    opacity: 0;                 /* kapalı */
    transition: opacity 180ms ease;
  }

  /* Scroll başlayınca üst shadow aç */
  .home-seo-scrollbox.is-scrolled:before{
    opacity: 1;
  }

  /* ALT shadow: sabit kalsın */
  .home-seo-scrollbox:after{
    content:"";
    position:absolute;
    bottom:0; left:0; right:0;
    height:12px;
    pointer-events:none;
    background: linear-gradient(to top, rgba(0,0,0,0.10), rgba(0,0,0,0));
    opacity: 1;
  }

}


@media (max-width: 767px){

  /* 1) Yatay kaydırma alanı: liste */
  .latest_blog .pavblog-latest{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 10px 0;
    margin: 0 !important;
  }

  /* 2) Kolonları “kart” yap */
  .latest_blog .pavblog-latest > [class*="col-"]{
    flex: 0 0 260px;
    width: 260px;
    max-width: 80vw;
    float: none !important;
  }

  /* 3) Kart içi float bozmalarını kapat */
  .latest_blog .pavblog-latest .create-info,
  .latest_blog .pavblog-latest .pull-left{
    float: none !important;
    width: auto !important;
  }

  /* 4) Kartın içi düzgün dursun */
  .latest_blog .pavblog-latest .blog-item,
  .latest_blog .pavblog-latest .blog-body{
    height: 100%;
  }

  .latest_blog .pavblog-latest .image img{
    display: block;
    width: 100%;
    height: auto;
  }

  /* 5) Başlık/özet taşmasın (opsiyonel) */
  .latest_blog .pavblog-latest .description{
    white-space: normal;
  }
  
    .latest_blog .pavblog-latest .pull-left{
    margin-left: 10px;
  }

}

@media (max-width: 767px){

  /* Reassurances wrapper */
  .box-module-pavreassurances .box-outer{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 10px 0;
    margin: 0 !important;
  }

/* Kolonları kart yap */
  .box-module-pavreassurances .box-outer > [class*="col-"]{
    flex: 0 0 260px;     /* kart genişliği */
    width: 260px;
    max-width: 60vw;
    float: none !important;
    max-height: 40vw;
  }

  /* Kart içi hizalama bozulmasın */
  .box-module-pavreassurances .reassurances-center{
    height: 100%;
  }

  /* İkon ve yazı taşmasın */
  .box-module-pavreassurances .reassurances-center .icon-name{
    display: block;
    margin-bottom: 6px;
  }

  .box-module-pavreassurances img{
    max-width: 100%;
    height: auto;
    display: block;
  }

}



/* Desktop'ta tamamen kapalı */
.mcartSheet{ display:none; }

@media (max-width: 768px){

  .mcartSheet{
    position: fixed;
    inset: 0;
    display: none;
    z-index: 100000;
  }
  .mcartSheet.is-open{ display:block; }

  .mcartSheet__backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.45);
  }

  .mcartSheet__panel{
    position:absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background:#fff;
    border-radius: 16px;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -20px 60px rgba(0,0,0,.25);
  }

  .mcartSheet__close{
    position:absolute;
    top:10px;
    right:10px;
    border:0;
    background: transparent;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display:grid;
    place-items:center;
    color:#111;
  }
  .mcartSheet__icon{ width: 18px; height: 18px; }

  .mcartSheet__prod{
    display:flex;
    gap:12px;
    padding-right: 44px;
  }

  .mcartSheet__imgWrap{
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow:hidden;
    background:#f5f5f5;
    flex: 0 0 54px;
  }
  .mcartSheet__img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .mcartSheet__name{
    font-size: 13px;
    font-weight: 600;
    color:#222;
    line-height: 1.25;
    max-height: 2.6em;
    overflow:hidden;
  }

  /* Fiyatlar */
  .mcartSheet__prices{
    margin-top: 6px;
    display:flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .mcartSheet__old{
    font-size: 13px;
    font-weight: 600;
    color:#777;
    text-decoration: line-through;
  }

  .mcartSheet__new{
    font-size: 15px;
    font-weight: 800;
    color:#111;
  }

  .mcartSheet__meta{ margin-top: 10px; }
  .mcartSheet__metaRow{
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size: 12px;
    color:#333;
    margin-top: 6px;
  }

  .mcartSheet__mini{
    width: 16px;
    height: 16px;
    flex:0 0 16px;
    color:#fff;
  }
  .mcartSheet__okIcon{ color:#1a9b3a; }

  .mcartSheet__hr{
    height:1px;
    background: rgba(0,0,0,.08);
    margin: 12px 0;
  }

  .mcartSheet__bottom{
    display:flex;
    justify-content: space-between;
    align-items:center;
    gap: 10px;
  }

  .mcartSheet__fav{
    display:flex;
    align-items:center;
    gap:6px;
    text-decoration:none;
    color:#222;
    font-size: 12px;
  }

  .mcartSheet__ok{
    display:flex;
    align-items:center;
    gap:6px;
    font-size: 12px;
    color:#222;
  }

  .mcartSheet__go{
    margin-top: 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    height: 44px;
    border-radius: 12px;
    background:#f28705;
    color:#fff;
    text-decoration:none;
    font-weight: 700;
    font-size: 14px;
  }
}


@media (max-width: 768px){

  .mcartSheet__fav{
    border: 0;
    background: transparent;
    padding: 0;
    display:flex;
    align-items:center;
    gap:6px;
    color:#222;
    font-size: 12px;
    cursor: pointer;
  }

  /* Kalp ilk durumda: çizgili */
  .mcartSheet__favIcon{
    width:16px; height:16px;
    color:#555;
  }

  /* Eklendi yazısı başlangıçta gizli */
  .mcartSheet__favOk{
    display:none;
    align-items:center;
    gap:6px;
    color:#1a9b3a;
    font-size: 12px;
  }

  .mcartSheet__favOkIcon{
    color:#1a9b3a;
  }

  /* Favoriye eklendi durumu: metin yer değiştir, kalp dolu olsun */
  .mcartSheet.is-faved .mcartSheet__favText{ display:none; }
  .mcartSheet.is-faved .mcartSheet__favOk{ display:flex; }

  .mcartSheet.is-faved .mcartSheet__favIcon path{
    fill: #555;          /* dolu kalp */
    stroke: #555;
  }
  
  .mcartSheet.is-faved .mcartSheet__favIcon path{
  fill: #555;
  stroke: #555;
}


  .mcartSheet__fav svg{
  width:16px;
  height:16px;
  display:block;
}


}
@media (max-width: 768px){

  /* Kalbin kırpılmasını engelle (sadece sheet içi favori butonu) */
  #mcartSheetFavBtn{
    overflow: visible !important;
    line-height: normal !important;
  }

  #mcartSheetFavBtn .mcartSheet__favIcon{
    overflow: visible !important;
    display: inline-block !important;
    vertical-align: middle !important;

    width: 18px !important;
    height: 18px !important;

    /* stroke taşması yüzünden kenar kırpılmasın */
    padding: 2px !important;
    box-sizing: content-box !important;
  }

  /* Bazı temalarda svg'nin parent'ı da kesiyor olabilir */
  #mcartSheetFavBtn .mcartSheet__mini{
    overflow: visible !important;
  }
  
  .success {
    display: none !important;
 }
 
   /* Sepete Git yazısı ve ikon HER durumda beyaz kalsın */
  .mcartSheet__go,
  .mcartSheet__go:visited,
  .mcartSheet__go:hover,
  .mcartSheet__go:focus,
  .mcartSheet__go:active{
    color: #fff !important;
    text-decoration: none !important;
  }

  .mcartSheet__go svg,
  .mcartSheet__go svg *{
    color: #fff !important;
    stroke: #fff !important;
    fill: #fff !important;
  }
}








@media (max-width: 768px){

  /* JS ürün görselinin parent'ına bunu ekleyecek */
  .mprodFloatHost{
    position: relative !important;
  }

  .mprodFloat{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
  }

  .mprodFloat__btn{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.92);
    box-shadow: 0 2px 5px rgba(0,0,0,.14);
    display: grid;
    place-items: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }

  /* Artık host'a bağlı değil; ekrandan sabit */
  .mprodFloat{
    position: fixed;
    top: 120px;      /* görsel alanına yakın başlangıç; JS ile daha iyi hizalayacağız */
    right: 12px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
  }


  .mprodFloat__ico{
    width: 22px;
    height: 22px;
    display: block;
    overflow: visible;
    color: #333;
  }

  /* Favori: default outline */
  .mprodFloat__btn--fav .mprodFloat__ico path{
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
  }

  /* Favori: eklendi (içi #555 dolu) */
  .mprodFloat__btn--fav.is-on .mprodFloat__ico{
    color: #555;
  }
  .mprodFloat__btn--fav.is-on .mprodFloat__ico path{
    fill: #555;
    stroke: #555;
  }

  /* Tema link hover'ları vs etkilemesin */
  .mprodFloat__btn,
  .mprodFloat__btn:hover,
  .mprodFloat__btn:focus,
  .mprodFloat__btn:active{
    text-decoration: none !important;
    color: inherit !important;
  }
}

@media (max-width: 768px){
  .mprodFloat{ position:absolute; top:10px; right:10px; z-index:50; }
}

@media (max-width: 767px){

  /* Mobil topbar satır düzeni */
  #topbar .show-mobile.hidden-lg.hidden-md{
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }

  /* Arama alanı satırda kalsın, taşarsa kısalsın */
  #topbar .show-mobile.hidden-lg.hidden-md .search--topbar{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* İkon grubu kesin yatay */
  #topbar .show-mobile.hidden-lg.hidden-md .mhead-icons{
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin-left: 0px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
  }

  /* Buton ölçüleri */
  #topbar .mhead-icons__btn{
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 0 !important;
    color: #111 !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
  }

  /* SVG net ve bozulmaz */
  #topbar .mhead-icons__svg{
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    overflow: visible !important;
  }
  #topbar .mhead-icons__svg path{
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* Sepet badge */
  #topbar .mhead-icons__badge{
    position: absolute !important;
    top: -4px !important;
    right: -6px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    line-height: 16px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    background: #111 !important;
    color: #fff !important;
    display: none;
    pointer-events: none !important;
  }

  /* Eski mobil quick ikonlar görünmesin (hala DOM’da kalmışsa) */
  #topbar .show-mobile.hidden-lg.hidden-md .quick-cart,
  #topbar .show-mobile.hidden-lg.hidden-md .quick-user,
  #topbar .show-mobile.hidden-lg.hidden-md .quick-access{
    display: none !important;
  }
}

@media (max-width: 768px){
  .customx1{
   padding-left: 35px;

}
  
  .customx1{
   padding-left: 35px;

 }
}






/* =========================================
   MODERN WISHLIST (FINAL)
   - wishlist.tpl içindeki .mwish yapısı için
   - Sepete Ekle: varsayılan beyaz, tıklanınca (is-added) siyah
   ========================================= */

.mwish{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mwish__item{
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 96px;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  align-items: start;
}

.mwish__img{
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.mwish__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mwish__body{
  min-width: 0;
}

.mwish__name{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  text-decoration: none;
  margin: 2px 0 6px 0;
  word-break: break-word;
}

.mwish__meta{
  font-size: 12px;
  color: #666;
  line-height: 1.2;
  margin-bottom: 8px;
}

.mwish__price{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.mwish__priceNow{
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.mwish__priceOld{
  font-size: 12px;
  font-weight: 700;
  color: rgba(0,0,0,.55);
  text-decoration: line-through;
}

.mwish__actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
}

/* Ortak buton */
.mwish__btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  color: #111;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
}

.mwish__btn svg{
  width: 22px;
  height: 22px;
  display: block;
}

.mwish__btn svg *{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mwish__btn:active{
  transform: scale(.98);
}

/* =========================
   Sepete Ekle (DEFAULT: beyaz)
   ========================= */
.mwish__btn--cart{
  background: #fff;
  border: 1.5px solid #111;
  color: #111;
}

/* Sepete Ekle (Eklendi: siyah) */
.mwish__btn--cart.is-added{
  background: #111;
  border-color: #111;
  color: #fff;
}

/* =========================
   Sil butonu (soft)
   ========================= */
.mwish__btn--remove{
  background: #fff;
  border-color: rgba(0,0,0,.10);
  color: rgba(0,0,0,.75);
}

/* =========================================
   FIX: mwish buton içi yazı/pseudo-element çakışması
   ========================================= */

/* tema :before/:after ile metin basıyorsa kapat */
.mwish__btn::before,
.mwish__btn::after,
.mwish__btn--cart::before,
.mwish__btn--cart::after,
.mwish__btn--remove::before,
.mwish__btn--remove::after{
  content: none !important;
  display: none !important;
}

/* buton içinde metin çizimi olmasın */
.mwish__btn{
  font-size: 0 !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background-image: none !important;
}

/* SVG kesin görünsün */
.mwish__btn svg{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* SVG stroke’ları garanti */
.mwish__btn svg,
.mwish__btn svg *{
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}


/* Mobil kompakt */
@media (max-width: 767px){
  .mwish__item{
    grid-template-columns: 84px minmax(0,1fr) 92px;
  }
  .mwish__img{
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 767px){
  body.is-wishlist-page #footer,
  body.is-wishlist-page footer,
  body.is-wishlist-page .footer,
  body.is-wishlist-page .pav-footer,
  body.is-wishlist-page #pav-footer{
    display:none !important;
  }
}

