@import url('brand-mark.css');

.material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
        }
        .glass-panel {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .cube-grid-overlay {
            background-image: linear-gradient(to right, rgba(0,74,198,0.1) 1px, transparent 1px),
                              linear-gradient(to bottom, rgba(0,74,198,0.1) 1px, transparent 1px);
            background-size: 25% 16.66%;
        }

body {
  opacity: 1;
  background-color: #f8f9ff;
  color: #0b1c30;
}

body.use-page-fade:not(.page-ready) {
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.use-page-fade.page-ready {
  opacity: 1;
}

/* Nav header — Tailwind yüklenmeden önce de doğru görünüm */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-shrink nav {
  height: 3.5rem;
  transition: height 0.3s ease;
}

.reveal-element { opacity: 0; transform: translateY(-18px); transition: opacity .45s ease, transform .45s ease; }
.reveal-element.is-visible { opacity: 1; transform: translateY(0); }
main button:not(.hero-carousel-nav), main a { transition: transform .2s ease, box-shadow .2s ease; }
main button:not(.hero-carousel-nav):hover, main a:hover { transform: scale(1.02); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.active-nav-link { color: #2563eb !important; border-bottom: 2px solid #2563eb; padding-bottom: 4px; }

.material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }

        .cube-grid-overlay {
            background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
            background-size: 16.66% 25%;
        }

        .glass-panel {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .preview-crop-rect {
            position: absolute;
            border: 2px dashed #2563eb;
            background: rgba(37, 99, 235, 0.15);
            pointer-events: none;
            display: none;
            z-index: 35;
        }

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Özelleştir — baskı kalitesi rozeti + değiştir butonu */
.editor-canvas-block {
  --editor-canvas-size: min(56vh, 500px);
  max-height: calc(100vh - 200px);
}

.editor-preview-stack {
  width: 100%;
}

#canvasStage {
  width: 100%;
  /* Genişliği yükseklik bütçesine göre sınırla; böylece her şablonda
     (özellikle dikey 24 küp) küpler kare kalır, sıkışmaz */
  max-width: min(
    100%,
    720px,
    calc(var(--editor-canvas-size, 500px) * var(--stage-aspect, 1))
  );
  max-height: var(--editor-canvas-size, 500px);
  height: auto;
  min-height: 200px;
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}

#canvasStage .grid-cell--main:hover {
  filter: brightness(1.05);
}

#canvasStage .grid-cell--frame:hover {
  filter: brightness(1.08);
}

@media (min-width: 1024px) {
  .editor-canvas-block {
    --editor-canvas-size: min(54vh, 520px);
  }
}

@media (max-height: 800px) {
  .editor-canvas-block {
    --editor-canvas-size: min(42vh, 400px);
  }
}

.editor-quality-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 74, 198, 0.12);
  box-shadow: 0 2px 10px rgba(0, 74, 198, 0.08);
  max-width: 100%;
}

.editor-quality-badge--above {
  flex-shrink: 0;
}

.editor-quality-badge__icon {
  font-size: 14px;
  color: #004ac6;
  flex-shrink: 0;
}

.editor-quality-badge__label {
  font-size: 10px;
  font-weight: 600;
  color: #0b1c30;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.editor-quality-badge__status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #004ac6;
  background: rgba(0, 74, 198, 0.1);
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}

.editor-quality-badge__track {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: #dce9ff;
  overflow: hidden;
  flex-shrink: 0;
}

.editor-quality-badge__bar {
  border-radius: 999px;
  min-width: 3px;
}

.editor-change-photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 200px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 74, 198, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #eff4ff 100%);
  color: #004ac6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow:
    0 4px 16px rgba(0, 74, 198, 0.12),
    0 1px 2px rgba(11, 28, 48, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

#editorPhotoActions {
  position: relative;
  z-index: 5;
}

.editor-change-photo-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 74, 198, 0.35);
  box-shadow: 0 8px 24px rgba(0, 74, 198, 0.18);
}

.editor-change-photo-btn:active {
  transform: translateY(0);
}

main .editor-change-photo-btn:hover {
  transform: translateY(-1px);
}

        .drop-active {
            border-color: #2563eb !important;
            background: rgba(37, 99, 235, 0.08) !important;
        }

body {
            opacity: 1;
        }

        body.use-page-fade:not(.page-ready) {
            opacity: 0;
            transition: opacity 0.35s ease;
        }

        body.use-page-fade.page-ready {
            opacity: 1;
        }

        .reveal-element {
            opacity: 0;
            transform: translateY(-18px);
            transition: opacity .45s ease, transform .45s ease;
        }

        .reveal-element.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .site-header {
            transition: height 0.3s ease, box-shadow 0.3s ease;
        }

        .site-header.header-shrink nav {
            height: 3.5rem;
            transition: height 0.3s ease;
        }

        main button:not(.hero-carousel-nav),
        main a {
            transition: transform .2s ease, box-shadow .2s ease;
        }

        main button:not(.hero-carousel-nav):hover,
        main a:hover {
            transform: scale(1.02);
            box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
        }

        .active-nav-link {
            color: #2563eb !important;
            border-bottom: 2px solid #2563eb;
            padding-bottom: 4px;
        }

.material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
        }
        
.material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }
        .grid-overlay {
            background-image: linear-gradient(to right, rgba(0, 74, 198, 0.1) 1px, transparent 1px),
                              linear-gradient(to bottom, rgba(0, 74, 198, 0.1) 1px, transparent 1px);
            background-size: calc(100% / 6) calc(100% / 4);
        }
        .glass-morphism {
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

.cube-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      grid-template-rows: repeat(4, 1fr);
      gap: 1px;
    }

    .glass-card {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .material-symbols-outlined {
      font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    }

body {
      opacity: 1;
    }

    body.use-page-fade:not(.page-ready) {
      opacity: 0;
      transition: opacity 0.35s ease;
    }

    body.use-page-fade.page-ready {
      opacity: 1;
    }

    .reveal-element {
      opacity: 0;
      transform: translateY(-18px);
      transition: opacity .45s ease, transform .45s ease;
    }

    .reveal-element.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .site-header {
      transition: height 0.3s ease, box-shadow 0.3s ease;
    }

    .site-header.header-shrink nav {
      height: 3.5rem;
      transition: height 0.3s ease;
    }

    main button:not(.hero-carousel-nav),
    main a {
      transition: transform .2s ease, box-shadow .2s ease;
    }

    main button:not(.hero-carousel-nav):hover,
    main a:hover {
      transform: scale(1.02);
      box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    }

    .active-nav-link {
      color: #2563eb !important;
      border-bottom: 2px solid #2563eb;
      padding-bottom: 4px;
    }

/* Hero 3D carousel */
:root {
  --hero-card-w: 300px;
  --hero-card-h: 200px;
  --hero-carousel-radius: 360px;
}

.hero-carousel-scene {
  width: 100%;
  max-width: 460px;
  height: 320px;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  margin: 24px auto 32px;
  overflow: visible;
  transform-style: preserve-3d;
}

.carousel-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
  will-change: transform;
}

.carousel-3d.is-auto-rotating {
  transition: transform 0.9s ease-in-out;
}

.carousel-3d:not(.is-animating) .hero-cube-panel.is-active {
  will-change: auto;
}

.hero-cube-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--hero-card-w);
  height: var(--hero-card-h);
  margin-left: calc(var(--hero-card-w) / -2);
  margin-top: calc(var(--hero-card-h) / -2);
  transform-style: preserve-3d;
  opacity: 1;
  transition: transform 0.9s ease;
}

.hero-cube-panel.is-far {
  pointer-events: none;
}

.hero-cube-panel-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.hero-cube-side {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-cube-side:not(.hero-cube-side--back-face) {
  transform: rotateY(0deg) translateZ(0.1px);
}

.hero-cube-side--back-face {
  transform: rotateY(180deg) translateZ(0.1px);
}

.hero-cube-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-cube-side-cta-front {
  background:
    radial-gradient(120% 120% at 20% 0%, #1e63ff 0%, #0a3bd6 45%, #4b1fce 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* Yumuşak ışık halesi (derinlik hissi) */
.hero-cube-cta-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 160%;
  height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.22), transparent 70%);
  pointer-events: none;
}

/* Cam efektli ikon halkası */
.hero-cube-cta-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero-cube-cta-title {
  position: relative;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  margin: 0;
  padding: 0 12px;
}

.hero-cube-cta-subtitle {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  padding: 0 16px;
}

/* İnce eylem rozeti */
.hero-cube-cta-chip {
  position: relative;
  margin-top: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #fff;
  color: #0a3bd6;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-cube-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 25% 25%;
  pointer-events: none;
}

/* Köşede parça ve fotoğraf sayısı rozetleri */
.hero-cube-count,
.hero-cube-photo-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(11, 28, 48, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.hero-cube-photo-count {
  top: 46px;
}

.hero-cube-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #0b1c30;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11, 28, 48, 0.12);
}

.hero-cube-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(
    to top,
    rgba(11, 28, 48, 0.88) 0%,
    rgba(11, 28, 48, 0.45) 55%,
    transparent 100%
  );
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.3;
}

.hero-cube-side--back-face .hero-cube-grid-overlay {
  opacity: 0.65;
}

.hero-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 50;
  pointer-events: auto;
}

.hero-carousel-nav-prev { left: 0; }
.hero-carousel-nav-next { right: 0; }

.hero-cube-wood-back {
  background: linear-gradient(155deg, #e8d4b0 0%, #b8956a 42%, #7a5c32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cube-wood-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent,
      transparent 3px,
      rgba(60, 40, 20, 0.12) 3px,
      rgba(60, 40, 20, 0.12) 5px
    );
  pointer-events: none;
}

.hero-cube-wood-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px;
  color: #fff;
}

.hero-cube-wood-logo {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero-cube-wood-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
}

.hero-cube-wood-sub {
  font-size: 10px;
  margin: 0;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(0, 74, 198, 0.3);
}

.hero-dot.active {
  background: #004ac6;
}

.hero-carousel-wrap {
  overflow: visible;
  min-height: 340px;
}

.gallery-showcase .hero-carousel-wrap.gallery-center-carousel-wrap {
  min-height: 340px;
}

@media (min-width: 1024px) {
  .hero-carousel-wrap:not(.gallery-center-carousel-wrap) .hero-carousel-scene {
    margin-right: 0;
    margin-left: auto;
  }
}

.hero-carousel-wrap .hero-carousel-nav:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 74, 198, 0.2);
}

.gallery-center-carousel-wrap .hero-cube-panel.is-adjacent,
.gallery-center-carousel-wrap .hero-cube-panel.is-far {
  pointer-events: none;
  opacity: 1;
}

/* Galeri — bütünlüklü ilk görünüm (above-the-fold) */
.gallery-hero {
  --gallery-gap-xs: 0.75rem;
  --gallery-gap-sm: 1.25rem;
  --gallery-gap-md: 1.75rem;
  --gallery-gap-lg: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 38%, #f0f4ff 100%);
  padding: 1.25rem 0 3.5rem;
  overflow-x: hidden;
  overflow-y: visible;
}

.gallery-hero__intro,
.gallery-slide-info,
.gallery-carousel-footer {
  opacity: 1;
  visibility: visible;
}

.gallery-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gallery-gap-md);
}

.gallery-hero__intro {
  text-align: center;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gallery-gap-xs);
}

.gallery-hero__eyebrow,
.gallery-hero__title,
.gallery-hero__lede,
.gallery-slide-category,
.gallery-slide-title,
.gallery-slide-desc {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.gallery-hero__title,
.gallery-slide-title {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.gallery-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #004ac6;
}

.gallery-hero__title {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0b1c30;
  margin: 0;
}

.gallery-hero__lede {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #737686;
  margin: 0;
  max-width: 28rem;
}

.gallery-showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gallery-gap-lg);
}

@media (min-width: 768px) {
  .gallery-hero {
    padding: 1.75rem 0 4.5rem;
  }

  .gallery-hero__inner {
    padding: 0 3rem;
    gap: var(--gallery-gap-lg);
  }

  .gallery-hero__intro {
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .gallery-hero {
    min-height: calc(100dvh - 5rem);
    padding-bottom: 3rem;
    justify-content: flex-start;
  }

  .gallery-hero__inner {
    min-height: calc(100dvh - 5rem);
    justify-content: center;
    gap: 2rem;
  }
}

.gallery-center-carousel-wrap {
  width: 100%;
  max-width: 32rem;
  min-height: 340px;
  padding: 0 3.5rem 2.5rem;
  --hero-card-w: 300px;
  --hero-card-h: 200px;
}

.gallery-center-carousel-wrap .hero-carousel-scene {
  width: 100%;
  max-width: 460px;
  height: 320px;
  margin: 24px auto 32px;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  overflow: visible;
}

.gallery-center-carousel-wrap .carousel-3d {
  transition: transform 1s ease-in-out;
}

.gallery-center-carousel-wrap .hero-cube-panel {
  transition: transform 0.9s ease;
}

.gallery-center-carousel-wrap .hero-carousel-scene {
  overflow: visible;
}

.gallery-center-carousel-wrap .hero-carousel-nav {
  top: 50%;
}

.gallery-carousel-footer {
  width: 100%;
  max-width: 36rem;
  margin: 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gallery-gap-md, 1.75rem);
}

.gallery-carousel-dots {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 74, 198, 0.1);
  border-radius: 999px;
  box-shadow:
    0 4px 24px rgba(0, 74, 198, 0.08),
    0 1px 3px rgba(11, 28, 48, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-carousel-dots .hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0, 74, 198, 0.22);
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    transform 0.2s ease;
}

.gallery-carousel-dots .hero-dot:hover {
  background: rgba(0, 74, 198, 0.4);
  transform: scale(1.15);
}

.gallery-carousel-dots .hero-dot.active {
  width: 32px;
  background: linear-gradient(90deg, #004ac6 0%, #712ae2 100%);
  box-shadow: 0 2px 10px rgba(0, 74, 198, 0.35);
}

.gallery-slide-info {
  text-align: center;
  min-height: 6.5rem;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  opacity: 1;
  visibility: visible;
}

.gallery-slide-category {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b4fe0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(91, 79, 224, 0.08);
  border: 1px solid rgba(91, 79, 224, 0.15);
}

.gallery-slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.gallery-slide-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #64748b;
  max-width: 32rem;
  margin: 0;
}

.gallery-template-badges {
  width: 100%;
  max-width: 32rem;
}

.gallery-template-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}

.gallery-slide-actions {
  width: 100%;
  max-width: 28rem;
}

.gallery-template-badges-wrap,
.gallery-template-faces-wrap {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

.gallery-template-faces {
  min-height: 1.75rem;
}

.gallery-face-icon__num {
  font-size: 8px;
  color: #004ac6;
  font-weight: 700;
  line-height: 1;
}

.hero-cube-face-strip {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 3;
  pointer-events: none;
}

.hero-cube-face-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 74, 198, 0.45);
  color: #004ac6;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hero-cube-face-badge {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
}

.gallery-center-carousel-wrap .hero-cube-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.admin-order-faces img {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .gallery-carousel-footer {
    gap: 2rem;
  }

  .gallery-carousel-dots {
    padding: 16px 28px;
    gap: 12px;
  }

  .gallery-carousel-dots .hero-dot {
    width: 10px;
    height: 10px;
  }

  .gallery-carousel-dots .hero-dot.active {
    width: 36px;
  }

  .gallery-slide-info {
    gap: 1rem;
    min-height: 8.5rem;
  }
}

.gallery-center-carousel-wrap {
  position: relative;
}

.gallery-carousel-nav-layer {
  position: absolute;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.gallery-carousel-nav-layer .hero-carousel-nav {
  pointer-events: auto;
  z-index: 201;
}

.gallery-center-carousel-wrap .hero-carousel-nav {
  width: 56px;
  height: 56px;
  font-size: 22px;
}

.gallery-center-carousel-wrap .hero-carousel-scene,
.gallery-center-carousel-wrap .carousel-3d,
.gallery-center-carousel-wrap .hero-cube-panel,
.gallery-center-carousel-wrap .hero-cube-panel-inner,
.gallery-center-carousel-wrap .hero-cube-side {
  pointer-events: none;
}

.gallery-center-carousel-wrap .hero-cube-badge {
  font-size: 15px;
  padding: 10px 18px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border-radius: 12px;
}

.gallery-center-carousel-wrap .hero-cube-caption {
  font-size: 18px;
  padding: 48px 24px 20px;
}

.gallery-center-carousel-wrap .hero-cube-cta-icon {
  font-size: 96px;
}

.gallery-center-carousel-wrap .hero-cube-cta-title {
  font-size: 28px;
}

.gallery-center-carousel-wrap .hero-cube-cta-subtitle {
  font-size: 18px;
}

:root {
  --gallery-center-card-w: 500px;
  --gallery-center-card-h: 350px;
  --gallery-scene-h: 400px;
  --gallery-wing-card-w: 200px;
  --gallery-wing-card-h: 140px;
  --gallery-wing-gap: 16px;
  /* Orta kart alt hizası ≈ yan kartların üstü (sahne içinde ortalanmış 350px kart) */
  --gallery-wing-offset-top: calc(
    (var(--gallery-scene-h) - var(--gallery-center-card-h)) / 2 +
    var(--gallery-center-card-h) - var(--gallery-wing-card-h)
  );
}
