/*
 Theme Name:   Yedek Parca
 Theme URI:    https://yedekparcamarketi.com/
 Description:  Shopper temasi ozel duzenlemeler (child theme)
 Author:       Ergin Otomotiv
 Template:     shopper
 Version:      1.0.0
*/

/* Header gorseli - oran sabitleme, kirpma engelleme */
.site-header {
  background-size: 100% auto !important;
  background-position: center center !important;
  aspect-ratio: 2560 / 674 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* col-full'un header icindeki positioning context'ini iptal et,
   boylece absolute elemanlar site-header'a gore konumlanir */
.site-header .col-full {
  position: static !important;
}

/* Sepet / hesap simgelerini gizle */
.shopper-myacc-cart {
  display: none !important;
}

/* Header gorseli - oran sabitleme, kirpma engelleme */
.site-header {
  background-size: 100% auto !important;
  background-position: center center !important;
  aspect-ratio: 2560 / 674 !important;
  min-height: 0 !important;
  height: auto !important;
  position: relative !important;
}

/* Sepet / hesap simgelerini gizle */
.shopper-myacc-cart {
  display: none !important;
}

/* Site basligini (Ergin Otomotiv | Ford Volkswagen...) gizle */
.site-header .site-branding {
  display: none !important;
}

/* Urun arama kutusunu header gorselinin alt kenarina yerlestir */
.site-header .custom-product-search {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 90% !important;
  max-width: 520px !important;
  margin: 0 !important;
  z-index: 10 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 6px !important;
  padding: 6px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25) !important;
}

/* Force the WooCommerce main shop page container to be full width */
.woocommerce-shop .fb-container, 
.woocommerce-shop .container, 
.post-type-archive-product .grid-container {
    max-width: 100% !important;
    width: 100% !important;
}
/* =========================================
   TAM GENİŞLİK SAYFA ŞABLONU
   Template: Tam Genişlik
   ========================================= */

/* Ana site container'ını kaldır */
body.full-width-template #content > .col-full {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ana içerik alanı */
body.full-width-template #primary.full-width-page {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* İçerik */
body.full-width-template .full-width-page .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Yazı içeriği */
body.full-width-template .full-width-page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Sayfanın kendisindeki olası padding/margin */
body.full-width-template .full-width-page article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WordPress content width sınırını kaldır */
body.full-width-template .full-width-page img,
body.full-width-template .full-width-page iframe,
body.full-width-template .full-width-page video {
    max-width: 100%;
}
/* =========================================
   ÖZEL FOOTER
   ========================================= */

.site-footer .custom-footer-info {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
}

.site-footer .custom-footer-info a.footer-whatsapp {
    font-size: 18px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.site-footer .custom-footer-info a.footer-whatsapp:hover {
    text-decoration: underline !important;
}

.site-footer .footer-separator {
    margin: 0 4px;
}

/* Mobil cihazlarda daha düzgün görünmesi için */
@media (max-width: 768px) {

    .site-footer .custom-footer-info {
        font-size: 20px !important;
        line-height: 1.9 !important;
        padding: 18px 10px !important;
    }

    .site-footer .custom-footer-info a.footer-whatsapp {
        font-size: 20px !important;
    }
}

/* Kategori secim kutusunu (All) gizle - arama her zaman tum urunlerde yapilsin */
.site-header .custom-product-search .nav-left {
  display: none !important;
}

/* Sol ustteki iletisim cubugu (WhatsApp + telefon) */
.topbox-left {
  display: flex;
  align-items: center;
  height: 100%;
}
.topbox-left .contact-info-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
}
.topbox-left .contact-info-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cccccc;
  font-size: 0.875em;
  text-decoration: none;
}
.topbox-left .contact-info-bar a:hover {
  color: #ffffff;
}
.topbox-left .contact-info-bar .fa-whatsapp {
  color: #25D366;
  font-size: 1.3em;
}
.topbox-left .contact-info-bar .fa-headphones {
  color: #ff6600;
  font-size: 1.3em;
}
/* Facebook / Instagram ikonlari */
.topbox-left .contact-info-bar .social-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.topbox-left .contact-info-bar .social-icons a {
  color: #cccccc;
  font-size: 1.1em;
  text-decoration: none;
}
.topbox-left .contact-info-bar .social-icons .fa-facebook:hover {
  color: #1877F2;
}
.topbox-left .contact-info-bar .social-icons .fa-instagram:hover {
  color: #E4405F;
}

.centerimage img {        
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.social-navigation a {
    font-size: 0.9em !important;
}
.page-id-188 .woocommerce-breadcrumb,
.page-id-166 .woocommerce-breadcrumb,
 {
    display: none !important;
}
 /* Header arka planina tiklaninca anasayfaya donen gorunmez link */
.header-bg-home-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
}  
