/* ===== Zara Fullscreen Search – Style ===== */

/* robustes hidden */
[hidden] { display: none !important; }

/* Launcher Button */
.zfs-launcher, #zfs-launcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay */
.zfs-overlay, #zfs-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  overflow-y: auto;
  z-index: 9999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

/* Suchleiste */
.zfs-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 40px;
  padding: 10px 18px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.zfs-searchbar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
}

/* ESC Button */
.zfs-close, #zfs-close {
  background: #eee;
  border: none;
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
  color: #444;
}

/* Ergebnisse Grid */
.zfs-results, #zfs-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  padding-bottom: 80px;
}

/* Produktkarte */
.zfs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #111;
  transition: transform .15s ease;
}
.zfs-card:hover { transform: translateY(-3px); }

.zfs-thumb {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.zfs-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.zfs-brand {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.zfs-price {
  font-size: 15px;
  color: #000;
  font-weight: 600;
}

/* Placeholder */
.zfs-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
  background-size: 400% 100%;
  animation: zfs-shimmer 1.2s infinite;
  border-radius: 10px;
}
@keyframes zfs-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* Responsive */
@media (max-width:600px){
  .zfs-results { grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); }
}

