/* ==========================================================================
   SELVİDOĞAN BOUTIQUE — DENİZ BUTİK EXACT PDP (PRODUCT DETAIL PAGE)
   Birebir SelviDoğan Ürün İçi Tasarımı (media_1790855309117.png)
   ========================================================================== */

body.db-pdp-body {
  background-color: #ffffff !important;
  color: #222222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.db-pdp-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px 80px;
  box-sizing: border-box;
}

/* Breadcrumbs */
.db-pdp-crumbs-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #777777;
  margin-bottom: 16px;
  padding: 4px 0;
}

.db-pdp-crumbs-bar a {
  color: #777777;
  text-decoration: none;
  transition: color 0.12s ease;
}

.db-pdp-crumbs-bar a:hover {
  color: #111111;
  text-decoration: underline;
}

.db-pdp-crumbs-bar .sep {
  color: #cccccc;
  font-size: 11px;
}

.db-pdp-crumbs-bar .curr {
  color: #444444;
  font-weight: 500;
}

/* 2-Column Main Layout: Left Photos + Right Sticky Details */
.db-pdp-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 420px);
  gap: 36px;
  align-items: start;
}

@media (max-width: 960px) {
  .db-pdp-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .db-pdp-container {
    padding: 10px 14px 60px;
  }
}

/* --- Left: 2 Large Side-By-Side Photos Grid --- */
.db-pdp-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

@media (max-width: 768px) {
  .db-pdp-main-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .db-pdp-container {
    padding: 8px 12px 60px !important;
  }
  .db-pdp-gallery-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
    scrollbar-width: none !important;
  }
  .db-pdp-gallery-grid::-webkit-scrollbar {
    display: none !important;
  }
  .db-pdp-photo-card {
    flex: 0 0 86% !important;
    scroll-snap-align: center !important;
    border-radius: 6px !important;
  }
  .db-pdp-right-panel {
    position: static !important;
  }
  .db-pdp-title {
    font-size: 18px !important;
  }
  .db-pdp-price {
    font-size: 22px !important;
  }
}

.db-pdp-photo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #f7f7f7;
}

.db-pdp-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.db-pdp-photo-card:hover img {
  transform: scale(1.03);
}

/* --- Right: Sticky Product Info Panel --- */
.db-pdp-right-panel {
  position: sticky;
  top: 85px;
  width: 100%;
}

.db-pdp-title {
  font-size: 20px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 6px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.db-pdp-sku-line {
  font-size: 12.5px;
  color: #777777;
  margin-bottom: 16px;
}

.db-pdp-sku-line strong {
  color: #444444;
  font-weight: 600;
}

/* Price Row */
.db-pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.db-pdp-price {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.02em;
}

.db-pdp-old-price {
  font-size: 15px;
  color: #999999;
  text-decoration: line-through;
  font-weight: 400;
}

.db-pdp-price-bell {
  background: #f4f4f4;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #777777;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease;
}

.db-pdp-price-bell:hover {
  background: #ebebeb;
  color: #111111;
}

/* Discount Pill Badge */
.db-pdp-disc-badge {
  display: inline-block;
  background: #faece6;
  color: #b54823;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

/* Color Options */
.db-pdp-color-heading {
  font-size: 13px;
  color: #444444;
  font-weight: 600;
  margin-bottom: 8px;
}

.db-pdp-swatches-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.db-pdp-swatch-thumb {
  width: 42px;
  height: 58px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
  position: relative;
}

.db-pdp-swatch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.db-pdp-swatch-thumb:hover {
  border-color: #666666;
}

.db-pdp-swatch-thumb.is-active {
  border: 2px solid #222222;
  box-shadow: 0 0 0 1px #222222;
}

/* Divider Line */
.db-pdp-divider {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 18px 0;
}

/* Size Options */
.db-pdp-size-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.db-pdp-size-title {
  font-size: 13.5px;
  color: #333333;
  font-weight: 600;
}

.db-pdp-size-guide-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: #666666;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.db-pdp-size-guide-btn:hover {
  color: #111111;
}

.db-pdp-sizes-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.db-pdp-size-box {
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d5d5d5;
  background: #ffffff;
  color: #222222;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.12s ease;
  user-select: none;
}

.db-pdp-size-box:hover {
  border-color: #222222;
}

.db-pdp-size-box.is-selected {
  border: 2px solid #222222;
  font-weight: 700;
  background: #ffffff;
}

.db-pdp-size-box.is-out {
  background: #fbfbfb;
  color: #999999;
  border: 1px dashed #d5d5d5;
  cursor: pointer;
  position: relative;
}

.db-pdp-size-box.is-out::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1px;
  background: #aaaaaa;
  transform: rotate(-35deg);
}

.db-pdp-size-bell {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #475569;
  color: #ffffff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Action CTA: Sepete Ekle + Wishlist */
.db-pdp-action-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.db-pdp-btn-add {
  flex: 1;
  height: 48px;
  background: #b54823;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
}

.db-pdp-btn-add:hover {
  background: #9c3b1a;
}

.db-pdp-btn-fav {
  width: 48px;
  height: 48px;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.db-pdp-btn-fav:hover {
  border-color: #222222;
}

.db-pdp-btn-fav.is-favorited {
  color: #e11d48;
}

.db-pdp-btn-fav svg {
  width: 22px;
  height: 22px;
}

.db-pdp-est-delivery {
  font-size: 12px;
  color: #777777;
  margin-top: 10px;
  line-height: 1.4;
}

/* Accordion Info Items Below Fold */
.db-pdp-tabs-wrap {
  margin-top: 48px;
  border-top: 1px solid #eeeeee;
  padding-top: 24px;
}

.db-pdp-tab-item {
  border-bottom: 1px solid #eeeeee;
}

.db-pdp-tab-header {
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  cursor: pointer;
  text-align: left;
}

.db-pdp-tab-chevron {
  font-size: 12px;
  color: #888888;
  transition: transform 0.2s ease;
}

.db-pdp-tab-item.is-open .db-pdp-tab-chevron {
  transform: rotate(180deg);
  color: #111111;
}

.db-pdp-tab-body {
  display: none;
  padding: 0 0 16px 0;
  font-size: 13.5px;
  color: #555555;
  line-height: 1.6;
}

.db-pdp-tab-item.is-open .db-pdp-tab-body {
  display: block;
}

/* ==========================================================================
   BOY & KİLO İLE 5 SANİYEDE BEDENİMİ BUL MİNİ ASİSTANI
   ========================================================================== */
.db-pdp-fit-mini {
  margin: 0 0 16px 0;
  border: 1px solid #eadad2;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffdfb 0%, #fcf6f3 100%);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(154, 52, 18, 0.04);
}

.db-pdp-fit-mini__toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid rgba(234, 218, 210, 0.7);
}

.db-pdp-fit-mini__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7c2d12;
  letter-spacing: -0.01em;
}

.db-pdp-fit-mini__badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.db-pdp-fit-mini__body {
  padding: 10px 12px 12px;
}

.db-pdp-fit-mini.is-collapsed .db-pdp-fit-mini__body {
  display: none;
}

.db-pdp-fit-mini.is-collapsed .db-pdp-fit-mini__toggle {
  border-bottom: none;
}

.db-pdp-fit-mini__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr auto;
  gap: 8px;
  align-items: end;
}

@media (max-width: 480px) {
  .db-pdp-fit-mini__inputs {
    grid-template-columns: 1fr 1fr;
  }
}

.db-pdp-fit-mini__field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.db-pdp-fit-mini__field input,
.db-pdp-fit-mini__field select {
  width: 100%;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #d6d3d1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  color: #1c1917;
  box-sizing: border-box;
  outline: none;
}

.db-pdp-fit-mini__field input:focus,
.db-pdp-fit-mini__field select:focus {
  border-color: #9a3412;
  box-shadow: 0 0 0 2px rgba(154, 52, 18, 0.12);
}

.db-pdp-fit-mini__btn {
  height: 34px;
  padding: 0 12px;
  background: #1c1917;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.db-pdp-fit-mini__btn:hover {
  background: #9a3412;
}

.db-pdp-fit-mini__result {
  margin-top: 9px;
  padding: 8px 10px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.db-pdp-fit-mini__result-text {
  font-size: 12px;
  color: #14532d;
  line-height: 1.4;
}

.db-pdp-fit-mini__applied {
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  background: #15803d;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   KUMAŞ & KALIP KİMLİĞİ TABLOSU (LÜKS TEKNİK ÖZELLİKLER)
   ========================================================================== */
.db-pdp-fabric-card {
  margin-top: 16px;
  border: 1px solid #e7e2da;
  border-radius: 12px;
  background: #fcfbfa;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(28, 25, 23, 0.03);
}

.db-pdp-fabric-card__head {
  padding: 11px 14px;
  background: linear-gradient(90deg, #1c1917 0%, #292524 100%);
  color: #f5f5f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.db-pdp-fabric-card__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fef3c7;
}

.db-pdp-fabric-card__tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #1c1917;
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.db-pdp-fabric-grid {
  display: flex;
  flex-direction: column;
}

.db-pdp-fabric-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 10px;
  padding: 9.5px 14px;
  border-bottom: 1px solid #efeae2;
  font-size: 12.5px;
  line-height: 1.45;
  align-items: baseline;
}

.db-pdp-fabric-row:last-child {
  border-bottom: none;
}

.db-pdp-fabric-lbl {
  font-weight: 700;
  color: #57534e;
  font-size: 12px;
}

.db-pdp-fabric-val {
  color: #1c1917;
  font-weight: 500;
}

/* ==========================================================================
   MOBİL SABİT ALT SATIN ALMA BARI (STICKY ADD-TO-CART + BEDEN SEÇİMİ)
   ========================================================================== */
@media (max-width: 900px) {
  #pdpStickyBuyBar.pdp-sticky-buy-dock {
    display: flex !important;
    position: fixed !important;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1.5px solid #e7e2da !important;
    box-shadow: 0 -6px 22px rgba(15, 23, 42, 0.11) !important;
    padding: 8px 12px !important;
    z-index: 99985 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    transform: translateY(0) !important;
  }

  .pdp-dock-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 5px;
  }

  .pdp-dock-old-price {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
  }

  .pdp-dock-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .pdp-dock-size-select {
    height: 38px !important;
    min-width: 74px !important;
    max-width: 108px !important;
    padding: 0 22px 0 9px !important;
    border: 1.5px solid #1c1917 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    color: #1c1917 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: auto !important;
  }

  #pdpStickyBuyBar .pdp-dock-btn {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
}

