html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
}

main {
  flex: 1;
}


.product-card {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.quantity-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.quantity-input {
  width: 60px;
  /* Daha geniş bir giriş alanı */
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 35px;
  /* Yüksekliği artır */
  font-size: 16px;
  /* Yazıyı büyüt */
}


/* .btn {
  padding: 5px 10px;
  font-size: 14px;
} */

body {
  background-color: #f8f9fa;
}

.card {
  border-radius: 2rem;
  transition: transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
}

.product-img {
  transition: transform 0.3s ease;
}

.product-img:hover {
  transform: scale(1.05);
}

.btn {
  border-radius: 0.6rem;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: #0056b3;
  border: none;
}

.btn-primary:hover {
  background-color: #00408d;
}

.btn-outline-primary:hover {
  background-color: #e2e6ea;
}

.quantity-box input {
  border-radius: 0 !important;
}

.carousel-caption h5,
.carousel-caption p {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


/* 2️⃣ Sayısal input içindeki yukarı/aşağı okları kaldır */
/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  text-align: center;
}

/* video css */
.video-box {
  max-height: 400px;
  /* veya 300px de olabilir */
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.hover-zoom:hover {
  transform: scale(1.03);
  transition: 0.3s ease;
}

.transition-all {
  transition: all 0.3s ease-in-out;
}

@media (max-width: 576px) {
  .slider-title {
    font-size: 0.75rem;
    /* başlık daha küçük */
  }

  .slider-text {
    font-size: 0.5rem;
    /* açıklama daha küçük */
  }

  .carousel-caption {
    padding: 0.5rem !important;
    /* daha az padding */
  }
}


/* product details */
.main-product-image,
.extra-product-image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.extra-product-image {
  cursor: pointer;
  transition: transform 0.3s;
}

.extra-product-image:hover {
  transform: scale(1.05);
}

.product-info {
  top: 100px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/*  Arka plan transparan (simsiyah değil) */
.lg-backdrop {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

/*  Alt yazı/isim tamamen kaldırıldı */
.lg-sub-html {
  display: none !important;
}

/*  Thumbnail görünümü sade */
.lg-thumb-outer {
  padding: 10px 0;
}

/*  Thumbnail içi metinsiz olsun */
.lg-thumb-item .lg-thumb-caption {
  display: none !important;
}

.color-btn.selected {
  border: 3px solid black !important;
}