/* style.css */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.appheader {
    background-color: #0080b4 !important;
}
.businesstitle {
    font-size: 1.20em;
    color: #FFF !important;
}
/* Footer'dan önceki tüm içerik için bir wrapper div oluşturmalısınız */
.page-content {
    flex: 1 0 auto;
}
/* Footer için özel stil */
footer.container-fluid {
    flex-shrink: 0;
    margin-top: auto !important; /* Bootstrap'ın mt-4 sınıfını ezer */
}
.languageselecttitle{
	padding:0.3em;
}
.notranslate {
	display: inline;
}
#language-selector {
	max-width: 120px;
}
.categoryheader {
    padding: 0.6em;
    background: #3eafd4 !important;
    color: #FFF;
    margin: 0;
    display: block;
}
.categorydesc {
    padding: 0.25em 1.75em;
    background: #3eafd4;
    color: #FFF !important;
    margin: 0;
    display: block;
    font-size: 1.25em;
    margin-bottom: 0 !important;
}
.category-card {
   transition: transform 0.3s ease;
   cursor: pointer;
}
.category-card:hover {
   transform: scale(1.05);
}
.card-img-container {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px;
}
.category-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
}
.category-card .card-body {
   display: flex;
   flex-direction: column;
   justify-content: center;
}
.cat_p_title{
  padding-top: 0 !important;
}
.backbutton{
	background:#0080b4!important;
	margin-bottom:0!important;
}
.product-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}
.product-card:hover {
    transform: scale(1.05);
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-price {
    font-weight: bold;
    color: #007bff;
    margin-top: 10px;
}
.backtostart {
    margin-top: 1em!important;
}

/* Ürün detay sayfası stilleri */
.product-detail-image {
    max-height: 350px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
	border-radius: 6px;
}

.product-total-price {
    color: #28a745;
    font-weight: bold;
}

/* Sepet sayfası stilleri */
.cart-item-image img {
    border-radius: 5px;
}

/* Sepet butonu stilleri */
#cart-button-container {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cart-total-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 50px;
}

/* Varyant seçimi için stiller */
.border-danger {
    border: 2px solid #dc3545 !important;
    animation: pulse-danger 1s infinite;
}

@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Mobil görünüm için düzenlemeler */
@media (max-width: 576px) {
    .card-img-container {
        height: 150px;
    }
    
    .product-detail-image {
        max-height: 250px;
    }
    
    #cart-button-container .btn {
        font-size: 1.2em;
        padding: 0.6em !important;
        border-radius: 12px 12px 0 0;
    }
    .cbcinner{
		padding:0!important;
	}
    .cart-total-badge {
        padding: 3px 8px;
    }
}

.actionbuttongroup{
	padding-top:0!important;
	padding-bottom:40px!important
}

/* Sepet sayfası için ek stiller */
.cart-item-image {
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.input-group .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group-sm .btn {
    padding: 0.25rem 0.5rem;
}

.list-group-item {
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Mobil için ek düzenlemeler */
@media (max-width: 576px) {
    .list-group-item .row {
        flex-wrap: wrap;
    }
    
    .list-group-item .col-auto:last-child {
        width: 100%;
        margin-top: 10px;
        flex-direction: row !important;
        justify-content: space-between !important;
    }
    
    .list-group-item .col-auto:last-child .btn {
        margin-bottom: 0 !important;
    }
}

/* Adet seçimi için stil */
.input-group .form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.input-group .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
}

.input-group .btn:focus {
  box-shadow: none;
}

#product-quantity {
  text-align: center;
  font-weight: bold;
}

@media (max-width: 576px) {
  .input-group {
    max-width: 120px;
  }
}

.homecontainer{
	padding-bottom:90px!important;
}

.page-transition {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgb(255 255 255 / 90%);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 1;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    .page-transition.active {
      opacity: 1;
      pointer-events: all;
    }

/* HTML: <div class="loader"></div> */
.loader {
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #E3AAD6;
  transform-origin: top;
  display: grid;
  animation: l3-0 1s infinite linear;
}
.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  background:#F4DD51;
  border-radius: 50%;
  transform-origin: top;
  animation: inherit;
  animation-name: l3-1;
}
.loader::after {
  background: #F10C49;
  --s:180deg;
}
@keyframes l3-0 {
  0%,20% {transform: rotate(0)}
  100%   {transform: rotate(360deg)}
}
@keyframes l3-1 {
  50% {transform: rotate(var(--s,90deg))}
  100% {transform: rotate(0)}
}
      
      