/* ==========================================================================
   Hızlı erişim: gerçekçi 3D ürün butonları (2 sütunlu grid).
   Her buton kendi 3B nesnesini taşır; dokununca fiziksel olarak aşağı iner.
   ========================================================================== */

.shortcuts {
  margin: 22px 14px 0;
}

.shortcuts__title {
  margin: 0 2px 12px;
  font-size: var(--text-l);
}

.shortcuts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shortcut {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 20px;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s var(--ease-spring);
}

/* Zemine düşen yumuşak doğal gölge (derinlik hissi). */
.shortcut__shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -3px;
  height: 18px;
  z-index: -1;
  background: radial-gradient(60% 100% at 50% 0%, rgba(4, 56, 42, 0.5) 0%, rgba(4, 56, 42, 0) 72%);
  filter: blur(7px);
  transition: all 0.16s var(--ease-spring);
}

.shortcut__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  /* Altın çerçeve: fiziksel buton plakası hissi. */
  border: 2px solid rgba(213, 177, 91, 0.85);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 10px rgba(4, 56, 42, 0.18),
    /* Altın yan kalınlık (3B gövde). */
    0 6px 0 #9c742f,
    0 8px 0 #7d5c22,
    /* Zemine düşen gölge. */
    0 20px 28px -12px rgba(5, 92, 60, 0.6);
  transition: box-shadow 0.16s ease, transform 0.16s var(--ease-spring);
}

/* Vurgulu altın parıltı (fare/odak). */
.shortcut:hover .shortcut__img {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 10px rgba(4, 56, 42, 0.18),
    0 6px 0 #9c742f,
    0 8px 0 #7d5c22,
    0 0 0 3px rgba(213, 177, 91, 0.35),
    0 24px 32px -12px rgba(5, 92, 60, 0.7);
}

/* Dokununca buton fiziksel olarak aşağı iner, altın kalınlık incelir. */
.shortcut:active {
  transform: translateY(6px) scale(0.985);
}
.shortcut:active .shortcut__img {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(4, 56, 42, 0.2),
    0 1px 0 #9c742f,
    0 2px 0 #7d5c22,
    0 8px 12px -8px rgba(5, 92, 60, 0.5);
}
.shortcut:active .shortcut__shadow {
  left: 18%;
  right: 18%;
  opacity: 0.55;
  filter: blur(5px);
}

.shortcut:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .shortcut, .shortcut__img, .shortcut__shadow { transition: none; }
}

/* ---------- 3D rozeti ve canlı model görüntüleyici ---------- */
.shortcut__3d {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #3a2e12;
  background: linear-gradient(180deg, #f6e7b4 0%, #d5b15b 60%, #b9893f 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 6px -2px rgba(4, 56, 42, 0.5);
  cursor: pointer;
}
.shortcut__3d:active { transform: scale(0.92); }

.mv {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mv.is-open { opacity: 1; }
.mv__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 10%, rgba(10, 31, 58, 0.72), rgba(6, 18, 30, 0.9));
}
.mv__panel {
  position: relative;
  width: 92%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
}
.mv__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #fff;
}
.mv__label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffe6a6;
  text-shadow: 0 2px 16px rgba(255, 180, 90, 0.4);
}
.mv__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.mv__close:active { transform: scale(0.92); }
.mv__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 20%, rgba(221, 243, 230, 0.14) 0%, rgba(221, 243, 230, 0) 70%),
    linear-gradient(180deg, rgba(12, 58, 42, 0.5), rgba(6, 22, 34, 0.6));
  border: 1px solid rgba(213, 177, 91, 0.3);
  touch-action: none;
}
.mv__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.mv__stage canvas:active { cursor: grabbing; }
.mv__hint {
  margin-top: 10px;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.82);
}

/* Tek kalan son buton satırın ortasında, diğerleriyle aynı genişlikte durur. */
.shortcuts__grid > .shortcut:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 6px);
}
