@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600;700&family=Caveat:wght@600;700&display=swap');

:root {
  --ink: #302923;
  --ink-soft: #574E45;
  --ink-dim: #797166;
  --ivory: #F7F3E9;
  --sage: #8EA893;
  --sage-deep: #78937B;
  --wood-light: #F2C784;
  --wood-mid: #CF9350;
  --wood-dark: #7D4616;
  --sage-btn: #799D69;
  --sage-btn-hover: #688B58;
  --amber: #E2A33D;
  --amber-deep: #C4811F;
  --coral: #E2705A;
  --line: rgba(50, 41, 35, 0.12);
  --line-strong: rgba(50, 41, 35, 0.22);
  --card: #FFFDF9;
  --card-alt: #F9F5EC;
  --shadow-sm: 0 4px 14px rgba(45, 35, 20, 0.08);
  --shadow-md: 0 10px 30px rgba(45, 35, 20, 0.14);
  --shadow-lg: 0 22px 52px rgba(45, 35, 20, 0.22);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-hand: "Caveat", cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #FDE084; color: #2E2512; }

/* ---------- Ana Düzen (Duvardan Gelen 3D Sahne) ---------- */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  background: #F0EDE1;
  overflow: hidden;
}

/* Arka Plan: Fildişi ve Adaçayı Tonlarının Yumuşak, Tek Parça Karışımı */
.wall-plane-sage {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(125deg, #F7F3E9 0%, #F1EFDE 20%, #E4E6CE 42%, #CFDBC2 62%, #A9C0A3 82%, #8EA893 100%);
}

.wall-ambient-lighting {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.5) 0%, transparent 65%),
              radial-gradient(circle at 85% 75%, rgba(40, 60, 42, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ---------- Header ---------- */
header.site {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 12px;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(45, 35, 20, 0.18));
}

.brand-icon-svg {
  width: 100%;
  height: 100%;
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  color: #4D382A;
  letter-spacing: -0.025em;
}

.brand-text p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--ink-dim);
  margin: 3px 0 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Sağ Üst: Yukarıda Dil, Altında Bilgi + Notunu Yönet Butonları */
.header-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}

.header-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 35, 20, 0.08);
  transition: all 0.2s var(--ease-out);
}

.header-action-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(45, 35, 20, 0.15);
  color: var(--amber-deep);
}

.header-action-btn.primary {
  background: var(--sage-btn);
  color: #ffffff;
  border-color: var(--sage-btn);
}

.header-action-btn.primary:hover {
  background: var(--sage-btn-hover);
  color: #ffffff;
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 35, 20, 0.08);
  transition: all 0.2s var(--ease-out);
}

.header-icon-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(45, 35, 20, 0.15);
}

.lang-switch {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow: 0 4px 12px rgba(45, 35, 20, 0.08);
}

.lang-switch a {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.15s ease;
}

.lang-switch a.active {
  background: #2D241A;
  color: #ffffff;
}

/* ---------- Main Alan (Showcase / Vitrin) ---------- */
main.showcase-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 175px);
  padding: 10px 0 35px;
  position: relative;
  z-index: 10;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(310px, 390px) minmax(520px, 1fr);
  gap: clamp(32px, 4vw, 75px);
  align-items: center;
  width: 100%;
}

/* ---------- Sol Sütun: Büyük Aktif Sanal Kavanoz (Mektup Zarfları Fiziği ile) ---------- */
.jar-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.jar-container {
  position: relative;
  width: 340px;
  height: 380px;
  margin: 0 auto;
}

.jar-canvas-glass {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jar-canvas-glass.shaking {
  animation: jarShake 0.4s ease-in-out;
}

@keyframes jarShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-3.5deg) scale(1.02); }
  40% { transform: rotate(3.5deg) scale(1.02); }
  60% { transform: rotate(-2deg) scale(1.01); }
  80% { transform: rotate(2deg) scale(1.01); }
}

.jar-svg-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 20px 36px rgba(45, 35, 20, 0.26));
}

#jar-canvas {
  position: absolute;
  top: 56px;
  left: 26px;
  width: 288px;
  height: 312px;
  z-index: 5;
  cursor: grab;
}

#jar-canvas:active {
  cursor: grabbing;
}

/* Kapasite Göstergesi */
.jar-controls {
  width: 100%;
  max-width: 340px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.jar-progress-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 10px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(45, 35, 20, 0.1);
}

.jar-progress-bar {
  width: 100%;
  height: 12px;
  background: #E5E6E1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(58, 60, 55, 0.17);
}

.jar-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #769B71 0%, #A8C58A 50%, #E2A33D 100%);
  border-radius: 999px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.55);
  transition: width 0.5s var(--ease-out);
}

.jar-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.jar-capacity-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  color: #382A1C;
  letter-spacing: -0.02em;
}

.back-to-active-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-deep);
  cursor: pointer;
}

.back-to-active-link:hover {
  text-decoration: underline;
}

.jar-quick-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.jar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(50, 42, 32, 0.12);
  border-radius: 14px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s ease;
}

.jar-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
  color: var(--amber-deep);
}

.jar-btn.primary-drop {
  background: var(--sage-btn);
  color: #ffffff;
  border-color: var(--sage-btn);
}

.jar-btn.primary-drop:hover {
  background: var(--sage-btn-hover);
  color: #ffffff;
}

.jar-hint-text {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-dim);
  margin: 0;
  text-align: center;
  font-weight: 600;
}

/* Kavanozdaki Yazılar Açılır Çekmecesi */
.jar-drawer-panel {
  width: 100%;
  max-width: 340px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 4px;
  position: absolute;
  top: 100%;
  z-index: 50;
}

.jar-drawer-panel[hidden] {
  display: none;
}

.jar-drawer-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #382A1C;
}

.jar-drawer-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-note-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-note-item:hover {
  background: #ffffff;
  border-color: var(--amber);
  transform: translateX(2px);
}

.drawer-note-name {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.drawer-note-snippet {
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-note-snippet.is-sealed {
  color: var(--ink-dim);
  font-style: italic;
}

.drawer-note-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-dim);
}

/* ---------- Sağ Bölüm: Duvardan Gelen Gerçek 3D Ahşap Raflar ---------- */
.shelves-container {
  display: flex;
  flex-direction: column;
  gap: clamp(75px, 9vh, 115px);
  position: relative;
  padding: 10px 0;
  width: 100%;
}

/* Üst Raf: 2 Kavanozluk, Sağa Yaslı Kısa Raf (Sağ kenarı alttaki rafla birebir hizalı) */
.shelf-row--upper {
  width: 56%;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Alt Raf: 3 Kavanozluk, Sola Uzanan Uzun Raf (Sağ kenarı üstteki rafla birebir hizalı) */
.shelf-row--lower {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.shelf-jars-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: clamp(10px, 2.5vw, 42px);
  padding: 0 16px 2px;
  min-height: 148px;
  position: relative;
  z-index: 2;
}

/* 3D Duvardan Uzanan Ahşap Raf Mimarisi */
.shelf-board-3d {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  z-index: 1;
  pointer-events: none;
}

/* Rafın Üst Ahşap Yüzeyi (Perspektif Işık ve Derinlik) */
.shelf-board-top {
  height: 12px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #E6B577 0%, #F5D193 25%, #E9B978 70%, #D89F5C 100%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.7), inset 0 -1px 2px rgba(85, 45, 15, 0.2);
}

/* Rafın Kalın Ön Yüzü (Koyu Masif Ahşap ve Pah) */
.shelf-board-front {
  height: 26px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, #B57434 0%, #945720 40%, #703D11 100%);
  border-top: 1px solid rgba(255, 243, 214, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 12px rgba(35, 25, 15, 0.38),
    0 16px 24px rgba(25, 18, 10, 0.26);
  position: relative;
}

/* Duvardaki Derin Raf Gölgesi */
.shelf-board-shadow {
  position: absolute;
  left: 1%;
  right: 1%;
  bottom: -16px;
  height: 22px;
  border-radius: 50%;
  background: rgba(25, 35, 22, 0.35);
  filter: blur(8px);
  z-index: -1;
}

/* Duvardaki Ahşap Konsol / Destek Ayakları */
.shelf-bracket {
  position: absolute;
  top: 12px;
  width: 14px;
  height: 32px;
  background: linear-gradient(180deg, #7A4214 0%, #542A0A 100%);
  border-radius: 0 0 4px 4px;
  box-shadow: 2px 6px 10px rgba(20, 15, 10, 0.45);
}
.shelf-bracket.left { left: 12%; }
.shelf-bracket.right { right: 12%; }

/* 3D Küçük Cam Kavanoz Bileşeni */
.jarbtn {
  position: relative;
  z-index: 3;
  width: clamp(88px, 9vw, 108px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
  outline: none;
}

.jarbtn:hover {
  transform: translateY(-5px);
}

.jarbtn.is-active {
  transform: translateY(-7px);
}

.jar {
  position: relative;
  display: block;
  width: 100%;
  height: 138px;
}

.small-lid {
  position: absolute;
  z-index: 4;
  left: 17%;
  top: 0;
  width: 66%;
  height: 20px;
  border: 1.2px solid rgba(73, 103, 66, 0.6);
  border-radius: 9px 9px 6px 6px;
  background: linear-gradient(180deg, #B1C99E 0%, #8CAE78 35%, #688F63 100%);
  box-shadow: 0 4px 8px rgba(45, 65, 40, 0.3), inset 0 2px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.small-lid:after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 55%;
  height: 1.5px;
  background: rgba(244, 224, 153, 0.85);
  box-shadow: 0 -4.5px rgba(244, 224, 153, 0.55);
}

.small-lid i {
  position: absolute;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFEAA5;
}
.small-lid i:nth-child(1) { left: 44%; }
.small-lid i:nth-child(2) { left: 52%; }
.small-lid i:nth-child(3) { left: 36%; }

.small-neck {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 26%;
  width: 48%;
  height: 14px;
  border-inline: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(221, 240, 231, 0.35);
}

.small-glass {
  position: absolute;
  z-index: 3;
  inset: 24px 0 6px;
  border: 2.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 24% 24% 19% 19% / 15% 15% 10% 10%;
  background: linear-gradient(105deg, rgba(255,255,255,0.7) 0%, rgba(217,235,221,0.25) 40%, rgba(255,253,246,0.5) 75%, rgba(212,236,225,0.3) 100%);
  box-shadow:
    inset 6px 0 10px rgba(255, 255, 255, 0.6),
    inset -6px -2px 10px rgba(70, 106, 79, 0.15),
    0 10px 16px rgba(45, 35, 25, 0.18);
  overflow: hidden;
}

.small-glass-shine {
  position: absolute;
  top: 10%;
  left: 7%;
  width: 6%;
  height: 60%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

/* Geniş, Okunaklı Pastel Etiket */
.label {
  position: absolute;
  z-index: 4;
  left: 7%;
  right: 7%;
  top: 32%;
  min-height: 52px;
  padding: 6px 3px 5px;
  border-radius: 6px;
  box-shadow: 0 3px 7px rgba(40, 50, 40, 0.15);
  color: #343A35;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.label strong {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.label small {
  display: block;
  font-size: 5.8px;
  font-weight: 700;
  color: #555A52;
  margin-top: 1.5px;
  white-space: nowrap;
}

.label em {
  display: block;
  font-style: normal;
  font-size: 7.5px;
  font-weight: 800;
  color: #2D3328;
  margin-top: 2.5px;
}

.label.sky   { background: #C9EAF2; }
.label.rose  { background: #F3C5C8; }
.label.mint  { background: #D8EDB9; }
.label.peach { background: #F4D4B5; }
.label.lilac { background: #D8D0ED; }

/* En Alt Sağdaki Arşiv Menüsü Kavanoz Stili */
.archive-menu-lid {
  background: linear-gradient(180deg, #E2B06F 0%, #C48A3A 50%, #945B18 100%) !important;
  border-color: rgba(95, 60, 20, 0.5) !important;
}
.archive-menu-glass {
  background: linear-gradient(105deg, rgba(255,255,255,0.85) 0%, rgba(254,243,222,0.4) 50%, rgba(255,255,255,0.6) 100%) !important;
  border-color: #FFFDF9 !important;
}
.label.archive-menu-label {
  background: linear-gradient(135deg, #FFE8B5 0%, #F5D38A 100%) !important;
  border: 1px dashed rgba(140, 95, 30, 0.35);
}

.jar-contact-shadow {
  position: absolute;
  z-index: 1;
  left: 14%;
  right: 14%;
  bottom: 0px;
  height: 10px;
  border-radius: 50%;
  background: rgba(45, 35, 20, 0.42);
  filter: blur(3.5px);
}

.jarbtn.is-active .small-glass {
  border-color: #ffffff;
  box-shadow:
    inset 6px 0 10px rgba(255, 255, 255, 0.8),
    inset -6px -2px 10px rgba(70, 106, 79, 0.2),
    0 0 0 3.5px rgba(255, 240, 180, 0.7),
    0 12px 20px rgba(35, 25, 15, 0.3);
}

/* Boş Raf İpucu */
.shelf-empty-hint {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #F0F5EA;
  background: rgba(79, 111, 78, 0.65);
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9px;
  backdrop-filter: blur(5px);
  margin: auto;
  box-shadow: 0 6px 14px rgba(40, 60, 42, 0.16);
}

/* ---------- Modallar ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35, 28, 18, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #FFFDF9;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  max-width: 490px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop 0.25s var(--ease-out);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(50, 42, 32, 0.06);
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: rgba(226, 112, 90, 0.15);
  color: var(--coral);
}

.modal-box h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #382A1C;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.84rem;
  color: var(--ink-dim);
  margin: 0 0 18px;
}

/* Form Alanları */
.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--sage-btn);
  margin-bottom: 6px;
}

.field textarea,
.field input[type="text"],
.field input[type="email"],
.field input[type="date"] {
  width: 100%;
  background: #FAF6EE;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 13px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.15s ease;
}

.field textarea {
  min-height: 105px;
  resize: vertical;
  line-height: 1.5;
}

.field textarea:focus,
.field input:focus {
  border-color: var(--sage-btn);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(121, 157, 105, 0.18);
}

.char-count {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  margin-top: 4px;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--sage-btn);
}

.choice-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.choice-group button {
  background: #FAF6EE;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.choice-group button.selected {
  background: var(--sage-btn);
  color: #ffffff;
  border-color: var(--sage-btn);
  font-weight: 600;
}

.more-options-toggle {
  background: none;
  border: none;
  color: var(--amber-deep);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  margin: 4px 0 12px;
}

.form-msg {
  min-height: 22px;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 500;
}

.form-msg.error { color: #C24A2E; }
.form-msg.success { color: var(--sage-btn); }

/* Yönetim Anahtarı Kartı */
.key-box-card {
  background: #FAF6EE;
  border: 1px dashed var(--amber-deep);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
}

.key-box-title {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.key-display {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #2D241A;
  letter-spacing: 0.05em;
  word-break: break-all;
  margin: 8px 0 12px;
}

.key-actions-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--sage-btn);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--sage-btn-hover);
  transform: translateY(-1px);
}

.btn-dark {
  background: #2D241A;
  color: #ffffff;
}

.btn-dark:hover {
  background: #1A140E;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(50, 42, 32, 0.04);
}

.btn-danger {
  background: transparent;
  border: 1px solid var(--coral);
  color: var(--coral);
}

.btn-danger:hover {
  background: rgba(226, 112, 90, 0.1);
}

/* Okuma / Not Gösterme Modalı */
.note-view-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 6px 0;
}

.note-view-name {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.note-view-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.note-view-content {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.note-view-content.note-view-sealed {
  color: var(--ink-dim);
  font-style: italic;
}

/* Rafa Kaldırılmış Kavanozlar Listesi */
.shelf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shelf-list li {
  background: #FAF6EE;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.shelf-list li:hover {
  background: #ffffff;
  border-color: var(--amber);
  transform: translateX(3px);
}

.shelf-list .jar-id-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.shelf-list .shelf-list-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
}

/* ---------- Yasal Sayfalar (.legal) ---------- */
main.legal {
  max-width: 780px;
  margin: 40px auto 60px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

main.legal h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #382A1C;
  margin: 0 0 16px;
}

main.legal h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: #382A1C;
  margin: 28px 0 8px;
}

main.legal p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 14px;
}

/* ---------- Footer (Uçtan Uca Sağa-Sola Tam Yayılan Altbilgi) ---------- */
footer.site-footer-full {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  padding: 16px clamp(16px, 3.5vw, 48px) 24px;
  color: var(--ink-dim);
  font-size: 0.82rem;
  position: relative;
  z-index: 20;
  width: 100%;
}

.footer-inner-spread {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--amber-deep);
  text-decoration: underline;
}

/* ---------- Mobil ve Tablet Uyumluluk ---------- */
@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .jar-stage {
    order: 1;
  }
  .shelves-container {
    order: 2;
    gap: 65px;
  }
  .shelf-row--upper,
  .shelf-row--lower {
    width: 100%;
    margin-left: 0;
  }
  .shelf-jars-wrap {
    justify-content: space-evenly;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .header-icon-btn {
    display: none;
  }
  .brand-text h1 {
    font-size: 1.65rem;
  }
  .brand-text p {
    font-size: 0.76rem;
  }
  .jar-container {
    width: 290px;
    height: 335px;
  }
  #jar-canvas {
    top: 48px;
    left: 20px;
    width: 250px;
    height: 270px;
  }
  .row-2 {
    grid-template-columns: 1fr;
  }
  .shelf-jars-wrap {
    gap: 8px;
    padding: 0 6px 2px;
  }
  .jarbtn {
    width: 82px;
  }
  .jar {
    height: 118px;
  }
  .small-lid {
    height: 17px;
  }
  .small-glass {
    inset: 21px 0 6px;
  }
  .label {
    min-height: 44px;
    padding: 4px 2px;
  }
  .label strong {
    font-size: 7.2px;
  }
  .label small {
    font-size: 4.8px;
  }
  .label em {
    font-size: 6.2px;
  }
  .modal-box {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  footer.site-footer-full {
    padding: 14px clamp(12px, 4vw, 20px) 20px;
  }
  .footer-inner-spread {
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 14px;
  }
  .footer-inner-spread::-webkit-scrollbar {
    display: none;
  }
  .footer-inner-spread > span {
    flex: 0 0 auto;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .footer-links {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .footer-links a {
    font-size: 0.72rem;
    white-space: nowrap;
  }
}
