/* VLAMI — dodaci za prodavnicu (folije, karton, džakovi). Osnova je shop.css. */

.vp-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider-color: #94a3b8;
}
.vp-breadcrumb a {
  color: #475569;
}
.vp-breadcrumb a:hover {
  color: var(--vlami-primary);
}

/* Kategorije (čipovi) */
.vp-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.vp-chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.vp-chip:hover {
  border-color: var(--vlami-primary);
  color: var(--vlami-primary);
}
.vp-chip.is-active {
  background: var(--vlami-primary);
  border-color: var(--vlami-primary);
  color: #ffffff;
}

.vp-cat-head {
  margin: 0.25rem 0 1rem;
}
.vp-card-link {
  color: inherit;
}
.vp-card-link:hover {
  color: var(--vlami-primary);
}
.vp-badge-pick {
  background: var(--vlami-primary) !important;
  color: #ffffff !important;
}

/* Stranica proizvoda */
.vp-gallery {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.vp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.vp-gallery .sale-badge {
  z-index: 2;
}
.vp-variant-label {
  color: #475569;
  font-weight: 600;
}
.vp-price {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.vp-price.shop-price-sale {
  color: #dc2626;
}
.vp-price-row .shop-price-old {
  font-size: 1.1rem;
}
.vp-stock {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vp-stock .vp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.vp-stock.is-in {
  color: #047857;
}
.vp-stock.is-in .vp-dot {
  background: #10b981;
}
.vp-stock.is-out {
  color: #b45309;
}
.vp-stock.is-out .vp-dot {
  background: #f59e0b;
}

.vp-variants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}
.vp-variant {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.25;
}
.vp-variant:hover {
  border-color: var(--vlami-primary);
}
.vp-variant.is-active {
  border-color: var(--vlami-primary);
  background: var(--vlami-light);
  box-shadow: 0 0 0 1px var(--vlami-primary) inset;
}
.vp-variant-name {
  font-size: 0.88rem;
  font-weight: 600;
}
.vp-variant-price {
  font-size: 0.82rem;
  color: #475569;
}

.vp-add-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.vp-add-row .qty-stepper {
  flex: 0 0 auto;
}
.vp-add-row .btn {
  font-weight: 800;
  border-radius: 12px;
}

.vp-usp li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  border-top: 1px solid #f1f5f9;
}
.vp-usp li::before {
  content: "✓";
  position: absolute;
  left: 0.2rem;
  top: 0.45rem;
  color: var(--vlami-primary);
  font-weight: 800;
}
.vp-usp a {
  color: var(--vlami-primary);
}

.vp-spec th {
  width: 42%;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
}

.vp-mini-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  height: 100%;
}
.vp-mini-card:hover {
  border-color: var(--vlami-primary);
}
.vp-mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 0.35rem;
}
.vp-mini-name {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}
.vp-mini-var {
  font-size: 0.8rem;
  color: #64748b;
}

/* Traka korpe na stranici proizvoda — i na desktopu, ali uža */
@media (min-width: 992px) {
  .vp-cart-bar-all {
    left: auto;
    right: 1.5rem;
    width: 440px;
  }
  .vp-page .cart-sheet.offcanvas-bottom {
    max-width: 560px;
    margin-left: auto;
    margin-right: 1.5rem;
    border-radius: 18px 18px 0 0;
  }
}

/* Saglasnost sa uslovima */
.vp-consent a {
  color: var(--vlami-primary);
  text-decoration: underline;
}

/* Footer */
.vp-footer a {
  color: #cbd5e1;
}
.vp-footer a:hover {
  color: #ffffff;
}

/* Stranice sa pravilima */
.vp-legal {
  max-width: 820px;
}
.vp-legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
}
.vp-legal a {
  color: var(--vlami-primary);
  text-decoration: underline;
}
.vp-legal .vp-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
