.catalog,
.product-page {
  background: var(--paper, #fff);
  padding: 56px 0 80px;
  overflow-x: clip;
}

.catalog__layout,
.product__layout {
  width: min(var(--container, 1440px), calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.catalog-main {
  min-width: 0;
}

.catalog-side {
  position: sticky;
  top: 24px;
  padding: 4px 4px 18px;
}

.catalog-side__head {
  display: grid;
  gap: 10px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line, #ece7e2);
}

.catalog-side__head--drill {
  gap: 12px;
  padding: 0 0 16px;
  border-bottom: 0;
}

.catalog-side__label {
  margin: 0;
  color: var(--muted, #8a8178);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-side__back {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px 8px 8px;
  border: 1px solid var(--line, #ece7e2);
  border-radius: 8px;
  background: var(--surface, #fffdfb);
  color: var(--ink, #2b241f);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.catalog-side__back:hover {
  border-color: var(--line-strong, #d9cfc4);
  background: var(--surface, #fff);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink, #2b241f) 8%, transparent);
}

.catalog-side__back-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--surface-soft, #f3eee8);
  color: var(--nav, #5c5047);
}

.catalog-side__back-icon svg {
  width: 16px;
  height: 16px;
}

.catalog-side__back-text {
  display: grid;
  gap: 1px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.catalog-side__back-text em {
  margin: 0;
  color: var(--muted, #8a8178);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-side__context {
  display: grid;
  gap: 4px;
  padding: 2px 4px 0;
}

.catalog-side__branch {
  margin: 0;
  color: var(--ink, #2b241f);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.catalog-side__hint {
  margin: 0;
  color: var(--muted, #8a8178);
  font-size: 12px;
  font-weight: 500;
}

.catalog-side__count {
  color: var(--muted, #8a8178);
  font-size: 14px;
  white-space: nowrap;
}

.filter--nested {
  margin-top: 4px;
}

.filter--nested .filter__list {
  margin-top: 0;
}

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 48px 28px;
  border: 1px solid var(--line, #ece7e2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fbfaf8 0%, #f4f1ec 100%);
  text-align: center;
  color: var(--muted, #8a8178);
}

.catalog-empty__visual {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #b5a89c;
  box-shadow: inset 0 0 0 1px rgba(43, 36, 31, 0.06);
}

.catalog-empty__visual svg {
  width: 40px;
  height: 40px;
}

.catalog-empty__title {
  margin: 0;
  color: var(--ink, #2b241f);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.catalog-empty__text {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
  color: #8d7d72;
}

.catalog-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line-strong, #eadfd4);
  background: #fff;
  color: var(--ink, #2b241f);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.catalog-empty__cta:hover {
  background: #faf7f3;
  border-color: #d9cfc4;
  color: var(--ink, #2b241f);
}

/*
 * Katalog toolbar — tema entegrasyonu: views/partials/catalog-toolbar.php
 * Kart/kutu yok; ince çizgi + tipografi.
 */
.dh-cat-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line, #ece7e2);
}

.dh-cat-bar__copy {
  min-width: 0;
}

.dh-cat-bar__title {
  margin: 0;
  color: var(--ink, #2b241f);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.dh-cat-bar__count {
  margin: 8px 0 0;
  color: var(--muted, #8a8178);
  font-size: 13px;
  font-weight: 400;
}

.dh-cat-bar__sort {
  display: grid;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 200px;
}

.dh-cat-bar__label {
  color: var(--muted, #8a8178);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.dh-cat-bar__field {
  position: relative;
}

.dh-cat-bar__field .dh-select__menu {
  min-width: 220px;
  left: auto;
}

.filter {
  margin-top: 8px;
}

.filter__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px 10px;
  border: 0;
  background: transparent;
  color: var(--ink, #2b241f);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.filter__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.filter.is-collapsed .filter__toggle svg {
  transform: rotate(180deg);
}

.filter.is-collapsed .filter__list {
  display: none;
}

.filter__list {
  display: grid;
  gap: 4px;
}

.filter__list[hidden] {
  display: none;
}

.filter__list button,
.filter__list a[data-filter] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--nav, #3d342e);
  font-size: 15px;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

.filter__list button span,
.filter__list a[data-filter] span {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--surface-soft, #f6f1ea);
  color: var(--muted, #8d7d72);
  font-size: 12px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.filter__list button:hover,
.filter__list a[data-filter]:hover {
  background: color-mix(in srgb, var(--surface-soft, #f6f1ea) 72%, #fff);
}

.filter__list button.is-active,
.filter__list a[data-filter].is-active {
  background: var(--surface-soft, #f6f1ea);
  color: var(--ink, #2b241f);
  font-weight: 600;
}

.filter__list button.is-active span,
.filter__list a[data-filter].is-active span {
  background: var(--accent, #c4784a);
  color: var(--accent-text, #fff);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(var(--catalog-cols, 4), minmax(0, 1fr));
  gap: 24px 18px;
}

.catalog-grid > [hidden] {
  display: none;
}

.catalog-grid .product-card__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-soft, #f7f3ee);
  aspect-ratio: var(--catalog-media-aspect, 1 / 1);
  height: auto;
}

.catalog-grid .product-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.catalog-grid .product-card:hover img {
  transform: scale(1.03);
}

.crumb {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 22px;
  color: #a8988c;
  font-size: 13px;
}

.crumb a {
  color: #8d7d72;
}

.product__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: start;
}

.product__gallery {
  position: sticky;
  top: 24px;
  min-width: 0;
  max-width: 100%;
}

.product__buy {
  min-width: 0;
  max-width: 100%;
}

.product__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.product__photo {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  background: #f7f3ee;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.94);
  color: #3a312b;
  box-shadow: 0 8px 22px rgba(43, 36, 31, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
}

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

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

.gallery-nav svg {
  width: 18px;
  height: 18px;
}

.gallery-nav:hover {
  background: #fff;
}

.product__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.product__thumbs button {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: #f7f3ee;
  cursor: pointer;
}

.product__thumbs button.is-active {
  border-color: #c4784a;
}

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

.product__buy h1 {
  margin: 0;
  color: #2b241f;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.product__price {
  margin: 14px 0 22px;
  color: #2b241f;
  font-size: 26px;
  font-weight: 600;
}

.product__price .detail-price-old {
  margin-right: 10px;
  color: #9a8b7f;
  font-size: 0.72em;
  font-weight: 500;
  text-decoration: line-through;
}

.product__price-from,
.product-card__from {
  color: #8a7a6e;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-card__from {
  font-size: 0.78em;
}

.product__form {
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

.product__form label {
  display: grid;
  gap: 6px;
  color: #4a3b32;
  font-size: 13px;
  font-weight: 600;
}

.product__form label em {
  color: #c4784a;
  font-style: normal;
  font-weight: 500;
}

.product__form input[type="text"] {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #eadfd4;
  border-radius: 14px;
  background: #fff;
  color: #2b241f;
  font-size: 14px;
  font-weight: 400;
}

.pick {
  position: relative;
}

.pick__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pick__button {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #eadfd4;
  border-radius: 14px;
  background: #fff;
  color: #b3a79d;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.pick__button.has-value {
  color: #2b241f;
}

.pick__button::after {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8988c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}

.pick.is-open .pick__button {
  border-color: #c4b09c;
}

.pick.is-open .pick__button::after {
  transform: rotate(180deg);
}

.pick__list {
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #f0e7de;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(74, 59, 50, 0.1);
  max-height: 240px;
  overflow: auto;
}

.pick__list[hidden] {
  display: none;
}

.pick__option {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3d342e;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
}

.pick__option:hover {
  background: #fbf7f2;
}

.pick__option.is-selected {
  background: #f6f1ea;
  color: #2b241f;
  font-weight: 600;
}

.file-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  border: 1px dashed #e4d5c6;
  border-radius: 16px;
  background: #fbf7f2;
  color: #8d7d72;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.file-field::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8988c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V6'/%3E%3Cpath d='m8 9 4-4 4 4'/%3E%3Cpath d='M5 16.5V19a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5'/%3E%3C/svg%3E");
}

.file-field input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-field.has-file {
  border-style: solid;
  border-color: #c4b09c;
  background: #fff;
  color: #2b241f;
}

.product__form select:focus,
.product__form input:focus {
  outline: none;
  border-color: #c4b09c;
}

.product__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  min-width: 0;
  max-width: 100%;
}

.product-qty {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 0 4px;
  border: 1px solid #eadfd4;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.product-qty button {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2b241f;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.product-qty button:hover {
  background: #f6f1ea;
}

/* .product__form input[type=text] stillerini ez — taşma önlemi */
.product__form .product-qty input,
.product-qty input[data-product-qty],
.product-qty input {
  box-sizing: border-box;
  width: 40px;
  min-width: 40px;
  height: 36px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 36px;
  color: #2b241f;
  appearance: none;
  -moz-appearance: textfield;
}

.product-qty input::-webkit-outer-spin-button,
.product-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product__add {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--accent, #c4784a);
  color: var(--accent-text, #fff);
  font-size: var(--btn-size, 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s ease;
}

.product__add:hover,
.product__add.is-added {
  background: var(--accent-hover, #a8643c);
  color: var(--accent-text, #fff);
}

/* Ürün paylaşımı — sade ikon satırı */
.dh-share {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line, #ece7e2);
}

.dh-share__label {
  margin: 0;
  color: var(--muted, #8a8178);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dh-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 100%;
}

.dh-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line, #e5e0da);
  border-radius: 4px;
  background: #fff;
  color: var(--ink, #2b241f);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.dh-share__btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.dh-share__btn:hover {
  border-color: var(--ink, #2b241f);
  color: var(--ink, #2b241f);
}

.dh-share__btn--whatsapp:hover {
  border-color: #25d366;
  color: #128c7e;
}

.dh-share__btn--facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.dh-share__btn--instagram:hover,
.dh-share__btn--instagram.is-copied {
  border-color: #c13584;
  color: #c13584;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(var(--highlight-cols, 3), minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid #ebebeb;
}

.product-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 4px 24px;
  border-right: 1px solid #ebebeb;
}

.product-highlight:first-child {
  padding-left: 0;
}

.product-highlight:last-child {
  padding-right: 0;
  border-right: 0;
}

.product-highlight__icon {
  display: flex;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.product-highlight__icon svg {
  width: 22px;
  height: 22px;
}

.product-highlight__label {
  color: #888;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.product-highlight__value {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.product-highlight__hint {
  color: #888;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .product-highlights {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 22px;
  }

  .product-highlight {
    padding: 0;
    border-right: 0;
  }
}

.product__lead {
  margin: 0 0 16px;
  color: #5c514a;
  font-size: 14.5px;
  line-height: 1.6;
}

/* —— Bilgi sekmeleri —— */
.product-info {
  width: min(1240px, calc(100% - 48px));
  max-width: 100%;
  margin: 56px auto 0;
  padding-top: 0;
  border: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.product-info__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 22px;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
}

.product-info__tab {
  position: relative;
  margin: 0;
  padding: 10px 2px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8178;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.18s ease;
}

.product-info__tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background 0.18s ease;
}

.product-info__tab:hover {
  color: #2b241f;
  background: transparent;
}

.product-info__tab.is-active {
  color: #2b241f;
  background: transparent;
  font-weight: 600;
}

.product-info__tab.is-active::after {
  background: #2b241f;
}

.product-info__tab:focus-visible {
  outline: 2px solid #2b241f;
  outline-offset: 4px;
}

.product-info__panels {
  padding: 28px 0 8px;
  max-width: none;
  width: 100%;
}

.product-info__panel[hidden] {
  display: none;
}

.product-info__prose {
  color: #4f453e;
  font-size: 15px;
  line-height: 1.7;
}

.product-info__prose > *:first-child {
  margin-top: 0;
}

.product-info__prose > *:last-child {
  margin-bottom: 0;
}

.product-info__prose p {
  margin: 0 0 1em;
}

.product-info__prose h2,
.product-info__prose h3,
.product-info__prose h4 {
  margin: 1.4em 0 0.5em;
  color: #2b241f;
  font-size: 1.05em;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-info__prose ul,
.product-info__prose ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.product-info__prose li {
  margin: 0.35em 0;
}

.product-info__prose img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-info__prose a {
  color: #c4784a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-info__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.product-info__list li {
  position: relative;
  padding-left: 18px;
  color: #4f453e;
  font-size: 15px;
  line-height: 1.55;
}

.product-info__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4784a;
}

.product-info__meta {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid #f0e7de;
}

.product-info__meta > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e7de;
}

.product-info__meta dt {
  margin: 0;
  color: #9a8b7f;
  font-size: 13px;
  font-weight: 500;
}

.product-info__meta dd {
  margin: 0;
  color: #2b241f;
  font-size: 14px;
  font-weight: 500;
}

.product-custom-fields {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-cf {
  min-width: 0;
  max-width: 100%;
}

.product-cf__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #2b241f;
}

.product-cf--row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
}

.product-cf__label {
  color: #777;
  font-size: 13px;
  font-weight: 500;
}

.product-cf__value {
  color: #222;
  font-size: 14px;
  font-weight: 500;
}

.product-cf__value--solo {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  color: #333;
}

.product-cf__img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.product-cf__table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.product-cf__table {
  width: max-content;
  min-width: 100%;
  max-width: none;
  border-collapse: collapse;
  font-size: 14px;
}

.product-cf__table th,
.product-cf__table td {
  border: 0;
  border-bottom: 1px solid #ececec;
  padding: 16px 14px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}

.product-cf__table thead th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}

.product-cf__table .product-cf__corner {
  width: 88px;
  min-width: 72px;
  background: #f5f5f5;
}

.product-cf__table .product-cf__rowhead {
  background: #fff;
  font-weight: 600;
  color: #222;
  position: sticky;
  left: 0;
  z-index: 1;
}

.product-cf__table td {
  color: #444;
}

@media (max-width: 720px) {
  .product-info {
    width: calc(100% - 32px);
  }

  .product-info__tabs {
    gap: 4px 16px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .product-info__tab {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 2px 10px;
  }

  .product-cf__table {
    font-size: 13px;
  }

  .product-cf__table th,
  .product-cf__table td {
    padding: 12px 10px;
  }

  .product-info__panels {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
}

/* —— Birlikte bakılanlar (slider) —— */
.related {
  width: min(1240px, calc(100% - 48px));
  max-width: 100%;
  margin: 64px auto 0;
  padding-top: 36px;
  border-top: 1px solid #efe6dc;
  box-sizing: border-box;
  overflow: hidden;
}

.related__title {
  margin: 0 0 24px;
  color: #2b241f;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.related__swiper.product-swiper {
  position: relative;
  padding: 0 4px 8px;
  overflow: hidden;
}

/* Infinite scroll sentinel + dots */
.catalog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin: 20px 0 4px;
  padding: 4px;
}

.catalog-more.is-loading {
  min-height: 52px;
  margin-top: 28px;
}

.catalog-more[hidden] {
  display: none !important;
}

.catalog-more__dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.catalog-more.is-loading .catalog-more__dots {
  opacity: 1;
}

.catalog-more__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink, #2b241f);
  opacity: 0.28;
  animation: catalog-dot 1s ease-in-out infinite;
}

.catalog-more__dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.catalog-more__dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes catalog-dot {
  0%,
  80%,
  100% {
    opacity: 0.22;
    transform: translateY(0);
  }
  40% {
    opacity: 0.9;
    transform: translateY(-3px);
  }
}

.catalog-more__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.catalog-more.is-fallback {
  cursor: pointer;
  color: var(--muted, #8a8178);
  font-size: 13px;
}

.catalog-more.is-fallback::after {
  content: "Daha fazla ürün";
  margin-left: 8px;
}

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(min(3, var(--catalog-cols, 4)), minmax(0, 1fr));
  }
}

/* Mobil filtre barı — masaüstünde gizli */
.catalog-filter-bar {
  display: none;
}

.catalog-filter-scrim {
  display: none;
}

.catalog-side__drawer-top {
  display: none;
}

@media (max-width: 980px) {
  .catalog,
  .product-page {
    padding-top: 40px;
  }

  .catalog__layout,
  .product__layout {
    grid-template-columns: 1fr;
  }

  .catalog-filter-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin: 0 0 14px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #f2f2f2;
    color: #3a3a3a;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
  }

  .catalog-filter-bar:hover,
  .catalog-filter-bar:focus-visible {
    background: #ebebeb;
    outline: none;
  }

  .catalog-filter-bar__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .catalog-filter-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    margin: 0;
    border: 0;
    padding: 0;
    background: rgba(20, 18, 16, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .catalog-filter-scrim.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .catalog-side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    width: min(340px, calc(100vw - 48px));
    max-width: 100%;
    margin: 0;
    padding: 16px 16px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.12);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }

  .catalog-side.is-open {
    transform: translateX(0);
  }

  .catalog-side__drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0 2px 12px;
    border-bottom: 1px solid var(--line, #ece7e2);
  }

  .catalog-side__drawer-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink, #2b241f);
  }

  .catalog-side__drawer-close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f2f2f2;
    color: #3a3a3a;
    cursor: pointer;
  }

  .catalog-side__drawer-close svg {
    width: 16px;
    height: 16px;
  }

  .catalog-side__drawer-close:hover {
    background: #ebebeb;
  }

  .catalog-side__label {
    display: none;
  }

  .filter__toggle {
    display: none;
  }

  .filter.is-collapsed .filter__list,
  .filter__list[hidden] {
    display: grid;
  }

  .product__gallery {
    position: static;
  }

  .catalog-grid {
    grid-template-columns: repeat(var(--catalog-cols-mobile, 2), minmax(0, 1fr));
  }

  body.catalog-filter-open {
    overflow: hidden;
  }

  .product-info__meta > div {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .product__layout {
    width: min(100%, calc(100% - 32px));
  }

  .product__photo,
  .product__stage {
    border-radius: 16px;
  }

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

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

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

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(var(--catalog-cols-mobile, 2), minmax(0, 1fr));
    gap: 16px 10px;
  }

  .product__row {
    gap: 8px;
  }

  .product-qty {
    flex: 0 0 auto;
  }

  .product__add {
    flex: 1 1 0;
    min-width: 0;
    letter-spacing: 0.04em;
    font-size: 12px;
    padding: 0 10px;
  }

  .product__thumbs button {
    width: 64px;
    height: 64px;
  }

  .related {
    width: calc(100% - 32px);
    margin-top: 48px;
  }

  .related__title {
    font-size: 22px;
  }

  .product-info__tabs {
    gap: 4px 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-info__tabs::-webkit-scrollbar {
    display: none;
  }

  .product-info__tab {
    flex: 0 0 auto;
    font-size: 13px;
    padding: 12px 0 14px;
  }

  .product-info__meta > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dh-cat-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .dh-cat-bar__title,
  .product__buy h1 {
    font-size: 28px;
  }

  .dh-cat-bar__sort {
    min-width: 0;
    width: 100%;
  }
}

/* —— Ürün detay sticky CTA —— */
.product-sticky[hidden] {
  display: none !important;
}

.product-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.28s ease;
}

.product-sticky.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.product-sticky__inner {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 12px 14px 14px;
  border: 1px solid var(--line, #ece7e2);
  border-radius: 16px 16px 12px 12px;
  background: #fff;
  box-shadow: 0 -10px 32px rgba(43, 36, 31, 0.12);
}

.product-sticky__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-sticky__qty {
  height: 42px;
  min-height: 42px;
  max-height: 42px;
}

.product-sticky__qty button {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.product-sticky__qty input {
  width: 36px !important;
  min-width: 36px !important;
  height: 32px !important;
  line-height: 32px;
  font-size: 14px;
}

.product-sticky__total {
  margin: 0;
  text-align: right;
  min-width: 0;
}

.product-sticky__total-label {
  display: block;
  color: #8d7d72;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.product-sticky__total strong {
  display: block;
  color: var(--ink, #2b241f);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-sticky__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-sticky__add {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent, #c4784a);
  color: var(--accent-text, #fff);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.product-sticky__add svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.product-sticky__add:hover {
  background: var(--accent-hover, #a8643c);
}

.product-sticky__wa {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.product-sticky__wa svg {
  width: 24px;
  height: 24px;
}

html.has-product-sticky {
  scroll-padding-bottom: 140px;
}

@media (min-width: 901px) {
  .product-sticky__inner {
    width: min(420px, calc(100% - 48px));
    margin-right: 24px;
    margin-left: auto;
  }
}
