    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.8);
    }
    .modal-content {
      margin: 5% auto;
      display: block;
      max-width: 90%;
    }
    .modal-content img {
      width: 100%;
      border-radius: 6px;
    }
    .modal-close {
      position: absolute;
      top: 15px;
      right: 20px;
      color: white;
      font-size: 30px;
      font-weight: bold;
      cursor: pointer;
    }
	
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  z-index: 1001;
  border-radius: 4px;
}

.modal-arrow.left {
  left: 10px;
}

.modal-arrow.right {
  right: 10px;
}

.modal-arrow:hover {
  background: rgba(255,255,255,0.4);
}


  * {
    box-sizing: border-box;
  }

body { font-family: sans-serif; margin: 0; padding: 0; background: #fff; }

  header {
    //display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #ccc;
  }

  .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
    text-align: center;
  }

  .product-detail {
    padding: 15px;
	margin-top:-25px;
	//margin-bottom:-25px;
  }

  .product-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
  }




  .product-images img{
	border-radius: 4px;
	border: 1px solid #ccc;
  }
  
  .product-images {
	  margin-left:-2px;
    display: flex;
    gap: 2px;
	border-radius: 4px;
  }

  .main-image {
    flex: 1;
  }

  .main-image img {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .thumbnails {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .thumbnails img {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
  }

  .color-section {
    margin-top: 10px;
  }

  .color-option {
    margin-bottom: 20px;
  }

  .footer {
    background: #f1f1f1;
    text-align: center;
    padding: 20px 10px;
    font-size: 13px;
    border-top: 1px solid #ccc;
  }
  

  
  





.price-box {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
  }

  .price {
    font-size: 22px;
    font-weight: bold;
    color: #000;
  }

  .discount-tag {
    background: #c80000;
    color: white;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
  }
 .color-code-box {
    border: 1px solid #ddd;
    padding: 12px;
    margin: 20px 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    background-color: #fefefe;
  }
  .product-code {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
  }





.price-box {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
  }

  .price {
    font-size: 22px;
    font-weight: bold;
    color: #000;
  }

  .discount-tag {
    background: #c80000;
    color: white;
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
  }

  .color-code-box {
    border: 1px solid #ddd;
    padding: 12px;
    margin: 20px 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    background-color: #fefefe;
  }


  .product-code {
    font-size: 14px;
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
  }
  
  


 .product-meta {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin: 20px 0 40px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    text-align: center;
    width: 100%;
    position: relative;
  }

.swatch-hint {
  position: absolute;
  bottom: -15px;
  left: 32%;
   background: #f55582;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 99;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.swatch-hint::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 45%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #333;
  border-color: transparent transparent rgba(245, 85, 30, 0.85) transparent;
}



  
  

  .color-swatches {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background-size: 250%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f3f3f3;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
  }

  .size-price-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: -20px 0px 0px 0px;
    flex-wrap: wrap;
  }

  .size-card {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background-color: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .size-card span {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
  }

  
  
  .code-color-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 10px 0;
    flex-wrap: wrap;
  }
  .code-card {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background-color: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .code-card span {
    display: block;
    margin-top: 5px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
  }


  .product-description {
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 30px 0;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    font-size: 14px;
    line-height: 1.6;
  }

  .product-description h2 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
  }

.favorite-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50; /* Başlangıçta yeşil */
  color: white;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  z-index: 9999;
}

.favorite-toast.show {
  opacity: 1;
  pointer-events: auto;
}

.favorite-toast.removed {
  background-color: #e53935; /* Kırmızı arka plan */
}
  .fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    border-top: 1px solid #ccc;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    z-index: 100;
  }

  .fixed-footer .price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
  }

  .fixed-footer .favorite-btn {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
  }

  .fixed-footer .favorite-btn:hover {
    background-color: #c2185b;
  }

  body {
    padding-bottom: 60px; /* Alt sabit bar kadar boşluk bırak */
  }
  
  
.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.modal-content {
  position: relative;
  margin: 50px auto;
  max-width: 90%;
  text-align: center;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }


.split-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-code {
  flex: 1;
  font-weight: bold;
  font-size: 14px;
  color: #444;
}

.right-fav {
  flex-shrink: 0;
}


.split-box {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin: 20px 0;
  width: 100%;
  background: #fefefe;
}

.code-left {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border-right: 1px solid #e0e0e0;
}

.code-right {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.fav-btn {
  color: #777;
  font-size: 20px;
  padding: 6px;
  cursor: pointer;
  transition: color 0.3s;
}



.fav-btn.active {
  color: #e74c3c; /* örneğin koyu kırmızı */
    transform: scale(1.2);
  transition: transform 0.2s ease, color 0.3s ease;
}
.fav-btn.active {

}