/* =====================================================
HEADER BASE
===================================================== */

img,
video{
  max-width:100%;
  height:auto;
}

#preloader{
  display:none !important;
}

/* Header genel */
#header-sticky .header{
  background:linear-gradient(to right,#06232D,#0F3747);
}

#header-sticky .header a,
#header-sticky .header .main-menu ul li a{
  color:#E9C282;
}

#header-sticky .header a:hover{
  color:#BE9863;
}

#header-sticky .header .icon-users,
#header-sticky .header .icon-search,
#header-sticky .header .icon-shopping-bag{
  color:#E9C282;
}

#header-sticky .header .header-login a,
#header-sticky .header .logo-register{
  color:#E9C282 !important;
}

/* Kolon düzeni */
.header .row{
  display:flex;
  align-items:center;
}

.header-col-left,
.header-col-center,
.header-col-right{
  display:flex;
  align-items:center;
}

.header-col-left{
  justify-content:flex-start;
}

.header-col-center{
  justify-content:center;
}

.header-col-right{
  justify-content:flex-end;
}

/* Logo */
.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

.logo img{
  display:block;
  margin:0 auto;
  max-height:100px;
}

/* Sağ alan */
.header-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  width:100%;
  position:relative;
}

#desktopAuthRight{
  display:flex;
  align-items:center;
  gap:8px;
}

.mobile-auth-left{
  display:none;
  align-items:center;
  gap:8px;
}

/* Search */
.header-search{
  position:relative;
}

#searchForm{
  position:absolute;
  top:100%;
  right:0;
  margin-top:8px;
  z-index:1100;
  display:none;
}

#searchInput{
  width:min(260px,80vw);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:8px 12px;
  font-size:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}


/* Selamlama */
.user-greet,
.user-greet-left{
  display:flex;
  align-items:center;
  color:#E9C282;
  background:#0F3747;
  padding:4px 8px;
  border-radius:6px;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.user-greet-left strong{
  color:#E9C282;
  font-weight:700;
}

.user-greet{
  position:relative;
  z-index:999999;
  pointer-events:auto;
  font-size:13px;
  font-weight:700;
  background:#0F3747;
  color:#E9C282;
  padding:4px 8px;
  border-radius:6px;
}

#userGreetingName{
  margin-left:6px;
}

#userGreetingWrap .logout-btn{
  pointer-events:auto;
}

/* Hesabım butonu */
.account-btn{
  margin-left:8px;
  padding:2px 6px;
  font-size:11px;
  font-weight:700;
  background:transparent;
  border:1px solid #E9C282;
  color:#E9C282;
  border-radius:4px;
  cursor:pointer;
}

.account-btn:hover{
  background:#E9C282;
  color:#0F3747;
}

/* Sepet rozeti - base */
.header-shopping-cart{
  cursor:pointer;
  position:relative;
}

.header-shopping-cart sup.s-count{
  position:absolute;
  top:-6px;
  right:-8px;
}

/* Mini sepet panel */
.header-shopping-cart-details,
#headerCartPanel{
  width:450px;
  max-width:calc(100vw - 40px);
  right:0;
  top:100%;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  z-index:1000;
  display:none;
  background:#fff;
}

#cartRoot.cart-open > .header-shopping-cart-details,
#cartRoot.cart-open #headerCartPanel{
  display:flex;
  flex-direction:column;
}

.cart-line{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid #eee;
}

.cart-thumb{
  width:56px;
  height:56px;
  object-fit:cover;
  border-radius:6px;
  background:#f5f5f5;
}

.cart-meta{
  flex:1;
  min-width:0;
}

.cart-title{
  margin:0;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
}

.cart-sku{
  font-size:12px;
  color:#666;
}

.qty-controls{
  display:flex;
  align-items:center;
  gap:8px;
}

.qty-btn{
  width:36px;
  height:36px;
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:8px;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}

.qty-num{
  min-width:28px;
  text-align:center;
  font-weight:700;
  font-size:14px;
}

.line-remove{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  padding:2px 4px;
  color:#000;
}

.line-remove:hover{
  opacity:.7;
}

.mini-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background:rgba(0,0,0,.9);
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-size:14px;
  z-index:9999;
  opacity:0;
  transition:opacity .2s;
}

/* Mobil çekmece base */
header .main-menu #mobile-menu-drawer{
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:78%;
  max-width:340px;
  background:#fff;
  transform:translateX(-100%);
  transition:transform .25s ease;
  z-index:1200;
  padding:24px 18px;
  overflow:auto;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

body.menu-open header .main-menu #mobile-menu-drawer{
  transform:translateX(0);
}

body.menu-open{
  overflow:hidden;
}

body.menu-open::after{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1195;
}

#mobile-menu-drawer ul{
  list-style:none;
  padding-left:0;
  margin:0;
}

#mobile-menu-drawer li{
  margin:6px 0;
}

#mobile-menu-drawer a{
  display:block;
  padding:10px 8px;
  font-weight:600;
}

#mobile-menu-drawer .mega-menu{
  padding-left:12px;
}

/* Mobil alt sabit menü base */
.m-fixedbar{
  display:none;
}

.m-fixedbar .m-item{
  flex:1;
  text-align:center;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:11px;
  line-height:1;
  color:#111;
}

.m-fixedbar .m-item i{
  font-size:20px;
  line-height:1;
}

.m-fixedbar .m-item em{
  font-style:normal;
  font-size:11px;
  line-height:1;
}

.m-fixedbar .m-item > *{
  pointer-events:none;
}

/* Modal kilidi */
html.cm-lock,
body.cm-lock{
  overflow:hidden !important;
}

/* =====================================================
ACCOUNT MODAL / ACCOUNT MENU BASE
===================================================== */

/* Auth modal */
.tmodal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.tmodal.active{
  display:flex;
}

.tmodal-box{
  background:#fff;
  width:100%;
  max-width:360px;
  padding:28px;
  border-radius:14px;
  position:relative;
}

.tmodal-box h3{
  margin:0 0 16px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 0;
  background:#0F3747;
  color:#E9C282;
  border-radius:10px;
  font-size:16px;
  font-weight:700;
  letter-spacing:.3px;
  text-transform:uppercase;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.tmodal-box input{
  width:100%;
  padding:12px;
  margin-bottom:12px;
  border-radius:8px;
  border:1px solid #ddd;
}

.tmodal-box button[type="submit"]{
  width:100%;
  padding:12px;
  border-radius:8px;
  background:#0F3747;
  color:#E9C282;
  font-weight:700;
  border:none;
  cursor:pointer;
}

.tmodal-close{
  position:absolute;
  top:10px;
  right:12px;
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

.tmodal-header{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:-28px -28px 20px;
  padding:14px 48px;
  background:#0F3747;
  color:#E9C282;
  border-radius:14px 14px 0 0;
  font-size:15px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.4px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}

.tmodal-header .tmodal-close{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border:0;
  border-radius:8px;
  background:#06232D;
  color:#E9C282;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.tmodal-header .tmodal-close:hover{
  background:#E9C282;
  color:#06232D;
}

.auth-tab{
  flex:1;
  padding:10px;
  border-radius:8px;
  border:1px solid #0F3747;
  background:#fff;
  font-weight:700;
  cursor:pointer;
}

.auth-tab.active{
  background:#0F3747;
  color:#E9C282;
}

.auth-form{
  margin-top:16px;
}

/* Account menu modal */
.account-menu-modal{
  position:fixed;
  inset:0;
  z-index:9999999;
}

.account-menu-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.account-menu-panel{
  position:relative;
  width:min(420px, calc(100vw - 24px));
  margin:80px auto 0;
  background:#0b1f2a;
  border:1px solid rgba(233,194,130,.35);
  border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
  padding:18px;
  color:#fff;
  z-index:1;
}

.account-menu-x{
  position:absolute;
  top:10px;
  right:10px;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(233,194,130,.35);
  background:transparent;
  color:#E9C282;
  font-size:20px;
  cursor:pointer;
}

.account-menu-head{
  padding-right:42px;
}

.account-menu-title{
  font-weight:800;
  font-size:18px;
  color:#E9C282;
}

.account-menu-sub{
  margin-top:4px;
  font-size:12px;
  opacity:.85;
}

.account-menu-list{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.acc-item{
  display:block;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.04);
}

.acc-item:hover{
  border-color:rgba(233,194,130,.45);
}

.account-menu-foot{
  margin-top:14px;
  display:flex;
  justify-content:flex-end;
}

.acc-logout{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(233,194,130,.35);
  background:transparent;
  color:#E9C282;
  font-weight:800;
  cursor:pointer;
}

.acc-logout:hover{
  background:#E9C282;
  color:#0F3747;
}

/* misc */
#forgotPwLink{
  color:#000;
}

#forgotPwLink:hover{
  color:#000;
  text-decoration:underline;
}

/* =========================================================
   KATALOG MODAL + MEGA FILTER
========================================================= */

/* modal scroll lock */
html.cm-lock,
body.cm-lock{
  overflow:hidden !important;
}

/* Modal */
.catalog-modal{
  position:fixed;
  inset:0;
  z-index:1300;
  display:none;
  overflow:auto;
}
.catalog-modal.open{
  display:block;
}
.catalog-modal .cm-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
}
.catalog-modal .cm-panel{
  position:relative;
  width:min(980px, calc(100vw - 24px));
  max-width:none;
  height:auto;
  max-height:none;
  margin:24px auto;
  left:auto;
  top:auto;
  transform:none;
  overflow:visible;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  padding:16px 14px 20px;
  background:url("/images/mback/mback.jpg") center/cover no-repeat !important;
}

.catalog-modal .cm-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 10px;
}

.catalog-modal .cm-close{
  -webkit-appearance:none;
  appearance:none;
  flex:0 0 36px;
  width:36px;
  min-width:36px;
  height:36px;
  min-height:36px;
  margin:0 0 0 auto;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:10px;
  background:#0F3747;
  color:#E9C282 !important;
  font-size:22px;
  font-weight:900;
  line-height:1;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 1px 3px rgba(0,0,0,.15);
  grid-template-columns:none !important;
  gap:0 !important;
}

.catalog-modal .cm-close:hover,
.catalog-modal .cm-close:focus{
  background:#BE9863;
  color:#06232D !important;
  outline:none;
}
.catalog-modal .cm-head h3,
.catalog-modal .cm-sub,
.catalog-modal .cm-col h4,
.catalog-modal .cm-col li,
.catalog-modal .cm-col a{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
.catalog-modal .cm-cols{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}

.catalog-modal .cm-col h4{
  margin:4px 0 6px;
  font-size:14px;
  line-height:1.2;
}
.catalog-modal .cm-col ul{
  list-style:none;
  padding:0;
  margin:0;
}
.catalog-modal .cm-col li{
  margin:0;
}
.catalog-modal .cm-col a{
  display:block;
  padding:6px 8px;
  border-radius:10px;
  font-weight:600;
  font-size:13px;
  line-height:1.2;
}
.catalog-modal .cm-col a:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.catalog-modal .m-modal-filterbar{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:6px 10px;
  margin:6px 0 8px;
  border-radius:8px;
  background:rgba(0,0,0,.5);
  backdrop-filter:blur(2px);
  width:max-content;
}

.catalog-modal .m-modal-filterbar .apply{
  height:32px;
  padding:6px 10px;
  font-size:12px;
  font-weight:800;
  background:#E9C282;
  color:#06232D;
  border:0;
  border-radius:8px;
}

.catalog-modal .m-modal-filterbar .count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  font-size:11px;
  font-weight:700;
  border-radius:999px;
  background:#E9C282;
  color:#06232D;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.catalog-modal .m-modal-filterbar .cm-close,
.catalog-modal .cm-close.in-bar{
  margin-left:0;
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:10px;
  background:#E9C282;
  color:#06232D;
  font-size:22px;
  line-height:1;
  box-shadow:0 1px 3px rgba(0,0,0,.15);
}

.catalog-modal .m-modal-filterbar .cm-close:hover,
.catalog-modal .cm-close.in-bar:hover,
.catalog-modal .m-modal-filterbar .cm-close:focus,
.catalog-modal .cm-close.in-bar:focus{
  background:#BE9863;
  color:#06232D !important;
  outline:none;
}

@media (max-width:1024px){
  .catalog-modal{
    z-index:10001;
  }

  .catalog-modal .cm-panel{
    width:calc(100vw - 16px);
    margin:8px auto 76px;
    padding:12px;
    border-radius:14px;
  }

  .catalog-modal .m-modal-filterbar{
    width:100%;
    display:flex;
    align-items:center;
  }

  .catalog-modal .cm-close{
    flex:0 0 36px;
    width:36px !important;
    min-width:36px !important;
    height:36px !important;
    min-height:36px !important;
  }
}

/* Modal içi checkbox görünümü */
#catalogModal .cat-option{
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(0,0,0,.25);
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
}
#catalogModal .cat-option span{
  font-weight:700;
  color:#fff;
  font-size:14px;
}
#catalogModal .cat-option input[type="checkbox"]{
  -webkit-appearance:none;
  appearance:none;
  width:14px;
  height:14px;
  border:1px solid #E9C282;
  border-radius:3px;
  display:inline-grid;
  place-content:center;
  background:transparent;
  margin:0;
}
#catalogModal .cat-option input[type="checkbox"]::after{
  content:"";
  width:8px;
  height:8px;
  transform:scale(0);
  transition:transform .12s ease-in-out;
  background:#E9C282;
  border-radius:2px;
}
#catalogModal .cat-option input[type="checkbox"]:checked::after{
  transform:scale(1);
}

/* Mega menü içi cat-option */
.mega-menu .cat-option{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  padding:4px 6px;
  color:#fff;
}
.mega-menu .cat-option input[type="checkbox"]{
  width:16px;
  height:16px;
  accent-color:#E9C282;
}
.mega-menu .cat-option span{
  font-weight:600;
}

/* Mega menü filtre bar */
.mega-filter-bar{
  text-align:center;
  margin-top:10px;
}
.mega-filter-bar button{
  background:#E9C282;
  color:#06232D;
  border:0;
  padding:10px 20px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}
.mega-filter-bar button:hover{
  background:#BE9863;
}

/* Masaüstü mega menü görünümü */
@media (min-width:992px){
  #desktop-menu > ul > li.full-mega-menu-position:hover > ul.full-mega-menu{
    background-image:
      linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)),
      url("/images/mback/mback.jpg") !important;
    background-size:cover !important;
    background-position:center !important;
    background-repeat:no-repeat !important;
  }

  #desktop-menu > ul > li.full-mega-menu-position:hover > ul.full-mega-menu a{
    color:#E9C282;
  }

  #desktop-menu > ul > li.full-mega-menu-position:hover > ul.full-mega-menu a:hover{
    color:#BE9863;
  }

  #desktop-menu > ul > li.full-mega-menu-position > ul.full-mega-menu{
  display:grid;
  grid-template-columns:repeat(3, minmax(100px, 1fr));
  gap:0;
  width:min(650px, calc(100vw - 60px));
  max-width:min(650px, calc(100vw - 60px));
  margin:0 auto;
  border-radius:12px;
  overflow:hidden;
  max-height:calc(100vh - 180px);
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding-right:8px;
}
#desktop-menu > ul > li.full-mega-menu-position > ul.full-mega-menu > li{
  padding:0 20px;
  border-right:1px solid rgba(233,194,130,.25);
}

#desktop-menu > ul > li.full-mega-menu-position > ul.full-mega-menu > li:last-child{
  border-right:none;
}
}

/* ===== Katalog mobil filtre barı: X butonu sayaç sağında ===== */
.catalog-modal .m-modal-filterbar{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
.catalog-modal .m-modal-filterbar .apply{
  order:1;
  flex:0 0 auto;
}
.catalog-modal .m-modal-filterbar .count{
  order:2;
  flex:0 0 auto;
}
.catalog-modal .m-modal-filterbar .cm-close,
.catalog-modal .m-modal-filterbar .cm-close.in-bar{
  order:3;
  flex:0 0 36px;
  margin-left:0 !important;
}

/* =========================================================
   CATALOG MODAL CLOSE BUTTON - COUNT RIGHT FIX
   Kapatma butonu JS ile .m-modal-filterbar içine taşınır.
   Bu blok butonu sayaçtan hemen sonra sabitler.
========================================================= */
.catalog-modal .m-modal-filterbar{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
}

.catalog-modal .m-modal-filterbar .cm-close,
.catalog-modal .cm-close.in-bar{
  position:static !important;
  inset:auto !important;
  transform:none !important;
  order:3 !important;
  flex:0 0 36px !important;
  width:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  height:36px !important;
  min-height:36px !important;
  max-height:36px !important;
  margin:0 !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:10px !important;
  background:#E9C282 !important;
  color:#06232D !important;
  font-size:22px !important;
  font-weight:900 !important;
  line-height:1 !important;
  text-align:center !important;
  box-shadow:0 1px 3px rgba(0,0,0,.15) !important;
  grid-template-columns:none !important;
}

.catalog-modal .m-modal-filterbar .apply{
  order:1 !important;
}

.catalog-modal .m-modal-filterbar .count{
  order:2 !important;
}

.catalog-modal .m-modal-filterbar .cm-close:hover,
.catalog-modal .m-modal-filterbar .cm-close:focus,
.catalog-modal .cm-close.in-bar:hover,
.catalog-modal .cm-close.in-bar:focus{
  background:#BE9863 !important;
  color:#06232D !important;
  outline:none !important;
}

@media (max-width:1024px){
  .catalog-modal .m-modal-filterbar{
    width:100% !important;
    max-width:100% !important;
  }
}

/* =========================================================
   CATALOG MODAL CLOSE BUTTON - COUNT SIZE FIX
   X butonu sayaç rozetinin ölçüsüne eşitlendi.
========================================================= */
.catalog-modal .m-modal-filterbar .cm-close,
.catalog-modal .m-modal-filterbar .cm-close.in-bar,
.catalog-modal .cm-close.in-bar{
  flex:0 0 20px !important;
  width:20px !important;
  min-width:20px !important;
  max-width:20px !important;
  height:20px !important;
  min-height:20px !important;
  max-height:20px !important;
  padding:0 !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#E9C282 !important;
  color:#06232D !important;
  font-size:14px !important;
  font-weight:900 !important;
  line-height:20px !important;
  box-shadow:none !important;
}


/* =====================================================
   ESTORIA COFFEE - TWO STRIP HEADER FINAL
   Üst şerit: index.php .home-seo-area .seo-content arka planı
===================================================== */
:root{
  --ec-header-top-bg: #F5F7F8;
  --ec-header-navy-a: #06232D;
  --ec-header-navy-b: #0F3747;
  --ec-header-gold: #E9C282;
  --ec-header-black: #000;
}

#header-sticky .header{
  left:0;
  right:0;
  top:0;
  z-index:1200;
  width:100%;
  padding:0 !important;
  background:transparent !important;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
}

#header-sticky .header .container-fluid{
  width:100%;
  padding-left:30px;
  padding-right:30px;
}

.ec-header-top-strip{
  width:100%;
  background:var(--ec-header-top-bg) !important;
  border-top:1px solid rgba(15,55,71,.10);
  border-bottom:1px solid rgba(15,55,71,.10);
}

.ec-header-top-inner{
  min-height:51px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.ec-header-logo-wrap{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.ec-header-logo{
  display:inline-flex;
  align-items:center;
  text-decoration:none !important;
}

.ec-header-logo img,
#header-sticky .header .ec-header-logo img{
  display:block;
  width:auto;
  max-height:128px;
  margin:0;
}

.ec-header-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:15px;
  color:var(--ec-header-black);
}

.ec-header-actions ul,
.ec-header-nav-strip ul{
  list-style:none;
  padding:0;
  margin:0;
}

.ec-header-actions li{
  list-style:none;
  margin:0;
  padding:0;
}

#header-sticky .ec-header-top-strip a,
#header-sticky .ec-header-top-strip button,
#header-sticky .ec-header-top-strip .icon-users,
#header-sticky .ec-header-top-strip .icon-search,
#header-sticky .ec-header-top-strip .icon-shopping-bag,
#header-sticky .ec-header-top-strip .logo-register,
#header-sticky .ec-header-top-strip .cart-label,
#header-sticky .ec-header-top-strip .account-text,
#header-sticky .ec-header-top-strip .ec-action-text{
  color:var(--ec-header-black) !important;
}
#header-sticky .ec-header-top-strip .icon-users,
#header-sticky .ec-header-top-strip .icon-search,
#header-sticky .ec-header-top-strip .icon-shopping-bag{
  font-size:18px !important;
  line-height:1 !important;
}

#header-sticky .ec-header-top-strip .cart-label{
  margin-left:3px;
}


.ec-header-action,
.account-btn.ec-header-action,
.header-shopping-cart.ec-header-action{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:35px;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  color:var(--ec-header-black) !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
}

.ec-header-action:hover,
.header-shopping-cart.ec-header-action:hover{
  color:var(--ec-header-black) !important;
  opacity:.72;
}

#desktopAuthRight{
  align-items:center;
  gap:8px;
}

/* Merhaba / kullanıcı adı üst şeritte görünmeyecek */
#userGreetingWrap,
#userGreetingLeft,
.mobile-auth-left,
#mobileAuthLeft{
  display:none !important;
}

.header-search{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.ec-search-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:35px;
  color:var(--ec-header-black) !important;
  font-size:18px;
  line-height:1;
}

#searchForm{
  position:absolute;
  top:100%;
  right:0;
  margin-top:10px;
  z-index:1300;
  display:none;
}

#searchInput{
  width:min(300px,86vw);
  background:#fff;
  color:#111;
  border:1px solid rgba(15,55,71,.22);
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  box-shadow:0 12px 32px rgba(0,0,0,.14);
}

.ec-header-cart-list{
  display:inline-flex;
  align-items:center;
}

.ec-cart-icon-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.header-shopping-cart sup.s-count{
  position:absolute;
  top:-9px;
  right:-10px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#000;
  color:#fff !important;
  font-size:10px;
  font-weight:800;
  line-height:1;
}

.ec-header-nav-strip{
  width:100%;
  background:linear-gradient(to right,var(--ec-header-navy-a),var(--ec-header-navy-b)) !important;
}

.ec-header-nav-strip .main-menu,
.ec-header-nav-strip #desktop-menu{
  width:100%;
}

#desktop-menu > ul.ec-header-nav-list{
  width:100%;
  display:flex !important;
  align-items:center;
  justify-content:space-evenly;
  gap:0;
  margin:0;
  padding:0;
}

#desktop-menu > ul.ec-header-nav-list > li{
  list-style:none;
  margin:0;
  padding:0;
  flex:0 0 auto;
  text-align:center;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 8px;
  color:#fff !important;
  font-size:19px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.2px;
  text-decoration:none !important;
  white-space:nowrap;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a:hover{
  color:var(--ec-header-gold) !important;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li::before,
#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li::after,
#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a::before,
#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a::after{
  content:none !important;
  display:none !important;
  width:0 !important;
  height:0 !important;
  border:0 !important;
  background:none !important;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a{
  background-image:none !important;
}

/* v8: Alt şerit menü yazıları baş harfi büyük, geri kalanı küçük */
#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a{
  text-transform:none !important;
}

/* =====================================================
   ESTORIA COFFEE - HEADER THIN FONT OVERRIDE
   v5: Tüm header yazıları ince font
===================================================== */
#header-sticky .ec-header-top-strip,
#header-sticky .ec-header-top-strip a,
#header-sticky .ec-header-top-strip button,
#header-sticky .ec-header-top-strip span,
#header-sticky .ec-header-top-strip strong,
#header-sticky .ec-header-top-strip input,
#header-sticky .ec-header-top-strip .logo-register,
#header-sticky .ec-header-top-strip .cart-label,
#header-sticky .ec-header-top-strip .account-text,
#header-sticky .ec-header-top-strip .ec-action-text,
#header-sticky .ec-header-nav-strip,
#header-sticky .ec-header-nav-strip a,
#header-sticky .ec-header-nav-strip span,
#header-sticky .ec-header-nav-strip strong,
.m-fixedbar,
.m-fixedbar .m-item,
.m-fixedbar .m-item em,
.m-fixedbar .m-item span,
#mobile-menu-drawer,
#mobile-menu-drawer a{
  font-weight:300 !important;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a,
.ec-header-action,
.account-btn.ec-header-action,
.header-shopping-cart.ec-header-action,
#searchInput,
.header-shopping-cart sup.s-count{
  font-weight:300 !important;
}

/* =====================================================
   ESTORIA COFFEE - HEADER NAV CENTERED GAP OVERRIDE
   v9: Alt şerit menü ortalama + yazı aralıklarını daraltma
===================================================== */
#desktop-menu > ul.ec-header-nav-list{
  width:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(20px, 3.5vw, 56px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

#desktop-menu > ul.ec-header-nav-list > li{
  flex:0 0 auto !important;
}

#header-sticky .ec-header-nav-strip #desktop-menu > ul.ec-header-nav-list > li > a{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* =====================================================
   ESTORIA COFFEE - DESKTOP SEARCH CENTER FIX
   Masaüstünde arama ikonu sayfanın tam ortasına alınır.
   Mobil/tablet davranışına dokunmaz.
===================================================== */
@media (min-width:1025px){
  #header-sticky .ec-header-top-inner{
    position:relative !important;
  }

  #header-sticky #globalSearch.header-search{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    right:auto !important;
    bottom:auto !important;
    transform:translate(-50%, -50%) !important;
    margin:0 !important;
    z-index:8 !important;
  }

  #header-sticky #globalSearch > li{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
  }

  #header-sticky #globalSearch .ec-search-toggle,
  #header-sticky #globalSearch #searchToggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:35px !important;
    min-height:35px !important;
    margin:0 !important;
  }

  #header-sticky #globalSearch #searchForm{
    left:50% !important;
    right:auto !important;
    top:calc(100% + 10px) !important;
    transform:translateX(-50%) !important;
    margin-top:0 !important;
  }
}


/* =====================================================
   ESTORIA COFFEE - DESKTOP FULL SEARCH BAR FIX
   Masaüstünde ikon değil, görseldeki gibi ortalı arama barı görünür.
   Mobil davranışı header-responsive.css içinde korunur.
===================================================== */
@media (min-width:1025px){
  #header-sticky .ec-header-top-inner{
    position:relative !important;
  }

  #header-sticky #globalSearch.header-search{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    right:auto !important;
    bottom:auto !important;
    transform:translate(-50%, -50%) !important;
    width:min(720px, calc(100vw - 520px)) !important;
    min-width:420px !important;
    max-width:720px !important;
    height:54px !important;
    margin:0 !important;
    z-index:8 !important;
    display:block !important;
  }

  #header-sticky #globalSearch > li{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:54px !important;
    margin:0 !important;
    padding:0 !important;
  }

  #header-sticky #globalSearch #searchForm{
    position:relative !important;
    display:block !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    transform:none !important;
    width:100% !important;
    height:54px !important;
    margin:0 !important;
    z-index:1 !important;
  }

  #header-sticky #globalSearch #searchInput{
    display:block !important;
    width:100% !important;
    height:54px !important;
    min-height:54px !important;
    padding:0 62px 0 28px !important;
    border:1px solid rgba(15,55,71,.18) !important;
    border-radius:999px !important;
    background:#ffffff !important;
    color:#0F3747 !important;
    font-size:14px !important;
    font-weight:300 !important;
    line-height:54px !important;
    box-shadow:none !important;
    outline:none !important;
  }

  #header-sticky #globalSearch #searchInput::placeholder{
    color:#0F3747 !important;
    opacity:1 !important;
  }

  #header-sticky #globalSearch .ec-search-toggle,
  #header-sticky #globalSearch #searchToggle{
    position:absolute !important;
    right:22px !important;
    top:50% !important;
    left:auto !important;
    transform:translateY(-50%) !important;
    z-index:3 !important;
    width:24px !important;
    min-width:24px !important;
    height:24px !important;
    min-height:24px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    color:#0F3747 !important;
    font-size:20px !important;
    line-height:1 !important;
    cursor:pointer !important;
  }
}

@media (min-width:1025px) and (max-width:1260px){
  #header-sticky #globalSearch.header-search{
    width:min(560px, calc(100vw - 450px)) !important;
    min-width:360px !important;
  }
}

/* =====================================================
   ESTORIA COFFEE - HEADER AUTH/CART SHINE FINAL
   Giriş yapılmış / yapılmamış tüm header aksiyon butonları.
   Sepet.php #quoteBtnPage parlama mantığı:
   - animasyonlu ::after ışık geçişi
   - animasyonlu pulse
   NOT: Animasyon gören left/opacity/transform/box-shadow değerlerinde
   !important kullanılmaz; aksi halde keyframe hareket etmez.
===================================================== */

body.user-logged-in #loginWrap{
  display:none !important;
}

body.user-logged-in #mobileAuthLeft,
body.user-logged-in #desktopAuthRight{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
}

body.user-logged-in #userGreetingWrap{
  display:none !important;
}

#loginWrap{
  display:inline-flex !important;
  align-items:center !important;
}

#loginWrap li{
  display:inline-flex !important;
  align-items:center !important;
}

#mobileAuthLeft #userGreetingLeft,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action,
#loginWrap #openAuthModal.ec-header-action,
#cartLink.header-shopping-cart.ec-header-action{
  position:relative !important;
  isolation:isolate !important;
  overflow:hidden !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-width:auto !important;
  min-height:35px !important;
  height:35px !important;
  padding:0 12px !important;
  margin:0 !important;
  border:1px solid #0F3747 !important;
  border-radius:6px !important;
  background:#0F3747 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  text-align:center !important;
  transition:none !important;
  transform:translateZ(0);
  box-shadow:0 0 0 0 rgba(15,55,71,0);
  animation:ecHeaderCtaPulse 2.2s ease-in-out infinite;
}

#mobileAuthLeft #userGreetingLeft,
#mobileAuthLeft #userGreetingLeft .greet-prefix,
#mobileAuthLeft #userGreetingLeft strong,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action .account-text,
#loginWrap #openAuthModal.ec-header-action,
#loginWrap #openAuthModal.ec-header-action .icon-users,
#loginWrap #openAuthModal.ec-header-action .logo-register,
#loginWrap #openAuthModal.ec-header-action .ec-action-text,
#cartLink.header-shopping-cart.ec-header-action,
#cartLink.header-shopping-cart.ec-header-action .icon-shopping-bag,
#cartLink.header-shopping-cart.ec-header-action .cart-label,
#cartLink.header-shopping-cart.ec-header-action .ec-action-text,
#cartHeaderText{
  color:#fff !important;
}

body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action .icon-users{
  display:none !important;
}

body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action .account-text,
#loginWrap #openAuthModal.ec-header-action .logo-register,
#loginWrap #openAuthModal.ec-header-action .ec-action-text,
#cartLink.header-shopping-cart.ec-header-action .cart-label,
#cartHeaderText{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
}

#cartLink.header-shopping-cart.ec-header-action .ec-cart-icon-wrap{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  color:#fff !important;
  z-index:2 !important;
}

#mobileAuthLeft #userGreetingLeft .greet-prefix,
#mobileAuthLeft #userGreetingLeft strong,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action .account-text,
#loginWrap #openAuthModal.ec-header-action .icon-users,
#loginWrap #openAuthModal.ec-header-action .logo-register,
#cartLink.header-shopping-cart.ec-header-action .icon-shopping-bag,
#cartLink.header-shopping-cart.ec-header-action .cart-label{
  position:relative !important;
  z-index:2 !important;
}

#mobileAuthLeft #userGreetingLeft::before,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action::before,
#loginWrap #openAuthModal.ec-header-action::before,
#cartLink.header-shopping-cart.ec-header-action::before{
  content:none !important;
}

#mobileAuthLeft #userGreetingLeft::after,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action::after,
#loginWrap #openAuthModal.ec-header-action::after,
#cartLink.header-shopping-cart.ec-header-action::after{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  left:-140%;
  width:70% !important;
  height:100% !important;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.12),
    rgba(255,255,255,.35),
    rgba(255,255,255,.12),
    transparent
  ) !important;
  transform:skewX(-22deg);
  animation:ecHeaderCtaShine 3s ease-in-out infinite;
  pointer-events:none !important;
  z-index:1 !important;
}

#mobileAuthLeft #userGreetingLeft:hover,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action:hover,
#loginWrap #openAuthModal.ec-header-action:hover,
#cartLink.header-shopping-cart.ec-header-action:hover{
  background:#0F3747 !important;
  color:#ffffff !important;
  border-color:#0F3747 !important;
  opacity:1 !important;
}

#mobileAuthLeft #userGreetingLeft:focus,
body.user-logged-in #desktopAuthRight #accountBtn.account-btn.ec-header-action:focus,
#loginWrap #openAuthModal.ec-header-action:focus,
#cartLink.header-shopping-cart.ec-header-action:focus{
  outline:none !important;
}

#cartLink.header-shopping-cart.ec-header-action sup.s-count{
  position:absolute !important;
  top:-10px !important;
  right:-10px !important;
  min-width:17px !important;
  height:17px !important;
  padding:0 4px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid #0F3747 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#0F3747 !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1 !important;
  z-index:4 !important;
  animation:none !important;
}

@keyframes ecHeaderCtaPulse{
  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(15,55,71,0);
  }
  50%{
    transform:scale(1.04);
    box-shadow:0 0 0 8px rgba(15,55,71,.16);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(15,55,71,0);
  }
}

@keyframes ecHeaderCtaShine{
  0%{
    left:-140%;
    opacity:0;
  }
  12%{
    opacity:1;
  }
  45%{
    left:170%;
    opacity:0;
  }
  100%{
    left:170%;
    opacity:0;
  }
}

/* =====================================================
   ESTORIA COFFEE - DESKTOP SEARCH SHRINK + 1024 ICON CTA
   Masaüstünde arama barı ekran daraldıkça daralır.
   1024px ve altında arama sadece CTA ikon butonu olur.
===================================================== */
@media (min-width:1025px){
  #header-sticky #globalSearch.header-search{
    width:clamp(300px, calc(100vw - 720px), 720px) !important;
    min-width:0 !important;
    max-width:720px !important;
    transition:width .18s ease !important;
  }

  #header-sticky #globalSearch > li,
  #header-sticky #globalSearch #searchForm,
  #header-sticky #globalSearch #searchInput{
    min-width:0 !important;
    max-width:100% !important;
  }
}

@media (max-width:1024px){
  #header-sticky #globalSearch.header-search{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    min-width:0 !important;
    height:auto !important;
    position:relative !important;
    margin:0 !important;
  }

  #header-sticky #globalSearch > li{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    position:relative !important;
  }

  #header-sticky .ec-header-top-strip #globalSearch #searchToggle.icon-search,
  #header-sticky #globalSearch #searchToggle{
    position:relative !important;
    isolation:isolate !important;
    overflow:hidden !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    height:34px !important;
    min-height:34px !important;
    max-height:34px !important;
    padding:0 !important;
    margin:0 !important;
    border:1px solid #0F3747 !important;
    border-radius:6px !important;
    background:#0F3747 !important;
    color:#fff !important;
    font-size:18px !important;
    line-height:1 !important;
    cursor:pointer !important;
    box-shadow:0 0 0 0 rgba(15,55,71,0);
    animation:ecHeaderCtaPulse 2.2s ease-in-out infinite;
  }

  #header-sticky #globalSearch #searchToggle::before{
    position:relative !important;
    z-index:2 !important;
  }

  #header-sticky #globalSearch #searchToggle::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:-140%;
    width:70% !important;
    height:100% !important;
    background:linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.12),
      rgba(255,255,255,.35),
      rgba(255,255,255,.12),
      transparent
    ) !important;
    transform:skewX(-22deg);
    animation:ecHeaderCtaShine 3s ease-in-out infinite;
    pointer-events:none !important;
    z-index:1 !important;
  }

  #header-sticky #globalSearch #searchToggle:hover,
  #header-sticky #globalSearch #searchToggle:focus{
    background:#0F3747 !important;
    color:#fff !important;
    border-color:#0F3747 !important;
    opacity:1 !important;
    outline:none !important;
  }

  #header-sticky #globalSearch #searchForm{
    position:absolute !important;
    top:100% !important;
    right:-30px !important;
    left:auto !important;
    transform:none !important;
    width:auto !important;
    height:auto !important;
    margin-top:10px !important;
    z-index:1300 !important;
  }
}

@media (max-width:480px){
  #header-sticky .ec-header-top-strip #globalSearch #searchToggle.icon-search,
  #header-sticky #globalSearch #searchToggle{
    width:32px !important;
    min-width:32px !important;
    max-width:32px !important;
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    font-size:17px !important;
  }

  #header-sticky #globalSearch #searchForm{
    right:-48px !important;
  }
}

/* =====================================================
   ESTORIA COFFEE - GREETING NAME ONLY AT 1550
   1550px ve altında selamlamada sadece kullanıcı adı görünür.
===================================================== */
@media (max-width:1550px){
  body.user-logged-in #mobileAuthLeft #userGreetingLeft .greet-prefix,
  body.user-logged-in #userGreetingWrap .greet-prefix,
  body.user-logged-in .user-greet .greet-prefix,
  body.user-logged-in .user-greet-left .greet-prefix{
    display:none !important;
  }

  body.user-logged-in #mobileAuthLeft #userGreetingLeft strong,
  body.user-logged-in #userGreetingWrap strong,
  body.user-logged-in .user-greet strong,
  body.user-logged-in .user-greet-left strong,
  body.user-logged-in #userGreetingName,
  body.user-logged-in #userGreetingNameLeft{
    margin-left:0 !important;
  }
}

