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 {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/*Özel CSS*/
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    }

.card-img-top {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.accordion-button {
    background-color: #f8f9fa !important;
    color: #333 !important;
}

    .accordion-button:not(.collapsed) {
        background-color: #e9ecef !important;
        color: #000 !important;
    }

@media (max-width: 768px) {
    .card-body {
        padding: 1rem !important;
    }

    .card-img-top {
        height: 150px !important;
    }
}


/* Select2 Bootstrap 5 Uyumu İçin Manuel Düzeltmeler */
.select2-container .select2-selection--single {
    height: 31px !important; /* form-select-sm boyutu */
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 29px !important;
    padding-left: 0.75rem;
    color: #495057;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

/* Modal içinde Select2'nin z-index sorunu yaşamaması için */
.select2-container {
    z-index: 9999;
}