/* Kategori sayfası – premium ürün kartları, bölüm başlığı ve sayfalama.
   Tüm kurallar .ep-* sınıflarıyla kapsamlıdır; global .product-card
   kurallarına dokunmaz, bu yüzden index.php / search.php etkilenmez. */

/* ---------- Breadcrumb ---------- */
.ep-cat-main{padding-top:24px}
.ep-crumb-nav{margin:0 0 14px}
.ep-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;font-size:13px}
.ep-crumb__item{display:inline-flex;align-items:center}
.ep-crumb__link{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:10px;background:#fff;border:1px solid #eef0f4;color:#5f6875;text-decoration:none;font-weight:500;transition:all .2s}
.ep-crumb__link:hover{background:#fff1f3;border-color:#f3c9cf;color:#dc3545;transform:translateY(-1px);box-shadow:0 4px 12px -6px rgba(220,53,69,.25)}
.ep-crumb__link i{font-size:12px;color:#a4acb8}
.ep-crumb__link:hover i{color:#dc3545}
.ep-crumb__sep{display:inline-flex;align-items:center;color:#c5ccd6;font-size:10px}
.ep-crumb__item--active{padding:7px 14px;border-radius:10px;background:linear-gradient(135deg,#dc3545,#c42f3c);color:#fff;font-weight:600;box-shadow:0 4px 14px -6px rgba(220,53,69,.6)}

/* ---------- Bölüm başlığı ---------- */
.ep-cat-head{
  background:linear-gradient(135deg,#fff 0%,#fdf8f9 100%);
  border:1px solid #eef0f4;
  border-radius:20px;
  padding:30px 32px;
  margin-bottom:24px;
  display:flex;
  align-items:flex-start;
  gap:24px;
  box-shadow:0 12px 40px -30px rgba(24,28,36,.5), inset 0 1px 0 rgba(255,255,255,.8);
  position:relative;
  overflow:hidden;
  margin-bottom:10px;
}
.ep-cat-head::before{
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background:linear-gradient(180deg,#dc3545,#e85d4f);
}
.ep-cat-head__icon{
  flex:0 0 auto;
  width:56px; height:56px;
  border-radius:14px;
  display:grid; place-items:center;
  background:linear-gradient(135deg,#fff1f3,#ffe8ea);
  color:#dc3545;
  font-size:21px;
  box-shadow:0 4px 14px -4px rgba(220,53,69,.5), inset 0 0 0 1px rgba(220,53,69,.15);
  margin-top:2px;
}
.ep-cat-head__text{flex:1; min-width:0}
.ep-cat-head__eyebrow{
  display:inline-flex; align-items:center; gap:6px;
  font-size:10.5px; font-weight:700; letter-spacing:2px;
  color:#dc3545; text-transform:uppercase;
  background:rgba(220,53,69,.08);
  padding:4px 10px; border-radius:999px;
  margin-bottom:10px;
}
.ep-cat-head__eyebrow i{font-size:10px}
.ep-cat-head h1{
  margin:0 0 6px;
  font-size:32px; line-height:1.15; font-weight:600; letter-spacing:-.8px;
  color:#2f3742;
}
.ep-cat-head__desc{
  margin:0; color:#7b8493; font-size:15px; line-height:1.6; max-width:560px;
}
.ep-cat-head__count{
  flex:0 0 auto;
  text-align:center;
  background:#fff; border:1px solid #eef0f4;
  border-radius:14px; padding:14px 22px;
  box-shadow:0 4px 18px -8px rgba(24,28,36,.15);
}
.ep-cat-head__count b{display:block;font-size:26px;line-height:1.1;font-weight:700;color:#dc3545;letter-spacing:-.5px}
.ep-cat-head__count span{font-size:10.5px;font-weight:600;letter-spacing:.8px;color:#98a1ad;text-transform:uppercase}

/* ---------- Mobil başlık ---------- */
@media(max-width:767.98px){
  .ep-cat-head{
    padding:18px 16px;
    gap:14px;
    border-radius:16px;
    flex-wrap:wrap;
    align-items:center;
  }
  .ep-cat-head::before{width:4px}
  .ep-cat-head__icon{
    width:44px; height:44px;
    border-radius:12px; font-size:17px;
    margin-top:0; flex:0 0 auto;
  }
  .ep-cat-head__text{flex:1 1 calc(100% - 60px); min-width:140px}
  .ep-cat-head__eyebrow{font-size:9.5px;letter-spacing:1.6px;padding:3px 8px;margin-bottom:6px}
  .ep-cat-head h1{font-size:20px;letter-spacing:-.5px;margin-bottom:4px;line-height:1.2}
  .ep-cat-head__desc{font-size:13px;line-height:1.5;margin:0}
  .ep-cat-head__count{
    padding:8px 12px; border-radius:12px;
    order:3; margin-left:auto; flex:0 0 auto;
  }
  .ep-cat-head__count b{font-size:18px}
  .ep-cat-head__count span{font-size:9px}
}

/* ---------- Kısa tanıtım kutusu ---------- */
.ep-cat-note{background:linear-gradient(180deg,#fffdfd,#fff7f8);border:1px solid #f6e0e4;border-radius:16px;padding:20px 24px;color:#6d7482;font-size:14.5px;line-height:1.85;margin:10px 0 10px}
.ep-cat-note strong{color:#3a424e}
.ep-cat-note__body>*:first-child{margin-top:0}
.ep-cat-note__body>*:last-child{margin-bottom:0}
.ep-cat-note__body h2,.ep-cat-note__body h3{color:#2f3742;font-weight:600;letter-spacing:-.4px;line-height:1.35;margin:22px 0 10px}
.ep-cat-note__body h2:first-child,.ep-cat-note__body h3:first-child{margin-top:0;font-size:18px}
.ep-cat-note__body h2:not(:first-child),.ep-cat-note__body h3:not(:first-child){font-size:16px}
.ep-cat-note__body p{margin:0 0 12px}
.ep-cat-note__body ul,.ep-cat-note__body ol{margin:0 0 12px;padding-left:20px}
.ep-cat-note__body li{margin-bottom:6px}
.ep-cat-note__body a{color:#dc3545;font-weight:600;text-decoration:none}
.ep-cat-note__body a:hover{text-decoration:underline;text-underline-offset:3px}
.ep-cat-note__body img{border-radius:12px;max-width:100%;height:auto;margin:12px 0}
.ep-cat-note__links{margin-top:16px;padding-top:14px;border-top:1px dashed #f1d3d8;font-size:13px;display:flex;flex-wrap:wrap;gap:8px 18px}
.ep-cat-note__links a{color:#dc3545;text-decoration:none;font-weight:600}
.ep-cat-note__links a:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- Ürün ızgarasının altındaki tam kategori metni ---------- */
.ep-cat-content{margin-top:34px;padding:32px 34px;background:#fff;border:1px solid #e6e9ef;border-radius:18px;box-shadow:0 10px 30px -26px rgba(24,28,36,.5);scroll-margin-top:24px}
.ep-cat-content__head{margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #edeff3}
.ep-cat-content__head h2{margin:0;font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.6px;color:#2f3742}
.ep-cat-content__body{color:#5f6875;font-size:15px;line-height:1.9}
.ep-cat-content__body>*:first-child{margin-top:0}
.ep-cat-content__body>*:last-child{margin-bottom:0}
.ep-cat-content__body h2,.ep-cat-content__body h3{color:#2f3742;font-weight:600;letter-spacing:-.4px;line-height:1.35;margin:30px 0 12px}
.ep-cat-content__body h2:first-child,.ep-cat-content__body h3:first-child{margin-top:0}
.ep-cat-content__body p{margin:0 0 14px}
.ep-cat-content__body ul,.ep-cat-content__body ol{margin:0 0 16px;padding-left:22px}
.ep-cat-content__body li{margin-bottom:9px}
.ep-cat-content__body li strong{color:#3a424e}
.ep-cat-content__body a{color:#dc3545;font-weight:600;text-decoration:none}
.ep-cat-content__body a:hover{text-decoration:underline;text-underline-offset:3px}
.ep-cat-content__body blockquote{margin:0 0 16px;padding:14px 20px;background:#fff7f8;border-left:3px solid #dc3545;border-radius:0 10px 10px 0;color:#7a5b63}
.ep-cat-content__body img{border-radius:12px;max-width:100%;height:auto;margin:14px 0}

/* Tam kategori metni ile alttaki rehber kartı arasında boşluk */
.ep-cat-guide{margin-top:34px}

/* ---------- 404 sayfası ---------- */
.ep-404-card{
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:28px;
  align-items:center;
  background:#fff;
  border:1px solid #eef0f4;
  border-radius:20px;
  padding:30px;
  margin:0 0 30px;
  box-shadow:0 14px 40px -28px rgba(24,28,36,.45);
}
.ep-404-card__media{
  background:linear-gradient(150deg,#f6f7f9 0%,#eceef2 100%);
  border-radius:14px;
  padding:12px;
  overflow:hidden;
}
.ep-404-card__media img{display:block;width:100%;height:auto;border-radius:10px}
.ep-404-card__body h2{margin:0 0 10px;font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.6px;color:#2f3742}
.ep-404-card__body p{margin:0 0 18px;color:#7b8493;font-size:14.5px;line-height:1.7}
.ep-404-card__search{display:flex;gap:0;margin-bottom:18px;max-width:420px}
.ep-404-card__search input{
  flex:1 1 auto;min-width:0;
  padding:12px 16px;
  border:1px solid #e6e9ef;border-right:0;border-radius:12px 0 0 12px;
  font-size:13.5px;color:#2f3742;background:#fafbfc;
}
.ep-404-card__search input:focus{outline:none;border-color:#dc3545;background:#fff}
.ep-404-card__search button{
  flex:0 0 auto;
  padding:12px 20px;border:0;border-radius:0 12px 12px 0;
  background:linear-gradient(135deg,#dc3545,#c42f3c);color:#fff;font-size:14px;cursor:pointer;
  transition:filter .2s;
}
.ep-404-card__search button:hover{filter:brightness(1.08)}
.ep-404-card__actions{display:flex;flex-wrap:wrap;gap:10px}
.ep-404-card__actions .ep-qv__btn{flex:1 1 auto;white-space:nowrap}

/* ---------- Izgara ---------- */
/* Bootstrap .row negatif margin'i .container padding'ini götürür; yanlarda
   gerçek bir boşluk kalsın diye içerik sütunu mobil/tabletta kendi payını alır. */
.ep-cat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
@media(min-width:768px){.ep-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
@media(min-width:1200px){.ep-cat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}}

/* ---------- Tüm kategoriler kartları ---------- */
.ep-cat-pagecard{
  display:flex;align-items:center;gap:14px;
  padding:18px 18px;
  background:#fff;
  border:1px solid #e6e9ef;border-radius:16px;
  text-decoration:none;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s,border-color .3s;
}
.ep-cat-pagecard:hover,.ep-cat-pagecard:focus-visible{
  transform:translateY(-5px);
  border-color:#f0cbd1;
  box-shadow:0 20px 40px -20px rgba(24,28,36,.28),0 2px 8px rgba(24,28,36,.05);
  text-decoration:none;
}
.ep-cat-pagecard__icon{
  flex:0 0 auto;
  width:50px;height:50px;
  border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#fff1f3,#ffe8ea);
  color:#dc3545;font-size:19px;
  transition:background .3s,color .3s,transform .3s;
}
.ep-cat-pagecard:hover .ep-cat-pagecard__icon{background:linear-gradient(135deg,#dc3545,#c42f3c);color:#fff;transform:scale(1.06)}
.ep-cat-pagecard__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px}
.ep-cat-pagecard__name{
  color:#2f3742;font-size:14.5px;font-weight:600;letter-spacing:-.2px;
  transition:color .25s;
}
.ep-cat-pagecard:hover .ep-cat-pagecard__name{color:#dc3545}
.ep-cat-pagecard__meta{color:#98a1ad;font-size:12px;font-weight:500}

/* ---------- Kart ---------- */
.ep-card{position:relative;display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e6e9ef;border-radius:16px;overflow:hidden;transition:transform .32s cubic-bezier(.2,.7,.3,1),box-shadow .32s,border-color .32s}
.ep-card:hover,.ep-card:focus-within{transform:translateY(-6px);border-color:#f0cbd1;box-shadow:0 22px 44px -20px rgba(24,28,36,.3),0 2px 8px rgba(24,28,36,.05)}

.ep-card__media{position:relative;overflow:hidden;aspect-ratio:4/3;background:linear-gradient(135deg,#f5f6f8 0%,#e9ecf1 100%)}
.ep-card__media::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(14,17,23,.45) 0%,rgba(14,17,23,.12) 42%,rgba(14,17,23,0) 70%);opacity:0;transition:opacity .3s}
.ep-card:hover .ep-card__media::after,.ep-card:focus-within .ep-card__media::after{opacity:1}
.ep-card__img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;cursor:zoom-in;transition:transform .55s cubic-bezier(.2,.7,.3,1),opacity .4s ease}
.ep-card__img.is-pending{opacity:0}
.ep-card:hover .ep-card__img{transform:scale(1.06)}

.ep-card__quick{position:absolute;left:50%;bottom:13px;z-index:3;transform:translate(-50%,16px);display:inline-flex;align-items:center;gap:8px;padding:9px 17px;border:0;border-radius:999px;background:rgba(22,25,32,.8);backdrop-filter:blur(6px);color:#fff;font-size:12px;font-weight:600;letter-spacing:.2px;white-space:nowrap;opacity:0;cursor:pointer;transition:opacity .28s,transform .28s,background .28s}
.ep-card:hover .ep-card__quick,.ep-card:focus-within .ep-card__quick{opacity:1;transform:translate(-50%,0)}
.ep-card__quick:hover{background:#dc3545}
.ep-card__quick:focus-visible{outline:2px solid #fff;outline-offset:2px;opacity:1;transform:translate(-50%,0)}

/* ---------- Gövde ---------- */
.ep-card__body{flex:1 1 auto;display:flex;flex-direction:column;padding:14px 15px 15px}
.ep-card__title{margin:0 0 12px;font-size:14px;line-height:1.45;font-weight:600;letter-spacing:-.1px;color:#2f3742;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.ep-card__title a{color:inherit;text-decoration:none}
.ep-card__title a::after{content:'';position:absolute;inset:0;z-index:1}
.ep-card:hover .ep-card__title a,.ep-card:focus-within .ep-card__title a{color:#dc3545}

.ep-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:11px;border-top:1px dashed #e8ebf0}
.ep-card__ref{font-size:11px;font-weight:600;letter-spacing:.4px;color:#a4acb8;font-variant-numeric:tabular-nums}
.ep-card__more{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.3px;color:#c2c8d1;transition:color .25s,gap .25s}
.ep-card__more i{font-size:10px}
.ep-card:hover .ep-card__more,.ep-card:focus-within .ep-card__more{color:#dc3545;gap:10px}

/* ---------- Hızlı bakış modalı ---------- */
#imageModal .modal-dialog{max-width:980px}
.ep-qv{
  border:0;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(16,20,28,.5);
  background:#fff;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 48px);
}
.ep-qv > .row{
  flex:1 1 auto;
  display:flex;
  min-height:0;
}
.ep-qv__close{position:absolute;top:14px;right:14px;z-index:5;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.9);backdrop-filter:blur(6px);color:#4a525f;font-size:17px;box-shadow:0 2px 10px rgba(20,24,31,.16);transition:background .2s,color .2s,transform .2s}
.ep-qv__close:hover{background:#dc3545;color:#fff;transform:rotate(90deg)}

.ep-qv__media{background:linear-gradient(150deg,#f6f7f9 0%,#eceef2 100%);display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 50%;min-width:0}
.ep-qv__media img{width:100%;height:100%;object-fit:contain;display:block}

.ep-qv__body{padding:32px 30px;display:flex;flex-direction:column;gap:0;overflow-y:auto;flex:0 0 50%;min-width:0}
.ep-qv__eyebrow{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:6px 13px;border-radius:999px;background:#fff1f3;color:#dc3545;font-size:11px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;margin-bottom:14px}
.ep-qv__eyebrow i{font-size:11px}
.ep-qv__title{margin:0 0 12px;font-size:26px;line-height:1.28;font-weight:600;letter-spacing:-.7px;color:#2f3742}
.ep-qv__meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding-bottom:18px;border-bottom:1px solid #edeff3;margin-bottom:18px}
.ep-qv__code{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:9px;background:#f7f8fa;border:1px solid #e9ecf1;color:#5b6472;font-size:12px;font-weight:600;letter-spacing:.5px;font-variant-numeric:tabular-nums}
.ep-qv__code i{font-size:12px;color:#a4acb8}
.ep-qv__rating{display:inline-flex;align-items:center;gap:8px;color:#f0a92b;font-size:13px}
.ep-qv__rating small{color:#98a1ad;font-size:12px;font-weight:600}
.ep-qv__desc{color:#6d7482;font-size:14.5px;line-height:1.8;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.ep-qv__desc>*:first-child{margin-top:0}
.ep-qv__desc>*:last-child{margin-bottom:0}

.ep-qv__list{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:9px}
.ep-qv__list li{display:flex;align-items:center;gap:11px;color:#7b8493;font-size:13.5px}
.ep-qv__list i{width:30px;height:30px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;background:#fff1f3;color:#dc3545;font-size:12px}

.ep-qv__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid #edeff3}
.ep-qv__btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 22px;border-radius:11px;font-size:13.5px;font-weight:600;text-decoration:none;border:1px solid transparent;transition:transform .2s,box-shadow .2s,background .2s,color .2s}
.ep-qv__btn--primary{background:#dc3545;color:#fff;box-shadow:0 8px 20px -8px rgba(220,53,69,.6)}
.ep-qv__btn--primary:hover{background:#c42f3c;color:#fff;transform:translateY(-2px);box-shadow:0 14px 26px -10px rgba(220,53,69,.7)}
.ep-qv__btn--ghost{background:#fff;border-color:#e6e9ef;color:#4a525f}
.ep-qv__btn--ghost:hover{border-color:#dc3545;color:#dc3545;transform:translateY(-2px)}

.modal-backdrop.show{opacity:.55}

/* ---------- Dokunmatik cihazlar ---------- */
@media(hover:none){.ep-card__quick{opacity:1;transform:translate(-50%,0);padding:8px 14px;font-size:11px}.ep-card__media::after{opacity:1}}

/* ---------- Sayfalama ---------- */
.ep-cat-pager{display:flex;justify-content:center;margin:26px 0 34px}
.ep-cat-pager .pagination{gap:6px;margin:0}
.ep-cat-pager .page-item .page-link{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e9ef;border-radius:11px;background:#fff;color:#5b6472;font-size:13px;font-weight:600;box-shadow:none;transition:background .2s,color .2s,border-color .2s,transform .2s}
.ep-cat-pager .page-item .page-link:hover{background:#fff1f3;border-color:#f3c9cf;color:#dc3545;transform:translateY(-2px)}
.ep-cat-pager .page-item.active .page-link{background:#dc3545;border-color:#dc3545;color:#fff}

/* ---------- Tablet / Küçük masaüstü ---------- */
@media(max-width:991.98px){
  .ep-cat-main{padding-left:clamp(16px,5.5vw,28px);padding-right:clamp(16px,5.5vw,28px)}
  /* Ana sayfa: içerik kenarlardan 10px içerde; .row negatif marginleri sıfırlanır ki taşma yapmasın */
  .ep-home-main{padding-left:10px;padding-right:10px}
  .ep-home-main .row{margin-left:0;margin-right:0}
  .ep-home-main > main.row > div[class*="col-"]{padding-left:0;padding-right:0}
  /* Ürün detay: aynı 10px kural */
  .ep-pd-main{padding-left:10px;padding-right:10px}
  .ep-pd-main .row{margin-left:0;margin-right:0}
  .ep-pd-main > .row > [class*="col-"]{padding-left:0;padding-right:0}
}

/* ---------- Mobil ---------- */
@media(max-width:767.98px){
  .ep-cat-head{
    padding:18px 16px; gap:14px; border-radius:16px;
    flex-wrap:wrap; align-items:center;
  }
  .ep-cat-head::before{width:4px}
  .ep-cat-head__icon{width:44px;height:44px;border-radius:12px;font-size:17px;margin-top:0;flex:0 0 auto}
  .ep-cat-head__text{flex:1 1 calc(100% - 60px);min-width:140px}
  .ep-cat-head__eyebrow{font-size:9.5px;letter-spacing:1.6px;padding:3px 8px;margin-bottom:6px}
  .ep-cat-head h1{font-size:20px;letter-spacing:-.5px;margin-bottom:4px;line-height:1.2}
  .ep-cat-head__desc{font-size:13px;line-height:1.5;margin:0}
  .ep-crumb{font-size:12px;gap:4px}
  .ep-crumb-nav{margin:0 0 12px}
  .ep-crumb__link{padding:5px 10px;gap:5px}
  .ep-crumb__link i{font-size:10px}
  .ep-crumb__sep{font-size:8px}
  .ep-crumb__item--active{padding:5px 10px;font-size:12px}
  .ep-cat-head__count{padding:8px 12px;border-radius:12px;order:3;margin-left:auto;flex:0 0 auto}
  .ep-cat-head__count b{font-size:18px}
  .ep-cat-head__count span{font-size:9px}
  .ep-cat-note{padding:16px 17px;font-size:13.5px;line-height:1.8;margin:10px 0 10px}
  .ep-cat-note__body h2:first-child,.ep-cat-note__body h3:first-child{font-size:16.5px}
  .ep-cat-note__body h2:not(:first-child),.ep-cat-note__body h3:not(:first-child){font-size:15px}
  .ep-cat-content{margin-top:24px;padding:22px 18px;border-radius:14px}
  .ep-cat-content__head h2{font-size:19px}
  .ep-cat-content__body{font-size:14px;line-height:1.85}
  .ep-cat-grid{gap:12px;margin-top:20px}
  .ep-404-card{grid-template-columns:1fr;gap:18px;padding:22px 18px;border-radius:16px;margin-bottom:24px}
  .ep-404-card__body h2{font-size:20px}
  .ep-404-card__body p{font-size:13.5px;margin-bottom:14px}
  .ep-404-card__search{margin-bottom:14px}
  .ep-404-card__search input{padding:11px 14px;font-size:13px}
  .ep-404-card__search button{padding:11px 16px}
  .ep-404-card__actions{gap:8px}
  .ep-404-card__actions .ep-qv__btn{flex:1 1 100%;padding:12px 16px;font-size:13px}
  .ep-cat-pagecard{padding:14px 15px;gap:12px;border-radius:14px}
  .ep-cat-pagecard__icon{width:42px;height:42px;border-radius:12px;font-size:16px}
  .ep-cat-pagecard__name{font-size:13.5px}
  .ep-cat-pagecard__meta{font-size:11.5px}
  .ep-card{border-radius:13px}
  .ep-card__body{padding:11px 12px 12px}
  .ep-card__title{font-size:12.5px;margin-bottom:9px}
  .ep-card__ref,.ep-card__more{font-size:10px}

  /* Hızlı bakış modalı: mobilde kompakt tek sütun, görsel üstte, aksiyonlar sabit altta */
  #imageModal .modal-dialog{max-width:none;padding:10px;margin:10px auto;height:auto;max-height:none}
  .ep-qv{
    border-radius:16px;
    max-height:calc(100dvh - 20px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .ep-qv > .row{flex:0 0 auto;flex-direction:column;min-height:0}
  .ep-qv__media{flex:0 0 auto;order:1}
  .ep-qv__media img{aspect-ratio:16/10;object-fit:cover;width:100%}
  .ep-qv__body{padding:18px 16px 0;overflow-y:visible;flex:0 0 auto;order:2;display:flex;flex-direction:column}
  .ep-qv__title{font-size:19px;letter-spacing:-.5px;margin-bottom:8px;line-height:1.25}
  .ep-qv__eyebrow{font-size:9.5px;padding:4px 10px;margin-bottom:9px}
  .ep-qv__meta{padding-bottom:14px;margin-bottom:14px;gap:8px 12px}
  .ep-qv__code{font-size:11.5px;padding:5px 10px}
  .ep-qv__desc{font-size:13px;line-height:1.65;margin-bottom:14px;-webkit-line-clamp:4}
  .ep-qv__list{gap:6px;margin-bottom:12px}
  .ep-qv__list li{font-size:12px;gap:8px}
  .ep-qv__list i{width:24px;height:24px;font-size:10px;border-radius:7px}
  /* Aksiyon çubuğu kaydırılan alanın altına yapışır: butonlar her zaman görünür */
  .ep-qv__actions{
    position:sticky;
    bottom:0;
    z-index:2;
    margin-top:auto;
    padding:10px 0 14px;
    background:#fff;
    box-shadow:0 -8px 16px -12px rgba(24,28,36,.45);
    flex-direction:row;
    gap:8px
  }
  .ep-qv__actions::before{content:'';position:absolute;left:-16px;right:-16px;bottom:100%;height:16px;background:linear-gradient(to top,#fff,rgba(255,255,255,0));pointer-events:none}
  .ep-qv__btn{flex:1 1 0;min-width:0;padding:11px 8px;font-size:12.5px;border-radius:10px}
  .ep-qv__btn i{display:none}
  .ep-qv__close{top:8px;right:8px;width:30px;height:30px;font-size:14px}
}

/* ---------- Çok küçük ekranlar ---------- */
@media(max-width:480px){
  .ep-cat-head h1{font-size:19px}
  .ep-cat-head__desc{font-size:12.5px}
  .ep-cat-head__icon{width:40px;height:40px;font-size:16px}
  .ep-cat-head__count{padding:6px 10px}
  .ep-cat-head__count b{font-size:17px}
  .ep-cat-head__count span{font-size:8.5px}
  .ep-cat-note{margin:10px 0 10px;padding:14px 15px}
  .ep-cat-grid{gap:10px}
  .ep-card__body{padding:10px 11px 11px}
  .ep-card__title{font-size:12px}

  /* Mobil modal çok kompakt */
  .ep-qv__media img{aspect-ratio:3/2}
  .ep-qv__title{font-size:18px}
  .ep-qv__desc{font-size:12.5px;line-height:1.6;-webkit-line-clamp:3}
  .ep-qv__btn{font-size:12px;padding:10px 6px}
}

/* ---------- Erişilebilirlik ---------- */
@media(prefers-reduced-motion:reduce){
  .ep-card,.ep-card__img,.ep-card__quick,.ep-card__media::after{transition:none}
  .ep-card:hover,.ep-card:focus-within{transform:none}
  .ep-card:hover .ep-card__img{transform:none}
}

/* ---------- Ürün Detay Sayfası (urun.php) ---------- */
/* Ürün başlığı: görsel + bilgi bloğu */
.ep-pd-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:24px;
  align-items:start;
  margin:0 0 26px;
}
.ep-pd-hero__media{
  position:relative;
  background:linear-gradient(150deg,#f6f7f9 0%,#eceef2 100%);
  border:1px solid #eef0f4;
  border-radius:18px;
  padding:14px;
  overflow:hidden;
  box-shadow:0 14px 40px -28px rgba(24,28,36,.5);
}
.ep-pd-hero__img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:12px;
  background:#f2f4f7;
  cursor:zoom-in;
  transition:transform .5s cubic-bezier(.2,.7,.3,1);
}
.ep-pd-hero__media:hover .ep-pd-hero__img{transform:scale(1.03)}
.ep-pd-hero__nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  color:#4a525f;font-size:14px;text-decoration:none;
  box-shadow:0 2px 12px rgba(20,24,31,.2);
  transition:background .2s,color .2s,transform .2s;
  z-index:3;
}
.ep-pd-hero__nav:hover{background:#dc3545;color:#fff;transform:translateY(-50%) scale(1.08)}
.ep-pd-hero__nav--prev{left:12px}
.ep-pd-hero__nav--next{right:12px}
.ep-pd-hero__hint{
  position:absolute;left:50%;bottom:24px;transform:translateX(-50%);
  display:inline-flex;align-items:center;gap:7px;
  padding:8px 15px;border-radius:999px;
  background:rgba(22,25,32,.78);
  backdrop-filter:blur(6px);
  color:#fff;font-size:11.5px;font-weight:600;letter-spacing:.2px;
  opacity:0;transition:opacity .3s;
  pointer-events:none;
  z-index:2;
}
.ep-pd-hero__media:hover .ep-pd-hero__hint{opacity:1}

.ep-pd-hero__body{display:flex;flex-direction:column;align-items:flex-start}
.ep-pd-hero__eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 13px;border-radius:999px;
  background:#fff1f3;color:#dc3545;
  font-size:11px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;
  text-decoration:none;margin-bottom:14px;
  transition:background .2s,color .2s;
}
.ep-pd-hero__eyebrow:hover{background:#dc3545;color:#fff}
.ep-pd-hero__eyebrow i{font-size:11px}
.ep-pd-hero__title{
  margin:0 0 14px;
  font-size:27px;line-height:1.22;font-weight:600;letter-spacing:-.7px;color:#2f3742;
}
.ep-pd-hero__meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-bottom:14px;width:100%}
.ep-pd-hero__code{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 12px;border-radius:9px;
  background:#f7f8fa;border:1px solid #e9ecf1;
  color:#5b6472;font-size:12px;font-weight:600;letter-spacing:.5px;font-variant-numeric:tabular-nums;
}
.ep-pd-hero__code i{font-size:12px;color:#a4acb8}
.ep-pd-hero__rating{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#f0a92b}
.ep-pd-hero__rating small{color:#98a1ad;font-size:12px;font-weight:600}
.ep-pd-hero__stars{display:inline-flex;gap:2px;font-size:13px}

.ep-pd-hero__price{
  margin:0 0 4px;
  font-size:30px;font-weight:700;color:#dc3545;letter-spacing:-.8px;line-height:1.1;
}
.ep-pd-hero__price span{font-size:20px}
.ep-pd-hero__priceNote{margin:0 0 14px;font-size:13px;color:#8b93a0;line-height:1.6}

.ep-pd-hero__desc{
  margin:0 0 16px;
  font-size:14px;line-height:1.75;color:#5f6875;
  padding:14px 16px;
  background:#fafbfc;
  border:1px solid #eef0f4;
  border-radius:12px;
}

.ep-pd-hero__trust{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:9px;width:100%}
.ep-pd-hero__trust li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#5f6875}
.ep-pd-hero__trust i{
  flex:0 0 auto;width:28px;height:28px;border-radius:8px;
  display:grid;place-items:center;
  background:#fff1f3;color:#dc3545;font-size:11px;
}

.ep-pd-hero__cta{display:flex;flex-wrap:wrap;gap:10px;width:100%}
.ep-pd-hero__btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 22px;border-radius:12px;
  font-size:14px;font-weight:600;text-decoration:none;
  border:1px solid transparent;
  transition:transform .2s,box-shadow .2s,background .2s,color .2s;
}
.ep-pd-hero__btn--primary{
  background:linear-gradient(135deg,#dc3545,#c42f3c);
  color:#fff;
  box-shadow:0 10px 24px -10px rgba(220,53,69,.7);
}
.ep-pd-hero__btn--primary:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(220,53,69,.8);color:#fff}
.ep-pd-hero__btn--ghost{
  background:#fff;border-color:#e6e9ef;color:#4a525f;
}
.ep-pd-hero__btn--ghost:hover{border-color:#dc3545;color:#dc3545;transform:translateY(-2px)}

.ep-pd-head{
  background:linear-gradient(135deg,#fff 0%,#fdf8f9 100%);
  border:1px solid #eef0f4;
  border-radius:20px;
  padding:28px 30px;
  margin-bottom:24px;
  display:flex;align-items:flex-start;gap:24px;
  box-shadow:0 12px 40px -30px rgba(24,28,36,.5), inset 0 1px 0 rgba(255,255,255,.8);
  position:relative;overflow:hidden;
}
.ep-pd-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#dc3545,#e85d4f)}
.ep-pd-head__icon{flex:0 0 auto;width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#fff1f3,#ffe8ea);color:#dc3545;font-size:21px;box-shadow:0 4px 14px -4px rgba(220,53,69,.5),inset 0 0 0 1px rgba(220,53,69,.15);margin-top:2px}
.ep-pd-head__text{flex:1;min-width:0}
.ep-pd-head__eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;letter-spacing:2px;color:#dc3545;text-transform:uppercase;background:rgba(220,53,69,.08);padding:4px 10px;border-radius:999px;margin-bottom:10px}
.ep-pd-head__eyebrow i{font-size:10px}
.ep-pd-head h1{margin:0 0 6px;font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-.8px;color:#2f3742}
.ep-pd-head__meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:4px}
.ep-pd-head__code{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:9px;background:#f7f8fa;border:1px solid #e9ecf1;color:#5b6472;font-size:12px;font-weight:600;letter-spacing:.5px;font-variant-numeric:tabular-nums}
.ep-pd-head__code i{font-size:12px;color:#a4acb8}
.ep-pd-head__rating{display:inline-flex;align-items:center;gap:8px;color:#f0a92b;font-size:13px}
.ep-pd-head__rating small{color:#98a1ad;font-size:12px;font-weight:600}

.ep-pd-tabs{margin-bottom:24px}
.ep-pd-tabs .nav-tabs{border-bottom:2px solid #eef0f4}
.ep-pd-tabs .nav-link{
  border:0;border-radius:12px 12px 0 0;padding:14px 22px;margin-right:6px;
  font-weight:600;font-size:14px;color:#7b8493;background:transparent;
  transition:color .2s,background .2s,border-color .2s;
}
.ep-pd-tabs .nav-link:hover{color:#dc3545;background:#fff1f3}
.ep-pd-tabs .nav-link.active{color:#dc3545;background:#fff;border:1px solid #f3c9cf;border-bottom-color:#fff;margin-bottom:-2px;box-shadow:0 -4px 12px -6px rgba(220,53,69,.25)}
.ep-pd-tabs .nav-link i{margin-right:6px;font-size:12px}

.ep-pd-tab-content{background:#fff;border:1px solid #eef0f4;border-radius:0 14px 14px 14px;padding:30px;box-shadow:0 8px 30px -20px rgba(24,28,36,.3)}
.ep-pd-desc{color:#5f6875;font-size:15.5px;line-height:1.85}
.ep-pd-desc h2{color:#2f3742;font-weight:600;letter-spacing:-.4px;line-height:1.35;margin:30px 0 12px}
.ep-pd-desc h2:first-child{margin-top:0}
.ep-pd-desc p{margin:0 0 14px}
.ep-pd-desc ul,.ep-pd-desc ol{margin:0 0 16px;padding-left:22px}
.ep-pd-desc li{margin-bottom:9px}
.ep-pd-desc li strong{color:#3a424e}
.ep-pd-desc a{color:#dc3545;font-weight:600;text-decoration:none}
.ep-pd-desc a:hover{text-decoration:underline;text-underline-offset:3px}

.ep-pd-features{margin-top:30px;padding-top:24px;border-top:1px solid #edeff3}
.ep-pd-features h3{margin:0 0 18px;font-size:19px;font-weight:600;color:#2f3742}
.ep-pd-features__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ep-pd-feature{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fafbfc;border:1px solid #eef0f4;border-radius:12px;transition:transform .2s,border-color .2s,box-shadow .2s}
.ep-pd-feature:hover{transform:translateY(-3px);border-color:#f3c9cf;box-shadow:0 8px 24px -10px rgba(220,53,69,.2)}
.ep-pd-feature__icon{flex:0 0 auto;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fff1f3;color:#dc3545;font-size:14px}
.ep-pd-feature__text{color:#5f6875;font-size:13.5px;line-height:1.7}
.ep-pd-feature__text strong{color:#2f3742;display:block;margin-bottom:4px}

.ep-pd-cta{background:linear-gradient(135deg,#dc3545 0%,#c42f3c 100%);color:#fff;border-radius:18px;padding:28px 30px;text-align:center}
.ep-pd-cta h3{margin:0 0 8px;font-size:22px;font-weight:600}
.ep-pd-cta p{margin:0 0 18px;font-size:15px;opacity:.95}
.ep-pd-cta .phone{display:inline-block;font-size:28px;font-weight:700;text-decoration:none;color:#fff;margin-bottom:10px}
.ep-pd-cta .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:10px;font-weight:600;font-size:13.5px;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}
.ep-pd-cta .btn-light{background:#fff;color:#dc3545}
.ep-pd-cta .btn-light:hover{background:#fff5f5;transform:translateY(-2px);box-shadow:0 8px 20px -8px rgba(255,255,255,.3)}
.ep-pd-cta .btn-success{background:#28a745;border-color:#28a745;color:#fff}
.ep-pd-cta .btn-success:hover{background:#218838;border-color:#1e7e34;transform:translateY(-2px);box-shadow:0 8px 20px -8px rgba(40,167,69,.4)}

.ep-pd-benefits{margin-top:24px}
.ep-pd-benefits h3{margin:0 0 16px;font-size:19px;font-weight:600;color:#2f3742}
.ep-pd-benefits__list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.ep-pd-benefit{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#fff;border:1px solid #eef0f4;border-radius:10px}
.ep-pd-benefit i{flex:0 0 auto;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#fff1f3;color:#dc3545;font-size:11px}
.ep-pd-benefit span{font-size:13px;color:#5f6875;font-weight:500}

@media(max-width:767.98px){
  .ep-pd-hero{grid-template-columns:1fr;gap:16px}
  .ep-pd-hero__media{padding:10px;border-radius:14px}
  .ep-pd-hero__nav{width:32px;height:32px;font-size:12px}
  .ep-pd-hero__nav--prev{left:8px}
  .ep-pd-hero__nav--next{right:8px}
  .ep-pd-hero__eyebrow{font-size:10px;padding:5px 10px;margin-bottom:10px}
  .ep-pd-hero__title{font-size:21px;margin-bottom:10px}
  .ep-pd-hero__meta{gap:8px;margin-bottom:10px}
  .ep-pd-hero__price{font-size:25px}
  .ep-pd-hero__price span{font-size:17px}
  .ep-pd-hero__priceNote{font-size:12.5px;margin-bottom:12px}
  .ep-pd-hero__desc{font-size:13px;margin-bottom:12px;padding:12px 14px}
  .ep-pd-hero__trust{gap:7px;margin-bottom:14px}
  .ep-pd-hero__trust li{font-size:12.5px}
  .ep-pd-hero__trust i{width:24px;height:24px;font-size:10px}
  .ep-pd-hero__btn{flex:1 1 100%;padding:13px 18px;font-size:13.5px}
  .ep-pd-head{padding:20px 18px;gap:16px;border-radius:16px}
  .ep-pd-head::before{width:4px}
  .ep-pd-head__icon{width:44px;height:44px;border-radius:12px;font-size:17px;margin-top:0}
  .ep-pd-head__eyebrow{font-size:9.5px;letter-spacing:1.6px;padding:3px 8px;margin-bottom:8px}
  .ep-pd-head h1{font-size:22px;letter-spacing:-.5px}
  .ep-pd-head__meta{gap:8px}
  .ep-pd-head__code{padding:5px 10px;font-size:11.5px}
  .ep-pd-tabs .nav-link{padding:12px 16px;font-size:13px}
  .ep-pd-tab-content{padding:22px 18px;border-radius:0 12px 12px 12px}
  .ep-pd-desc{font-size:14px;line-height:1.8}
  .ep-pd-features__grid{grid-template-columns:1fr}
  .ep-pd-feature{padding:14px}
  .ep-pd-cta{padding:22px 18px;border-radius:14px}
  .ep-pd-cta h3{font-size:19px}
  .ep-pd-cta .phone{font-size:24px}
  .ep-pd-cta .btn{width:100%;margin-bottom:8px}
  .ep-pd-benefits__list{grid-template-columns:1fr}
}