/* ============================================================
   PHP vitrin — ek stiller (JS'siz etkileşimler)
   store-theme.css'in ÜSTÜNE yüklenir.
   ============================================================ */

/* Logo — "zeina" + el yazısı "collection" (iki satır) */
.v5-logo-stacked {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.v5-logo-stacked .v5-logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.v5-logo-stacked .v5-logo-sub {
  font-family: 'Dancing Script', 'Segoe Script', cursive;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  align-self: flex-end;
  margin-top: -2px;
  margin-right: 2px;
  letter-spacing: 0.01em;
}
/* Koyu zemin (footer) için açık ton */
.v5-footer .v5-logo-stacked .v5-logo-sub { color: #e6b0ba; }

/* Mobil menü: checkbox-hack (React .is-open yerine :checked) */
.v5-mnav-toggle:checked ~ .v5-drawer-root { pointer-events: auto; }
.v5-mnav-toggle:checked ~ .v5-drawer-root .v5-drawer-scrim { opacity: 1; }
.v5-mnav-toggle:checked ~ .v5-drawer-root .v5-drawer { transform: translateX(0); }
.v5-burger { cursor: pointer; }
.v5-x { cursor: pointer; user-select: none; }

/* Tükendi / az stok (Next parity) */
.v5-card-btn:disabled,
.v5-card-btn.tukendi {
  background: var(--soft); color: var(--muted); border-color: var(--line);
  cursor: not-allowed; pointer-events: none;
}
.v5-pdp-stock-warn { margin-top: 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--red); }

/* Sepet sayfası (JS drawer yerine tam sayfa) */
.v5-sepet { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.v5-sepet-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .v5-sepet-grid { grid-template-columns: 1fr 360px; } }
.v5-sepet-line {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.v5-sepet-thumb { width: 80px; height: 100px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.v5-sepet-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v5-sepet-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; }
.v5-sepet-qty a { width: 32px; height: 34px; display: grid; place-items: center; color: var(--ink); font-size: 1.1rem; }
.v5-sepet-qty span { min-width: 34px; text-align: center; font-weight: 600; }

/* Genel form geri bildirimi */
.v5-flash-ok {
  background: #e8f5ee; border: 1px solid #b8e0c8; color: #226b45;
  border-radius: 10px; padding: 0.7rem 0.9rem; font-size: 0.86rem; margin-bottom: 1rem;
}

/* Ürün fotoğrafı (Next ProductPhoto/zc-photo karşılığı) */
.zc-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.v5-card-media img.zc-photo, .v5-cat img.zc-photo { transition: transform 0.6s ease; }
.v5-card:hover .v5-card-media img.zc-photo, .v5-cat:hover img.zc-photo { transform: scale(1.05); }
