/* Ürün seçenekleri, galeri, alt kategoriler ve sayfalama */
/* ================= seçenekler, galeri, alt kategoriler, sayfalama ve panel ayarları ================= */
.logo img {
  height: var(--logo-h);
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
#best,
#shipping {
  padding-top: 0;
}
main > section.trust + #best,
main > section.hero + #best,
main > section.trust + #shipping {
  padding-top: 56px;
}
@media (min-width: 961px) {
  #prodGrid {
    grid-template-columns: repeat(var(--cols, 4), 1fr);
  }
}
.chips.sub {
  margin-top: -12px;
}
.chips.sub .chip {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
}
.opt {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
}
.wchip[data-out] {
  opacity: 0.55;
  text-decoration: line-through;
}
.add[disabled] {
  border-color: var(--line);
  background: none;
  color: var(--muted);
  cursor: not-allowed;
}
.prod-img img {
  background: #fff;
}
/* indirim etiketinin kutusu fotoğrafın yerini değiştirmesin */
.prod-img [data-sale] {
  display: contents;
}
.fit-contain .prod-img img {
  object-fit: contain;
}
/* uzun ürün adları kartta en fazla iki satır */
.prod h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--name-lines);
}
.buy {
  justify-content: flex-end;
}
.add {
  margin-top: 0;
}
.more {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.more .btn {
  color: var(--fg);
}
.gal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pdlg .gal .prod-img {
  flex: 1;
  min-height: 0;
  aspect-ratio: 1;
}
.pdlg .gal .prod-img img {
  position: absolute;
  inset: 0;
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}
.thumbs button {
  flex: none;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
}
.thumbs button[aria-pressed='true'] {
  border-color: var(--iznik);
}
.thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdlg-body {
  min-width: 0;
}
.pdlg-body h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  overflow-wrap: anywhere;
}
.pdlg-desc {
  max-height: 320px;
  overflow: auto;
  overflow-wrap: anywhere;
  white-space: pre-line;
  font-size: 14px;
}
.hero.has-img {
  background: linear-gradient(90deg, color-mix(in srgb, var(--deep) var(--hero-shade), transparent), color-mix(in srgb, var(--deep) calc(var(--hero-shade) * 0.45), transparent)),
    var(--hero-img) center / cover;
}
.hero.has-img .hero-art {
  display: none;
}
[dir='rtl'] .hero.has-img {
  background: linear-gradient(270deg, color-mix(in srgb, var(--deep) var(--hero-shade), transparent), color-mix(in srgb, var(--deep) calc(var(--hero-shade) * 0.45), transparent)),
    var(--hero-img) center / cover;
}
.wa-btn {
  position: fixed;
  z-index: 40;
  inset-inline-end: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #128c4b;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
@media (max-width: 720px) {
  .pdlg .gal .prod-img {
    aspect-ratio: 4 / 3;
  }
  .logo img {
    height: 38px;
    max-width: 120px;
  }
}

/* uzun mağaza adı */
.logo b {
  text-align: center;
}
footer .logo b {
  text-align: start;
}
@media (max-width: 720px) {
  header .logo.long b {
    white-space: normal;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 0;
    text-wrap: balance;
  }
}
@media (max-width: 380px) {
  header .logo.long b {
    font-size: 13px;
  }
}
