﻿/* ?r?n g?rselleri ? e?it oran, elit vitrin g?r?n?m? */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600&family=Outfit:wght@400;500;600&display=swap");

.ec-product-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ec-product-inner .ec-pro-image {
  background: #f7f5f3;
  border: 1px solid #eee;
}

.ec-product-inner .ec-pro-image .image {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #f7f5f3;
}

.ec-product-inner .ec-pro-image .image img,
.ec-product-inner .ec-pro-image .image img.main-image,
.ec-product-inner .ec-pro-image .image img.hover-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  box-sizing: border-box;
}

.ec-product-inner .ec-pro-image .image img.hover-image {
  width: 100%;
  height: 100%;
}

.ec-product-inner:hover .ec-pro-image .image img {
  transform: scale(1.03);
}

.ec-product-inner .ec-pro-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.ec-product-inner .ec-pro-content .ec-pro-title {
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ec-product-inner .ec-pro-content .ec-pro-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pop?ler ?r?nler / sidebar k???k g?rseller */
.sidekka_pro_img {
  flex: 0 0 72px !important;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #f7f5f3;
  border-radius: 6px;
  border: 1px solid #eee;
  display: block;
}

.sidekka_pro_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
  max-width: 100%;
  border-radius: 0 !important;
}

.product_page .ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item .sidekka_pro_img,
.ec-product-tab .cat-sidebar .ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item .sidekka_pro_img {
  flex: 0 0 72px !important;
  width: 72px;
  height: 72px;
}

/* ?r?n detay ana g?rsel */
.single-pro-img .example-image,
.single-product-scroll a.popup-gallery img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  background: #f7f5f3;
  padding: 16px;
  box-sizing: border-box;
}

/* G?n?n ?r?nleri */
.ec-spe-pro-image {
  aspect-ratio: 1 / 1;
  background: #f7f5f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-spe-pro-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .ec-product-inner .ec-pro-image .image img,
  .ec-product-inner .ec-pro-image .image img.main-image,
  .ec-product-inner .ec-pro-image .image img.hover-image {
    padding: 10px;
  }

  .sidekka_pro_img,
  .product_page .ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item .sidekka_pro_img,
  .ec-product-tab .cat-sidebar .ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item .sidekka_pro_img {
    flex: 0 0 56px !important;
    width: 56px;
    height: 56px;
  }
}

.ec-sidebar-slider {
  margin-top: 28px !important;
  padding: 20px 16px;
  background: #f7f5f3;
  border: 1px solid #eee;
  border-radius: 4px;
}

.ec-sidebar-slider .ec-sb-slider-title {
  margin-bottom: 16px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: #1a1412 !important;
  text-transform: none !important;
  border-bottom: 1px solid #e8e2dc;
  padding-bottom: 12px;
}

.qk-pop-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  text-decoration: none !important;
  color: #1a1412 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.qk-pop-item:hover {
  border-color: #d9cfc6;
  box-shadow: 0 8px 18px rgba(26, 20, 18, 0.06);
  transform: translateY(-1px);
}

.qk-pop-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 4px;
  background: #f7f5f3;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qk-pop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
}

.qk-pop-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qk-pop-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1412;
}

.qk-pop-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: "Outfit", sans-serif;
}

.qk-pop-price .old {
  font-size: 11px;
  color: #9a9189;
  text-decoration: line-through;
}

.qk-pop-price .new {
  font-size: 14px;
  font-weight: 700;
  color: #7a0f12;
}

.qk-pop-price .out {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9189;
  font-weight: 600;
}

/* Slick oklar? sadele?tir */
.ec-sidebar-slider .slick-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #e8e2dc !important;
}

.product_page .ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item,
.ec-sidebar-slider .ec-sb-pro-sl .ec-sb-pro-sl-item {
  display: block !important;
}

/* Force popular sidebar images visible on all pages */
.shop_page .ec-sidebar-slider .sidekka_pro_img,
.product_page .ec-sidebar-slider .sidekka_pro_img,
.ec-sidebar-slider .sidekka_pro_img.qk-pop-thumb,
.ec-sidebar-slider .qk-pop-row .sidekka_pro_img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  overflow: hidden !important;
  background: #f7f5f3 !important;
  border: 1px solid #eee !important;
  border-radius: 4px !important;
}

.shop_page .ec-sidebar-slider .sidekka_pro_img img,
.product_page .ec-sidebar-slider .sidekka_pro_img img,
.ec-sidebar-slider .qk-pop-row .sidekka_pro_img img,
.ec-sidebar-slider .qk-pop-thumb img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 6px !important;
  box-sizing: border-box !important;
}

.ec-sidebar-slider .qk-pop-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px !important;
  margin-bottom: 8px !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 4px !important;
  overflow: visible !important;
}

.ec-sidebar-slider .qk-pop-row .ec-pro-content,
.ec-sidebar-slider .qk-pop-row .qk-pop-meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.ec-sidebar-slider .qk-pop-row .qk-pop-title,
.ec-sidebar-slider .qk-pop-row .qk-pop-title a {
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1a1412 !important;
  text-decoration: none !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.ec-sidebar-slider .qk-pop-row .qk-pop-price .new,
.ec-sidebar-slider .qk-pop-row .new-price {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #7a0f12 !important;
}

/* —— Sepete Ekle — kurumsal premium —— */
.qk-cart-btn,
button.qk-cart-btn,
.ec-product-inner .qk-cart-btn,
.ec-pro-content .qk-cart-btn,
.ec-product-inner .ec-pro-content button.qk-cart-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 11px 16px !important;
  border: 1px solid #1a1412 !important;
  border-radius: 2px !important;
  background: #1a1412 !important;
  background-image: linear-gradient(180deg, #2a221e 0%, #1a1412 100%) !important;
  color: #f7f2ec !important;
  font-family: "Outfit", sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 16px rgba(26, 20, 18, 0.12) !important;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.qk-cart-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.qk-cart-btn::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM7.2 14h9.45c.75 0 1.4-.41 1.74-1.07l3.3-6.3A1 1 0 0 0 20.8 5H6.21l-.5-2H2v2h2.4l3.55 8.59-.66 1.25A2 2 0 0 0 9 17h11v-2H9.42l.5-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM7.2 14h9.45c.75 0 1.4-.41 1.74-1.07l3.3-6.3A1 1 0 0 0 20.8 5H6.21l-.5-2H2v2h2.4l3.55 8.59-.66 1.25A2 2 0 0 0 9 17h11v-2H9.42l.5-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  order: -1;
  opacity: 0.92;
}

.qk-cart-btn:hover,
.qk-cart-btn:focus {
  background: #7a0f12 !important;
  background-image: linear-gradient(180deg, #9a1a1e 0%, #7a0f12 100%) !important;
  border-color: #7a0f12 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 22px rgba(122, 15, 18, 0.22) !important;
}

.qk-cart-btn:hover::before,
.qk-cart-btn:focus::before {
  transform: translateX(120%);
}

.qk-cart-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset !important;
}

.qk-cart-btn.is-disabled,
.qk-cart-btn:disabled {
  background: #f3f0ec !important;
  background-image: none !important;
  border-color: #ded7d0 !important;
  color: #9a938c !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none;
}

.qk-cart-btn.is-disabled::after,
.qk-cart-btn:disabled::after,
.qk-cart-btn.is-disabled::before,
.qk-cart-btn:disabled::before {
  display: none;
}

.qk-cart-btn-lg {
  width: auto !important;
  min-width: 200px;
  padding: 14px 26px !important;
  letter-spacing: 0.16em !important;
  font-size: 12px !important;
}

.ec-product-inner .ec-pro-content > div:first-child {
  margin-bottom: 12px !important;
}

.ec-product-inner .ec-pro-content form {
  margin: 0;
}

.ec-product-inner .ec-pro-content .qk-cart-btn {
  margin-top: 2px !important;
}
