/*
Theme Name: iBid Child
Theme URI: https://ibid.modeltheme.com/
Template: ibid
Author: ModelTheme
Author URI: http://modeltheme.com/
Description: Multi Vendor Auctions WooCommerce Theme
Version: 1.0
Text Domain: ibid
Tags: custom-header, custom-menu, featured-images, post-formats, sticky-post
*/
/* Theme customization starts here
------------------------------------------------------- */

#post-5934
  > div
  > div.wpb-content-wrapper
  > div.vc_row.wpb_row.vc_row-fluid.vc_custom_1746308052656
  > div
  > div
  > div
  > div.woocommerce_categories2
  > div
  > div.category.item.col-md-3
  > div
  > span
  > strong {
  color: white;
}

/* MyAccount sayfasındaki "Merhaba..." yazısını gizle */
.woocommerce-MyAccount-content > p:first-of-type {
  display: none !important;
}

span.optional {
  display: none !important;
}

.ibid-auction-no-reserve {
  display: none;
}

/* ========================================
   SINGLE PRODUCT PAGE - AUCTION FORM
   KOMPLE CSS ÇÖZÜMÜ
   ======================================== */

/* GENEL RESET VE TEMIZLIK */
form.auction_form.cart br,
form.auction_form.cart .clear,
form.auction_form.cart .clearfix,
.wsawl-link a span,
.wsawl-link a .watchlist-text {
  display: none !important;
}

/* ========================================
   MASAÜSTÜ GÖRÜNÜM (769px ve üstü)
   ======================================== */
@media (min-width: 769px) {
  /* Form Container - Yan yana düzen */
  form.auction_form.cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px !important;
    vertical-align: middle !important;
    flex-wrap: nowrap !important;
  }

  /* 1. FIYAT KUTUSU */
  form.auction_form.cart .quantity.buttons_added {
    flex: 0 0 250px !important;
    margin: 0 !important;
    order: 1 !important;
    height: 48px !important;
  }

  /* Fiyat input stili */
  form.auction_form.cart .quantity input.qty.bid {
    height: 44px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    width: 70% !important;
  }

  /* 2. BID BUTONU */
  form.auction_form.cart .bid_button.button.alt {
    flex: 0 0 auto !important;
    min-width: 140px !important;
    margin: 0 !important;
    order: 2 !important;
    height: 48px !important;
    padding: 0 30px !important;
  }

  /* 3. WISHLIST - Form'un hemen sonrasında */
  form.auction_form.cart + p.wsawl-link {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 0 0 15px !important;
  }

  /* Wishlist link düzeni */
  .wsawl-link a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 25px !important;
    height: 48px !important;
    min-width: 50px !important;
  }
}

/* ========================================
   MOBİL GÖRÜNÜM (768px ve altı)
   ======================================== */
@media (max-width: 768px) {
  /* Form Container */
  form.auction_form.cart {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  /* Tüm elemanlar tam genişlik ve boşluk */
  form.auction_form.cart .quantity.buttons_added,
  form.auction_form.cart .bid_button.button.alt {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    height: 55px !important;
  }

  /* Wishlist mobilde */
  form.auction_form.cart + p.wsawl-link {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
  }

  /* Wishlist link mobil */
  .wsawl-link a {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 15px 20px !important;
    height: 55px !important;
  }

  /* Mobilde fiyat input */
  form.auction_form.cart .quantity input.qty.bid {
    height: 100% !important;
    font-size: 20px !important;
    text-align: center !important;
  }
}

/* ========================================
   WISHLIST BUTTON STYLING
   ======================================== */
.wsawl-link a {
  border: 2px solid #2698d4 !important;
  border-radius: 5px !important;
  background: white !important;
  color: #2698d4 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  position: relative !important;
}

/* Kalp ikonu */
.wsawl-link a::before {
  content: "\f08a" !important; /* Boş kalp */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  margin-right: 8px !important;
  transition: all 0.3s ease !important;
}

/* Favorilerim yazısı */
.wsawl-link a::after {
  content: "Favorilerim" !important;
  font-weight: 600 !important;
}

/* HOVER EFEKTİ */
.wsawl-link a:hover {
  background: #2698d4 !important;
  color: white !important;
  border-color: #2698d4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(38, 152, 212, 0.3) !important;
}

/* FAVORİLERE EKLENDİĞİNDE */
.wsawl-link a.added,
.wsawl-link a.remove-wsawl,
.wsawl-link a[data-added="true"] {
  background: #e74c3c !important;
  border-color: #e74c3c !important;
  color: white !important;
}

.wsawl-link a.added::before,
.wsawl-link a.remove-wsawl::before {
  content: "\f004" !important; /* Dolu kalp */
  font-weight: 900 !important;
  color: white !important;
}

.wsawl-link a.added::after,
.wsawl-link a.remove-wsawl::after {
  content: "Favorilerimde" !important;
  color: white !important;
}

/* ========================================
   BID BUTTON ÖZEL STİLİ
   ======================================== */
.bid_button.button.alt {
  background: #2698d4 !important;
  color: white !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 5px !important;
  transition: all 0.3s ease !important;
  text-transform: none !important;
}

.bid_button.button.alt:hover {
  background: #155a94 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(38, 152, 212, 0.3) !important;
}

/* Icon düzeltmesi */
.bid_button.button.alt i {
  margin-right: 8px !important;
}

/* ========================================
   RESPONSIVE FINE TUNING
   ======================================== */
/* Tablet için özel */
@media (min-width: 769px) and (max-width: 1024px) {
  form.auction_form.cart .quantity.buttons_added {
    flex: 0 0 160px !important;
  }

  form.auction_form.cart .bid_button.button.alt {
    min-width: 120px !important;
    font-size: 15px !important;
  }

  .wsawl-link a {
    padding: 10px 20px !important;
    font-size: 15px !important;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  form.auction_form.cart .quantity input.qty.bid {
    font-size: 18px !important;
  }

  .wsawl-link a {
    font-size: 16px !important;
  }
}

/* ========================================
   FOCUS STATES
   ======================================== */
.auction_form button:focus,
.auction_form input:focus,
.wsawl-link a:focus {
  outline: 2px solid #2698d4 !important;
  outline-offset: 2px !important;
}

/* ========================================
   WISHLIST NOTIFICATION (Bonus)
   ======================================== */
.wishlist-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #40a943;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  display: none;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* wishlsit son*/

.view-all-products-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  margin-left: 30px;
}

.view-all-products-btn:hover {
  background-color: #005bb5;
  color: #fff;
}

/** popup stiller */

.contract-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Header Bölümü */
.contract-header {
  background: linear-gradient(135deg, #2698d4, #2589bd);
  color: white;
  padding: 40px 30px;
  text-align: center;
}

.contract-header h1 {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.contract-subtitle {
  color: white;
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Ana İçerik */
.contract-content {
  padding: 40px 30px;
}

.contract-article {
  margin-bottom: 40px;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 30px;
}

.contract-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contract-article h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
  font-weight: 600;
}

.contract-article h3 {
  color: #34495e;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.article-subsection {
  margin-bottom: 20px;
}

.article-subsection:last-child {
  margin-bottom: 0;
}

/* Metin Stilleri */
p {
  margin-bottom: 15px;
  text-align: justify;
  text-justify: inter-word;
}

strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Liste Stilleri */
ul {
  margin: 15px 0;
  padding-left: 25px;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}

ul li::marker {
  color: #3498db;
}

/* Footer */
.contract-footer {
  background-color: #f8f9fa;
  padding: 30px;
  border-top: 1px solid #e9ecef;
}

.footer-info {
  text-align: center;
}

.footer-info p {
  margin-bottom: 8px;
  color: #6c757d;
  font-size: 0.95rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .contract-container {
    margin: 10px;
    border-radius: 0;
  }

  .contract-header {
    padding: 30px 20px;
  }

  .contract-header h1 {
    font-size: 1.5rem;
  }

  .contract-subtitle {
    font-size: 1rem;
  }

  .contract-content {
    padding: 30px 20px;
  }

  .contract-article h2 {
    font-size: 1.2rem;
  }

  .contract-footer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .contract-header {
    padding: 25px 15px;
  }

  .contract-header h1 {
    font-size: 1.3rem;
  }

  .contract-content {
    padding: 25px 15px;
  }

  .contract-article {
    margin-bottom: 30px;
    padding-bottom: 25px;
  }

  ul {
    padding-left: 20px;
  }
}

/* Print Stilleri */
@media print {
  body {
    background: white;
    font-size: 12pt;
  }

  .contract-container {
    box-shadow: none;
    margin: 0;
  }

  .contract-header {
    background: white !important;
    color: black !important;
    border-bottom: 2px solid #000;
  }

  .contract-article {
    page-break-inside: avoid;
  }

  .contract-article h2 {
    color: black !important;
  }
}

/* Tablo Stilleri - Mevcut CSS dosyasına eklenecek */
.table-container {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.data-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
}

.data-table tr:hover {
  background-color: #f8f9fa;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Responsive Tablo */
@media (max-width: 768px) {
  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .table-container {
    margin: 15px -15px;
    border-radius: 0;
  }

  .data-table {
    font-size: 0.8rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
  }
}

.widget_ibid_social_icons a {
  margin-top: 15px;
  font-size: 21px;
}

@media screen and (max-width: 768px) {
  body.woocommerce.single-product .quantity .qty {
    width: 70% !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    overflow: scroll;
    width: 100% !important;
  }
}

html .single.woocommerce div.product form.cart {
  width: 100% !important;
}

form.auction_form.cart .quantity.buttons_added {
  flex: 0 0 250px !important;
}

.woocommerce a.button {
  padding: 15px !important;
}

a.add-wsawl.sa-watchlist-action {
  border: inherit !important;
  color: inherit !important;
  background: inherit !important;
}

.wsawl-link a:hover::before,
.wsawl-link a:hover::after {
  color: #3d3d3d !important;
}

@media only screen and (max-width: 767px) {
  .ibid-breadcrumbs .breadcrumb,
  .modeltheme_skin_switcher {
    display: block !important;
    padding: 25px 0px;
  }
}
