/*
Theme Name: Aytech Elektromarket
Theme URI: https://www.aytechelektromarket.com
Author: Aytech Teknoloji İnovasyon Ltd. Şti.
Author URI: https://www.aytechteknoloji.com
Description: Ultra-hafif, SEO odaklı WooCommerce teması. APC by Schneider Electric ve Tunçmatik yetkili satıcısı Aytech Elektromarket için özel olarak geliştirilmiştir.
Version: 7.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://www.aytechelektromarket.com
Text Domain: aytech
Domain Path: /languages
Tags: e-commerce, woocommerce, seo, one-column, custom-menu, featured-images

Aytech Elektromarket — Kesintisiz Güç Kaynağı (UPS), Akü, Regülatör,
İnvertör, Güç İstasyonu ve Elektrikli Araç Şarj İstasyonu satışı.
APC by Schneider Electric IT Solution Provider Select Partner.
*/

/* ========================================================================
   1. CSS CUSTOM PROPERTIES — Marka Renk Sistemi
   ======================================================================== */
:root {
  /* Ana Renkler — Logodan türetilmiş */
  --ay-gold: #F5B830;
  --ay-gold-hover: #D49E20;
  --ay-gold-light: #FFF8E6;
  --ay-gold-dark: #5A4200;
  --ay-black: #1A1A20;
  --ay-black-soft: #2C2C34;
  --ay-gray: #4A4A4A;
  --ay-gray-light: #6B6B6B;
  --ay-gray-muted: #9A9A9A;

  /* Arka Plan */
  --ay-bg: #FFFFFF;
  --ay-bg-alt: #F5F5F3;
  --ay-bg-dark: #1A1A20;

  /* Kenarlık */
  --ay-border: #E5E5E3;
  --ay-border-dark: #D0D0CE;

  /* Durum Renkleri */
  --ay-success: #1D9E75;
  --ay-danger: #E24B4A;
  --ay-info: #378ADD;
  --ay-warning: #EF9F27;

  /* Rozetler */
  --ay-same-day: #E24B4A;
  --ay-free-shipping: #1D9E75;

  /* Tipografi */
  --ay-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ay-font-mono: "SF Mono", "Fira Code", monospace;

  /* Ölçüler */
  --ay-container: 1280px;
  --ay-radius: 6px;
  --ay-radius-lg: 10px;
  --ay-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --ay-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --ay-shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --ay-transition: 0.2s ease;

  /* Header yükseklikleri */
  --ay-topbar-h: 38px;
  --ay-header-h: 70px;

  /* Kısa isim aliases — pages.css uyumluluğu için */
  --gold: var(--ay-gold);
  --gold-hover: var(--ay-gold-hover);
  --gold-light: var(--ay-gold-light);
  --gold-dark: var(--ay-gold-dark);
  --black: var(--ay-black);
  --black-soft: var(--ay-black-soft);
  --white: #FFFFFF;
  --gray: var(--ay-gray);
  --gray-light: var(--ay-gray-light);
  --gray-muted: var(--ay-gray-muted);
  --bg: var(--ay-bg);
  --bg-alt: var(--ay-bg-alt);
  --bg-dark: var(--ay-bg-dark);
  --border: var(--ay-border);
  --radius: var(--ay-radius-lg);
  --badge-green: var(--ay-free-shipping);
  --badge-red: var(--ay-same-day);
}

/* ========================================================================
   2. RESET & BASE — Sıfır bloat, maksimum performans
   ======================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ay-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ay-black);
  background-color: var(--ay-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ay-black);
  text-decoration: none;
  transition: color var(--ay-transition);
}

a:hover {
  color: var(--ay-gold-hover);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--ay-black);
}

/* ========================================================================
   3. LAYOUT — Container sistemi
   ======================================================================== */
.ay-container {
  width: 100%;
  max-width: var(--ay-container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================================
   4. STICKY WRAPPER — Tüm üst bar sabit
   ======================================================================== */
.ay-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 100vw;
  overflow-x: clip;
}

/* Tüm içerik sarmalayıcılar taşmasın */
#main-content,
.ay-sticky-wrapper,
footer {
  max-width: 100vw;
  overflow-x: clip;
}

/* ========================================================================
   4b. TOPBAR — Ücretsiz Kargo + İletişim bilgileri
   ======================================================================== */
.ay-topbar {
  background: var(--ay-black);
  color: #CCCCCC;
  font-size: 0.8125rem;
  height: var(--ay-topbar-h);
  display: flex;
  align-items: center;
}

.ay-topbar .ay-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ay-topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ay-topbar__left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ay-topbar__left .ay-highlight {
  color: var(--ay-gold);
  font-weight: 600;
}

.ay-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ay-topbar__right a {
  color: #CCCCCC;
  font-size: 0.8125rem;
}

.ay-topbar__right a:hover {
  color: var(--ay-gold);
}

/* ========================================================================
   5. HEADER — Logo + Arama + Hesap + Sepet
   ======================================================================== */
.ay-header {
  background: var(--ay-bg);
  border-bottom: 1px solid var(--ay-border);
  height: var(--ay-header-h);
  box-shadow: var(--ay-shadow-sm);
}

.ay-header .ay-container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

.ay-header__logo {
  flex-shrink: 0;
}

.ay-header__logo img {
  height: 44px;
  width: auto;
}

/* Arama barı — SEO ve UX için kritik */
.ay-header__search {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.ay-header__search form {
  display: flex;
  border: 2px solid var(--ay-border);
  border-radius: var(--ay-radius);
  overflow: hidden;
  transition: border-color var(--ay-transition);
}

.ay-header__search form:focus-within {
  border-color: var(--ay-gold);
}

.ay-header__search input[type="search"] {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-family: var(--ay-font);
  outline: none;
  background: transparent;
  color: var(--ay-black);
}

.ay-header__search input[type="search"]::placeholder {
  color: var(--ay-gray-muted);
}

.ay-header__search button {
  background: var(--ay-gold);
  border: none;
  padding: 0 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background var(--ay-transition);
}

.ay-header__search button:hover {
  background: var(--ay-gold-hover);
}

.ay-header__search button svg {
  width: 20px;
  height: 20px;
  fill: var(--ay-black);
}

/* Header sağ — Hesap, Favoriler, Sepet */
.ay-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.ay-header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--ay-gray);
  position: relative;
  cursor: pointer;
  transition: color var(--ay-transition);
}

.ay-header__action:hover {
  color: var(--ay-gold-hover);
}

.ay-header__action svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.ay-header__action .ay-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--ay-gold);
  color: var(--ay-black);
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================================
   6. NAVİGASYON — Kategori menüsü (Semantic <nav>)
   ======================================================================== */
.ay-nav {
  background: var(--ay-bg);
  border-bottom: 1px solid var(--ay-border);
}

.ay-nav .ay-container {
  display: flex;
  align-items: center;
}

.ay-nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.ay-nav__item {
  position: relative;
}

.ay-nav__item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ay-black);
  white-space: nowrap;
  transition: color var(--ay-transition), background var(--ay-transition);
}

.ay-nav__item > a:hover,
.ay-nav__item.active > a {
  color: var(--ay-gold-hover);
  background: var(--ay-bg-alt);
}

/* Alt menü (Dropdown) */
.ay-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-radius: 0 0 var(--ay-radius) var(--ay-radius);
  box-shadow: var(--ay-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--ay-transition);
  z-index: 90;
}

.ay-nav__item:hover .ay-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ay-nav__sub a {
  display: block;
  padding: 10px 18px;
  font-size: 0.8125rem;
  color: var(--ay-gray);
  border-bottom: 1px solid var(--ay-border);
}

.ay-nav__sub a:last-child {
  border-bottom: none;
}

.ay-nav__sub a:hover {
  background: var(--ay-bg-alt);
  color: var(--ay-gold-hover);
}

/* ========================================================================
   7. HERO BANNER — Slider + Sidebar layout
   ======================================================================== */
.ay-hero-section {
  padding: 0;
  background: var(--ay-bg-alt);
}

.ay-hero-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  min-height: 400px;
}

.ay-hero {
  position: relative;
  overflow: hidden;
  background: var(--ay-bg-alt);
  border-radius: var(--ay-radius-lg) 0 0 var(--ay-radius-lg);
}

.ay-hero__brands {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 5;
  pointer-events: none;
}

.ay-hero__brands img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

.ay-hero__slides {
  display: flex;
  transition: transform 0.5s ease;
}

.ay-hero__slide {
  min-width: 100%;
  position: relative;
}

.ay-hero__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.ay-hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.ay-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background var(--ay-transition);
}

.ay-hero__dot.active {
  background: var(--ay-gold);
}

/* Oklar */
.ay-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ay-black);
  z-index: 6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--ay-transition), transform var(--ay-transition);
}

.ay-hero__arrow:hover {
  background: var(--ay-gold);
}

.ay-hero__arrow--prev {
  left: 12px;
}

.ay-hero__arrow--next {
  right: 12px;
}

/* Hero Sidebar */
.ay-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-left: none;
  border-radius: 0 var(--ay-radius-lg) var(--ay-radius-lg) 0;
  overflow: hidden;
}

.ay-hero-sidebar__img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ay-hero-sidebar__img-link img {
  display: block;
}

/* ========================================================================
   8. GÜVEN BARI — Trust badges
   ======================================================================== */
.ay-trust {
  background: var(--ay-bg);
  padding: 24px 0;
  border-bottom: 1px solid var(--ay-border);
}

.ay-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ay-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.ay-trust__icon {
  width: 40px;
  height: 40px;
  background: var(--ay-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ay-trust__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ay-gold-dark);
  fill: none;
  stroke-width: 1.5;
}

.ay-trust__text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ay-black);
}

.ay-trust__text span {
  font-size: 0.75rem;
  color: var(--ay-gray-light);
}

/* ========================================================================
   9. KATEGORİ VİTRİNİ — Ana sayfa kategori grid
   ======================================================================== */
.ay-categories {
  padding: 48px 0;
}

.ay-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--ay-black);
  position: relative;
  padding-bottom: 12px;
}

.ay-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--ay-gold);
  border-radius: 2px;
}

.ay-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ay-category-card {
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-radius: var(--ay-radius-lg);
  overflow: hidden;
  transition: transform var(--ay-transition), box-shadow var(--ay-transition);
}

.ay-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ay-shadow-lg);
}

.ay-category-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ay-bg-alt);
}

.ay-category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ay-category-card:hover .ay-category-card__img img {
  transform: scale(1.05);
}

.ay-category-card__body {
  padding: 16px;
}

.ay-category-card__body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.ay-category-card__body span {
  font-size: 0.75rem;
  color: var(--ay-gray-muted);
  margin-top: 4px;
  display: block;
}

/* ========================================================================
   10. ÜRÜN KARTLARI
   ======================================================================== */
.ay-products {
  padding: 48px 0;
  background: var(--ay-bg-alt);
}

.ay-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ay-product-card {
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-radius: var(--ay-radius-lg);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--ay-transition);
}

.ay-product-card:hover {
  box-shadow: var(--ay-shadow-lg);
}

/* Aynı Gün Kargo rozeti — Akakçe uyumlu */
.ay-badge-sameday {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ay-same-day);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  z-index: 2;
  line-height: 1.3;
}

/* Ücretsiz kargo rozeti */
.ay-badge-freeship {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ay-free-shipping);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
  line-height: 1.3;
}

/* İki badge yan yana olduğunda kırpılmasın */
.ay-product-card {
  position: relative;
}

.ay-product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ay-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ay-product-card__img img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ay-product-card:hover .ay-product-card__img img {
  transform: scale(1.08);
}

.ay-product-card__body {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--ay-border);
}

.ay-product-card__brand {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ay-gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.ay-product-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ay-black);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.ay-product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ay-black);
}

.ay-product-card__price del {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ay-gray-muted);
  margin-right: 6px;
}

.ay-product-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.ay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--ay-font);
  border: none;
  border-radius: var(--ay-radius);
  cursor: pointer;
  transition: all var(--ay-transition);
  text-decoration: none;
}

.ay-btn--primary {
  background: var(--ay-gold);
  color: var(--ay-black);
  flex: 1;
}

.ay-btn--primary:hover {
  background: var(--ay-gold-hover);
}

.ay-btn--outline {
  background: transparent;
  border: 1px solid var(--ay-border);
  color: var(--ay-gray);
  padding: 10px 12px;
}

.ay-btn--outline:hover {
  border-color: var(--ay-gold);
  color: var(--ay-gold-hover);
}

/* ========================================================================
   11. BLOG / SEO İÇERİK BÖLÜMÜ
   ======================================================================== */
.ay-blog {
  padding: 48px 0;
}

.ay-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ay-blog-card {
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-radius: var(--ay-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ay-transition);
}

.ay-blog-card:hover {
  box-shadow: var(--ay-shadow);
}

.ay-blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ay-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ay-blog-card__body {
  padding: 18px;
}

.ay-blog-card__body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.ay-blog-card__body p {
  font-size: 0.8125rem;
  color: var(--ay-gray-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ay-blog-card__body .ay-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ay-gold-hover);
}

/* ========================================================================
   12. PAZARYERI GÜVEN BARI
   ======================================================================== */
.ay-marketplace {
  padding: 40px 0;
  background: var(--ay-bg-alt);
  border-top: 1px solid var(--ay-border);
  border-bottom: 1px solid var(--ay-border);
}

.ay-marketplace__title {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--ay-black);
}

.ay-marketplace__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.ay-marketplace__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform var(--ay-transition);
}

.ay-marketplace__item:hover {
  transform: translateY(-2px);
}

.ay-marketplace__item img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 50%;
  filter: none;
  transition: transform var(--ay-transition);
}

.ay-marketplace__item:hover img {
  transform: scale(1.05);
}

.ay-marketplace__item .ay-mp-score {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ay-gold-hover);
}

.ay-marketplace__item .ay-mp-label {
  font-size: 0.6875rem;
  color: var(--ay-gray-muted);
}

/* ========================================================================
   13. FOOTER
   ======================================================================== */
.ay-footer {
  background: var(--ay-black);
  color: #CCCCCC;
  padding: 48px 0 0;
}

.ay-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ay-footer__col h4 {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.ay-footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--ay-gold);
}

.ay-footer__col p,
.ay-footer__col address {
  font-size: 0.8125rem;
  line-height: 1.7;
  font-style: normal;
}

.ay-footer__col ul li {
  margin-bottom: 8px;
}

.ay-footer__col ul li a {
  color: #AAAAAA;
  font-size: 0.8125rem;
  transition: color var(--ay-transition);
}

.ay-footer__col ul li a:hover {
  color: var(--ay-gold);
}

.ay-footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.75rem;
  color: #888888;
}

/* ========================================================================
   14. WHATSAPP FLOATING BUTTON
   ======================================================================== */
.ay-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  z-index: 999;
  transition: transform var(--ay-transition);
}

.ay-whatsapp:hover {
  transform: scale(1.1);
}

.ay-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}

/* ========================================================================
   15. RESPONSIVE — Mobil Uyumluluk
   ======================================================================== */
@media (max-width: 1024px) {
  .ay-products__grid,
  .ay-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ay-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ay-hero-layout {
    grid-template-columns: 1fr 240px;
  }
}

/* ===== MOBİL OVERFLOW DÜZELTMESİ ===== */
/* NOT: html/body'ye overflow:hidden eklenmez — position:fixed'ı bozar */
.ay-container,
.woocommerce,
.woocommerce-page {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ===== */

@media (max-width: 768px) {
  .ay-topbar__left span:not(:first-child) {
    display: none;
  }

  .ay-header .ay-container {
    gap: 12px;
  }

  .ay-header__search {
    max-width: none;
  }

  .ay-products__grid,
  .ay-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ay-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ay-blog__grid {
    grid-template-columns: 1fr;
  }

  .ay-nav__menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ay-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ay-marketplace__grid {
    flex-direction: column;
    gap: 20px;
  }

  /* Hero: sidebar alta düşer */
  .ay-hero-layout {
    grid-template-columns: 1fr;
  }

  .ay-hero {
    border-radius: var(--ay-radius-lg) var(--ay-radius-lg) 0 0;
  }

  .ay-hero-sidebar {
    border-radius: 0 0 var(--ay-radius-lg) var(--ay-radius-lg);
    border-left: 1px solid var(--ay-border);
    border-top: none;
    flex-direction: row;
  }

  .ay-hero-sidebar__badge {
    border-bottom: none;
    border-right: 1px solid var(--ay-border);
    flex: 1;
    padding: 16px;
  }

  .ay-hero-sidebar__reviews {
    flex: 0 0 140px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .ay-products__grid,
  .ay-categories__grid {
    grid-template-columns: 1fr;
  }

  .ay-trust__grid {
    grid-template-columns: 1fr;
  }

  .ay-header__logo img {
    height: 34px;
  }
}

/* ========================================================================
   16. WooCommerce Overrides — Minimum müdahale
   ======================================================================== */
.woocommerce .woocommerce-breadcrumb {
  font-size: 0.8125rem;
  color: var(--ay-gray-muted);
  padding: 12px 0;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--ay-gray-light);
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--ay-gold-hover);
}

.woocommerce .price {
  color: var(--ay-black);
  font-weight: 700;
}

.woocommerce .button,
.woocommerce input[type="submit"] {
  background: var(--ay-gold) !important;
  color: var(--ay-black) !important;
  border: none !important;
  border-radius: var(--ay-radius) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  font-family: var(--ay-font) !important;
  transition: background var(--ay-transition) !important;
}

.woocommerce .button:hover,
.woocommerce input[type="submit"]:hover {
  background: var(--ay-gold-hover) !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
  border: 1px solid var(--ay-border);
  border-radius: var(--ay-radius);
  padding: 8px 12px;
  font-family: var(--ay-font);
}

/* Star rating */
.woocommerce .star-rating span::before {
  color: var(--ay-gold);
}

/* Messages */
.woocommerce-message {
  border-top-color: var(--ay-gold) !important;
}

/* ========================================================================
   17. ACCESSIBILITY
   ======================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--ay-gold);
  outline-offset: 2px;
}

/* Skip navigation */
.ay-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ay-gold);
  color: var(--ay-black);
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
}

.ay-skip-link:focus {
  top: 0;
}

/* ========================================================================
   17. MİNİ SEPET SIDEBAR
   ======================================================================== */
.ay-minicart-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
}

.ay-minicart-overlay.active {
  display: block;
}

.ay-minicart {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: var(--ay-bg);
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  z-index: 100000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ay-minicart-overlay.active .ay-minicart {
  transform: translateX(0);
}

.ay-minicart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ay-border);
}

.ay-minicart__header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.ay-minicart__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ay-gray);
  padding: 0 4px;
}

.ay-minicart__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.ay-minicart__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ay-border);
}

.ay-minicart__img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.ay-minicart__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ay-minicart__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ay-minicart__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ay-black);
  line-height: 1.3;
}

.ay-minicart__qty {
  font-size: 0.75rem;
  color: var(--ay-gray-light);
}

.ay-minicart__remove {
  color: var(--ay-gray-muted);
  font-size: 1.25rem;
  text-decoration: none;
  padding: 4px;
}

.ay-minicart__remove:hover {
  color: #e74c3c;
}

.ay-minicart__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--ay-border);
}

.ay-minicart__total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.ay-minicart__total strong {
  color: var(--ay-gold-hover);
  font-size: 1.125rem;
}

/* ========================================================================
   18. KATEGORİ SAYFA BUTON DÜZENLEMESİ
   ======================================================================== */
.ay-product-card__actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.ay-product-card__actions .ay-btn {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  padding: 8px 10px;
  white-space: nowrap;
}

.ay-btn--buy {
  background: transparent;
  color: var(--ay-gold-hover);
  border: 1.5px solid var(--ay-gold);
  border-radius: var(--ay-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ay-transition);
}

.ay-btn--buy:hover {
  background: var(--ay-gold-light);
  color: var(--ay-black);
}

/* ========================================================================
   19. MOBİL OPTİMİZASYON EKLEMELERİ
   ======================================================================== */
@media (max-width: 768px) {
  /* Hero sidebar mobilde düzgün görünsün */
  .ay-hero-sidebar {
    max-height: 200px;
    border-radius: 0 0 var(--ay-radius-lg) var(--ay-radius-lg);
    border-left: 1px solid var(--ay-border);
    border-top: none;
  }

  .ay-hero-sidebar__img-link img {
    object-fit: cover !important;
    max-height: 200px;
    border-radius: 0 0 var(--ay-radius-lg) var(--ay-radius-lg) !important;
  }

  /* Mini cart tam genişlik */
  .ay-minicart {
    width: 100vw;
  }

  /* Ürün kartı butonlar */
  .ay-product-card__actions {
    flex-direction: column;
    gap: 4px;
  }

  .ay-product-card__actions .ay-btn {
    font-size: 0.75rem;
    padding: 7px 8px;
  }

  /* Sticky wrapper mobilde topbar gizle */
  .ay-topbar {
    font-size: 0.6875rem;
    height: auto;
    padding: 4px 0;
  }
}

@media (max-width: 480px) {
  .ay-hero-sidebar {
    max-height: 160px;
  }
  
  .ay-hero-sidebar__img-link img {
    max-height: 160px;
  }

  .ay-product-card__actions {
    flex-direction: row;
  }

  .ay-product-card__actions .ay-btn {
    font-size: 0.6875rem;
    padding: 6px 6px;
  }
}

/* ========================================================================
   20. WOOCOMMERCE BİLDİRİM STİLLERİ — Tema renk uyumu
   ======================================================================== */
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--ay-gold) !important;
  background: var(--ay-gold-light) !important;
  color: var(--ay-black) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--ay-gold-hover) !important;
}

.woocommerce-message a,
.woocommerce-info a {
  color: var(--ay-gold-dark) !important;
  font-weight: 600;
}

.woocommerce-error {
  border-top-color: var(--ay-same-day) !important;
}

/* WooCommerce kupon alanı */
.woocommerce-form-coupon-toggle .woocommerce-info {
  border-top-color: var(--ay-gold) !important;
  background: var(--ay-bg-alt) !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--ay-gold-hover) !important;
}

/* WooCommerce select/input tema uyumu */
.woocommerce select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce textarea {
  border: 1px solid var(--ay-border) !important;
  border-radius: var(--ay-radius) !important;
  padding: 10px 14px !important;
  font-size: 0.875rem !important;
}

.woocommerce select:focus,
.woocommerce input:focus,
.woocommerce textarea:focus {
  border-color: var(--ay-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px var(--ay-gold-light) !important;
}

/* WooCommerce butonları */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
  background: var(--ay-gold) !important;
  color: var(--ay-black) !important;
  border: none !important;
  border-radius: var(--ay-radius) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  font-size: 0.875rem !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--ay-gold-hover) !important;
}

/* ========================================================================
   21. AJAX ARAMA ÖNERİLERİ
   ======================================================================== */
.ay-search-results {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: var(--ay-bg);
  border: 1px solid var(--ay-border);
  border-radius: var(--ay-radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  max-height: 420px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
}

.ay-search-results.active {
  display: block;
}

.ay-search-results__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--ay-black);
  border-bottom: 1px solid var(--ay-border);
  transition: background var(--ay-transition);
}

.ay-search-results__item:hover {
  background: var(--ay-bg-alt);
}

.ay-search-results__item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ay-search-results__item-info {
  flex: 1;
}

.ay-search-results__item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.ay-search-results__item-price {
  font-size: 0.75rem;
  color: var(--ay-gold-hover);
  font-weight: 700;
}

.ay-search-results__empty {
  padding: 20px;
  text-align: center;
  color: var(--ay-gray-light);
  font-size: 0.8125rem;
}

/* ========================================================================
   22. MOBİL DÜZELTMELER v2
   ======================================================================== */
@media (max-width: 768px) {
  /* Tüm içerik ekrana sığsın */
  body {
    overflow-x: hidden;
  }
  
  .ay-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Hero bölümü mobilde */
  .ay-hero-section {
    padding: 0;
  }

  .ay-hero-layout {
    grid-template-columns: 1fr;
  }

  .ay-hero {
    border-radius: var(--ay-radius-lg);
  }

  /* Yetkili satıcı mobilde gizle */
  .ay-hero-sidebar {
    display: none;
  }

  /* Ürün grid 2 sütun */
  .ay-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Ürün kartı mobilde */
  .ay-product-card__body {
    padding: 8px;
  }

  .ay-product-card__title {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .ay-product-card__price {
    font-size: 0.8125rem;
  }

  .ay-product-card__actions {
    flex-direction: column;
    gap: 4px;
  }

  .ay-product-card__actions .ay-btn {
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  /* Tek ürün sayfası */
  .ay-single-product__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Checkout */
  .ay-checkout__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .ay-footer__grid {
    grid-template-columns: 1fr;
  }

  /* Badge küçült */
  .ay-badge-sameday,
  .ay-badge-freeship {
    font-size: 0.5625rem;
    padding: 2px 5px;
  }

  /* Navigasyon yatay scroll */
  .ay-nav__menu {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .ay-nav__item > a {
    font-size: 0.75rem;
    padding: 8px 10px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .ay-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ay-product-card__img {
    padding: 8px;
  }

  .ay-header__actions span {
    display: none;
  }

  .ay-header__logo img {
    max-width: 120px;
  }
}

/* ========================================================================
   SEPETE EKLENDİ TOAST BİLDİRİMİ
   ======================================================================== */
#ay-cart-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  background: #1a1a1a;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border-left: 4px solid var(--ay-gold);
  max-width: 380px;
  transform: translateX(calc(100% + 40px));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

#ay-cart-toast.ay-toast--show {
  transform: translateX(0);
}

@media (max-width: 480px) {
  #ay-cart-toast {
    top: auto;
    bottom: 80px;
    right: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
    transform: translateY(calc(100% + 20px));
  }
  #ay-cart-toast.ay-toast--show {
    transform: translateY(0);
  }
}

/* ========================================================================
   ARAMA SONUÇLARI — Fotoğrafsız, sadece metin
   ======================================================================== */
.ay-search-results__item {
  gap: 0 !important;
}

.ay-search-results__item img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.ay-search-results__item-info {
  width: 100%;
}

/* ========================================================================
   v8.0 — AJAX SEARCH LITE CSS OVERRIDE
   Eklenti kutusunu marka renkleri ve tasarım diline uyarla
   ======================================================================== */

/* Ana arama kutusu sarmalayıcı */
#wpdreams_ajaxsearchlite,
.wpdreams_asl_container {
  width: 100% !important;
  max-width: 100% !important;
}

/* Input alanı */
.probox .proinput input[type="text"],
.asl_spost .proinput input[type="text"] {
  background: var(--ay-bg-alt, #2A2A35) !important;
  border: 1.5px solid var(--ay-border, #3D3D4F) !important;
  border-radius: var(--ay-radius, 8px) !important;
  color: var(--ay-white, #FFFFFF) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  padding: 10px 44px 10px 14px !important;
  height: 44px !important;
  transition: border-color .2s !important;
}

.probox .proinput input[type="text"]:focus {
  border-color: var(--ay-green, #3DCD58) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(61,205,88,.15) !important;
}

/* Arama butonu */
.probox .prosub,
.asl_spost .prosub {
  background: var(--ay-green, #3DCD58) !important;
  border-radius: 0 var(--ay-radius, 8px) var(--ay-radius, 8px) 0 !important;
  border: none !important;
  color: #fff !important;
}

/* Sonuç listesi */
.asl_w .results {
  background: var(--ay-bg-alt, #2A2A35) !important;
  border: 1.5px solid var(--ay-border, #3D3D4F) !important;
  border-radius: var(--ay-radius, 8px) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.4) !important;
  margin-top: 4px !important;
}

/* Sonuç öğesi */
.asl_w .results .item {
  border-bottom: 1px solid var(--ay-border, #3D3D4F) !important;
  padding: 10px 14px !important;
  transition: background .15s !important;
}

.asl_w .results .item:hover {
  background: rgba(61,205,88,.08) !important;
}

/* Sonuç başlık rengi */
.asl_w .results .item .title {
  color: var(--ay-white, #FFFFFF) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

/* Fiyat rengi */
.asl_w .results .item .price {
  color: var(--ay-green, #3DCD58) !important;
  font-weight: 600 !important;
}

/* Tüm sonuçlar linki */
.asl_w .results .all_items_link a {
  color: var(--ay-green, #3DCD58) !important;
  font-size: 0.8rem !important;
  text-align: center !important;
}

/* ========================================================================
   v8.0 — MOBİL HEADER FIX (max-width: 768px)
   Yatay kaydırma (horizontal scroll) ve taşma sorunları giderildi
   ======================================================================== */

@media (max-width: 768px) {
  /* Taşmayı engelle */
  .ay-sticky-wrapper,
  .ay-header,
  .ay-topbar,
  .ay-nav {
    overflow: hidden;
    max-width: 100vw;
  }

  /* Container sıkıştırma */
  .ay-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Topbar — mobilde küçük font, sıkışık padding */
  .ay-topbar {
    padding: 6px 0 !important;
  }

  .ay-topbar .ay-container {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .ay-topbar__left {
    font-size: 11px !important;
    gap: 8px !important;
    overflow: hidden;
  }

  /* Topbar'ın sağ linkleri mobilde gizle — yer kazanmak için */
  .ay-topbar__right {
    display: none !important;
  }

  /* Header ana satır */
  .ay-header .ay-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 8px 12px !important;
  }

  /* Logo sola */
  .ay-header__logo {
    flex: 1;
    min-width: 0;
  }

  .ay-header__logo img {
    max-width: 140px;
    height: auto;
  }

  /* Aksiyon ikonları — sağa, sadece ikon (metin gizli) */
  .ay-header__actions {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 4px !important;
    flex-shrink: 0;
  }

  /* Favori ikonunu mobilde gizle — yer kazanmak için */
  .ay-header__actions .ay-header__action:nth-child(2) {
    display: none !important;
  }

  /* Aksiyon metinlerini gizle, sadece ikon */
  .ay-header__action span:not(.ay-badge):not(.ay-cart-count) {
    display: none !important;
  }

  /* Arama barı tam genişlik — 2. satıra in */
  .ay-header__search {
    order: 10;
    width: 100% !important;
    flex-basis: 100%;
    margin-top: 8px;
  }

  /* Ajax Search Lite mobil tam genişlik */
  .ay-header__search #wpdreams_ajaxsearchlite,
  .ay-header__search .wpdreams_asl_container,
  .ay-header__search .probox {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .ay-topbar__left span:not(:first-child) {
    display: none;
  }

  .ay-header__logo img {
    max-width: 120px;
  }
}

/* ========================================================================
   v8.0 — HARİTA PLACEHOLDER (page-iletisim.php lazy load)
   ======================================================================== */

.ay-map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--ay-bg-alt, #2A2A35);
  border: 2px dashed var(--ay-border, #3D3D4F);
  border-radius: var(--ay-radius, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.ay-map-placeholder:hover {
  border-color: var(--ay-green, #3DCD58);
  background: rgba(61,205,88,.05);
}

.ay-map-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ay-gray-light, #9999AA);
  user-select: none;
}

.ay-map-placeholder__inner svg {
  color: var(--ay-green, #3DCD58);
}

.ay-map-placeholder__inner span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ay-white, #FFFFFF);
}

.ay-map-placeholder__inner small {
  font-size: 0.75rem;
  color: var(--ay-gray-light, #9999AA);
}

/* ========================================================================
   v8.2 — HERO YÜKSEKLİK DİSİPLİNİ
   False Bottom tuzağını önle — kullanıcı aşağıda içerik olduğunu görsün
   ======================================================================== */

.ay-hero-section {
  padding: 0 !important;
}

.ay-hero-layout {
  max-height: 450px;
  overflow: hidden;
}

.ay-hero {
  max-height: 450px;
  overflow: hidden;
}

.ay-hero__slide {
  display: block;
  height: 450px;
  overflow: hidden;
}

.ay-hero__slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Yetkili satıcı sidebar yüksekliği slider ile eşit */
.ay-hero-sidebar {
  max-height: 450px;
  overflow: hidden;
}

.ay-hero-sidebar__img-link img {
  height: 450px !important;
  object-fit: cover;
}

@media (max-width: 768px) {
  .ay-hero-layout {
    max-height: 250px;
    flex-direction: column;
  }

  .ay-hero,
  .ay-hero__slide {
    height: 250px;
    max-height: 250px;
  }

  .ay-hero__slide img {
    height: 250px;
  }

  /* Mobilde yetkili satıcı sidebar'ı gizle — yer kazanmak için */
  .ay-hero-sidebar {
    display: none;
  }
}

/* ========================================================================
   v8.2 — KATEGORİ PILL BAR
   Masaüstü: zarif yatay grid | Mobil: swipeable carousel
   ======================================================================== */

.ay-categories {
  padding: 28px 0 20px;
  background: var(--ay-bg-alt);
  border-top: 1px solid var(--ay-border);
  border-bottom: 1px solid var(--ay-border);
}

/* ---- Kaydırılabilir bar ---- */
.ay-cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 4px 0;
}

/* ---- Pill ---- */
.ay-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ay-bg);
  border: 1.5px solid var(--ay-border);
  border-radius: 999px;         /* pill shape */
  color: var(--ay-white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .2s, background .2s, transform .15s;
  flex-shrink: 0;
}

.ay-cat-pill:hover {
  border-color: var(--ay-green);
  background: rgba(61, 205, 88, .08);
  transform: translateY(-1px);
  color: var(--ay-green);
}

.ay-cat-pill__icon {
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  color: var(--ay-green);
  flex-shrink: 0;
}

.ay-cat-pill__icon svg {
  width: 20px;
  height: 20px;
}

.ay-cat-pill__name {
  font-weight: 600;
}

.ay-cat-pill__count {
  background: var(--ay-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.6;
}

/* ---- MOBİL: yatay swipe carousel ---- */
@media (max-width: 768px) {
  .ay-cat-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px;
    gap: 8px;
    /* Scrollbar'ı gizle */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .ay-cat-bar::-webkit-scrollbar {
    display: none;
  }

  .ay-cat-pill {
    scroll-snap-align: start;
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .ay-cat-pill__icon {
    width: 18px;
    height: 18px;
  }

  .ay-cat-pill__icon svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================================================
   v8.2 — PAYNET TAKSİT TABLOSU
   Schneider Yeşili + kurumsal tablo stili
   ======================================================================== */

.ay-taksit-wrap {
  padding: 8px 0;
}

.ay-taksit-note {
  font-size: 0.8rem;
  color: var(--ay-gray-light);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(61,205,88,.06);
  border-left: 3px solid var(--ay-green);
  border-radius: 0 var(--ay-radius) var(--ay-radius) 0;
}

.ay-taksit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  border-radius: var(--ay-radius);
  overflow: hidden;
  border: 1px solid var(--ay-border);
}

.ay-taksit-table thead {
  background: var(--ay-green);
  color: #fff;
}

.ay-taksit-table thead th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: .03em;
  text-align: left;
}

.ay-taksit-table tbody tr:nth-child(even) {
  background: var(--ay-bg-alt);
}

.ay-taksit-table tbody tr:hover {
  background: rgba(61,205,88,.06);
}

.ay-taksit-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--ay-border);
  color: var(--ay-white);
  vertical-align: middle;
}

.ay-taksit-table tbody tr:last-child td {
  border-bottom: none;
}

.ay-taksit-free {
  display: inline-block;
  background: var(--ay-green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.ay-taksit-rate {
  display: inline-block;
  background: var(--ay-gold, #E8A820);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.ay-taksit-brands {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ay-gray-light);
}

.ay-taksit-brands img {
  height: 20px;
  filter: brightness(0) invert(.6);
}
