:root {
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --gold-dark: #a0824a;
  --dark: #0a0a0a;
  --dark-card: #1a1a1a;
  --cream: #f5f0e8;
  --muted: #8a8a8a;
  --light: #b8b8b8;
  --curtain: #3d1515;
  --frame: #1a1208;
  --curtain-w: clamp(40px, 8vw, 120px);
  --scene-pad: clamp(12px, 2.5vw, 36px);
  --theater-h: 320px;
  --theater-char-bottom: clamp(68px, 10vh, 100px);
  --theater-char-enter-bottom: clamp(10vh, 13vh, 16vh);
  --char-side-inset: clamp(12px, 3vw, 48px);
  --char-center-gap: clamp(70px, 9vw, 110px);
  --char-move-duration: 2.8s;
  --showcase-header-h: clamp(68px, 10vw, 84px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #050403;
  color: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', serif;
}

/* ——— Sinema salonu dış çerçeve ——— */
.cinema-outer {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center, #1a1008 0%, #050403 70%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0, rgba(0,0,0,0.15) 2px, transparent 2px, transparent 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--scene-pad) var(--curtain-w);
}

.cinema-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--curtain-w);
  z-index: 25;
  background: linear-gradient(90deg, #2a0a0a, var(--curtain) 30%, #5c2020 50%, var(--curtain) 70%, #2a0a0a);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
  pointer-events: none;
}

.cinema-curtain-left {
  left: 0;
  border-right: 3px solid rgba(201,169,110,0.15);
}

.cinema-curtain-right {
  right: 0;
  border-left: 3px solid rgba(201,169,110,0.15);
}

.cinema-frame {
  position: relative;
  z-index: 20;
  width: min(100%, 1600px);
  height: 100%;
  padding: clamp(10px, 1.5vw, 20px);
  background: linear-gradient(145deg, #2a1f12, var(--frame) 40%, #0f0c08);
  border: 3px solid rgba(201,169,110,0.35);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 0 60px rgba(0,0,0,0.9),
    inset 0 0 80px rgba(0,0,0,0.5);
}

.cinema-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid rgba(201,169,110,0.2);
  background: #0a0806;
}

/* ——— Dinamik arka plan katmanları ——— */
.scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a0806;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  transform: scale(1.04);
  filter: sepia(0.22) contrast(1.05) brightness(0.82);
  will-change: opacity;
}

.scene-bg.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.8s ease-in-out, transform 8s ease-out;
}

.film-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 2;
}

.film-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(5,3,2,0.55) 75%, rgba(0,0,0,0.85) 100%);
  z-index: 3;
}

.film-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.4) 2px, rgba(0,0,0,0.4) 4px);
  z-index: 4;
}

.flashback-badge {
  position: absolute;
  top: clamp(16px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  opacity: 0.85;
}

.flashback-tag {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
  white-space: nowrap;
}

.cinema-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: clamp(10px, 1.8vw, 20px) clamp(14px, 2.2vw, 28px);
  background: linear-gradient(180deg, rgba(5,3,2,0.75), transparent);
}

.brand-block {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  width: clamp(48px, 5.5vw, 64px);
  height: clamp(48px, 5.5vw, 64px);
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.cinema-main {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 200px;
  pointer-events: none;
}

.cinema-screen.showcase-open .cinema-main {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.cinema-screen.showcase-open .cinema-title-card {
  display: none;
}

.cinema-screen.showcase-open .cinema-footer {
  opacity: 0;
  visibility: hidden;
}

.cinema-screen.showcase-open .scene-bg.active {
  opacity: 0.35 !important;
  filter: blur(1px) sepia(0.22) contrast(1.05) brightness(0.82);
}

.cinema-screen.showcase-open .cinema-main {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.cinema-screen.showcase-open .cinema-title-card {
  display: none;
}

.cinema-screen.showcase-open .cinema-footer {
  opacity: 0;
  visibility: hidden;
}

.cinema-title-card {
  position: fixed;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  z-index: 210;
  text-align: center;
  max-width: min(640px, 88vw);
  pointer-events: none;
  padding: 22px 32px 26px;
  border-radius: 14px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 4, 3, 0.82) 0%,
    rgba(6, 4, 3, 0.48) 52%,
    transparent 78%
  );
  box-shadow:
    0 10px 48px rgba(0, 0, 0, 0.65),
    0 0 72px rgba(0, 0, 0, 0.4);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out, filter 2s ease-in-out;
}

.cinema-title-card.faded {
  opacity: 0;
  transform: translate(-50%, calc(-50% - 12px));
  filter: blur(2px);
}

.title-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.title-hero {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(248, 244, 236, 0.96);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 3px 12px rgba(0, 0, 0, 0.85),
    0 6px 28px rgba(0, 0, 0, 0.65);
  margin: 0;
  padding: 0 8px;
  letter-spacing: 0.01em;
}

.title-hero br {
  display: block;
  content: '';
  margin-top: 0.15em;
}

body.showcase-open .cinema-frame {
  z-index: 210;
}

.product-showcase {
  position: absolute;
  top: var(--showcase-header-h);
  left: 14px;
  right: 14px;
  bottom: 10px;
  z-index: 16;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.showcase-scroll {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  filter: blur(6px);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 0.55s ease,
    visibility 0s linear 0.55s;
  pointer-events: none;
  z-index: 1;
}

.showcase-slide.is-leaving {
  opacity: 0;
  visibility: visible;
  transform: scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.5s ease,
    filter 0.5s ease,
    transform 0.5s ease,
    visibility 0s linear 0.5s;
  z-index: 2;
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  filter: blur(0);
  transition:
    opacity 0.55s ease 0.05s,
    filter 0.55s ease 0.05s,
    transform 0.55s ease 0.05s,
    visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 3;
}

.showcase-card {
  width: 100%;
  height: 100%;
  background: rgba(5, 3, 2, 0.96);
  border: 1px solid rgba(201, 169, 110, 0.38);
  border-radius: 12px;
  padding: clamp(10px, 1.6vh, 16px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.55fr) minmax(108px, 0.72fr);
  gap: clamp(10px, 1.8vw, 18px);
  align-items: stretch;
  overflow: hidden;
}

.showcase-col {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* Sol — ürün görseli */
.showcase-col-product {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.showcase-frame {
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #080604;
  border-radius: 8px;
  border: 1px solid rgba(201, 169, 110, 0.22);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px;
}

.showcase-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

/* Orta — hikâye ve içerik */
.showcase-col-story {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(3px, 0.6vh, 6px);
  padding: 0 clamp(4px, 0.8vw, 10px);
  text-align: left;
  border-left: 1px solid rgba(201, 169, 110, 0.12);
  border-right: 1px solid rgba(201, 169, 110, 0.12);
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.35) transparent;
}

/* Sağ — fiyat ve satış (en dar) */
.showcase-col-sale {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  padding-left: 4px;
}

.showcase-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 1.4vh, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.showcase-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1rem, 2.2vh, 1.45rem);
  color: var(--cream);
  margin: 0;
  line-height: 1.15;
  flex-shrink: 0;
}

.showcase-title-text {
  flex: 1;
  min-width: 0;
}

/* ——— Kolonya vitrin hiyerarşisi ——— */
.showcase-col-kolonya {
  gap: 4px;
}

.showcase-eyebrow-kolonya {
  font-size: clamp(0.74rem, 1.4vh, 0.9rem);
  letter-spacing: 0.3em;
}

.showcase-kolonya-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.15rem, 2.6vh, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin: 2px 0 0;
  line-height: 1.15;
}

.showcase-kolonya-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: rgba(0, 0, 0, 0.28);
  font-size: clamp(0.58rem, 1.05vh, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 213, 163, 0.9);
  line-height: 1.2;
}

.showcase-badge-degree {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.12em;
}

.showcase-badge-approval {
  letter-spacing: 0.05em;
}

.showcase-badge-limited {
  border-color: rgba(201, 169, 110, 0.5);
  color: var(--gold);
}

.showcase-series-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(201, 169, 110, 0.14);
  flex-shrink: 0;
}

.showcase-series-thumb {
  width: clamp(36px, 5.5vw, 46px);
  height: clamp(48px, 7.2vw, 58px);
  padding: 3px;
  border-radius: 7px;
  border: 1px solid rgba(201, 169, 110, 0.24);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.showcase-series-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
}

.showcase-series-thumb:hover {
  border-color: rgba(201, 169, 110, 0.5);
  transform: translateY(-1px);
}

.showcase-series-thumb.is-active {
  border-color: rgba(201, 169, 110, 0.72);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.2);
  background: rgba(201, 169, 110, 0.08);
}

.showcase-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.78rem, 1.45vh, 0.92rem);
  color: var(--gold-light);
  margin: 4px 0 0;
  line-height: 1.35;
  flex-shrink: 0;
}

.showcase-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  align-content: flex-start;
  overflow: visible;
}

.showcase-trait-btn {
  flex: 0 1 auto;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-light);
  font-family: inherit;
  font-size: clamp(0.66rem, 1.15vh, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.showcase-trait-btn .trait-label {
  font-weight: 700;
  color: var(--cream);
}

.showcase-trait-btn .trait-value {
  font-weight: 400;
}

.showcase-trait-btn:hover {
  background: rgba(201, 169, 110, 0.24);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-1px);
}

.showcase-trait-btn:active {
  transform: translateY(0);
}

.showcase-trait-btn[aria-disabled='true'] {
  opacity: 1;
}

.ferho-motif {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.75rem, 3.2vh, 2.15rem);
  height: clamp(1.75rem, 3.2vh, 2.15rem);
  padding: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232, 213, 163, 0.14), rgba(201, 169, 110, 0.04) 70%);
  border: 1px solid rgba(201, 169, 110, 0.22);
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.08);
}

.ferho-motif svg,
.ferho-icon-btn svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ferho-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.ferho-icon-btn svg {
  width: 18px;
  height: 18px;
}

.showcase-desc {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.76rem, 1.35vh, 0.88rem);
  color: rgba(245, 240, 232, 0.88);
  line-height: 1.45;
  margin: 0;
  flex-shrink: 0;
}

.showcase-col-kolonya .showcase-trait-btn {
  padding: 5px 9px;
  font-size: clamp(0.62rem, 1.05vh, 0.7rem);
}

.showcase-story-label {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.65rem, 1.2vh, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: clamp(4px, 0.8vh, 10px) 0 0;
}

.showcase-story {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.76rem, 1.4vh, 0.9rem);
  line-height: 1.45;
  color: rgba(245, 240, 232, 0.92);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  flex: 1;
  min-height: 0;
}

.showcase-price {
  font-size: clamp(1.15rem, 2.4vh, 1.5rem);
  color: var(--gold-light);
  font-weight: 600;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.showcase-size {
  font-size: clamp(0.68rem, 1.2vh, 0.78rem);
  color: var(--muted);
  text-align: center;
  margin: 0;
  letter-spacing: 0.06em;
}

.showcase-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.showcase-actions .btn {
  width: 100%;
  padding: 9px 10px;
  font-size: 0.68rem;
  text-align: center;
  white-space: nowrap;
}

.showcase-hint {
  flex-shrink: 0;
  text-align: center;
  padding: 6px 0 2px;
  font-size: clamp(0.58rem, 1vh, 0.68rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(138, 138, 138, 0.55);
  pointer-events: none;
}

.showcase-counter {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: clamp(0.7rem, 1.3vh, 0.82rem);
  letter-spacing: 0.12em;
  color: var(--gold-light);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 768px) {
  .product-showcase {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .showcase-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .showcase-col-story {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    padding: 8px 0;
  }

  .showcase-col-product .showcase-frame {
    max-height: 36vh;
  }

  .showcase-col-sale {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
  }

  .showcase-actions {
    flex-direction: row;
    flex: 1;
    justify-content: flex-end;
  }

  .showcase-actions .btn {
    width: auto;
    flex: 1;
  }

  .showcase-title {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
  }

  .showcase-story {
    -webkit-line-clamp: 3;
  }

  .showcase-kolonya-name {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
  }

  .showcase-series-thumb {
    width: clamp(34px, 9vw, 42px);
    height: clamp(44px, 11vw, 52px);
  }

}

.cinema-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12;
  text-align: center;
  padding: 10px;
  font-size: 0.65rem;
  color: rgba(138,138,138,0.6);
  background: linear-gradient(0deg, rgba(5,3,2,0.6), transparent);
  pointer-events: none;
}

/* Buttons */
.btn {
  border: 1px solid var(--gold);
  background: rgba(5,3,2,0.5);
  color: var(--gold);
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  backdrop-filter: blur(4px);
}

.btn:hover, .btn.primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-ghost {
  padding: 6px 12px;
  background: transparent;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
}

/* Product grid */
.section-title {
  text-align: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.card {
  background: rgba(26,26,26,0.9);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.card:hover { border-color: var(--gold); }

.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.card-body { padding: 12px; }

.card-name {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-price { font-size: 0.8rem; }

/* ——— Tiyatro karakterler ——— */
#theater-stage {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 1;
}

.theater-char,
.char-hit,
.char-vid,
.char-name {
  opacity: 1;
}

.theater-char {
  position: fixed;
  right: auto;
  left: var(--char-left, 50%);
  bottom: var(--char-bottom, var(--theater-char-bottom));
  transform: translateX(var(--char-shift, -50%));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  z-index: 12;
  transition:
    left var(--char-move-duration) cubic-bezier(0.33, 1, 0.38, 1),
    bottom var(--char-move-duration) cubic-bezier(0.33, 1, 0.38, 1),
    transform var(--char-move-duration) cubic-bezier(0.33, 1, 0.38, 1);
  will-change: left, transform, bottom;
}

.char-hit {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  gap: 2px;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

/* Giriş: ortada simetrik yan yana */
#theater-stage.chars-enter:not(.chars-ready) .char-dede {
  --char-left: 50%;
  --char-shift: calc(-50% - var(--char-center-gap));
  --char-bottom: var(--theater-char-enter-bottom);
  align-items: flex-end;
}

#theater-stage.chars-enter:not(.chars-ready) .char-ferhan {
  --char-left: 50%;
  --char-shift: calc(-50% + var(--char-center-gap));
  --char-bottom: var(--theater-char-enter-bottom);
  align-items: flex-start;
}

/* Köşelere simetrik ayrılma — ikisi de left + transform */
#theater-stage.chars-ready .char-dede {
  --char-left: var(--char-side-inset);
  --char-shift: 0;
  --char-bottom: var(--theater-char-bottom);
  align-items: flex-start;
}

#theater-stage.chars-ready .char-ferhan {
  --char-left: calc(100% - var(--char-side-inset));
  --char-shift: -100%;
  --char-bottom: var(--theater-char-bottom);
  align-items: flex-end;
}

.char-dede { align-items: flex-start; }
.char-ferhan { align-items: flex-end; }

.char-vid {
  height: clamp(170px, 26vh, 270px);
  width: auto;
  max-width: min(280px, 32vw);
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
  transition: transform 0.5s ease;
  transform-origin: bottom center;
  pointer-events: none;
}

.char-dede.look-right .char-vid { transform: rotate(2deg); }
.char-dede.look-center .char-vid { transform: rotate(-3deg) translateX(4px); }
.char-ferhan.look-left .char-vid { transform: rotate(-2deg); }
.char-ferhan.look-center .char-vid { transform: rotate(3deg) translateX(-4px); }

.theater-char.speaking .char-vid {
  animation: charSpeak 0.7s ease-in-out infinite alternate;
}

@keyframes charSpeak {
  from { transform: translateY(0) rotate(var(--rot, 0deg)); }
  to { transform: translateY(-4px) rotate(var(--rot, 0deg)); }
}

.char-dede.speaking.look-right .char-vid { --rot: 2deg; }
.char-dede.speaking.look-center .char-vid { --rot: -3deg; }
.char-ferhan.speaking.look-left .char-vid { --rot: -2deg; }
.char-ferhan.speaking.look-center .char-vid { --rot: 3deg; }

.char-name {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  padding: 0 8px 6px;
}

.speech-bubble {
  position: absolute;
  bottom: calc(100% - 8px);
  min-width: 200px;
  max-width: min(340px, 46vw);
  max-height: 220px;
  overflow-y: auto;
  padding: 30px 14px 12px;
  background: linear-gradient(145deg, rgba(20, 14, 10, 0.96), rgba(8, 6, 4, 0.98));
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.speech-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: none;
  overflow: visible;
}

.speech-bubble.has-actions {
  pointer-events: auto;
  max-height: none;
  overflow: visible;
}

.char-dede .speech-bubble { left: clamp(8px, 2vw, 24px); }
.char-ferhan .speech-bubble { right: clamp(8px, 2vw, 24px); }

.bubble-name {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.bubble-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  line-height: 1.55;
  color: var(--cream);
  margin: 0;
  white-space: pre-wrap;
}

.bubble-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 169, 110, 0.22);
}

.bubble-actions:empty { display: none; margin: 0; padding: 0; border: none; }

.bubble-close-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.speech-bubble.visible .bubble-close-btn {
  display: inline-flex;
}

.bubble-close-btn:hover,
.bubble-close-btn:focus-visible {
  color: var(--cream);
  border-color: rgba(201, 169, 110, 0.55);
  background: rgba(0, 0, 0, 0.65);
}

.bubble-close-btn svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.bubble-action-btn {
  flex: 1 1 auto;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
}

.bubble-action-btn:hover {
  background: rgba(201, 169, 110, 0.22);
  border-color: var(--gold);
  color: var(--cream);
}

.bubble-text.typing-dots::after {
  content: '…';
  animation: dots 1.2s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

.theater-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 48px));
  pointer-events: auto;
  z-index: 220;
}

.theater-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(8, 6, 4, 0.88);
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

#chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.85rem;
}

#chat-input:focus {
  outline: none;
  border-color: var(--gold);
}

.theater-quick-replies { display: none; }

.theater-toast {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.theater-extras-card {
  background: rgba(20, 14, 10, 0.92);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.theater-extras-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.theater-extras-card .pc-body { padding: 10px 14px; }

.theater-inline-form {
  background: rgba(20, 14, 10, 0.92);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}

.theater-inline-form .form-group { margin-bottom: 10px; }

.theater-inline-form label {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
}

.theater-inline-form input {
  width: 100%;
  padding: 9px 11px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 6px;
  color: var(--cream);
  font-family: inherit;
}

/* Cart */
#cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  z-index: 400;
  background: var(--dark-card);
  border-left: 1px solid rgba(201,169,110,0.2);
  transition: right 0.3s;
  display: flex;
  flex-direction: column;
}

#cart-drawer.open { right: 0; }

#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 350;
  display: none;
}

#cart-overlay.open { display: block; }

.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.cart-item-name { font-size: 0.85rem; color: var(--gold); }
.cart-item-meta { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.cart-item-price { font-size: 0.8rem; margin-top: 4px; color: var(--gold-light); }

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 6px;
  overflow: hidden;
}

.cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(201, 169, 110, 0.08);
  color: var(--gold-light);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
  padding: 6px;
}

.cart-qty-btn:hover:not(:disabled) {
  background: rgba(201, 169, 110, 0.2);
}

.cart-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-qty-btn svg,
.cart-remove-btn svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--cream);
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  opacity: 0.7;
  transition: color 0.15s, opacity 0.15s;
}

.cart-remove-btn:hover {
  color: #e8a0a0;
  opacity: 1;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(201,169,110,0.15);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--gold-light);
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}

/* Checkout modal */
#checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
}

#checkout-modal.open { display: flex; }

#hatira-modal {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
}

#hatira-modal.open { display: flex; }

.hatira-modal-box {
  position: relative;
}

.hatira-modal-lead {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.45;
  margin: 0 0 16px;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}

.modal-close-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.12);
}

.modal-box {
  background: var(--dark-card);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: 12px;
  padding: 28px;
  max-width: 420px;
  width: 90%;
}

.modal-box h3 { color: var(--gold); margin-bottom: 16px; }

.form-group { margin-bottom: 12px; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 6px;
  color: var(--cream);
  font-family: inherit;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.modal-actions .btn { flex: 1; }

.success-msg { text-align: center; padding: 16px 0; }

.success-msg .order-id {
  font-size: 1.3rem;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
  :root {
    --curtain-w: 24px;
    --scene-pad: 10px;
  }

  .char-vid { height: clamp(120px, 18vh, 170px); }
  .cinema-title-card {
    top: 32%;
    padding: 18px 22px 22px;
  }
  .title-hero {
    font-size: clamp(1.2rem, 4.8vw, 1.65rem);
  }
  :root {
    --char-center-gap: 56px;
    --theater-char-enter-bottom: clamp(8vh, 11vh, 14vh);
  }
  .theater-dock { width: calc(100vw - 24px); }
  .speech-bubble { max-width: min(240px, 58vw); }
  .brand-logo { width: 42px; height: 42px; }
  .header-actions .btn { padding: 6px 10px; font-size: 0.62rem; }
}