/* General Styles */
body {
  font-family: Arial, sans-serif;
}

/* Top Bar */
.top-bar {
  font-size: 0.85rem;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.top-bar a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: #ec1c22;
}

/* Main Navigation */
.navbar {
  padding: 1rem 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.call-center {
  text-align: right;
  font-size: 2rem !important;
  font-weight: 600;
}

.navbar .form-control {
  min-width: 300px;
  border-radius: 8px 0 0 8px;
  border: 2px solid #eee;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.navbar .form-control:focus {
  border-color: #ec1c22;
  box-shadow: none;
}

.navbar .btn-primary {
  background: #ec1c22;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 0.6rem 1.2rem;
  transition: all 0.3s ease;
}

.navbar .btn-primary:hover {
  background: #d41920;
}

.navbar-text {
  font-size: 0.8rem;
  line-height: 1.3;
  color: #666;
  text-align: right;
}

.navbar-text strong {
  font-size: 1.5rem;
  color: #ec1c22;
  font-weight: 600;
}

.navbar .btn-link {
  color: #333;
  font-size: 1.2rem;
  padding: 0.5rem;
  margin: 0 0.3rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar .btn-link:hover {
  color: #ec1c22;
  background: #f8f9fa;
}

/* Category Navigation */
.nav-category {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 0;
}

.nav-category .nav-link {
  color: #333;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-category .nav-link:hover {
  color: #ec1c22;
}

.nav-category .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ec1c22;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-category .nav-link:hover::after {
  width: 100%;
}

/* Product Card Buttons */
.btn-add-cart {
  background: #ec1c22;
  border: none;
  font-size: 0.8rem;
}

.btn-add-cart:hover {
  background: #d41920;
}

.product-overlay button:hover {
  background: #ec1c22;
}

/* Badge */
.badge.bg-danger {
  background-color: #ec1c22 !important;
}

/* Hero Banner */
.hero-banner {
  margin-bottom: 2rem;
}

.hero-banner .owl-carousel .item img {
  width: 100%;
  height: auto;
}

.hero-banner .owl-carousel .item {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7) !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  color: #333 !important;
}

.hero-banner .owl-prev {
  left: 20px;
}

.hero-banner .owl-next {
  right: 20px;
}

/* Product Card */
.product-card {
  border: none;
  transition: all 0.3s ease;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.product-image img {
  height: 200px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-overlay {
  position: absolute;
  top: 10px;
  right: -50px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.product-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.product-card:hover .product-overlay {
  right: 10px;
}

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

.product-overlay button {
  width: 35px;
  height: 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: white;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #666;
  transition: all 0.3s ease;
}

.product-overlay button:hover {
  background: #ec1c22;
  color: white;
  transform: translateY(-2px);
}

.card-body {
  padding: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  height: 3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #2d3436;
}

.card-title a {
  color: #2d3436;
  text-decoration: none;
}

.card-text {
  font-size: 0.85rem;
  color: #636e72;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2 satırda sınırlandır */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3436;
  display: flex;
  align-items: center;
}

.price::before {
  content: "₺";
  font-size: 0.9rem;
  margin-right: 2px;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #2d3436;
  color: #fff;
}

.footer-top {
  background: #2d3436;
}

.footer-about {
  color: #b2bec3;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #ec1c22;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #b2bec3;
}

.footer-contact li i {
  color: #ec1c22;
  margin-right: 10px;
  margin-top: 5px;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #b2bec3;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  background: #232729;
  font-size: 0.85rem;
  color: #b2bec3;
}

.footer-bottom p {
  margin: 0;
}

.footer-logo img {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .footer-title {
    margin-top: 1.5rem;
  }

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

.call-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  background: #d41920;
  color: white;
  border-radius: 50px;
  padding: 10px 20px 10px 15px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  background: #25d366;
  color: white;
  border-radius: 50px;
  padding: 10px 20px 10px 15px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-right: 10px;
}

.whatsapp-text,
.call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-text span {
  font-weight: 600;
  font-size: 0.95rem;
}

.whatsapp-text small {
  font-size: 0.75rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    padding: 10px;
  }

  .call-button {
    bottom: 20px;
    left: 20px;
    padding: 10px;
  }

  .whatsapp-text,
  .call-text {
    display: none;
  }

  .whatsapp-icon {
    margin: 0;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}

/* Breadcrumb */
.breadcrumb-wrapper {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #ec1c22;
}

.breadcrumb-item i {
  font-size: 0.9rem;
  margin-right: 5px;
}

.breadcrumb-item.active {
  color: #ec1c22;
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.75rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #999;
  font-size: 1rem;
  line-height: 1;
  padding-right: 0.75rem;
}

/* Category Page */
.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3436;
  margin: 0;
}

.category-info {
  color: #666;
}

.filter-card {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.filter-title .btn-link {
  color: #666;
  text-decoration: none;
  padding: 0;
}

.filter-body {
  padding-top: 0.5rem;
}

.category-list {
}

.category-list li {
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease-in-out;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color 0.3s ease-in-out;
}

.category-list a:hover {
  background: #f8f9fa; /* Hafif gri arka plan */
  color: #ec1c22; /* Bootstrap’in birincil rengi */
}

.category-list a::before {
  margin-right: 10px;
  font-size: 16px;
}

.form-check-label {
  font-size: 0.9rem;
  color: #666;
}

.form-check-input:checked {
  background-color: #ec1c22;
  border-color: #ec1c22;
}

.category-tools .form-select {
  width: auto;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 2px solid #eee;
  padding: 0.5rem 2rem 0.5rem 1rem;
}

.category-tools .form-check-label {
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .category-header {
    flex-direction: column;
  }

  .category-tools {
    margin-top: 1rem;
    width: 100%;
  }

  .category-tools .form-select {
    width: 100%;
  }
}

/* Product Detail */
.product-gallery {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-image {
  position: relative;
  background: #f8f9fa;
  border-radius: 8px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: none;
}

.main-image img.active,
.main-image img:first-child {
  display: block;
}

.zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.zoom-icon:hover {
  background: #ec1c22;
  color: white;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  padding: 5px;
  border: 2px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

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

.thumb:hover,
.thumb.active {
  opacity: 1;
  border-color: #ec1c22;
}

.product-info {
  background: white;
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 1.5rem;
}

.product-meta {
  margin-bottom: 1rem;
}

.meta-item {
  display: flex;
  margin-bottom: 0.5rem;
}

.meta-item .label {
  color: #666;
  width: 100px;
}

.meta-item .value {
  font-weight: 500;
  color: #2d3436;
}

.stock-info {
  margin-bottom: 1.5rem;
}

.product-price {
  margin-bottom: 1.5rem;
}

.product-price .price {
  font-size: 2rem;
  font-weight: 700;
  color: #ec1c22;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 2rem;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.btn-quantity {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border: none;
  color: #666;
}

.quantity-input {
  width: 60px;
  border: none;
  text-align: center;
  font-weight: 600;
}

.shipping-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
  border-top: none;
  padding-top: 0;
}

.info-item {
  flex: 1;
  min-width: 180px;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 0;
  text-align: center;
}

.info-item i {
  margin-bottom: 8px;
}

.info-content {
  align-items: center;
}

.info-content strong {
  font-size: 0.9rem;
  color: #2d3436;
  display: block;
}

.info-content span {
  font-size: 0.8rem;
  color: #666;
}

.nav-tabs {
  border: none;
  gap: 10px;
}

.nav-tabs .nav-link {
  border: none;
  background: #f8f9fa;
  color: #666;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 8px;
}

.nav-tabs .nav-link.active {
  background: #ec1c22;
  color: white;
}

.product-description {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-specs table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .product-actions {
    flex-wrap: wrap;
  }

  .quantity-wrapper {
    width: 100%;
  }

  .btn-add-cart,
  .btn-buy-now {
    flex: 1;
  }
}

/* Buy Now Button */
.btn-buy-now {
  width: 100%;
  background: #ec1c22;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-buy-now:hover {
  background: #d41920;
  color: white;
  transform: translateY(-2px);
}

.btn-buy-now i {
  font-size: 1.2rem;
}

/* Image Modal */
.modal-xl {
  max-width: 1200px;
}

#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.9);
}

#imageModal .modal-header,
#imageModal .modal-footer {
  background: transparent;
  padding: 1rem;
}

#imageModal .btn-close {
  color: white;
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}

#imageModal .modal-body {
  height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#modalImage {
  max-height: 100%;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.zoom-controls {
  display: flex;
  gap: 10px;
}

.btn-zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-zoom:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Zoom cursor for main image */
.main-image {
  cursor: zoom-in;
}

/* About Page */
.about-content {
  background: #fff;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  /* position: absolute; */
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: #ec1c22;
  margin: 0 auto;
  display: block;
  margin-top: 10px;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 2rem;
  color: #ec1c22;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.stats-section {
  background: #f8f9fa;
  border-radius: 10px;
  margin: 3rem 0;
}

.stat-item {
  padding: 2rem;
}

.stat-item i {
  font-size: 2.5rem;
  color: #ec1c22;
  margin-bottom: 1rem;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

@media (max-width: 991px) {
  .about-image {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-section {
    margin: 2rem 0;
  }

  .stat-item {
    padding: 1.5rem;
  }
}

/* Page Content */
.page-content {
  background: #f8f9fa;
  min-height: 500px;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.content-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.content-body h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3436;
  margin: 2rem 0 1rem;
}

.content-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3436;
  margin: 1.5rem 0 1rem;
}

.content-body p {
  margin-bottom: 1.2rem;
}

.content-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-body ul li {
  margin-bottom: 0.5rem;
}

.content-body blockquote {
  background: #f8f9fa;
  border-left: 4px solid #ec1c22;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

/* Tags Section */
.tags-section {
}

.tag-item {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.tag-item:hover {
  color: ec1c22;
}

.tag-item:hover span {
  color: rgba(255, 255, 255, 0.8);
}

.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
}
.wp-pagenavi span,
.wp-pagenavi a {
  border: 1px solid #ddd;
  font-size: 13px;
  padding: 8px;
  text-decoration: none;
  color: #000;
  margin-right: 5px;
  margin-bottom: 5px;
}

.wp-pagenavi span.current,
.wp-pagenavi a:hover {
  color: #ec1c22;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.75rem;
  }

  .content-body {
    font-size: 0.95rem;
  }

  .navbar-brand {
    width: 100%;
    text-align: center;
  }

  .call-center {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .navbar-text {
    text-align: center;
  }
}
