/* ALTAY P31 - GRID SABİTLEME / ZIPLAMA YOK
   Dinamik JS kapatıldı. Bu dosya en son ve inline olarak basılır. */
: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{
  font-family:Arial, Helvetica, sans-serif !important;
  font-synthesis:none !important;
  text-rendering:auto !important;
}
html body .home-collections-strip,
html body .home-collections-strip *,
html body .home-collection-mini,
html body .home-collection-mini *,
html body [data-altay-collection-card],
html body [data-altay-collection-card] *{
  font-family:Arial, Helvetica, sans-serif !important;
  text-rendering:auto !important;
}
html body .home-collection-mini-copy small,
html body [data-altay-collection-subtitle]{
  letter-spacing:.01em !important;
  font-weight:700 !important;
  font-size:13px !important;
  line-height:1.15 !important;
}
html body .home-collection-mini-copy strong,
html body [data-altay-collection-title]{
  letter-spacing:-.015em !important;
  font-weight:850 !important;
  font-size:21px !important;
  line-height:1.08 !important;
}
html body .home-collection-mini-media,
html body .home-collection-mini-media img,
html body [data-altay-collection-image]{
  transition:none !important;
  transform:none !important;
}
html body .home-collection-mini-media img,
html body [data-altay-collection-image]{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#f4f6f8 !important;
}

/* Genel ürün grid: büyüyüp küçülmesin */
html body ul.products,
html body .woocommerce ul.products,
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 .altay-catalog-v111__products ul.products{
  display:grid !important;
  grid-auto-flow:row !important;
  align-items:start !important;
  justify-content:stretch !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  transition:none !important;
  transform:none !important;
}
html body ul.products:before,
html body ul.products:after,
html body .woocommerce ul.products:before,
html body .woocommerce ul.products:after{
  display:none !important;
  content:none !important;
}
@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{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:28px !important;
  }
  html body.tax-product_cat .altay-catalog-v111__layout,
  html body.post-type-archive-product .altay-catalog-v111__layout,
  html body .altay-catalog-v111__layout{
    display:grid !important;
    grid-template-columns:245px minmax(0,1fr) !important;
    gap:24px !important;
    align-items:start !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:visible !important;
  }
  html body.tax-product_cat .altay-filter-v111,
  html body.post-type-archive-product .altay-filter-v111,
  html body .altay-filter-v111{
    width:245px !important;
    min-width:0 !important;
    max-width:245px !important;
  }
  html body.tax-product_cat .altay-catalog-v111__container,
  html body.post-type-archive-product .altay-catalog-v111__container,
  html body.tax-product_cat .container-narrow,
  html body.post-type-archive-product .container-narrow{
    width:min(1580px,calc(100vw - 56px)) !important;
    max-width:min(1580px,calc(100vw - 56px)) !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
    overflow:visible !important;
  }
  html body.tax-product_cat .altay-catalog-v111__products,
  html body.post-type-archive-product .altay-catalog-v111__products,
  html body .altay-catalog-v111__products{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:visible !important;
  }
  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,
  html body.tax-product_cat .woocommerce ul.products,
  html body.post-type-archive-product .woocommerce ul.products,
  html body.tax-product_cat ul.products,
  html body.post-type-archive-product ul.products{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:24px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
}
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{
  float:none !important;
  clear:none !important;
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  grid-column:auto !important;
  box-sizing:border-box !important;
  transition:none !important;
  transform:none !important;
}
html body li.product .altay-loop-inner,
html body .woocommerce ul.products li.product .altay-loop-inner{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !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(340px, 25vw, 430px) !important;
  aspect-ratio:auto !important;
  min-height:340px !important;
  max-height:430px !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  background:#05080f !important;
  box-sizing:border-box !important;
  transition:none !important;
  transform:none !important;
  contain:layout paint !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 .home-row-section li.product .altay-loop-media,
html body ul.altay-home-products-grid li.product .altay-loop-media{
  height:clamp(360px, 27vw, 440px) !important;
  min-height:360px !important;
  max-height:440px !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:none !important;
  transform:none !important;
}
html body li.product .altay-loop-media .hover{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !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;
}
html body li.product:hover .altay-loop-media img,
html body li.product:hover .altay-loop-media,
html body li.product:hover .altay-loop-inner,
html body li.product:hover{
  transform:none !important;
  transition:none !important;
}
html body li.product .altay-loop-body{
  flex:1 1 auto !important;
  min-height:170px !important;
  height:170px !important;
  max-height:170px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
html body li.product .altay-loop-icons{
  position:absolute !important;
  z-index:20 !important;
  pointer-events:auto !important;
}

/* footer düzeltmeleri korunur */
html body .altay-footer-grid::before,
html body .altay-footer-grid:before,
html body .altay-footer-eyebrow,
html body .altay-footer-brand .altay-footer-eyebrow{
  display:none !important;
  content:none !important;
}
html body .altay-footer-grid{
  border-top:1px solid rgba(255,255,255,.14) !important;
}

@media (max-width:1024px){
  html body .altay-catalog-v111__layout{grid-template-columns:1fr !important;}
  html body .altay-filter-v111{width:100% !important;max-width:100% !important;}
  html body .altay-catalog-v111__products ul.products,
  html body .home-row-section ul.products,
  html body .woocommerce ul.products,
  html body ul.products.altay-home-products-grid,
  html body ul.products.altay-unified-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }
  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 .altay-catalog-v111__products ul.products,
  html body .home-row-section ul.products,
  html body .woocommerce ul.products,
  html body ul.products.altay-home-products-grid,
  html body ul.products.altay-unified-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }
  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:210px !important;
    min-height:210px !important;
    max-height:210px !important;
  }
  html body li.product .altay-loop-body{
    height:150px !important;
    min-height:150px !important;
    max-height:150px !important;
  }
}
