/* isotsepeti.com v86 — profesyonel kategori ve ürün kartı düzeni */

/* Genel katalog yoğunluğu */
.products .shop-grid,
.shop-page .shop-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.shop-page .shop-card{
  min-width:0;
  overflow:hidden;
  border-radius:20px;
  border:1px solid #e5ddd5;
  background:#fff;
  box-shadow:0 8px 28px rgba(36,20,10,.045);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.shop-page .shop-card:hover{
  transform:translateY(-3px);
  border-color:#d8cdc3;
  box-shadow:0 18px 46px rgba(36,20,10,.09);
}

/* Ürün görseli: tamamı görünür, ne taşar ne de gereğinden fazla uzakta kalır */
.shop-card__media{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative;
  aspect-ratio:1/1!important;
  height:auto!important;
  padding:12px!important;
  overflow:hidden!important;
  background:#f1ebe4!important;
}
.shop-card__media img{
  display:block!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:auto!important;
  transform:none!important;
}
.shop-card:hover .shop-card__media img{
  transform:none!important;
}

/* Kart içerik hiyerarşisi */
.shop-page .shop-card__body{
  display:flex;
  flex-direction:column;
  min-height:156px;
  padding:14px 15px 15px;
}
.shop-page .shop-card__body>span{
  font-size:7.5px;
  line-height:1.2;
  letter-spacing:.08em;
}
.shop-page .shop-card__body h3{
  min-height:39px;
  margin:5px 0 6px;
  font-size:17px;
  line-height:1.16;
  letter-spacing:-.018em;
}
.shop-page .shop-card__body p{display:none}
.shop-page .shop-card__meta{
  margin-top:auto;
  padding-top:10px;
}
.shop-page .shop-card__meta small{font-size:8.5px}
.shop-page .shop-card__meta strong{font-size:12.5px}
.shop-page .shop-card__cta{
  min-height:36px;
  margin-top:9px;
  padding:0 10px;
  border-radius:9px;
  font-size:9.5px;
}
.shop-page .shop-card__badge{
  left:11px;
  top:11px;
}
.shop-page .shop-card__wish{
  right:11px;
  top:11px;
}

/* Kategori sayfası: daha dengeli hero ve daha kısa sayfa akışı */
.shop-page .category-hero{
  padding:40px 0 46px;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.shop-page .category-hero__grid{
  grid-template-columns:minmax(0,1fr) 330px;
  gap:54px;
}
.shop-page .category-hero h1{
  max-width:860px;
  margin:12px 0 10px;
  font-size:clamp(43px,4.4vw,61px);
  line-height:.98;
}
.shop-page .category-hero p{
  margin:0;
  max-width:650px;
  font-size:14px;
  line-height:1.65;
}
.shop-page .category-hero__image{
  height:220px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 46px rgba(0,0,0,.22);
}
.shop-page .category-hero__image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Yalnız kategori hero'sundan sonra gelen ürün bölümü */
.shop-page .category-hero + .section{
  padding:58px 0 48px;
}
.shop-page .category-hero + .section .section-head{
  margin-bottom:20px;
}
.shop-page .category-hero + .section .section-head h2{
  font-size:clamp(36px,3.2vw,44px);
}
.shop-page .product-count{
  min-height:34px;
  padding:0 12px;
  border-color:#ddd4cb;
  box-shadow:0 4px 16px rgba(38,22,12,.035);
}

/* Arama çubuğu */
.shop-page .catalog-toolbar{
  margin:0 0 24px;
  padding:10px;
  border-radius:16px;
  border-color:#e1d8d0;
  box-shadow:0 7px 24px rgba(38,22,12,.035);
}
.shop-page .catalog-search{
  grid-template-columns:minmax(240px,420px) 88px;
  min-height:42px;
  border-radius:10px;
}
.shop-page .catalog-search input{font-size:11px}
.shop-page .catalog-search button{
  font-size:10px;
  transition:background .2s ease;
}
.shop-page .catalog-search button:hover{background:#c92a20}
.shop-page .catalog-toolbar__hint{font-size:10px}

/* Kategori sayfasında footer öncesindeki gereksiz boşluğu azalt */
.shop-page + .footer{margin-top:0}

/* Ürün detay sayfasındaki ilgili ürünler */
.product-page .shop-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-page .shop-card__body p{display:none}

/* Masaüstü ve tablet kırılımları */
@media(max-width:1280px){
  .products .shop-grid,
  .shop-page .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .shop-page .category-hero__grid{grid-template-columns:minmax(0,1fr) 300px;gap:42px}
}
@media(max-width:1020px){
  .products .shop-grid,
  .shop-page .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .product-page .shop-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shop-page .category-hero__grid{grid-template-columns:1fr}
  .shop-page .category-hero__image{height:230px}
}

/* Mobil */
@media(max-width:720px){
  .shop-card__media{padding:9px!important}
  .products .shop-grid,
  .shop-page .shop-grid,
  .product-page .shop-grid--3{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .shop-page .category-hero{padding:30px 0 34px}
  .shop-page .category-hero h1{font-size:42px}
  .shop-page .category-hero__image{height:200px;border-radius:18px}
  .shop-page .category-hero + .section{padding:44px 0 38px}
  .shop-page .catalog-toolbar{align-items:stretch;flex-direction:column}
  .shop-page .catalog-search{grid-template-columns:1fr 80px;width:100%}
  .shop-page .catalog-toolbar__hint{text-align:left}
  .shop-page .shop-card__body{min-height:145px;padding:11px}
  .shop-page .shop-card__body h3{min-height:34px;font-size:15px}
  .shop-page .shop-card__meta strong{font-size:11.5px}
}
@media(max-width:420px){
  .shop-card__media{padding:7px!important}
  .shop-page .shop-grid{gap:8px}
  .shop-page .shop-card{border-radius:14px}
  .shop-page .shop-card__body{min-height:136px;padding:9px}
  .shop-page .shop-card__body h3{font-size:14px}
  .shop-page .shop-card__meta strong{font-size:10.5px}
  .shop-page .shop-card__cta{min-height:33px;padding:0 8px;font-size:9px}
  .shop-page .shop-card__wish{width:28px;height:28px}
  .shop-page .shop-card__badge{left:8px;top:8px}
}
