/*
Theme Name: Woventico Butik Teması
Theme URI: https://woventico.com/
Author: Woventico
Description: Utia.kz için geliştirilen gelişmiş butik teması. Woventico altyapısına uygun olarak çok dilli ve modern yapıda tasarlanmıştır.
Version: 1.0
*/
/* === GENEL YAPI === */
body{
    background-color:#fafafa !important;
}
.woocommerce-category-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.category-heading {
  margin-bottom: 25px;
}

.category-heading h1 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.category-heading .product-count {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

/* === GRID YAPISI === */
.category-content-grid {
  display: grid;
  grid-template-columns: 1200px 1fr;
  gap: 30px;
  width:1200px;
}
.cbg{
    background-color:#fff;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
    width:100%;
}
.woocommerce ul.products li.product .button{
    display:none;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before{
    display:none;
}
@media (max-width: 992px) {
  .category-content-grid {
    grid-template-columns: 1fr;
  }
}

/* === SOL FİLTRE PANELİ === */
.sidebar {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

.filter-section {
  margin-bottom: 30px;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #222;
}

.filter-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-colors .color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
  position: relative;
}

.filter-colors .color-circle.active {
  border: 2px solid #000;
}

.filter-section label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.filter-section input[type="checkbox"] {
  margin-right: 8px;
}

/* === ÜRÜN SIRALAMA VE GÖRÜNÜM === */
.top-bars {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.orderby select {
  padding: 6px 10px;
  font-size: 14px;
}

.view-toggle button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.4;
}

.view-toggle button.active {
  opacity: 1;
}

/* === ÜRÜN LİSTESİ === */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.products li.product {
  background: #fff;

  border-radius: 10px;
  padding: 10px;
  position: relative;
  transition: transform 0.2s ease;
}

ul.products li.product:hover {
  transform: scale(1.02);
}

ul.products li .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  color: #111;
}

ul.products li .price {
  font-weight: bold;
  font-size: 15px;
  color: #000;
  margin-top: 5px;
}

ul.products li .price del {
  color: #999;
  margin-right: 6px;
  font-weight: normal;
}

ul.products li .button {
  background: #eee;
  color: #222;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  margin-top: 10px;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}

/* === FAVORİ (KALP) BUTONU === */
.favorite-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 2;
}

.favorite-icon svg {
  width: 20px;
  height: 20px;
  fill: #999;
  transition: fill 0.2s;
}

.favorite-icon.active svg {
  fill: #e63946;
}

/* === MOBİL FİLTRE === */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .filter-toggle-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }

  .sidebar.active {
    display: block;
  }
}
/* Genel form ve kutular */
/* === Sipariş Takibi: Form Alanı === */
.order-tracking-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 2.5rem;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.order-tracking-wrapper h1,
.order-tracking-wrapper h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
}

.order-tracking-wrapper label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

.order-tracking-wrapper input[type="text"],
.order-tracking-wrapper input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.order-tracking-wrapper button[type="submit"] {
    background-color: #1e73be;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.order-tracking-wrapper button:hover {
    background-color: #155fa0;
}

/* === Sipariş Sonucu === */
.order-tracking-result {
    margin-top: 2rem;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.order-tracking-result ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.order-tracking-result li {
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e3e3e3;
    font-size: 1rem;
}

.order-tracking-result li:last-child {
    border-bottom: none;
}

.order-tracking-result h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

/* === Ürün Listesi === */
.order-tracking-products {
    margin-top: 1.5rem;
}

.order-tracking-products li {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* === Uyarılar === */
.order-tracking-wrapper .alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === Responsive === */
@media (max-width: 576px) {
    .order-tracking-wrapper {
        padding: 1.5rem;
    }

    .order-tracking-result {
        padding: 1.5rem;
    }
}
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  padding: 10px 15px;
  margin-bottom: 20px;
  border-left: 4px solid #cc0000;
  background: #f9dcdc;
  color: #cc0000;
}
.woventico-footer {
  background: #222;
  color: #fff;
  font-family: sans-serif;
  padding-top: 40px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px 40px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-social img:hover {
  opacity: 0.7;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #aaa;
}


@media (max-width: 768px) {

  body {
    padding: 0 10px;
    font-size: 15px;
    line-height: 1.6;
  }

  .woocommerce-category-wrapper {
    padding: 20px 10px;
  }

  .category-heading h1 {
    font-size: 24px;
    text-align: center;
  }

  .category-heading .product-count {
    font-size: 13px;
    text-align: center;
  }

  .category-content-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 20px;
  }

  .cbg {
    padding: 15px;
  }

  .top-bars {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .orderby select {
    width: 100%;
  }

  .view-toggle {
    width: 100%;
    text-align: right;
  }

  ul.products {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px;
  }

  ul.products li.product {
    padding: 10px;
  }

  ul.products li .woocommerce-loop-product__title {
    font-size: 14px;
    text-align: center;
  }

  ul.products li .price {
    font-size: 13px;
    text-align: center;
  }

  ul.products li .button {
    font-size: 13px;
    padding: 6px 10px;
    width: 100%;
    text-align: center;
  }

  .favorite-icon {
    top: 6px;
    right: 6px;
    padding: 4px;
  }

  .sidebar {
    display: none;
  }

  .sidebar.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: #fff;
    overflow-y: auto;
    z-index: 100;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  }

  .filter-toggle-btn {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #000;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }

  .order-tracking-wrapper,
  .order-tracking-result {
    padding: 1.5rem;
  }

  .order-tracking-wrapper input[type="text"],
  .order-tracking-wrapper input[type="email"],
  .order-tracking-wrapper button[type="submit"] {
    font-size: 0.95rem;
  }

  .woventico-footer {
    padding: 30px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px 30px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  .footer-col h4 {
    font-size: 15px;
    text-align: center;
  }

  .footer-col ul li {
    text-align: center;
  }

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

  .footer-bottom {
    font-size: 13px;
    padding: 10px 5px;
  }

}
