/* ALTAY P32 - HOVER GÖRSEL / ICON / FONT TOPARLAMA
   Sadece ürün kartı hover, menü ikonları ve font karmaşasını düzeltir. */
:root{
  --altay-clean-font-final: Arial, Helvetica, sans-serif !important;
  --altay-premium-font: Arial, Helvetica, sans-serif !important;
  --altay-pv2-font: Arial, Helvetica, sans-serif !important;
  --altay-pv2-heading-font: Arial, Helvetica, sans-serif !important;
}
html body,
html body *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon):not(use),
html body input,
html body button,
html body select,
html body textarea,
html body .home-collections-strip,
html body .home-collections-strip *,
html body .home-row-section,
html body .home-row-section *,
html body .altay-catalog-v111,
html body .altay-catalog-v111 *,
html body .altay-loop-title,
html body .altay-loop-cat,
html body .altay-loop-price,
html body .section-head h2,
html body .page-title{
  font-family: Arial, Helvetica, sans-serif !important;
  font-synthesis: none !important;
  text-rendering: auto !important;
}
html body .home-collection-mini-copy small,
html body [data-altay-collection-subtitle]{
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
html body .home-collection-mini-copy strong,
html body [data-altay-collection-title]{
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  text-transform:none !important;
}
html body .altay-loop-cat{
  font-weight:800 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
}
html body .altay-loop-title{
  font-weight:800 !important;
  letter-spacing:-.01em !important;
}

/* GRID SABİT: webde ana sayfa ve menü/kategori 3'lü kalsın */
@media (min-width:1025px){
  html body .home-row-section ul.products,
  html body ul.products.altay-home-products-grid,
  html body ul.products.altay-unified-products-grid,
  html body .woocommerce ul.products,
  html body .altay-catalog-v111__products ul.products,
  html body.tax-product_cat .altay-catalog-v111__products ul.products,
  html body.post-type-archive-product .altay-catalog-v111__products ul.products,
  html body.tax-product_cat ul.products.altay-menu-products-grid-v23,
  html body.post-type-archive-product ul.products.altay-menu-products-grid-v23{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:26px !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    align-items:start !important;
  }
  html body .altay-catalog-v111__layout,
  html body.tax-product_cat .altay-catalog-v111__layout,
  html body.post-type-archive-product .altay-catalog-v111__layout{
    display:grid !important;
    grid-template-columns:245px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
  }
}

/* Ürün kartı: boyut sabit, görsel boş kalmaz */
html body ul.products > li.product,
html body .woocommerce ul.products > li.product,
html body li.product.altay-clean-loop-card,
html body li.product.altay-unified-product-card{
  position:relative !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  float:none !important;
  clear:none !important;
  margin:0 !important;
  padding:0 !important;
  transition:none !important;
  transform:none !important;
  box-sizing:border-box !important;
}
html body li.product .altay-loop-inner{
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  min-height:0 !important;
  overflow:hidden !important;
  transition:none !important;
  transform:none !important;
}
html body li.product .altay-loop-media,
html body .woocommerce ul.products li.product .altay-loop-media,
html body .home-row-section ul.products li.product .altay-loop-media,
html body .altay-catalog-v111__products li.product .altay-loop-media{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:clamp(360px,26vw,430px) !important;
  min-height:360px !important;
  max-height:430px !important;
  aspect-ratio:auto !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  background:#05080f !important;
  border-radius:22px 22px 0 0 !important;
  box-sizing:border-box !important;
  transition:none !important;
  transform:none !important;
}
html body.tax-product_cat li.product .altay-loop-media,
html body.post-type-archive-product li.product .altay-loop-media,
html body .altay-catalog-v111__products li.product .altay-loop-media{
  height:360px !important;
  min-height:360px !important;
  max-height:360px !important;
}
html body li.product .altay-loop-media-link,
html body li.product .altay-loop-media .main,
html body li.product .altay-loop-media .hover{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  overflow:hidden !important;
  transition:opacity .18s ease !important;
  transform:none !important;
}
html body li.product .altay-loop-media .main{
  z-index:1 !important;
  opacity:1 !important;
  visibility:visible !important;
}
html body li.product .altay-loop-media .hover{
  z-index:2 !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  background:#05080f !important;
}
html body li.product.altay-has-ready-hover:hover .altay-loop-media .hover,
html body li.product.altay-has-ready-hover:focus-within .altay-loop-media .hover{
  opacity:1 !important;
  visibility:visible !important;
}
html body li.product.altay-has-ready-hover:hover .altay-loop-media .main.has-hover,
html body li.product.altay-has-ready-hover:focus-within .altay-loop-media .main.has-hover{
  opacity:0 !important;
  visibility:hidden !important;
}
html body li.product.altay-no-hover-image .altay-loop-media .hover,
html body li.product:not(.altay-has-ready-hover) .altay-loop-media .hover{
  opacity:0 !important;
  visibility:hidden !important;
}
html body li.product:not(.altay-has-ready-hover):hover .altay-loop-media .main,
html body li.product:not(.altay-has-ready-hover):focus-within .altay-loop-media .main{
  opacity:1 !important;
  visibility:visible !important;
}
html body li.product .altay-loop-media img,
html body .woocommerce ul.products li.product .altay-loop-media img,
html body .home-row-section ul.products li.product .altay-loop-media img,
html body .altay-catalog-v111__products li.product .altay-loop-media img,
html body ul.products li.product img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center top !important;
  background:#05080f !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  transition:none !important;
  transform:none !important;
  animation:none !important;
}

/* Menü ve ana sayfa kart ikonları: webde hover olunca gelsin */
@media (min-width:1025px){
  html body li.product .altay-loop-icons,
  html body .woocommerce ul.products li.product .altay-loop-icons,
  html body .home-row-section ul.products li.product .altay-loop-icons,
  html body .altay-catalog-v111__products li.product .altay-loop-icons{
    position:absolute !important;
    left:50% !important;
    bottom:22px !important;
    transform:translateX(-50%) translateY(10px) !important;
    z-index:30 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .18s ease,transform .18s ease !important;
  }
  html body li.product:hover .altay-loop-icons,
  html body li.product:focus-within .altay-loop-icons,
  html body .woocommerce ul.products li.product:hover .altay-loop-icons,
  html body .home-row-section ul.products li.product:hover .altay-loop-icons,
  html body .altay-catalog-v111__products li.product:hover .altay-loop-icons{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateX(-50%) translateY(0) !important;
  }
  html body li.product .altay-loop-icons > a,
  html body li.product .altay-loop-icons > button{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    border-radius:14px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(7,16,31,.10) !important;
    background:#fff !important;
    color:#050505 !important;
    box-shadow:0 14px 30px rgba(7,16,31,.18) !important;
    padding:0 !important;
    margin:0 !important;
  }
  html body li.product .altay-loop-icons .cart,
  html body li.product .altay-loop-icons .add_to_cart_button{
    background:#050505 !important;
    color:#fff !important;
    border-color:#050505 !important;
  }
  html body li.product .altay-loop-icons .fav.is-active{
    background:#050505 !important;
    color:#fff !important;
    border-color:#050505 !important;
  }
  html body li.product .altay-loop-icons svg,
  html body li.product .altay-loop-icons svg path,
  html body li.product .altay-loop-icons svg circle{
    width:20px !important;
    height:20px !important;
    stroke:currentColor !important;
    fill:none !important;
    stroke-width:2.2 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }
}

/* Eski hover efektleri kartı büyütmesin */
html body li.product:hover,
html body li.product:hover .altay-loop-inner,
html body li.product:hover .altay-loop-media,
html body li.product:hover .altay-loop-media img{
  transform:none !important;
}

@media (max-width:1024px){
  html body li.product .altay-loop-media,
  html body.tax-product_cat li.product .altay-loop-media,
  html body.post-type-archive-product li.product .altay-loop-media,
  html body .home-row-section li.product .altay-loop-media{
    height:300px !important;
    min-height:300px !important;
    max-height:300px !important;
  }
}
@media (max-width:680px){
  html body li.product .altay-loop-media,
  html body.tax-product_cat li.product .altay-loop-media,
  html body.post-type-archive-product li.product .altay-loop-media,
  html body .home-row-section li.product .altay-loop-media{
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
  }
  html body li.product .altay-loop-icons{
    display:none !important;
  }
}
