:root{
  --mengu-purple:#6d2785;
  --mengu-purple-dark:#4f1965;
  --mengu-gold:#f1c32c;
  --mengu-text:#24252a;
  --mengu-muted:#70727a;
  --mengu-border:#ece7ef;
  --mengu-surface:#ffffff;
}

#masthead,
#ast-desktop-header,
#ast-mobile-header,
.ast-mobile-header-wrap{display:none!important;}

.mengu-site-header{position:relative;z-index:9999;background:#fff;color:var(--mengu-text);font-family:inherit;}
.mengu-site-header *{box-sizing:border-box;}
.mengu-site-header a{text-decoration:none!important;}
.mengu-header-inner{width:min(1400px,calc(100% - 40px));margin:0 auto;}

/* Kayan bilgi bandı: iki eş grup sonsuz döngü ile gerçekten hareket eder. */
.mengu-ticker{height:31px;overflow:hidden;background:linear-gradient(90deg,var(--mengu-purple-dark),var(--mengu-purple));color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;white-space:nowrap;}
.mengu-ticker-track{display:flex;align-items:center;width:max-content;min-width:200vw;will-change:transform;animation:menguTicker 30s linear infinite;}
.mengu-ticker-group{flex:0 0 100vw;min-width:100vw;display:flex;align-items:center;justify-content:space-around;gap:22px;padding:0 18px;}
.mengu-ticker-group span{flex:0 0 auto;}
.mengu-ticker-group b{flex:0 0 auto;color:var(--mengu-gold);font-size:14px;}
@keyframes menguTicker{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.mengu-ticker:hover .mengu-ticker-track{animation-play-state:paused;}
@media (prefers-reduced-motion:reduce){.mengu-ticker-track{animation-duration:55s;}}

.mengu-mini-bar{border-bottom:1px solid var(--mengu-border);background:#fff;color:#60626a;font-size:12px;}
.mengu-mini-inner{height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.mengu-mini-left,.mengu-mini-right{display:flex;align-items:center;gap:9px;}
.mengu-mini-bar a{color:#60626a!important;font-weight:600;}
.mengu-mini-bar a:hover{color:var(--mengu-purple)!important;}
.mengu-mini-sep{color:#d1ccd4;}

.mengu-main-row{background:#fff;}
.mengu-main-inner{min-height:112px;display:grid;grid-template-columns:190px minmax(320px,1fr) 250px;gap:34px;align-items:center;}
.mengu-logo{display:flex;align-items:center;justify-content:flex-start;min-width:0;}
.mengu-logo-img{display:block;width:auto;max-width:128px;max-height:92px;object-fit:contain;}
.mengu-logo-text{font-size:22px;line-height:.9;color:var(--mengu-purple);font-weight:900;text-align:center;}
.mengu-logo-text small{font-size:11px;letter-spacing:.12em;color:#9d7a18;}

.mengu-search{height:46px;display:grid;grid-template-columns:1fr 52px;border:2px solid var(--mengu-purple);border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 3px 12px rgba(79,25,101,.05);}
.mengu-search input[type=search]{width:100%;height:42px;border:0!important;outline:0!important;box-shadow:none!important;padding:0 16px!important;background:#fff!important;color:#24252a!important;font-size:14px!important;}
.mengu-search input[type=search]::placeholder{color:#9a97a0;}
.mengu-search button{border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:var(--mengu-purple)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.mengu-search button:hover{background:var(--mengu-purple-dark)!important;}
.mengu-search button svg{width:22px;height:22px;fill:currentColor;}

.mengu-actions{display:flex;justify-content:flex-end;align-items:center;gap:22px;}
.mengu-account-link,.mengu-cart-link{color:var(--mengu-text)!important;display:flex;align-items:center;gap:7px;min-width:48px;justify-content:center;position:relative;}
.mengu-icon-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;}
.mengu-icon-wrap svg{width:27px;height:27px;fill:currentColor;}
.mengu-action-label{font-size:12px;font-weight:700;white-space:nowrap;}
.mengu-cart-count{position:absolute;right:-8px;top:-8px;min-width:18px;height:18px;padding:0 4px;border-radius:50%;background:var(--mengu-purple);color:#fff;font-size:10px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff;}
.mengu-cart-total{font-size:12px;font-weight:800;white-space:nowrap;}
.mengu-account-link:hover,.mengu-cart-link:hover{color:var(--mengu-purple)!important;}

.mengu-category-nav{position:relative;border-bottom:2px solid var(--mengu-purple);background:#fff;box-shadow:0 5px 14px rgba(20,20,30,.035);}
.mengu-category-list{display:flex;align-items:stretch;justify-content:center;gap:26px;min-height:52px;}
.mengu-category-item{position:static;display:flex;align-items:stretch;}
.mengu-category-top{position:relative;display:flex;align-items:center;justify-content:center;padding:0 12px;color:#17171a!important;font-size:14px;font-weight:800;letter-spacing:.01em;white-space:nowrap;}
.mengu-category-top::after{content:"";position:absolute;left:50%;right:50%;bottom:0;height:3px;background:var(--mengu-gold);transition:.2s ease;}
.mengu-category-item:hover>.mengu-category-top,.mengu-category-top:focus{color:var(--mengu-purple)!important;}
.mengu-category-item:hover>.mengu-category-top::after,.mengu-category-top:focus::after{left:8px;right:8px;}
.mengu-campaign-item .mengu-category-top{color:var(--mengu-purple)!important;}

.mengu-mega-menu{position:absolute;left:0;right:0;top:100%;opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none;transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:10020;padding:0 20px 22px;}
.mengu-category-item:hover>.mengu-mega-menu,.mengu-category-item:focus-within>.mengu-mega-menu,.mengu-category-item.is-open>.mengu-mega-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;}
.mengu-mega-inner{width:min(1340px,100%);margin:0 auto;background:#fff;border:1px solid var(--mengu-border);border-radius:0 0 12px 12px;box-shadow:0 18px 36px rgba(28,18,32,.18);display:grid;grid-template-columns:260px 1fr;min-height:270px;overflow:hidden;}
.mengu-mega-left{background:#f7f6f8;border-right:1px solid #e8e5eb;padding:8px 0;}
.mengu-mega-left a{min-height:42px;padding:9px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#333!important;font-size:13px;font-weight:600;border-bottom:1px solid rgba(225,222,228,.65);}
.mengu-mega-left a:hover{background:#fff;color:var(--mengu-purple)!important;}
.mengu-mega-left .mengu-mega-all{font-weight:800;color:var(--mengu-purple)!important;background:#fff;}
.mengu-mega-right{padding:22px 26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 26px;align-content:start;}
.mengu-mega-card{display:grid;grid-template-rows:105px auto auto;gap:7px;text-align:center;color:#24252a!important;min-width:0;}
.mengu-mega-card-image{display:flex;align-items:center;justify-content:center;border-radius:9px;background:#fff;overflow:hidden;}
.mengu-mega-card-image img{max-width:100%;max-height:100px;width:auto;height:auto;object-fit:contain;}
.mengu-mega-card-image.no-image{background:#faf8fb;border:1px solid #eee9f0;}
.mengu-mega-card-image.no-image svg{width:48px;height:48px;fill:#c8b4d0;}
.mengu-mega-card strong{font-size:13px;line-height:1.3;color:#24252a;}
.mengu-mega-card small{font-size:10px;line-height:1.35;color:#777;white-space:normal;}
.mengu-mega-card:hover strong{color:var(--mengu-purple);}
.mengu-mobile-menu-toggle{display:none;}

/* Temiz ürün arama sonuç sayfası */
body.search-results.post-type-archive-product .ast-container,
body.search.search-results .ast-container{max-width:none;}
.mengu-product-search-page{width:min(1400px,calc(100% - 40px));margin:0 auto;padding:34px 0 54px;}
.mengu-search-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px;}
.mengu-search-head h1{font-size:26px!important;line-height:1.2!important;margin:0!important;color:#202126!important;}
.mengu-search-head p{margin:6px 0 0;color:var(--mengu-muted);font-size:13px;}
.mengu-search-shop-link{color:var(--mengu-purple)!important;font-size:13px;font-weight:800;white-space:nowrap;}
.mengu-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.mengu-search-card{border:1px solid #ece7ef;border-radius:12px;background:#fff;padding:14px;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 16px rgba(25,18,31,.035);}
.mengu-search-card-image{height:250px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:#fff;}
.mengu-search-card-image img{max-width:100%;max-height:240px;width:auto;height:auto;object-fit:contain;}
.mengu-search-card-title{font-size:14px!important;line-height:1.35!important;font-weight:700!important;color:#222!important;margin:12px 0 9px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;}
.mengu-search-card-price{font-size:15px;font-weight:800;color:#222;margin-top:auto;margin-bottom:10px;}
.mengu-search-card-price del{font-size:12px;color:#96919a;}
.mengu-search-card-price ins{text-decoration:none;color:var(--mengu-purple);}
.mengu-search-card .button{width:100%;min-height:40px;border-radius:6px!important;background:var(--mengu-purple)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;font-size:13px!important;font-weight:800!important;padding:8px 12px!important;margin:0!important;}
.mengu-search-card .button:hover{background:var(--mengu-purple-dark)!important;}
.mengu-search-pagination{margin-top:30px;display:flex;justify-content:center;}
.mengu-search-pagination .page-numbers{display:flex;gap:6px;list-style:none;margin:0;padding:0;}
.mengu-search-pagination a,.mengu-search-pagination span{min-width:36px;height:36px;padding:0 10px;border:1px solid #e5dfe8;border-radius:6px;display:flex;align-items:center;justify-content:center;color:#333;text-decoration:none;}
.mengu-search-pagination .current{background:var(--mengu-purple);border-color:var(--mengu-purple);color:#fff;}
.mengu-search-empty{text-align:center;padding:70px 20px;border:1px solid #eee8f0;border-radius:12px;background:#fff;}
.mengu-search-empty h2{font-size:22px;margin:0 0 8px;}
.mengu-search-empty p{color:#777;margin:0 0 18px;}

@media (max-width:1100px){
  .mengu-main-inner{grid-template-columns:150px minmax(240px,1fr) 190px;gap:20px;}
  .mengu-logo-img{max-width:105px;max-height:76px;}
  .mengu-category-list{gap:10px;}
  .mengu-category-top{padding:0 8px;font-size:13px;}
  .mengu-mega-right{grid-template-columns:repeat(3,minmax(0,1fr));}
  .mengu-cart-total,.mengu-action-label{display:none;}
  .mengu-actions{gap:16px;}
  .mengu-search-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:800px){
  .mengu-header-inner{width:min(100% - 24px,1400px);}
  .mengu-ticker{height:29px;font-size:11px;}
  .mengu-ticker-group{flex-basis:145vw;min-width:145vw;gap:18px;}
  .mengu-ticker-track{min-width:290vw;animation-name:menguTickerMobile;}
  @keyframes menguTickerMobile{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
  .mengu-mini-inner{height:28px;}
  .mengu-mini-left{display:none;}
  .mengu-mini-right{width:100%;justify-content:center;font-size:11px;}
  .mengu-main-inner{min-height:auto;padding:12px 0;grid-template-columns:82px 1fr 86px;gap:10px;}
  .mengu-logo-img{max-width:72px;max-height:58px;}
  .mengu-actions{gap:9px;}
  .mengu-account-link,.mengu-cart-link{min-width:34px;}
  .mengu-icon-wrap svg{width:24px;height:24px;}
  .mengu-search{height:42px;grid-template-columns:1fr 46px;}
  .mengu-search input[type=search]{height:38px!important;font-size:13px!important;padding:0 11px!important;}
  .mengu-mobile-menu-toggle{width:100%;min-height:44px;border:0!important;background:#fff!important;color:#222!important;display:flex;align-items:center;justify-content:space-between;padding:0 8px!important;margin:0!important;font-size:14px;font-weight:800;}
  .mengu-category-list{display:none;position:relative;flex-direction:column;align-items:stretch;gap:0;padding-bottom:8px;min-height:0;}
  .mengu-category-nav.is-mobile-open .mengu-category-list{display:flex;}
  .mengu-category-item{display:block;position:relative;border-top:1px solid var(--mengu-border);}
  .mengu-category-top{min-height:43px;justify-content:flex-start;padding:0 8px;}
  .mengu-category-top::after{display:none;}
  .mengu-mega-menu{position:static;display:none;opacity:1;visibility:visible;transform:none;pointer-events:auto;padding:0 0 10px;transition:none;}
  .mengu-category-item.is-open>.mengu-mega-menu{display:block;}
  .mengu-mega-inner{width:100%;border-radius:7px;box-shadow:none;grid-template-columns:1fr;min-height:0;border:0;background:#f8f6f9;}
  .mengu-mega-left{border-right:0;padding:0;background:#f8f6f9;}
  .mengu-mega-left a{padding-left:20px;background:transparent;}
  .mengu-mega-right{display:none;}
  .mengu-product-search-page{width:min(100% - 24px,1400px);padding:26px 0 42px;}
  .mengu-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
  .mengu-search-card-image{height:190px;}
  .mengu-search-card-image img{max-height:180px;}
}

@media (max-width:520px){
  .mengu-main-inner{grid-template-columns:68px 1fr 70px;gap:7px;}
  .mengu-logo-img{max-width:60px;max-height:50px;}
  .mengu-actions{gap:6px;}
  .mengu-search{height:40px;grid-template-columns:1fr 40px;}
  .mengu-search-head{align-items:flex-start;flex-direction:column;}
  .mengu-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .mengu-search-card{padding:9px;}
  .mengu-search-card-image{height:145px;}
  .mengu-search-card-image img{max-height:138px;}
  .mengu-search-card-title{font-size:12px!important;min-height:33px;}
  .mengu-search-card-price{font-size:13px;}
}


/* ===== Mengu Custom Footer v1.3.0 ===== */

/* Astra/Organic Store eski footer'ını kaldır, Mengu footer kalsın. */
body footer#colophon,
body .site-footer:not(.mengu-custom-footer),
body .ast-footer-overlay,
body .site-primary-footer-wrap,
body .site-below-footer-wrap {
  display:none!important;
}

.mengu-custom-footer{
  position:relative;
  margin-top:0;
  font-family:inherit;
  color:#252229;
  background:#fff;
}

.mengu-footer-shell{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

/* Avantaj şeridi */
.mengu-footer-trust{
  padding:28px 0 22px;
  border-top:1px solid #eee8f0;
  border-bottom:1px solid #eee8f0;
  background:#fff;
}

.mengu-footer-trust-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid #e9e5eb;
  border-radius:14px;
  box-shadow:0 6px 22px rgba(36,24,40,.04);
  overflow:hidden;
}

.mengu-trust-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:88px;
  padding:18px 22px;
  background:#fff;
}

.mengu-trust-item + .mengu-trust-item{
  border-left:1px solid #eee9f0;
}

.mengu-trust-icon{
  flex:0 0 44px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f8eef9;
  color:#7b2585;
}

.mengu-trust-icon svg{
  width:22px;
  height:22px;
  fill:currentColor;
}

.mengu-trust-item strong{
  display:block;
  margin-bottom:4px;
  color:#1e1b20;
  font-size:14px;
  line-height:1.25;
}

.mengu-trust-item small{
  display:block;
  color:#7b747d;
  font-size:11.5px;
  line-height:1.35;
}

/* Popüler kategori/arama alanı */
.mengu-footer-discovery{
  padding:30px 0 34px;
  background:#fff;
}

.mengu-footer-discovery-grid{
  display:grid;
  grid-template-columns:1fr 1.7fr;
  gap:56px;
}

.mengu-footer-discovery h3{
  margin:0 0 18px;
  color:#1d1a20;
  font-size:18px;
  line-height:1.2;
}

.mengu-footer-link-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px 26px;
}

.mengu-footer-link-grid a{
  color:#484149;
  font-size:12.5px;
  line-height:1.35;
  text-decoration:none!important;
}

.mengu-footer-link-grid a:hover{
  color:#6f1d7a;
  text-decoration:underline!important;
}

/* Koyu ana footer */
.mengu-footer-dark{
  padding:28px 0 0;
  background:#1d1d1d;
  color:#fff;
}

.mengu-footer-dark-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1.1fr .95fr 1.15fr;
  gap:34px;
  padding-bottom:30px;
}

.mengu-footer-column{
  min-width:0;
}

.mengu-footer-column h3{
  margin:0 0 16px;
  color:#fff;
  font-size:15px;
  line-height:1.2;
}

.mengu-footer-column > a,
.mengu-footer-socials a{
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 0 8px;
  color:#f2edf3;
  font-size:11.5px;
  line-height:1.35;
  text-decoration:none!important;
}

.mengu-footer-column > a:hover,
.mengu-footer-socials a:hover{
  color:#dcb7e2;
  text-decoration:underline!important;
}

.mengu-footer-note,
.mengu-footer-brand p{
  margin:12px 0 0;
  color:#c8c3ca;
  font-size:11px;
  line-height:1.55;
}

.mengu-footer-brand{
  text-align:left;
}

.mengu-footer-logo{
  display:inline-flex!important;
  margin:0 0 12px!important;
  text-decoration:none!important;
}

.mengu-footer-logo .mengu-logo-img{
  width:auto!important;
  height:68px!important;
  max-width:140px!important;
  object-fit:contain!important;
}

.mengu-footer-logo .mengu-logo-text{
  color:#fff;
}

.mengu-footer-socials a{
  display:flex;
  align-items:center;
  gap:8px;
}

.mengu-footer-socials span{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#7b2585;
  color:#fff;
  font-size:17px;
}

.mengu-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0 18px;
  border-top:1px solid rgba(255,255,255,.11);
  color:#bdb7bf;
  font-size:10.5px;
  line-height:1.4;
}

.mengu-back-top{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:970;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#171717;
  color:#fff;
  font-size:19px;
  cursor:pointer;
  box-shadow:0 5px 18px rgba(0,0,0,.18);
}

.mengu-back-top:hover{
  background:#6f1d7a;
}

@media(max-width:1050px){
  .mengu-footer-dark-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .mengu-footer-brand{
    grid-column:span 2;
  }

  .mengu-footer-discovery-grid{
    grid-template-columns:1fr;
    gap:34px;
  }
}

@media(max-width:780px){
  .mengu-footer-shell{
    width:min(100% - 28px,1180px);
  }

  .mengu-footer-trust{
    padding:18px 0 14px;
  }

  .mengu-footer-trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .mengu-trust-item{
    min-height:78px;
    padding:14px;
  }

  .mengu-trust-item + .mengu-trust-item{
    border-left:0;
  }

  .mengu-trust-item:nth-child(even){
    border-left:1px solid #eee9f0;
  }

  .mengu-trust-item:nth-child(n+3){
    border-top:1px solid #eee9f0;
  }

  .mengu-footer-link-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mengu-footer-dark-grid{
    grid-template-columns:1fr 1fr;
    gap:28px 22px;
  }

  .mengu-footer-brand{
    grid-column:1/-1;
  }

  .mengu-footer-bottom{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
}

@media(max-width:520px){
  .mengu-footer-trust-grid{
    grid-template-columns:1fr;
  }

  .mengu-trust-item,
  .mengu-trust-item:nth-child(even){
    border-left:0;
  }

  .mengu-trust-item:nth-child(n+2){
    border-top:1px solid #eee9f0;
  }

  .mengu-footer-link-grid,
  .mengu-footer-dark-grid{
    grid-template-columns:1fr;
  }

  .mengu-footer-discovery{
    padding:24px 0 28px;
  }

  .mengu-footer-dark-grid{
    gap:24px;
  }

  .mengu-footer-brand{
    grid-column:auto;
  }
}
