


#mainblockproduct{
  margin-bottom: 3em;
}



/* === Ürün görseli zoom === */
.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.product-media img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.product-media.zoom-active img {
  cursor: zoom-out;
  transform: scale(2); /* Yakınlaştırma oranı */
  transform-origin: var(--zoom-x, center) var(--zoom-y, center);
}


:root{
    --bg: #ffffff;
    --text:#101010;
    --muted:#6b7280;
    --line:#eef0f3;
    --chip:#f5f6f8;
    --accent:#e21c23; /* kırmızı vurgulu tema */
}

/* Sayfa üst boşlukları */
.page{
    padding-block:40px 60px;
}

/* Ürün başlık alanı */
.product-title{
    font-weight:400; 
    letter-spacing:-.02em; line-height:1.1;
    font-size: 2rem;
    margin-bottom:1em;
    color: #101010;

}




#product-questions-title{
  font-weight:400; 
  font-size: 1rem;
  margin-bottom:1em;
  color: #101010;
}

#question-title{
  font-weight:600; 
  font-size: 1rem;
}

.price{
    font-weight:700; margin-bottom:18px;
}

/* Medya (galeri) alanı */
.product-media{
    position:relative; border-radius:18px; overflow:hidden;
    aspect-ratio: 4/3;
    display:flex; align-items:center; justify-content:center;
}
.product-media img{
    width:100%; height:100%; object-fit:contain;
    transition:opacity .25s ease;
}
.media-nav{
    position:absolute; inset:0; display:flex; justify-content:space-between; align-items:center;
    pointer-events:none;
}
.media-btn{
    pointer-events:auto; border:0; background:rgba(255,255,255,.85);
    width:42px; height:42px; border-radius:50%;
    margin:0 10px; display:grid; place-items:center;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    transition:transform .12s ease;
}
.media-btn:hover{ transform:translateY(-1px); }
.media-btn svg{ width:18px; height:18px; }

/* Küçük görseller (thumbnail) */
.thumbs{
    display:grid; grid-template-columns:repeat(6,1fr); gap:10px;
    margin-top:12px;
}
.thumb{
    height:70px; background:#f3f5f8; border:1px solid var(--line);
    border-radius:10px; overflow:hidden; cursor:pointer; position:relative;
}
.thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb.is-active{ outline:2px solid var(--accent); }



.btn-cart{
    background:#f77f00; 
    color:#fff; 
    border:none;
    padding:12px 22px; 
    border-radius:12px; 
    font-weight:700;
    display:inline-flex; 
    align-items:center; 
    gap:10px;
    transition:filter .15s ease, transform .03s ease;
}



.btn-cart:hover{ 
  filter:brightness(0.95);
  background-color: #000;
  color: white;
}



.btn-cart:active{ transform:translateY(1px); }

.meta{
    border-top:1px solid var(--line); margin-top:18px; padding-top:18px; font-size:15px;
}
.meta .label{ color:var(--muted); width:130px; display:inline-block; }
.chip{
    background:var(--chip); border:1px solid var(--line); padding:4px 10px; border-radius:999px; font-size:13px; margin-right:6px;
    display:inline-block;
}

/* Tabs */
.tabs{
    border-top:1px solid var(--line); margin-top:48px;
}
.tab-buttons{
    display:flex; gap:24px; padding-top:18px;
    overflow:auto;
}
.tab-buttons button{
    background:none; 
    border:none; 
    font-weight:600; 
    padding:10px 2px; 
    border-bottom:3px solid transparent;
    color:var(--muted);
    font-size: 2rem;

}


.tab-buttons button.active{ color:var(--text); border-color:var(--accent); }
.tab-panel{ display:none; padding-top:18px; color:#2b2f36; }
.tab-panel.active{ display:block; }


/* Küçük ekran düzeni */
@media (max-width: 991px){
    .thumb{ height:56px; }
}


/* === Modern Quantity Stepper === */
.qty-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qty-container input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
}

.qty-btn {
  background: #111;
  color: white;
  border: none;
  width: 35px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: #333;
}

.qty-btn:active {
  background: #000;
}



/* === Button Group Hover Effect === */
.btn-group .btn-outline-dark {
  border: 1px solid #333;
  transition: all 0.2s ease-in-out;
}

.btn-group .btn-outline-dark:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.btn-group .btn-check:checked + .btn-outline-dark {
  background-color: #000;
  color: #fff;
  border-color: #000;
}




.category-chip {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f77f00;
  border: 1px solid #f77f00;
  border-radius: 20px;
  background-color: transparent;
  transition: all 0.2s ease-in-out;
}

.category-chip:hover {
  background-color: #f77f00;
  color: white;
  text-decoration: none;
}



.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-message {
  min-width: 250px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

.toast-success {
  background: #f77f00;
}

.toast-error {
  background: #dc3545;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100%); }
}



.video-container {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 900px;
  padding: 0 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.video-wrapper img.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.3s ease;
}

.video-wrapper:hover img.video-thumbnail {
  filter: brightness(0.55);
}

.video-wrapper .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.video-wrapper:hover .play-btn {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


.faq-section {
  margin-top: 3rem;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.faq-title {
  font-weight: 700;
  color: #333;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #ff6b00; /* turuncu ana renk */
  box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  cursor: pointer;
}

.faq-question:hover {
  background: #f3f3f3;
}

.faq-icon {
  font-size: 1.3rem;
  color: #ff6b00;
  font-weight: bold;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: #555;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1rem;
}



.body-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  cursor: zoom-out;
}