/* shop-pdp.css — split from style.full.css */
/* ================================================
   PRODUCT DETAIL PAGE
   ================================================ */

/* Renk soft-nav: içerik değişirken hafif feedback, scroll sabit kalır */
#pdpSoftRoot.is-soft-swapping {
  pointer-events: none;
  opacity: 0.78;
  transition: opacity 0.12s ease;
}

.product-detail {
  padding: 120px 0 80px;
  margin-top: var(--header-stack-h);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap; /* kritik */
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb-sep svg {
  width: 14px;
  height: 14px;
}

/* Detail Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Gallery */
.detail-gallery {
  position: sticky;
  top: 120px;
  width: 100%;
  box-sizing: border-box;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 16px;
  aspect-ratio: 4/5;
  height: min(62vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  background: #fff;
  cursor: zoom-in;
}

.gallery-main__zoom-hint {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease);
}

.gallery-nav:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.gallery-nav.prev {
  left: 16px;
}
.gallery-nav.next {
  right: 16px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
}

.thumbs-viewport {
  overflow: hidden;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.thumbs-track {
  display: flex;
  gap: 12px;
  padding: 2px 0;
}

.thumbs-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.thumbs-nav:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.thumb-btn {
  width: 80px;
  height: 100px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.thumb-btn:hover {
  border-color: var(--text-muted);
}

.thumb-btn.active {
  border-color: var(--text-primary);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .thumb-btn {
    width: 64px;
    height: 80px;
  }
  .gallery-thumbs {
    grid-template-columns: 36px 1fr 36px;
    gap: 8px;
  }
  .thumbs-nav {
    width: 36px;
    height: 36px;
  }
}

/* Lightbox — tıklayınca büyüt + sağ/sol */
.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 14, 0.94);
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  touch-action: none;
}

.pdp-lightbox.is-open {
  display: flex;
}

.pdp-lightbox__img {
  max-width: min(96vw, 1100px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-lightbox__close,
.pdp-lightbox__prev,
.pdp-lightbox__next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.pdp-lightbox__close:hover,
.pdp-lightbox__prev:hover,
.pdp-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.pdp-lightbox__close {
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 2;
}

.pdp-lightbox__prev,
.pdp-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  z-index: 2;
}

.pdp-lightbox__prev {
  left: max(8px, env(safe-area-inset-left, 0px));
}

.pdp-lightbox__next {
  right: max(8px, env(safe-area-inset-right, 0px));
}

.pdp-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 2;
}

body.pdp-lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .pdp-lightbox__img {
    max-width: 100vw;
    max-height: 82vh;
  }

  .pdp-lightbox__prev,
  .pdp-lightbox__next {
    width: 42px;
    height: 42px;
  }
}

/* Detail Info */
.detail-info h1 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  padding: 8px 16px;
  background: var(--bg-secondary);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-price .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
}

.detail-price .price-old {
  font-size: 1.125rem;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(74, 124, 89, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--success);
  margin-bottom: 32px;
}

.stock-status.out {
  background: rgba(184, 84, 80, 0.1);
  color: var(--error);
}

.stock-status svg {
  width: 18px;
  height: 18px;
}

.buy-button {
  width: 100%;
  padding: 18px 32px;
  font-size: 1rem;
  margin-bottom: 32px;
}

.size-section h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-variants {
  margin: 10px 0 2px;
}

.pdp-attrlist {
  margin: 0 0 28px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  width: 100%;
}

.pdp-attrlist__title {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--text-primary);
}

.pdp-attrlist__dl {
  margin: 0;
  border-top: 1px solid var(--border);
  width: 100%;
}

.pdp-attrlist__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 10px 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}

.pdp-attrlist__row--prose {
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
}

.pdp-attrlist__row:first-child {
  border-top: none;
}

.pdp-attrlist__k {
  margin: 0;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.pdp-attrlist__v {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.65;
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
}

.pdp-attrlist__row--prose .pdp-attrlist__v {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (min-width: 900px) {
  .pdp-attrlist__row {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .pdp-attrlist__row--prose {
    grid-template-columns: 280px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .pdp-attrlist__row,
  .pdp-attrlist__row--prose {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.size-chip {
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.size-chip.is-selected {
  border-color: rgba(30, 16, 78, 0.28);
  background: rgba(30, 16, 78, 0.08);
  color: var(--brand);
  font-weight: 700;
}

.size-chip--out {
  color: var(--text-muted);
  background: color-mix(in srgb, var(--bg-secondary) 88%, #bfc4cc 12%);
  border-color: color-mix(in srgb, var(--border-light) 75%, #bfc4cc 25%);
  opacity: 0.82;
  overflow: hidden;
}

.size-chip--out::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 145%;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(148, 155, 165, 0.75) 12%,
    rgba(148, 155, 165, 0.75) 88%,
    transparent 100%
  );
  transform: translateY(-50%) rotate(142deg);
  transform-origin: center;
  pointer-events: none;
}

/* Description Panel */
.description-panel {
  margin-top: 56px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.description-panel::before {
  display: none;
}

.description-panel__title {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
  padding: 0;
  border: none;
  line-height: 1.3;
}

.description-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 14px;
  padding-bottom: 0;
  border: none;
  line-height: 1.35;
}

.description-panel h3:not(.description-panel__title) {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text-primary);
  border: none;
  padding: 0;
}

.description-panel h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-primary);
}

.description-panel p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 1em;
  max-width: none;
}

.description-panel p:last-child {
  margin-bottom: 0;
}

.description-panel ul,
.description-panel ol {
  margin: 12px 0 20px;
  padding: 0 0 0 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.description-panel ul {
  list-style: disc;
}

.description-panel ul li::marker,
.description-panel ol li::marker {
  color: var(--text-muted);
}

.description-panel ol {
  list-style: decimal;
}

.description-panel li {
  padding: 5px 0;
  line-height: 1.65;
  color: var(--text-secondary);
}

.description-panel li strong,
.description-panel li b {
  color: var(--text-primary);
  font-weight: 600;
}

.description-panel blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--brand-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-secondary);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* PDP: genel puan + yorumlar */
.pdp-rating-summary {
  margin: 10px 0 18px;
  font-size: 0.875rem;
}

.pdp-rating-summary__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 10px;
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}

.pdp-rating-summary__link:hover {
  color: var(--text-primary);
}

.pdp-rating-summary__stars.pdp-stars {
  font-size: 1rem;
  letter-spacing: 2px;
}

.pdp-rating-summary__avg {
  font-weight: 700;
  color: var(--text-primary);
}

.pdp-rating-summary__count {
  color: var(--text-muted);
}

.pdp-rating-summary__empty {
  color: var(--text-muted);
  margin-right: 10px;
}

.pdp-rating-summary__jump {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.pdp-stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
  font-size: 0.95rem;
}

.pdp-stars__i {
  color: var(--border);
}

.pdp-stars__i--on {
  color: #c4a000;
}

/* —— PDP: müşteri yorumları —— */
.pdp-reviews {
  scroll-margin-top: 100px;
  margin-top: 56px;
  padding: 28px 0 8px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border-light);
  border-radius: 0;
  box-shadow: none;
}

.pdp-reviews__header {
  margin-bottom: 20px;
  padding-bottom: 0;
  border: none;
}

.pdp-reviews__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.pdp-reviews__summary {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #fafafa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.pdp-reviews__summary-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 0;
}

.pdp-reviews__score-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pdp-reviews__score-max {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pdp-reviews__summary-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pdp-reviews__summary-text--empty {
  color: var(--text-muted);
}

.pdp-reviews__empty {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pdp-review-own {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px dashed rgba(30, 16, 78, 0.28);
  border-radius: var(--radius-md);
  background: rgba(30, 16, 78, 0.03);
}

.pdp-review-own__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.pdp-review-own__badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(30, 16, 78, 0.08);
}

.pdp-review-own__body {
  margin: 0 0 8px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-primary);
}

.pdp-review-own__hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pdp-review-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.pdp-review-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.pdp-review-card--mine {
  background: linear-gradient(90deg, rgba(30, 16, 78, 0.04), transparent 48%);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: var(--radius-sm);
}

.pdp-review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.pdp-review-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.pdp-review-card__name em {
  font-style: normal;
  font-weight: 500;
  color: var(--brand);
  font-size: 0.75rem;
}

.pdp-review-card__date {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pdp-review-card__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 68ch;
}

.pdp-review-form {
  margin-bottom: 28px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.pdp-review-form__h {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 14px;
}

.pdp-review-stars__btn {
  font-size: 1.65rem;
  color: #ddd;
}

.pdp-review-stars__btn.is-on,
.pdp-review-stars__btn:hover {
  color: #c4a000;
}

.pdp-review-form__textarea {
  max-width: 100%;
  min-height: 110px;
  border-radius: var(--radius-md);
}

.pdp-review-form__submit {
  padding: 11px 20px;
}

.pdp-reviews__flash {
  position: relative;
  display: block;
  padding: 12px 40px 12px 14px;
  border-radius: var(--radius-sm);
  margin: 0 0 18px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pdp-reviews__flash--hiding {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.pdp-reviews__flash-dismiss {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pdp-reviews__flash-dismiss:hover {
  color: var(--text-primary);
}

.pdp-reviews__flash-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pdp-reviews__flash--ok {
  background: #f7faf7;
  border-color: rgba(74, 124, 89, 0.25);
}

.pdp-reviews__flash--err {
  background: #faf7f7;
  border-color: rgba(184, 84, 80, 0.25);
}

.pdp-reviews__summary {
  margin-bottom: 22px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.pdp-reviews__summary-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 0;
}

.pdp-reviews__score-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 0;
  border: none;
  margin: 0;
}

.pdp-reviews__score-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pdp-reviews__score-max {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pdp-reviews__score-stars.pdp-stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.pdp-reviews__summary-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pdp-reviews__summary-text--empty {
  color: var(--text-muted);
}

.pdp-reviews__login-note {
  margin: 0 0 24px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pdp-reviews__login-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdp-reviews__already {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pdp-review-form {
  margin-bottom: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.pdp-review-form__h {
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.pdp-review-form__body {
  padding: 0;
}

.pdp-review-form .form-group {
  margin-bottom: 16px;
}

.pdp-review-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pdp-review-stars-track {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.pdp-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  outline: none;
}

.pdp-review-stars:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.pdp-review-stars__btn {
  margin: 0;
  padding: 2px 4px;
  border: none;
  background: none;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  color: #d0d0d0;
  cursor: pointer;
  transition: color 0.15s var(--ease);
  -webkit-tap-highlight-color: transparent;
  filter: none;
}

.pdp-review-stars__btn:hover {
  color: #c4a000;
  transform: none;
}

.pdp-review-stars__btn.is-on {
  color: #c4a000;
}

.pdp-review-stars__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.pdp-review-stars__err {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: var(--error);
}

.pdp-review-form__textarea {
  width: 100%;
  max-width: 40rem;
  font: inherit;
  font-size: 0.875rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
  transition: border-color var(--duration) var(--ease);
}

.pdp-review-form__textarea:hover {
  border-color: #ccc;
}

.pdp-review-form__textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: none;
}

.pdp-review-form__actions {
  padding: 4px 0 0;
  border: none;
  background: transparent;
}

.pdp-review-form__submit {
  min-width: 0;
  padding: 10px 18px;
  font-size: 0.8125rem;
}

.pdp-review-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.pdp-review-list::before {
  display: none;
}

.pdp-review-card {
  padding: 18px 0;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.pdp-review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border: none;
}

.pdp-review-card__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.pdp-review-card__stars.pdp-stars {
  font-size: 0.8125rem;
  letter-spacing: 1px;
}

.pdp-review-card__date {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pdp-review-card__body {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 68ch;
}

@media (max-width: 640px) {
  .pdp-reviews {
    margin-top: 40px;
  }

  .pdp-review-card__date {
    margin-left: 0;
    flex-basis: 100%;
  }

  .pdp-review-form__submit {
    width: 100%;
  }

  .pdp-review-stars__btn {
    font-size: 1.35rem;
  }
}

/* Related Products */
.related-section {
  padding: 80px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

/* ================================================
   PDP COUNTDOWN STRIP
   ================================================ */

.pdp-promo-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pdp-promo-strip__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(184, 84, 80, 0.12);
  color: #a8433f;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.pdp-promo-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 6px;
}

.pdp-promo-strip__sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pdp-countdown {
  text-align: right;
}

.pdp-countdown__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pdp-countdown__boxes {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.pdp-countdown__box {
  min-width: 56px;
  padding: 10px 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
}

.pdp-countdown__box strong {
  display: block;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-family: "Inter", sans-serif;
}

.pdp-countdown__box small {
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ================================================
   PDP UTILITIES & SOCIAL PROOF
   ================================================ */

.detail-util-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 10px 0 12px;
  font-size: 0.8125rem;
}

.detail-util-links a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-util-links a:hover {
  color: var(--brand-dark);
}

.social-proof-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
}

.social-proof-row .proof-instock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 500;
}

.social-proof-row .proof-fire {
  color: #c43d2e;
  font-weight: 500;
}

.social-proof-row .proof-eye {
  color: var(--text-secondary);
}

.tax-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.detail-price-block .price-main {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--text-primary);
}

.detail-price-block .price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.discount-label {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c45c28;
}

/* ================================================
   TIER PRICING CARDS
   ================================================ */

.tier-section {
  margin: 24px 0;
}

.tier-section h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tier-card {
  position: relative;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  -webkit-text-fill-color: currentColor;
}

.tier-card:hover {
  border-color: var(--text-muted);
}

.tier-card.is-selected {
  border-color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.tier-card__badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.tier-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--text-primary);
  color: var(--text-inverse);
}

.tier-badge--muted {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.tier-card__qty {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
}

.tier-card__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tier-card__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
}

.tier-card__old {
  font-size: 0.8125rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================================
   COMPLETE THE LOOK
   ================================================ */

.complete-look {
  margin-top: 24px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.complete-look h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.complete-look > p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.complete-look-coupon-block {
  margin-bottom: 12px;
}

.complete-look-coupon__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.complete-look-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.complete-look-coupon__feedback {
  font-size: 0.75rem;
  color: var(--success);
  margin-top: 6px;
  margin-bottom: 0;
}

.complete-look-coupon__feedback--error {
  color: var(--error);
}

.complete-look-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.complete-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow var(--duration) var(--ease);
}

.complete-card:hover {
  box-shadow: var(--shadow-md);
}

.complete-card__clickarea {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.complete-card__img {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  flex-shrink: 0;
  background: var(--bg-secondary);
  /* Eski max-height: 132px ikili gridde ürünü aşırı kırpıyordu */
}

.complete-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.complete-card__wish {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  z-index: 2;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.06);
}

.complete-card__wish svg {
  width: 18px;
  height: 18px;
  display: block;
}

.complete-card__wish svg path {
  fill: transparent;
  transition:
    fill 0.2s ease,
    stroke 0.2s ease;
}

.complete-card__wish.is-active {
  color: var(--error);
  border-color: var(--error);
}

.complete-card__wish.is-active svg path {
  fill: var(--error);
  stroke: var(--error);
}

.complete-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 8px 10px 10px;
  min-height: 0;
}

.complete-card__title {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0;
  min-height: calc(0.6875rem * 1.35 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.complete-card__prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.complete-card__prices .price {
  font-weight: 700;
  font-size: 0.8125rem;
}

.complete-card__prices .price-old {
  font-size: 0.75rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.complete-card__add {
  display: block;
  width: 100%;
  flex-shrink: 0;
  margin-top: 0;
  padding: 8px 10px;
  background: var(--text-primary, #000);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

.complete-card__add:hover {
  background: #333;
}

.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration) var(--ease),
    visibility var(--duration) var(--ease);
}
.quick-view-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.quick-view-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  background: var(--bg-card);
  width: 90%;
  max-width: 600px;
  z-index: 1001;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    transform var(--duration) var(--ease),
    opacity var(--duration) var(--ease),
    visibility var(--duration) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.quick-view-modal.is-active {
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.quick-view__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  z-index: 10;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transition: background var(--duration);
}
.quick-view__close:hover {
  background: var(--border-light);
}

.quick-view__content {
  display: flex;
  flex-direction: row;
  height: 100%;
  max-height: 80vh;
}

.quick-view__img-col {
  width: 45%;
  flex-shrink: 0;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-view__img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view__info-col {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.quick-view__info-col h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.quick-view__prices {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 16px;
}
.quick-view__prices .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}
.quick-view__prices .price-old {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.quick-view__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  flex: 1;
}

.quick-view__actions {
  margin-top: auto;
}
.quick-view__actions .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 14px;
}

.quick-view__sizes {
  margin-bottom: 20px;
}
.quick-view__sizes label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.quick-view__sizes .size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 480px) {
  .quick-view__content {
    flex-direction: column;
  }
  .quick-view__img-col {
    width: 100%;
    height: 200px;
  }
  .quick-view__info-col {
    padding: 16px;
  }
  .quick-view__desc {
    font-size: 0.8rem;
  }
}

/* ================================================
   SIZE CHIPS (button)
   ================================================ */

button.size-chip {
  font-family: inherit;
  cursor: pointer;
}

.size-chip.is-selected:not(:disabled) {
  border: 2px solid var(--text-primary);
  background: var(--bg-card);
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
}

.size-chip:disabled {
  cursor: not-allowed;
}

/* ================================================
   PDP ACTIONS
   ================================================ */

/* Üst: wishlist + Sepete ekle | Alt: Ödemeye git (tam genişlik) — web + mobil */
.pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
  align-items: stretch;
}

.pdp-actions .btn-primary {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pdp-actions .btn-secondary-outline {
  flex: 1 1 0;
  min-width: 0;
  order: 1;
  padding: 16px 24px;
  border: 2px solid var(--text-primary);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  -webkit-text-fill-color: currentColor;
}

.pdp-actions .btn-secondary-outline:hover {
  background: var(--bg-secondary);
}

.pdp-actions .btn-icon-heart {
  width: 52px;
  min-width: 52px;
  flex: 0 0 52px;
  order: 0;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
}

.pdp-actions .btn-icon-heart svg path {
  fill: transparent;
  transition:
    fill 0.2s ease,
    stroke 0.2s ease;
}

.pdp-actions .btn-icon-heart.is-active {
  color: var(--error);
  border-color: var(--error);
}

.pdp-actions .btn-icon-heart.is-active svg path {
  fill: var(--error);
  stroke: var(--error);
}

/* ================================================
   TRUST PAYMENT STRIP (PDP)
   ================================================ */

.pdp-trust-pay {
  padding: 4px 0 2px;
  margin: 4px 0 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdp-trust-pay img {
  max-height: 28px;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pdp-post-complete {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.pdp-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  border: 0;
}

.pdp-trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pdp-trust-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-trust-badge-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.pdp-trust-badge-icon--fast {
  background: #fef3c7;
  color: #d97706;
}

.pdp-trust-badge-icon--secure {
  background: #dcfce7;
  color: #16a34a;
}

.pdp-trust-badge-icon--return {
  background: #e0f2fe;
  color: #0284c7;
}

.pdp-trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.25;
}

.pdp-trust-badge-text strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pdp-trust-badge-text span {
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .pdp-trust-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pdp-ship-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pdp-mini-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  font-size: 0.8125rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pdp-mini-links::-webkit-scrollbar {
  display: none;
}

.pdp-mini-links a,
.pdp-mini-links button {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.pdp-mini-links a:hover,
.pdp-mini-links button:hover {
  color: var(--brand-dark);
}

/* ================================================
   PDP FAQ
   ================================================ */

.pdp-faq {
  margin-bottom: 48px;
}

.pdp-faq__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pdp-faq h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 10px;
}

.pdp-faq__intro {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 640px;
}

.pdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pdp-faq-item [data-faq-toggle] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.pdp-faq-item [data-faq-toggle]:hover {
  background: var(--bg-secondary);
}

.pdp-faq-item .faq-chevron {
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
  color: var(--text-muted);
}

.pdp-faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.pdp-faq-item [data-faq-panel] {
  padding: 0 18px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pdp-faq-item [data-faq-panel][hidden] {
  display: none;
}

.btn-faq-more {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  color: var(--text-primary);
}

.btn-faq-more:hover {
  background: var(--bg-secondary);
}

/* ================================================
   BİRLİKTE TAMAMLA MOBILE GRID FIX
   ================================================ */
@media (max-width: 480px) {
  .complete-look-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* SweetAlert2 — shop-confirm-submit.js (hesap / sipariş onayları) */
.swal2-popup.shop-swal-dialog {
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
.swal2-popup.shop-swal-dialog .swal2-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text, #181c32);
}
.swal2-popup.shop-swal-dialog .swal2-html-container {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted, #3f4254);
}
.swal2-popup.shop-swal-dialog .swal2-actions {
  margin-top: 1.35rem;
  gap: 0.65rem;
}

/* Site giriş duyuru modali (admin ayarları) — tema ile uyumlu, mobil öncelikli */
.shop-entry-banner {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}
.shop-entry-banner[hidden] {
  display: none !important;
}
.shop-entry-banner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 18, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.shop-entry-banner__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(28rem, calc(100vw - 2rem));
  max-height: min(85vh, calc(100dvh - 2rem));
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    165deg,
    var(--surface, #ffffff) 0%,
    var(--bg-card, #fff) 45%
  );
  border-radius: clamp(0.75rem, 3vw, 1.125rem);
  padding: 0;
  box-shadow:
    0 4px 6px -1px rgba(22, 20, 18, 0.06),
    0 24px 48px -12px rgba(22, 20, 18, 0.2);
  border: 1px solid var(--border-light, #ececec);
  overflow: hidden;
}
.shop-entry-banner__dialog::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--brand-dark) 0%,
    var(--brand) 50%,
    var(--brand-light) 100%
  );
  flex-shrink: 0;
}
.shop-entry-banner__shell {
  padding: 1.5rem clamp(1.1rem, 4vw, 1.75rem) 1.35rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.shop-entry-banner__media {
  margin: -0.25rem 0 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light, #f0f0f0);
  background: var(--bg-secondary, #f5f5f5);
}
.shop-entry-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  vertical-align: middle;
}
.shop-entry-banner__x {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  color: var(--text-muted, #5c5c5c);
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.shop-entry-banner__x:hover {
  background: var(--bg-secondary, #f5f5f5);
  color: var(--text, #111111);
}
.shop-entry-banner__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.shop-entry-banner__title {
  font-size: clamp(1.125rem, 4vw, 1.35rem);
  font-weight: 700;
  margin: 0 2.25rem 0.75rem 0;
  line-height: 1.25;
  color: var(--text, #161412);
  letter-spacing: -0.02em;
}
.shop-entry-banner__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted, #4a4a4a);
  margin-bottom: 1.35rem;
}
.shop-entry-banner__body p {
  margin: 0 0 0.5rem;
}
a.shop-entry-banner__cta {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.shop-entry-banner__cta {
  width: 100%;
  border: none;
  border-radius: var(--radius-md, 0.5rem);
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--brand-dark) 0%,
    var(--brand) 55%,
    var(--brand-light) 100%
  );
  box-shadow: 0 2px 12px rgba(124, 98, 68, 0.22);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}
.shop-entry-banner__cta:hover {
  box-shadow: 0 4px 18px rgba(124, 98, 68, 0.28);
  filter: brightness(1.03);
}
.shop-entry-banner__cta:active {
  transform: scale(0.98);
}
@media (min-width: 480px) {
  .shop-entry-banner__cta {
    width: auto;
    min-width: 11rem;
    align-self: flex-start;
  }
}

/* ================================================
   PDP MOBILE LAYOUT + STICKY ATC
   ================================================ */
.mobile-sticky-atc {
  display: none !important;
}

@media (max-width: 900px) {
  .product-detail {
    overflow-x: clip;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    min-width: 0;
  }

  .detail-gallery,
  .detail-info {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
  }

  .pdp-promo-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .pdp-countdown {
    text-align: left;
  }

  .pdp-countdown__boxes {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .pdp-countdown__box {
    min-width: 52px;
    flex: 1 1 52px;
  }

  .tier-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .complete-look-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .product-detail {
    padding: 20px 0 32px !important;
    margin-top: var(--header-stack-h);
  }

  .breadcrumb {
    margin-bottom: 16px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .detail-info h1 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
  }

  /* Mobil: galeri daha büyük (önceki 70vw cap çok küçültüyordu) */
  .detail-gallery {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: none;
  }

  .gallery-main {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: min(78vh, 640px);
    border-radius: 0;
    margin-bottom: 12px;
  }

  .gallery-main__zoom-hint {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-nav.prev {
    left: 8px;
  }

  .gallery-nav.next {
    right: 8px;
  }

  /* Üst: wishlist + Sepete ekle | Alt: Ödemeye git (tam genişlik) */
  .pdp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 10px;
  }

  .pdp-actions .btn-icon-heart {
    width: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    order: 0;
  }

  .pdp-actions .btn-secondary-outline {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    padding: 12px 12px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .pdp-actions .btn-primary {
    order: 2;
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
    padding: 14px 16px;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .pdp-actions .btn-primary svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .pdp-trust-pay {
    margin: 2px 0 12px;
  }

  .pdp-trust-pay img {
    max-height: 24px;
  }

  .pdp-mini-links {
    font-size: 0.6875rem;
    gap: 6px;
    justify-content: space-between;
  }

  .pdp-trust-badges {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0;
  }

  .why-shop {
    padding: 28px 0 20px;
  }

  .why-shop > h2 {
    font-size: 1.25rem;
  }

  .why-shop > p {
    margin-bottom: 16px;
    font-size: 0.875rem;
  }

  .why-features {
    gap: 12px;
  }

  .why-feature {
    padding: 18px 16px;
  }

  /* Sticky ATC: gizliyken tab bar + kendi boyu kadar aşağı insin (yarım kalmasın) */
  .mobile-sticky-atc {
    --pdp-tab-h: 56px;
    --pdp-sticky-h: 64px;
    display: block !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--pdp-tab-h) + env(safe-area-inset-bottom, 0px));
    z-index: 250;
    background: #fff;
    border-top: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.12);
    padding: 10px 14px;
    transform: translate3d(
      0,
      calc(100% + var(--pdp-tab-h) + env(safe-area-inset-bottom, 0px) + 24px),
      0
    );
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: transform;
    backface-visibility: hidden;
  }

  .mobile-sticky-atc.is-visible {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .mobile-sticky-atc__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 100%;
  }

  .mobile-sticky-atc__product {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .mobile-sticky-atc__thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-secondary, #f1f5f9);
    flex-shrink: 0;
    border: 1px solid var(--border, #e2e8f0);
  }

  .mobile-sticky-atc__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-sticky-atc__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .mobile-sticky-atc__price {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--brand, #1e104e);
    margin-top: 1px;
  }

  .mobile-sticky-atc__btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 14px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(30, 16, 78, 0.2);
    white-space: nowrap;
  }

  /* Sabit boşluk — sticky aç/kapa layout’u oynatmasın */
  body[data-shop-page="pdp"] {
    padding-bottom: calc(56px + 72px + env(safe-area-inset-bottom, 0px));
  }

  body[data-shop-page="pdp"] .whatsapp-fab {
    bottom: calc(56px + 72px + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 245;
  }

  body[data-shop-page="pdp"] .back-to-top {
    right: 12px;
    bottom: calc(56px + 72px + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 245;
  }
}

@media (max-width: 400px) {
  .pdp-actions .btn-secondary-outline {
    padding: 12px 10px;
    font-size: 0.8125rem;
  }

  .pdp-actions .btn-primary {
    padding: 13px 14px;
    font-size: 0.875rem;
  }

  .pdp-actions .btn-primary span,
  .pdp-actions .btn-secondary-outline {
    letter-spacing: -0.01em;
  }

  .pdp-mini-links {
    font-size: 0.625rem;
    gap: 4px;
  }

  .tier-card {
    padding: 12px 10px;
  }

  .tier-card__qty {
    font-size: 0.875rem;
  }

  .tier-badge {
    font-size: 0.5rem;
  }
}

