/* SKU Variant Switcher — style (v2.3.0) */
.svs-wrapper { 
  margin: 30px 0; 
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
}
.svs-heading { 
  margin: 0 0 14px; 
  font-weight: 600; 
  font-size: 1.1rem; 
}
.svs-items { 
  display: grid; 
  gap: 10px; 
}
.svs-list .svs-items { grid-template-columns: 1fr; }
.svs-grid .svs-items { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* --- ITEM --- */
.svs-item { 
  display: flex; 
  flex-direction: column; 
  align-items: stretch; 
  gap: 10px; 
  padding: 14px; 
  border-radius: 14px; 
  background: #fff; 
  text-decoration: none; 
  box-shadow: 0 0 20px -12px rgba(0,0,0,.2); 
  border: 1px solid transparent; 
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; 
}
.svs-item:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 8px 26px -16px rgba(0,0,0,.25); 
  border-color: #e9e9e9; 
}
.svs-item.is-active { 
  background: #333; 
  border-color: #333; 
}
.svs-item.is-active .svs-title { 
  color: #fff; 
  font-weight: 600; 
}
.svs-item.is-active .svs-price { 
  color: #a7d2e3; 
}

/* --- Górna część kafelka: miniatura + dane --- */
.svs-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.svs-thumb-wrap {
  flex-shrink: 0;
}
.svs-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Teksty obok miniatury */
.svs-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svs-title {
  color: #111;
  font-weight: 500;
  line-height: 1.3;
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s;
}
.svs-title:hover {
  color: grey;
}
.svs-price {
  color: #4D9CB9;
  margin-top: 4px;
  font-size: .95rem;
}

/* --- Dolna część: przyciski --- */
.svs-bottom {
  display: flex;
  justify-content: flex-start;
  margin-top: 6px;
}

/* Dodaj do koszyka */
.svs-add {
  display:block;
  width: fit-content;
  padding:8px 14px;
  background:#111;
  color:#fff;
  border-radius:10px;
  font-size:.9rem;
  text-decoration:none;
  transition:background .2s, transform .15s;
}
.svs-add:hover {
  background:#4D9CB9;
  transform: translateY(-1px);
}

/* Brak na stanie */
.svs-outofstock {
  display: inline-block;
  padding: 8px 14px;
  background: #F09151;
  color: #fff;
  border-radius: 10px;
  font-size: .9rem;
  text-align: center;
}

/* --- Modal (zachowany z poprzednich wersji) --- */
.svs-modal { position: fixed; inset: 0; z-index: 9999; }
.svs-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.svs-modal-content { 
  position: relative; 
  background: #fff; 
  width: min(92vw, 680px); 
  margin: 8vh auto; 
  padding: 18px; 
  border-radius: 16px; 
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.5); 
}
.svs-modal-close { 
  position: absolute; 
  top: 8px; 
  right: 12px; 
  border: 0; 
  background: transparent; 
  font-size: 28px; 
  cursor: pointer; 
}
.svs-modal-body { 
  display: grid; 
  grid-template-columns: 160px 1fr; 
  gap: 18px; 
  align-items: start; 
}
.svs-modal-thumb { 
  width: 160px; 
  height: 160px; 
  object-fit: cover; 
  border-radius: 12px; 
}
.svs-modal-title { 
  margin: 0 0 6px; 
  font-size: 1.15rem; 
}
.svs-modal-price { 
  color: #4D9CB9; 
  margin-bottom: 12px; 
}
.svs-modal-link.button { 
  display: inline-block; 
  padding: 10px 14px; 
  border-radius: 10px; 
  background: #111; 
  color: #fff; 
  text-decoration: none; 
}
@media (max-width: 560px) {
  .svs-modal-body { grid-template-columns: 1fr; }
  .svs-modal-thumb { width: 100%; height: auto; }
}

.svs-current {
  display: inline-block;
  padding: 8px 14px;
  background: #4AAF4F;
  color: #fff;
  border-radius: 10px;
  font-size: .9rem;
  text-align: center;
}

.svs-hidden {
  display: none !important;
}

.svs-showmore-wrap {
  text-align: center !important;
  margin-top: 16px !important;
}

.svs-showmore {
  padding: 8px 18px !important;
  background: #4D9CB9 !important;
  color: #fff !important;
  border: none  !important;
  border-radius: 10px !important;
  font-size: .95rem !important;
  cursor: pointer !important;
  transition: background .2s, transform .15s !important;
}

.svs-showmore:hover {
  background: #333 !important;
  transform: translateY(-1px) !important;
}


