/* Türkiye Arıcılık — okunabilirlik ve kart düzeni (içerik değişmez) */

/* 1) Üst yardımcı çubuk: küçük/düşük kontrastlı yazıyı düzelt */
.taks-topbar { background: #0f2d22; }
.taks-topbar-links,
.taks-topbar { font-size: 13.5px !important; letter-spacing: .2px; }
.taks-topbar a,
.taks-topbar-links a { color: #f8f7f1 !important; opacity: .92; text-decoration: none; }
.taks-topbar a:hover,
.taks-topbar-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.taks-topbar-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
@media (max-width: 780px) {
  .taks-topbar-links { gap: 6px 12px; font-size: 12.5px !important; }
}

/* 2) Hero: içerik ile çubuk arasında nefes */
.ta-hero { padding-block: clamp(36px, 6vw, 76px) !important; }
.ta-hero-card { border-radius: 18px; }

/* 3) Ürün kartları: eşit yükseklik, düzenli boşluk, taşma yok */
.woocommerce ul.products,
.products.columns-4 { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px !important; }
.woocommerce ul.products li.product,
.products .product {
  display: flex; flex-direction: column; margin: 0 !important;
  background: #fff; border: 1px solid rgba(23, 59, 45, .10); border-radius: 16px;
  padding: 14px 14px 18px !important; box-shadow: 0 10px 26px -22px rgba(23, 59, 45, .55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.woocommerce ul.products li.product:hover,
.products .product:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(23, 59, 45, .6); }
.products .product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.products .product .woocommerce-loop-product__title { font-size: 15.5px !important; line-height: 1.35; margin: 10px 0 6px !important; }
.products .product .price { margin-top: auto !important; font-weight: 700; }
.products .product .button { width: 100%; text-align: center; border-radius: 999px !important; }
@media (max-width: 1024px) { .products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; } }
@media (max-width: 780px) { .products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; } }
@media (max-width: 420px) { .products.columns-4 { grid-template-columns: 1fr !important; } }

/* 4) Dokunma hedefleri */
@media (max-width: 900px) {
  .ta-hero-actions a, .products .product .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* 5) Tablo/uzun metin taşması */
.entry-content table, .ta-container table { max-width: 100%; display: block; overflow-x: auto; }

/* 6) MOBİL MENÜ HATASI: masaüstü menüsü (.taks-nav) mobilde akışa giriyor,
   header'ın üstünde 229px yer kaplıyordu. Mobilde gizlenir; hamburger (.ta-mdrawer) kullanılır. */
@media (max-width: 990px) {
  .taks-nav,
  .taks-menu { display: none !important; }
  header .ta-mbtn,
  .ta-mbtn { display: inline-flex !important; }
  .ta-mdrawer { display: block; }
  .ta-mdrawer[hidden],
  .ta-mdrawer:not(.is-open) { visibility: hidden; }
  .ta-mdrawer.is-open { visibility: visible; }
}

/* 7) HERO: icerik 831px'de sikisiyordu (1385px alanda 554px bos). Cozum: section'i tek sutuna
   alip esnetmek, grid'i 1240px'e sabitlemek ve basligi olceklmek. */
@media (min-width: 992px) {
  .ta-hero { grid-template-columns: 1fr !important; justify-items: stretch !important;
             min-height: auto !important; padding-block: clamp(44px, 4.4vw, 64px) !important; }
  .ta-hero .ta-container.ta-hero-grid { width: min(1240px, 100%) !important; max-width: 1240px !important;
             margin-inline: auto !important; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr) !important;
             gap: 56px !important; }
  .ta-hero h1 { font-size: clamp(40px, 4.1vw, 60px) !important; line-height: 1.08 !important; }
  .ta-hero-card { align-self: center !important; }
}

/* 8) MAGAZA: sayfa ustundeki 471px'lik dev gorsel urunleri asagi itiyordu. */
.ta-arsiv-hero { max-height: 300px; overflow: hidden; }
.ta-arsiv-hero img { max-height: 300px; width: 100%; object-fit: cover; }

/* 9) Urun kartlari: blok tabanli magaza (wc-block-product) icin kart duzeni ve 4:3 gorsel */
.wc-block-product {
  background: #fff; border: 1px solid rgba(23, 59, 45, .10); border-radius: 16px;
  overflow: hidden; box-shadow: 0 12px 28px -24px rgba(23, 59, 45, .55);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wc-block-product:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(23, 59, 45, .6); }
.wc-block-components-product-image img,
.wc-block-product img.wp-post-image { aspect-ratio: 4 / 3 !important; width: 100% !important; object-fit: cover !important; }
.wc-block-components-product-title a { font-size: 15.5px !important; line-height: 1.35 !important; }
.wc-block-components-product-price { font-weight: 700 !important; }
.wc-block-components-product-button__button { width: 100% !important; border-radius: 999px !important; }
@media (max-width: 780px) {
  .ta-arsiv-hero, .ta-arsiv-hero img { max-height: 190px; }
  .wc-block-components-product-title a { font-size: 14.5px !important; }
}

/* 10) Mobil baslik: logo + Harita + hamburger sikisinca marka 3 satira kiriliyordu. */
@media (max-width: 480px) {
  .ta-brand, .ta-brand a, .ta-brand__title, .ta-site-title, .site-title { font-size: 17px !important; line-height: 1.15 !important; }
  .ta-brand__tagline, .ta-brand .ta-muted, header .ta-tagline, .tagline { display: none !important; }
  .ta-mbtn, .ta-mburger { min-width: 44px; min-height: 44px; }
  .ta-hero h1 { font-size: clamp(32px, 8.6vw, 42px) !important; }
}
