/* Eser Tespihçilik: çoklu fotoğraf şeridi. Ana foto her zaman object-fit: contain. */
.eser-gal {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem;
}
.eser-gal::-webkit-scrollbar { display: none; }
.eser-gal-th {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.15));
  border-radius: 0.45rem;
  background: #141210;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.15s, border-color 0.15s;
}
.eser-gal-th img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eser-gal-th:hover,
.eser-gal-th:focus-visible { opacity: 1; }
.eser-gal-th[aria-current="true"] {
  opacity: 1;
  border-color: var(--gold, #c9a45c);
}

/* Popup: şerit fotoğrafın altında akışta; foto kalan alanı contain ile doldurur */
.sheet-photo.eser-has-gal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sheet-photo.eser-has-gal #sheet-photo {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.sheet-photo.eser-has-gal .eser-gal {
  flex: 0 0 auto;
  justify-content: center;
}
@media (min-width: 720px) {
  .sheet-photo.eser-has-gal #sheet-photo {
    width: 100%;
    height: 0;
    flex: 1 1 0;
  }
}
@media (max-width: 719px) {
  .sheet-photo.eser-has-gal { height: 12.4rem; }
  .sheet-photo.eser-has-gal #sheet-photo { height: 0; flex: 1 1 0; }
  .sheet-photo.eser-has-gal .eser-gal-th { width: 2.5rem; height: 2.5rem; }
  .sheet.eser-gal-on .sheet-panel { max-height: calc(100dvh - 14.4rem); }
}

/* Ürün sayfası */
.single-media { min-width: 0; }
.single-media .eser-gal {
  width: min(100%, 28rem);
  margin: 0.6rem auto 0;
  justify-content: center;
}
.single-media .eser-gal-th { width: 4rem; height: 4rem; }
@media (min-width: 720px) {
  .single-media { position: sticky; top: calc(var(--header-h, 4rem) + 0.8rem); }
  .single-media .single-photo { position: relative; top: auto; }
}
@media (max-width: 719px) {
  .single-media .eser-gal { width: min(100%, 22rem); }
  .single-media .eser-gal-th { width: 3.2rem; height: 3.2rem; }
}

/* theme.css'teki ".sheet-photo img" mutlak konumunu küçük resimlerden kaldır */
.sheet-photo .eser-gal-th img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

/* 1.1.6 — Masaüstü popup: büyük ana foto. Foto sütunu popup'ın ~yarısı, yükseklik ekrana göre;
   foto contain (kırpılmaz), şerit altta, sağ panel gerekirse kendi içinde kayar. Mobil (<720px) değişmez. */
@media (min-width: 720px) {
  .eser-modal .sheet {
    --eser-sheet-w: min(1360px, calc(100vw - 0.8rem));
    --eser-sheet-h: min(
      calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - 0.9rem),
      56rem,
      calc(min(734px, 54vw - 0.432rem) + 5rem)
    );
    width: var(--eser-sheet-w);
    height: var(--eser-sheet-h);
    max-height: var(--eser-sheet-h);
    grid-template-columns: min(54%, calc(var(--eser-sheet-h) * 1.1)) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .eser-modal .sheet .sheet-photo {
    aspect-ratio: auto;
    align-self: stretch;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: 0.4rem;
    background: radial-gradient(ellipse 70% 60% at 50% 45%, #231f18 0%, #171511 60%, #121110 100%);
  }
  .eser-modal .sheet .sheet-photo > #sheet-photo { object-fit: contain; object-position: center; }
  .eser-modal .sheet .sheet-photo.eser-has-gal { gap: 0.45rem; }
  .eser-modal .sheet .sheet-photo.eser-has-gal .eser-gal { justify-content: safe center; padding: 0.1rem 0.1rem 0.15rem; }
  .eser-modal .sheet .sheet-photo.eser-has-gal .eser-gal-th { width: 3.6rem; height: 3.6rem; }
  .eser-modal .sheet .sheet-panel {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }
  .eser-modal .sheet .sheet-body {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}
@media (min-width: 720px) and (max-height: 520px) {
  .eser-modal .sheet .sheet-photo { padding: 0.3rem; }
  .eser-modal .sheet .sheet-photo.eser-has-gal { gap: 0.35rem; }
  .eser-modal .sheet .sheet-photo.eser-has-gal .eser-gal-th { width: 3.5rem; height: 3.5rem; }
}

/* 1.1.7 — Mobil popup (<720px): büyük ana foto tam genişlikte, yükseklik fotoğrafın oranına göre (≈58dvh sınır),
   contain (kırpılmaz) + bulanık dolgu; şerit altta; içerik altta akar; popup tek sütun kendi içinde kayar;
   alt işlem çubuğu yapışkan; X her zaman erişilebilir. Masaüstü etkilenmez. */
@media (max-width: 719px) {
  .eser-modal { padding: 0.5rem; }
  .eser-modal .sheet {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .eser-modal .sheet .sheet-photo,
  .eser-modal .sheet .sheet-photo.eser-has-gal {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    height: auto;
    min-height: 0;
    padding: 0.25rem 0.25rem 0.4rem;
    overflow: hidden;
    isolation: isolate;
    background: #141210;
  }
  .eser-modal .sheet .sheet-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--eser-ph-bg, none) center / cover no-repeat;
    filter: blur(22px) brightness(0.42) saturate(1.1);
    transform: scale(1.2);
    pointer-events: none;
  }
  .eser-modal .sheet .sheet-photo #sheet-photo,
  .eser-modal .sheet .sheet-photo.eser-has-gal #sheet-photo {
    position: relative;
    inset: auto;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 10rem;
    max-height: max(9rem, min(58dvh, calc(100dvh - 17.5rem)));
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0.7rem;
  }
  .eser-modal .sheet .sheet-photo.eser-has-gal .eser-gal { justify-content: safe center; flex: 0 0 auto; }
  .eser-modal .sheet .sheet-photo.eser-has-gal .eser-gal-th { width: 3.25rem; height: 3.25rem; }
  .eser-modal .sheet .sheet-panel,
  .eser-modal .sheet.eser-gal-on .sheet-panel {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
  .eser-modal .sheet .sheet-top { padding: 0.55rem 3.4rem 0 0.9rem; min-height: 0; }
  .eser-modal .sheet .sheet-x {
    position: fixed;
    top: 0.95rem;
    right: calc(max(0.5rem, (100vw - 28rem) / 2) + 0.45rem);
    z-index: 5;
    width: 40px;
    height: 40px;
    background: rgba(18, 17, 14, 0.82);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .eser-modal .sheet .sheet-body {
    flex: 1 0 auto;
    overflow: visible;
    min-height: 0;
    padding-bottom: 0.8rem;
  }
  .eser-modal .sheet .desc { display: -webkit-box; -webkit-line-clamp: 3; margin: 0.25rem 0; font-size: 0.92rem; }
  .eser-modal .sheet .sheet-cta {
    position: sticky;
    bottom: 0;
    z-index: 3;
    box-shadow: 0 -10px 18px rgba(0, 0, 0, 0.38);
  }
}

/* 1.1.8 — Kargo kutusu (Yurtiçi Kargo logosu) + Shopier güvenli ödeme satırı. Popup + ürün sayfası. */
#sheet-price .cargo,
#sheet-ship,
.sheet .delivery-box#sheet-ship,
article.single .price .cargo { display: none !important; }
.eser-ship {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.45rem 0 0.55rem;
  padding: 0.5rem 0.75rem 0.5rem 0.5rem;
  border: 1px solid;
  border-radius: 0.85rem;
  line-height: 1.3;
  font-size: 0.84rem;
}
.eser-ship--free {
  background: linear-gradient(135deg, rgba(61, 220, 132, 0.16), rgba(61, 220, 132, 0.06));
  border-color: rgba(61, 220, 132, 0.42);
  color: #d6f5e3;
}
.eser-ship--free .eser-ship-text b { color: #4be38f; }
.eser-ship--paid {
  background: linear-gradient(135deg, rgba(226, 184, 74, 0.17), rgba(201, 133, 58, 0.07));
  border-color: rgba(226, 184, 74, 0.48);
  color: #f3e6c8;
}
.eser-ship--paid .eser-ship-text b { color: var(--gold, #e2b84a); }
.eser-ship-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: #fff;
  line-height: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.eser-ship-logo img { display: block; width: auto; height: 1.3rem; max-width: none; margin: 0; }
.eser-ship-text { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; }
.eser-ship-text b { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; }
.eser-ship-text span { font-size: 0.8rem; opacity: 0.92; }

.eser-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  color: var(--muted, #b8a990);
  font-size: 0.74rem;
  line-height: 1;
}
.sheet-cta .eser-pay,
.cta-row + .eser-pay { grid-column: 1 / -1; }
.cta-row + .eser-pay { justify-content: flex-start; margin: 0.55rem 0 0.2rem; font-size: 0.8rem; }
.eser-pay-lock { flex: 0 0 auto; opacity: 0.8; }
.eser-pay-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: #fff;
  line-height: 0;
}
.eser-pay-logo img { display: block; width: auto; height: 0.8rem; max-width: none; margin: 0; }

/* Ürün sayfası: kargo kutusu biraz daha ferah */
article.single .eser-ship { margin: 0.7rem 0 0.8rem; padding: 0.65rem 0.9rem 0.65rem 0.6rem; font-size: 0.9rem; }
article.single .eser-ship-logo img { height: 1.5rem; }
article.single .eser-ship-text b { font-size: 1.02rem; }
article.single .eser-ship-text span { font-size: 0.86rem; }

/* Masaüstü kısa ekran (ör. 1024x450): kutu kompakt */
@media (min-width: 720px) and (max-height: 620px) {
  .sheet .eser-ship { margin: 0.2rem 0 0.25rem; padding: 0.22rem 0.6rem 0.22rem 0.3rem; gap: 0.5rem; line-height: 1.18; }
  .eser-modal .sheet .eser-similar-wrap { margin-top: 0; }
  .eser-modal .sheet .sim { padding: 0.2rem; }
  .eser-modal .sheet .sheet-body { padding-bottom: 0.15rem; }
  .sheet .eser-ship-logo { padding: 0.22rem 0.5rem; }
  .sheet .eser-ship-logo img { height: 1.05rem; }
  .sheet .eser-ship-text b { font-size: 0.84rem; }
  .sheet .eser-ship-text span { font-size: 0.72rem; }
  .sheet-cta .eser-pay { font-size: 0.7rem; margin-top: -0.1rem; }
  .eser-modal .sheet .sheet-cta { padding-top: 0.3rem; padding-bottom: 0.35rem; gap: 0.25rem; }
  .eser-modal .sheet .sheet-cta .btn { min-height: 38px; }
  .eser-modal .sheet .sheet-cta .qty button,
  .eser-modal .sheet .sheet-cta .qty input { height: 34px; }
  .eser-modal .sheet .eser-similar-wrap p { margin-bottom: 0.15rem; }
  .eser-modal .sheet .sim img { height: 2.45rem; }
}
/* Mobil: yapışkan çubukta ince tutulur */
@media (max-width: 719px) {
  .sheet .eser-ship { margin: 0.4rem 0 0.5rem; }
  .sheet .eser-ship-logo img { height: 1.15rem; }
  .sheet-cta .eser-pay { margin-top: -0.05rem; }
}

/* WordPress body sınıfı "single" temadaki .single (ürün makalesi) ızgarasını gövdeye de uyguluyordu:
   ürün sayfasında başlık/altbilgi sağ sütuna kayıyordu. Gövdeyi normal akışa döndür. */
body.single { display: block; padding: 0; gap: 0; }

/* ===== 1.1.9 Kayan yazı: küçük görselli, tıklanabilir ürünler (inc/ticker.php + gallery.js) ===== */
.eser-ticker.eser-tk {
  position: relative;
  height: 3.25rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #17140f 0%, #110f0c 100%);
  border-bottom: 1px solid rgba(226, 184, 74, 0.16);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5rem, #000 calc(100% - 2.5rem), transparent 100%);
  contain: layout paint;
}
.eser-tk .eser-tk-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  height: 100%;
  padding: 0;
  animation: eser-tk-move var(--eser-tk-dur, 60s) linear infinite;
  will-change: transform;
}
.eser-tk:hover .eser-tk-track,
.eser-tk:has(.eser-tk-link:focus-visible) .eser-tk-track { animation-play-state: paused; }
@keyframes eser-tk-move {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.eser-tk-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.eser-tk-item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 100%;
  padding: 0 0.9rem;
  white-space: nowrap;
}
.eser-tk-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.1rem;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(226, 184, 74, 0.45), transparent);
}
.eser-tk-info {
  gap: 0.5rem;
  color: var(--muted, #b8a990);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.eser-tk-dot {
  width: 0.36rem;
  height: 0.36rem;
  flex: 0 0 auto;
  background: var(--gold, #e2b84a);
  opacity: 0.75;
  transform: rotate(45deg);
}
.eser-tk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 2.75rem;
  padding: 0 0.85rem 0 0.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft, #f4f1ea);
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.eser-tk-link:hover {
  background: rgba(226, 184, 74, 0.08);
  border-color: rgba(226, 184, 74, 0.3);
}
.eser-tk-link:focus { outline: none; }
.eser-tk-link:focus-visible {
  outline: 2px solid var(--gold, #e2b84a);
  outline-offset: -2px;
  background: rgba(226, 184, 74, 0.1);
}
.eser-tk-th {
  display: block;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(226, 184, 74, 0.6);
  border-radius: 50%;
  overflow: hidden;
  background: #1f1b15;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}
.eser-tk-th img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.eser-tk-link:hover .eser-tk-th img { transform: scale(1.08); }
.eser-tk-name {
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.eser-tk-price {
  color: var(--gold, #e2b84a);
  font-weight: 600;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 719px) {
  .eser-ticker.eser-tk {
    height: 2.9rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
  }
  .eser-tk-item { padding: 0 0.7rem; }
  .eser-tk-link { height: 2.4rem; gap: 0.5rem; padding-right: 0.6rem; font-size: 0.8rem; }
  .eser-tk-th { width: 1.9rem; height: 1.9rem; }
  .eser-tk-name { max-width: 13rem; }
  .eser-tk-price { font-size: 0.76rem; }
  .eser-tk-info { font-size: 0.74rem; }
}
@media (hover: none) {
  .eser-tk:hover .eser-tk-track { animation-play-state: running; }
  .eser-tk:has(.eser-tk-link:focus-visible) .eser-tk-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .eser-ticker.eser-tk {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .eser-ticker.eser-tk::-webkit-scrollbar { display: none; }
  .eser-tk .eser-tk-track {
    animation: none;
    flex-wrap: nowrap;
    width: max-content;
    padding-inline: 0.5rem;
    transform: none;
  }
  .eser-tk-group[aria-hidden="true"] { display: none; }
  .eser-tk-th img { transition: none; }
}

/* ===== 1.2.0 Sepet: bildirim (toast) + alttan açılan sepet paneli (gallery.js cartUx) ===== */
/* Sepet açıkken: sayfa kaymaz, yüzen düğmeler / şerit / başlık gizlenir (popup'taki gibi) */
html.eser-cart-open,
body.eser-cart-open { overflow: hidden; overscroll-behavior: none; }
body.eser-cart-open .cart-fab,
body.eser-cart-open .recent-pin,
body.eser-cart-open .eser-recent,
body.eser-cart-open .eser-fab,
body.eser-cart-open .eser-ticker,
body.eser-cart-open .eser-toast {
  visibility: hidden;
  pointer-events: none;
}
.eser-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 61;
  background: rgba(0, 0, 0, 0.62);
  touch-action: none;
  animation: eser-fade-in 0.18s ease-out;
}
.eser-cart-backdrop[hidden] { display: none; }
@keyframes eser-fade-in { from { opacity: 0; } to { opacity: 1; } }

.cart-sheet:not([hidden]) {
  z-index: 62;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  left: 1rem;
  bottom: 1rem;
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(calc(100dvh - 2rem), 40rem);
  padding: 0;
}
.cart-sheet > .recent-head {
  flex: 0 0 auto;
  padding: 0.25rem 0.35rem 0.25rem 1rem;
  border-bottom: 1px solid var(--line-soft, rgba(245, 240, 232, 0.08));
}
.cart-sheet > .recent-head p {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #e2b84a);
}
.cart-sheet #cart-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0.7rem 0.75rem;
  gap: 0.6rem;
}
.cart-sheet #cart-total,
.cart-sheet > .note,
.cart-sheet #cart-go { flex: 0 0 auto; }
.cart-sheet #cart-total {
  margin: 0;
  padding: 0.6rem 1rem 0.1rem;
  border-top: 1px solid var(--line-soft, rgba(245, 240, 232, 0.08));
  background: #16140f;
  font-size: 1.08rem;
}
.cart-sheet > .note {
  margin: 0;
  padding: 0.15rem 1rem 0.5rem;
  background: #16140f;
  font-size: 0.8rem;
  line-height: 1.35;
}
.cart-sheet:not([hidden]) { background: #16140f; }
.cart-sheet > .recent-head,
.cart-sheet #cart-list { background: var(--surface, #1a1814); }
.cart-sheet #cart-go {
  width: auto;
  min-height: 48px;
  margin: 0 1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
  border-radius: 0.8rem;
}
/* Kompakt satırlar */
.cart-sheet .cart-line {
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft, rgba(245, 240, 232, 0.08));
}
.cart-sheet .cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-sheet .cart-line img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(226, 184, 74, 0.3);
}
.cart-sheet .cart-line strong {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-sheet .cart-line > div > span { display: block; color: var(--gold, #e2b84a); font-size: 0.84rem; font-weight: 600; margin: 0.1rem 0 0.3rem; }
.cart-sheet .cart-line .qty {
  grid-template-columns: 34px 2.6rem 34px;
  gap: 0.25rem;
  width: max-content;
}
.cart-sheet .cart-line .qty button,
.cart-sheet .cart-line .qty input { height: 34px; border-radius: 0.55rem; font-size: 0.9rem; }
.cart-sheet .cart-line .x { width: 40px; height: 40px; border-radius: 999px; color: var(--muted, #b8a990); }
.cart-sheet .cart-line .x:hover { color: var(--text, #f5f0e8); background: rgba(255, 255, 255, 0.05); }

@media (max-width: 768px) {
  .cart-sheet:not([hidden]) {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 85dvh;
    border-radius: 1.1rem 1.1rem 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    animation: eser-sheet-up 0.22s ease-out;
  }
  .cart-sheet > .recent-head { position: relative; padding-top: 0.55rem; }
  .cart-sheet > .recent-head::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    left: 50%;
    width: 2.4rem;
    height: 0.25rem;
    margin-left: -1.2rem;
    border-radius: 999px;
    background: rgba(245, 240, 232, 0.18);
  }
}
@keyframes eser-sheet-up { from { transform: translateY(1.5rem); opacity: 0.4; } to { transform: none; opacity: 1; } }

/* Toast */
.eser-toast {
  position: fixed;
  z-index: 58;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: min(23rem, calc(100vw - 1.5rem));
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.5rem 0.5rem 0.55rem;
  border: 1px solid rgba(226, 184, 74, 0.45);
  border-radius: 0.95rem;
  background: rgba(26, 24, 20, 0.97);
  color: var(--text, #f5f0e8);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, 0.8rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.eser-toast[hidden] { display: none; }
.eser-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.eser-toast-th {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(226, 184, 74, 0.5);
  background: #141210;
}
.eser-toast-th[hidden] { display: none; }
.eser-toast-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eser-toast-txt { flex: 1 1 auto; min-width: 0; display: grid; line-height: 1.25; }
.eser-toast-txt b { font-size: 0.9rem; font-weight: 600; color: var(--gold, #e2b84a); }
.eser-toast-txt span { font-size: 0.8rem; color: var(--muted, #b8a990); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eser-toast-go {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--gold, #e2b84a);
  color: #1a1408;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}
.eser-toast-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) {
  /* yüzen düğmelerin (sepet / WhatsApp, 3.5rem) üstünde */
  .eser-toast { bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px)); }
}
body.eser-lock .eser-toast,
body.eser-lock .eser-cart-backdrop { visibility: hidden; pointer-events: none; }
/* Sepet sayacı zıplaması */
.cart-fab.eser-bump { animation: eser-fab-bump 0.45s ease-out; }
#cart-count.eser-bump { animation: eser-badge-bump 0.45s ease-out; }
@keyframes eser-fab-bump { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes eser-badge-bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .eser-toast { transition: none; }
  .cart-sheet:not([hidden]), .eser-cart-backdrop, .cart-fab.eser-bump, #cart-count.eser-bump { animation: none; }
}

/* ===== 1.2.1 Satın al / Sor eşitleme + kart CTA'ları satır boyunca hizalı ===== */
.card { display: flex; flex-direction: column; }
.card > .card-stage { flex: 0 0 auto; }
.card > .card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.card > .card-body > .card-cta { margin-top: auto; }
.card-cta,
.sheet-cta,
.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.card-cta > .add-row,
.sheet-cta > .add-row,
.cta-row > .add-row { grid-column: 1 / -1; min-width: 0; }
.card-cta > .btn,
.sheet-cta > .btn,
.cta-row > .btn {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-cta > .btn,
.cta-row > .btn { min-height: 48px; }
.card-cta > .btn > svg,
.cta-row > .btn > svg,
.sheet-cta > .btn > svg { flex: 0 0 auto; }

/* ===== 1.2.2 Kayan yazı notları: logolar (beyaz hap) + kırmızı yanıp sönen "Kapıda ödeme yoktur" ===== */
.eser-tk-info .eser-tk-txt { white-space: nowrap; }
.eser-tk-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 1.25rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #fff;
  line-height: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.eser-tk-logo img { display: block; width: auto; height: 0.875rem; max-width: none; margin: 0; }
.eser-tk-flash .eser-tk-txt {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
  animation: eser-tk-flash 1s ease-in-out infinite;
}
@keyframes eser-tk-flash {
  0%, 100% { opacity: 1; background: #c62828; box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.65); }
  50% { opacity: 0.55; background: #e53935; box-shadow: 0 0 10px 2px rgba(229, 57, 53, 0.75); }
}
@media (max-width: 719px) {
  .eser-tk-logo { height: 1.05rem; padding: 0 0.38rem; }
  .eser-tk-logo img { height: 0.72rem; }
  .eser-tk-flash .eser-tk-txt { height: 1.35rem; padding: 0 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .eser-tk-flash .eser-tk-txt { animation: none; opacity: 1; }
}

/* === Tanıtım girişi, raflar, güven rozetleri (1.4.40) === */
.intro-hero{position:relative;margin:1rem 0 1.5rem;border-radius:1.25rem;overflow:hidden;min-height:360px;display:flex;align-items:flex-end;background:#0c0b0a;border:1px solid rgba(226,184,74,.25)}
.intro-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.intro-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,11,10,0) 25%,rgba(12,11,10,.92) 100%)}
.intro-hero-text{position:relative;z-index:1;padding:1.5rem;max-width:36rem}
.intro-kicker{margin:0 0 .35rem;color:#e2b84a;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
.intro-hero h1{margin:0 0 .5rem;font-size:clamp(1.6rem,5vw,2.6rem);line-height:1.15;color:#f6efe0}
.intro-sub{margin:0 0 1rem;color:#d9cfbd;font-size:.98rem}
.intro-hero .intro-cta{display:inline-block;background:#e2b84a !important;color:#0c0b0a !important;border-color:#e2b84a !important;color:#0c0b0a;font-weight:600;padding:.75rem 1.4rem;border-radius:999px;text-decoration:none}
@media (min-width:900px){.intro-hero{min-height:480px}.intro-hero-text{padding:2.5rem}}
.shelf h2{margin-bottom:.75rem}
.shelf-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,46%);gap:.75rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding-bottom:.75rem;scrollbar-width:thin}
.shelf-row>.card{scroll-snap-align:start;min-width:0}
@media (min-width:700px){.shelf-row{grid-auto-columns:minmax(200px,23%)}}
@media (min-width:1100px){.shelf-row{grid-auto-columns:minmax(220px,19%)}}
.trust-badges{list-style:none;margin:0 0 1rem;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.trust-badges li{display:flex;align-items:center;gap:.5rem;min-width:0;padding:.55rem .6rem;border:1px solid rgba(226,184,74,.28);border-radius:.8rem;background:#15130f;color:#e2b84a}
.trust-badges svg{width:22px;height:22px;flex:0 0 22px}
.trust-badges span{display:flex;flex-direction:column;min-width:0}
.trust-badges strong{color:#f6efe0;font-size:.8rem;font-weight:600;line-height:1.2}
.trust-badges small{color:#b9ad97;font-size:.7rem;line-height:1.2}
.trust-badges .tb-warn{border-color:rgba(220,60,60,.6);background:#2a1212}
.trust-badges .tb-warn strong{color:#ff6b6b}
@media (min-width:900px){.trust-badges{grid-template-columns:repeat(6,minmax(0,1fr))}.trust-badges strong{font-size:.88rem}}

/* 1.4.43 Kaydırınca canlanma (yalnızca JS çalışınca: html.eser-reveal) */
html.eser-reveal .card.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0ms); }
html.eser-reveal .card.rv .card-body { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--rv-d, 0ms) + 180ms); }
html.eser-reveal .card.rv.rv-in, html.eser-reveal .card.rv.rv-in .card-body { opacity: 1; transform: none; }
.card.rv .card-stage { position: relative; }
.card.rv .card-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, transparent 40%, rgba(232, 196, 120, .38) 49%, rgba(255, 236, 190, .55) 50%, rgba(232, 196, 120, .38) 51%, transparent 60%);
  transform: translateX(-120%); opacity: 0; }
html.eser-reveal .card.rv.rv-in .card-stage::after { animation: eser-shine 1.1s ease-out forwards; animation-delay: calc(var(--rv-d, 0ms) + 250ms); }
@keyframes eser-shine { 0% { transform: translateX(-120%); opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html.eser-reveal .card.rv, html.eser-reveal .card.rv .card-body { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card.rv .card-stage::after { display: none !important; }
}

/* Amber bead icons (1.4.44) */
.bead{display:inline-block;flex:0 0 auto;overflow:visible;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 4px rgba(244,160,42,.25))}
.bead.bead-red{filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 4px rgba(229,72,58,.3))}
.trust-badges svg.bead{width:30px;height:30px;flex:0 0 30px}
.bead-menu{width:17px;height:17px;margin-right:.45rem;vertical-align:-3px}
.drawer-links a{display:flex;align-items:center}
.bead-glint{opacity:0;transform-box:fill-box;transform-origin:center;animation:beadGlint 5s ease-in-out infinite}
.trust-badges li:nth-child(2) .bead-glint{animation-delay:.8s}.trust-badges li:nth-child(3) .bead-glint{animation-delay:1.6s}.trust-badges li:nth-child(4) .bead-glint{animation-delay:2.4s}.trust-badges li:nth-child(5) .bead-glint{animation-delay:3.2s}.trust-badges li:nth-child(6) .bead-glint{animation-delay:4s}
@keyframes beadGlint{0%,78%,100%{opacity:0;transform:rotate(-24deg) translateX(-2px) scale(.6)}86%{opacity:.95;transform:rotate(-24deg) translateX(3px) scale(1.15)}93%{opacity:0;transform:rotate(-24deg) translateX(7px) scale(.7)}}
@media (prefers-reduced-motion:reduce){.bead-glint{animation:none;opacity:0}}
@media (max-width:420px){.trust-badges svg.bead{width:28px;height:28px;flex-basis:28px}}

/* ===== 1.4.45 Güvence rozetleri: açık krem tema ===== */
.trust-badges li{background:linear-gradient(180deg,#FDFAF4 0%,#F7F0E2 100%);border:1px solid #E6D6B5;color:#C4A265;box-shadow:0 1px 2px rgba(59,42,30,.06)}
.trust-badges strong{color:#3B2A1E}
.trust-badges small{color:#7A6A5A}
.trust-badges .tb-warn{background:#FCEFEC;border-color:rgba(200,60,50,.55)}
.trust-badges .tb-warn strong{color:#B3261E}
.trust-badges .tb-warn small{color:#8A5A52}

/* ===== 1.4.47 Son ürün: yanıp sönen etiket + belirgin kart ===== */
@keyframes eserLastPulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(196,30,36,.55),0 0 6px rgba(196,30,36,.35)}50%{opacity:.62;box-shadow:0 0 0 4px rgba(196,30,36,0),0 0 14px rgba(226,90,60,.65)}}
html body .badge.badge-last,html body span.badge-last{animation:eserLastPulse 1.4s ease-in-out infinite !important;will-change:opacity,box-shadow}
html body article.card.card-last{border:1px solid rgba(196,30,36,.45) !important;box-shadow:0 0 0 1px rgba(196,162,101,.35),0 4px 16px rgba(196,30,36,.14) !important}
@media (prefers-reduced-motion:reduce){html body .badge.badge-last,html body span.badge-last{animation:none !important}}

/* ===== 1.4.48 Güvence kayan yazı (metin şeridi) ===== */
.trust-ticker{position:relative;width:100%;max-width:100%;overflow:hidden;height:38px;display:flex;align-items:center;margin:0 0 1rem;background:#F3EBDD;border-top:1px solid #D9C190;border-bottom:1px solid #D9C190;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);outline:none}
.trust-ticker .tt-track{display:flex;width:max-content;animation:eserTicker 40s linear infinite;will-change:transform}
.trust-ticker .tt-seq{display:flex;align-items:center;flex:0 0 auto;margin:0;padding:0;white-space:nowrap;font-family:"Cormorant Garamond","Playfair Display",Georgia,"Times New Roman",serif;font-size:14px;line-height:1;color:#3B2A1E;letter-spacing:.01em}
.trust-ticker .tt-item strong{font-weight:600}
.trust-ticker .tt-warn,.trust-ticker .tt-warn strong{color:#9E1C1C}
.trust-ticker .tt-sep{color:#C4A265;font-size:11px;margin:0 1.1rem}
.trust-ticker:hover .tt-track,.trust-ticker:focus-within .tt-track,.trust-ticker:active .tt-track{animation-play-state:paused}
@keyframes eserTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (max-width:600px){.trust-ticker{height:36px}.trust-ticker .tt-seq{font-size:13px}}
@media (prefers-reduced-motion:reduce){.trust-ticker{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.trust-ticker .tt-track{animation:none}.trust-ticker .tt-clone{display:none}}

/* ===== 1.4.49 Ana sayfa kapak görseli ===== */
.eser-hero{display:block;max-width:100%;margin:0 0 .9rem;border-radius:14px;overflow:hidden;line-height:0;box-shadow:0 2px 10px rgba(59,42,30,.08)}
.eser-hero picture,.eser-hero img{display:block;width:100%;height:auto;max-width:100%}
@media (max-width:767px){.eser-hero{border-radius:10px}}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
