/* ALTAY P28 KONTROLLÜ FONT + 3'LÜ GRID FİNAL
   Sadece font, ürün gridleri ve footer çizgisi için en son katman. */
: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;
  --altay-live-font: Arial, Helvetica, sans-serif !important;
}
html,
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 a,
html body label,
html body small,
html body strong,
html body span,
html body p,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6{
  font-family:Arial, Helvetica, sans-serif !important;
  font-synthesis:none !important;
}
html body h1,
html body h2,
html body h3,
html body h4,
html body .section-head h2,
html body .page-title,
html body .woocommerce-products-header__title,
html body .altay-loop-title,
html body .altay-loop-cat,
html body .altay-loop-price,
html body .price,
html body .altay-footer-grid h3,
html body .altay-footer-grid h4{
  font-family:Arial, Helvetica, sans-serif !important;
  letter-spacing:-.025em !important;
  word-spacing:normal !important;
  text-rendering:auto !important;
}
html body .altay-loop-cat{
  letter-spacing:.16em !important;
}

/* MENÜ / KATEGORİ SAYFASI: WEBDE 3'LÜ GRID SABİT */
@media (min-width:1025px){
  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:260px minmax(0,1fr) !important;
    gap:26px !important;
    align-items:start !important;
  }
  html body.tax-product_cat .altay-filter-v111,
  html body.post-type-archive-product .altay-filter-v111,
  html body .altay-filter-v111{
    width:260px !important;
    max-width:260px !important;
    min-width:0 !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:none !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 .altay-catalog-v111__products ul.products,
  html body.tax-product_cat ul.products.columns-2,
  html body.tax-product_cat ul.products.columns-3,
  html body.tax-product_cat ul.products.columns-4,
  html body.post-type-archive-product ul.products.columns-2,
  html body.post-type-archive-product ul.products.columns-3,
  html body.post-type-archive-product ul.products.columns-4{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-auto-flow:row !important;
    gap:26px !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    float:none !important;
    clear:none !important;
    transform:none !important;
  }
  html body.tax-product_cat .altay-catalog-v111__products ul.products > li.product,
  html body.post-type-archive-product .altay-catalog-v111__products ul.products > li.product,
  html body .altay-catalog-v111__products ul.products > li.product,
  html body.tax-product_cat ul.products > li.product,
  html body.post-type-archive-product ul.products > li.product{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    clear:none !important;
    margin:0 !important;
    grid-column:auto !important;
  }
}

/* ANA SAYFA ÜRÜN KARTLARI: WEBDE 3'LÜ, GÖRSEL KESİLMEZ */
@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{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:28px !important;
    align-items:start !important;
  }
  html body .home-row-section ul.products > li.product,
  html body ul.products.altay-home-products-grid > li.product,
  html body ul.products.altay-unified-products-grid > li.product,
  html body .woocommerce ul.products > li.product{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    margin:0 !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{
  width:100% !important;
  aspect-ratio:3/4 !important;
  height:auto !important;
  min-height:0 !important;
  background:#f3f5f7 !important;
  overflow:hidden !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{
  display:block !important;
  width:100% !important;
  height:100% !important;
  overflow: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;
  max-width:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#f3f5f7 !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}

/* FOOTER: resmi mağaza yazısı ve bozuk çizgi kesin kapalı */
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;
  opacity:0 !important;
  visibility:hidden !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  background:none !important;
}
html body .altay-footer-grid{
  border-top:1px solid rgba(255,255,255,.14) !important;
  padding-top:46px !important;
  position:relative !important;
}
html body .altay-footer-grid::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:-1px !important;
  height:1px !important;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.25),rgba(255,255,255,0)) !important;
  pointer-events:none !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{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !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;
  }
}
