/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES (Makam Brand System)
   ========================================================================== */

.product-detail-page {
  background-color: #F8FAFC;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Breadcrumb Navigation */
.product-breadcrumb-wrap {
  background-color: transparent;
  padding: 24px 0 16px 0;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748B;
}

.product-breadcrumb a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-breadcrumb a:hover {
  color: #DF0513;
}

.product-breadcrumb .bc-sep {
  color: #CBD5E1;
  font-size: 12px;
  user-select: none;
}

.product-breadcrumb .bc-current {
  color: #0F172A;
  font-weight: 700;
}

/* Main Product Showcase Section */
.product-showcase-section {
  padding-bottom: 48px;
}

.product-detail-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Left Column: Gallery Media */
.product-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-main-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-stock-banner {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.product-stock-banner.out-of-stock {
  background-color: #0F172A;
  color: #FFFFFF;
}

.product-gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-thumb-btn {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  border: 2px solid transparent;
  background-color: #F8FAFC;
  padding: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.gallery-thumb-btn:hover {
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.gallery-thumb-btn.active {
  border-color: #DF0513;
  box-shadow: 0 0 0 3px rgba(223, 5, 19, 0.12);
}

/* Right Column: Info & Actions */
.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-category-link {
  display: inline-block;
  color: #DF0513;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

.product-category-link:hover {
  color: #B70410;
}

.product-title-heading {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

.product-price-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.product-price-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
}

.product-price-value {
  font-size: 34px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.product-desc-section {
  margin-top: 22px;
  margin-bottom: 22px;
}

.product-desc-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-desc-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* Features Panel */
.product-features-panel {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 26px;
}

.features-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0F172A;
  margin-bottom: 12px;
}

.features-panel-header svg {
  width: 18px;
  height: 18px;
  color: #DF0513;
}

.features-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.45;
}

.features-checklist li svg {
  width: 17px;
  height: 17px;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Purchase Actions Row */
.product-actions-group {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.product-qty-selector {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  height: 52px;
  padding: 0 4px;
  user-select: none;
}

.qty-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #334155;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background-color: #F1F5F9;
  color: #0F172A;
}

.qty-number {
  width: 44px;
  border: none;
  background: none;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  pointer-events: none;
}

.product-cart-submit-btn {
  flex: 1;
  height: 52px;
  background: linear-gradient(135deg, #DF0513 0%, #B70410 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(223, 5, 19, 0.28);
  transition: all 0.2s ease;
}

.product-cart-submit-btn svg {
  width: 20px;
  height: 20px;
}

.product-cart-submit-btn:hover {
  background: linear-gradient(135deg, #EF1C2A 0%, #DF0513 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(223, 5, 19, 0.38);
}

.product-cart-submit-btn.is-disabled {
  background: #CBD5E1;
  color: #64748B;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}



/* Trust Strip */
.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #F1F5F9;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

.trust-badge-item svg {
  width: 20px;
  height: 20px;
  color: #DF0513;
}

/* ==========================================================================
   SIMILAR PRODUCTS SECTION (BENZER ÜRÜNLER)
   ========================================================================== */

.similar-products-section {
  padding-top: 16px;
  padding-bottom: 24px;
}

.similar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.similar-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.similar-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.similar-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.similar-all-link:hover {
  color: #DF0513;
}

.similar-all-link:hover svg {
  transform: translateX(2px);
}

.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.similar-product-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.similar-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

.similar-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.similar-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  display: block;
}

.similar-card-badge-out {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.similar-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.similar-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.similar-card-desc {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.similar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.similar-card-price {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
}

.similar-card-btn {
  background-color: #F1F5F9;
  color: #0F172A;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.similar-card-btn:hover {
  background-color: #DF0513;
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .similar-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-detail-card {
    padding: 24px 20px 28px;
    border-radius: 16px;
  }

  .product-title-heading {
    font-size: 24px;
  }

  .product-price-value {
    font-size: 28px;
  }

  .product-actions-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
  }

  .product-qty-selector {
    flex: 0 0 114px;
    width: 114px;
    height: 52px;
    justify-content: space-between;
    padding: 0 4px;
  }

  .product-cart-submit-btn {
    flex: 1;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    padding: 0 16px;
    font-size: 15px;
    border-radius: 12px;
  }

  .similar-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-detail-card {
    padding: 20px 16px 28px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .product-title-heading {
    font-size: 20px;
    line-height: 1.25;
  }

  .product-price-value {
    font-size: 24px;
  }

  .gallery-thumb-btn {
    width: 56px;
    height: 56px;
    border-radius: 8px;
  }

  .product-actions-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
  }

  .product-qty-selector {
    flex: 0 0 102px;
    width: 102px;
    height: 48px;
    padding: 0 2px;
  }

  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .qty-number {
    width: 30px;
    font-size: 15px;
  }

  .product-cart-submit-btn {
    flex: 1;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
    gap: 8px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .product-cart-submit-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .product-trust-strip {
    gap: 8px;
    padding-top: 14px;
  }

  .trust-badge-item {
    font-size: 11px;
    gap: 4px;
  }

  .trust-badge-item svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .product-actions-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .product-qty-selector {
    width: 100%;
    flex: none;
    height: 46px;
    justify-content: center;
  }

  .product-cart-submit-btn {
    width: 100%;
    height: 48px;
  }
}
