/* Ekaika Living — shared component styles (toast, search modal, wishlist heart).
   Included on every page alongside each page's own <style> block. */

.wishlist-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(247,244,239,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.wishlist-toggle:hover { transform: scale(1.08); background: #fff; }

/* ── TOAST ── */
.ek-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: #3a3632;
  color: #f7f4ef;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 14px 24px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.ek-toast.ek-toast-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── SEARCH MODAL ── */
.ek-search-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
}

.ek-search-modal.ek-search-open { display: block; }

.ek-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58,54,50,0.5);
  backdrop-filter: blur(2px);
}

.ek-search-panel {
  position: relative;
  max-width: 640px;
  margin: 10vh auto 0;
  background: #fdfcfa;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.ek-search-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #ede8df;
  color: #6b6560;
}

.ek-search-input-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #3a3632;
  letter-spacing: 0.01em;
}

.ek-search-input-row input::placeholder { color: #9c9590; }

.ek-search-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #9c9590;
  cursor: pointer;
  padding: 4px;
}

.ek-search-close:hover { color: #3a3632; }

.ek-search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 12px;
}

.ek-search-hint {
  padding: 24px 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: #9c9590;
  letter-spacing: 0.04em;
}

.ek-search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  text-decoration: none;
  color: #3a3632;
  border-radius: 2px;
  transition: background 0.15s;
}

.ek-search-result:hover { background: #ede8df; }

.ek-search-result img {
  width: 52px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.ek-search-result span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ek-search-result strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}

.ek-search-result em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #9c9590;
}
