/* === SNEAKER SLIDER – SNKRS Universe FINAL === */

.sneaker-slider-zone {
  position: relative;
  width: 100%;
  margin: 80px auto;
  max-width: 1400px;
  overflow: visible;
}

.sneaker-slider-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: .04em;
  margin-bottom: 36px;
}

.swiper {
  width: 100%;
  padding-bottom: 48px;
}

.swiper-slide {
  width: 300px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

.swiper-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 26px rgba(0,0,0,.12);
}

/* === Produktbild === */
.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #fafafa;
}

.image-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  transition: opacity .4s ease;
}

.image-wrapper .hover-img {
  opacity: 0;
}

.image-wrapper[data-has-hover="true"]:hover .hover-img {
  opacity: 1;
}

.image-wrapper[data-has-hover="true"]:hover .main-img {
  opacity: 0;
}

/* === Labels === */
.label-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.label {
  font-family: 'Courier New', monospace;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.85);
  padding: 2px 8px;
  border-radius: 4px;
  color: #111;
  backdrop-filter: blur(4px);
}

.label.new { color: #000; }
.label.sale { color: #c00000; }

/* === Quick View Button === */
.quick-view-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 3;
}

.image-wrapper:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(-3px);
}

.quick-view-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* === Produktinfo === */
.product-info {
  padding: 16px 20px 22px;
  text-align: center;
}

.product-title {
  font-family: "Poppins", sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 6px;
}

.product-price {
  font-size: .9rem;
  font-weight: 600;
  color: #c00000;
}

/* === Fade-Pfeile === */
.fade-left, .fade-right {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
  cursor: pointer;
  transition: background .3s ease;
  z-index: 5;
}

.fade-left:hover, .fade-right:hover {
  background: #fff;
}

.fade-left { left: -60px; }
.fade-right { right: -60px; }

.fade-arrow {
  width: 20px;
  height: 20px;
}

/* === Quick View Modal === */
.quick-view-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  z-index: 10000;
}

.quick-view-modal.show {
  opacity: 1;
  visibility: visible;
}

.quick-view-content {
  background: #fff;
  border-radius: 14px;
  max-width: 480px;
  width: 92%;
  padding: 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  position: relative;
}

.quick-view-content img {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
}

.quick-view-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #444;
}

.qv-more {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: .9rem;
  transition: background .25s ease;
}

.qv-more:hover { background: #222; }

@media (max-width: 768px) {
  .swiper-slide { width: 220px; }
  .fade-left { left: 6px; }
  .fade-right { right: 6px; }
}

/* === In den Warenkorb Button === */
.add-to-cart-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  font-size: .9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .25s ease;
}
.add-to-cart-btn:hover {
  background: #000;
  transform: translateY(-2px);
}
.add-to-cart-btn:disabled {
  opacity: .6;
  cursor: wait;
}

/* === Rabatt-Label === */
.label.discount {
  background: #00875a;
  color: #fff;
  font-weight: 600;
}

/* Hover-Buttons (Lupe + Warenkorb) */
.hover-buttons {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 5;
}

.image-wrapper:hover .hover-buttons {
  opacity: 1;
}

.quick-view-btn,
.add-to-cart-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  cursor: pointer;
}

.quick-view-btn:hover,
.add-to-cart-btn:hover {
  transform: scale(1.08);
  background: rgba(0,0,0,.85);
}

.add-to-cart-btn svg,
.quick-view-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.add-to-cart-btn.added { background: #00875a !important; }
.add-to-cart-btn.error  { background: #c00000 !important; }

/* === Shopify-Style Quick View Box === */
.quick-view-content {
  background: #fff;
  border-radius: 20px;
  max-width: 680px;
  width: 92%;
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  position: relative;
}

.quick-view-body img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 24px;
}

#qv-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 10px 0;
  color: #111;
}

#qv-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}

#qv-desc {
  font-size: .95rem;
  color: #555;
  margin: 10px 0 24px;
}

.qv-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.qv-actions input {
  width: 70px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px;
  font-size: 1rem;
}

.qv-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.qv-btn:hover { background: #222; }

.qv-more {
  display: inline-block;
  color: #111;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  margin-top: 6px;
  transition: color .2s ease;
}

.qv-more:hover { color: #000; }
