/* VENDEVIX ürün kartı — index ile bire bir */
.vx-pc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(min-width:700px){.vx-pc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(min-width:1000px){.vx-pc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1280px){.vx-pc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

.pc{background:#fff;border:1px solid var(--line,#E5E7EB);border-radius:var(--r,16px);overflow:hidden;display:flex;flex-direction:column;position:relative;transition:.22s}
.pc:hover{transform:translateY(-3px);box-shadow:var(--sh,0 8px 30px rgba(8,30,60,.08))}
.pc__top{position:absolute;top:8px;left:8px;right:8px;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;pointer-events:none}
.pc__badge{padding:4px 8px;border-radius:6px;font-size:9px;font-weight:800;color:#fff;letter-spacing:.04em;white-space:nowrap;line-height:1.2;flex-shrink:0;pointer-events:none}
.pc__badge--b2b{background:#16A34A}.pc__badge--deal{background:#0D6EFD}.pc__badge--low{background:#EA580C}.pc__badge--new{background:#0F766E}.pc__badge--oos{background:#475569}
.pc__acts{display:flex;gap:4px;opacity:0;transform:translateY(-4px);transition:.2s;pointer-events:auto;margin-left:auto}.pc:hover .pc__acts{opacity:1;transform:none}
.pc__ico{width:30px;height:30px;border-radius:8px;border:1px solid var(--line,#E5E7EB);background:#fff;display:inline-flex;align-items:center;justify-content:center;color:var(--muted,#6B7280);cursor:pointer;text-decoration:none}
.pc__ico svg{width:14px;height:14px}.pc__ico:hover,.pc__ico.is-on{color:#E11D48;border-color:#FECDD3}
.pc__img{display:block;height:140px;padding:12px;background:#FAFBFC;position:relative}.pc__img img{width:100%;height:100%;object-fit:contain}
.pc__body{padding:8px 10px 12px;display:flex;flex-direction:column;gap:2px;flex:1}
.pc__brand{font-size:10px;font-weight:700;color:var(--blue,#0D6EFD);text-transform:uppercase;letter-spacing:.05em}
.pc__title{margin:0;font-size:12.5px;font-weight:700;line-height:1.3;color:var(--navy,#081E3C);min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc__title a{color:inherit;text-decoration:none}
.pc__sku{font-size:10.5px;color:var(--muted,#6B7280);font-family:ui-monospace,monospace}
.pc__note{margin:2px 0 0;font-size:10.5px;font-weight:700;color:#1D4ED8;line-height:1.3}
.pc__price{margin-top:4px}.pc__price s{display:block;font-size:11px;color:var(--muted,#6B7280)}
.pc__price strong{font-size:15px;font-weight:800;color:var(--navy,#081E3C);font-variant-numeric:tabular-nums}
.pc__price em{font-size:10px;font-style:normal;color:var(--muted,#6B7280);margin-left:4px}
.pc__login{font-size:12px;font-weight:600;color:var(--muted,#6B7280)}
.pc__row{display:flex;gap:6px;margin-top:auto;padding-top:6px}
.pc__in-cart{
  display:flex;align-items:center;gap:6px;margin:6px 0 0;padding:0;
  font-size:11px;font-weight:800;color:#15803d;line-height:1.2;letter-spacing:.01em
}
.pc__in-cart[hidden]{display:none!important}
.pc__in-cart__dot{width:7px;height:7px;border-radius:50%;background:#22c55e;flex-shrink:0;box-shadow:0 0 0 3px rgba(34,197,94,.18)}
.pc.is-in-cart{border-color:#bbf7d0}
.pc.is-in-cart .pc__cart{background:#15803d}
.pc.is-in-cart .pc__cart:hover{background:#16a34a}
.qty{display:flex;align-items:center;border:1px solid var(--line,#E5E7EB);border-radius:10px;overflow:hidden;height:34px;flex:1}
.qty button{width:28px;height:100%;border:0;background:#F8FAFC;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--navy,#081E3C)}
.qty button svg{width:12px;height:12px}
.qty__in{width:100%;border:0;text-align:center;outline:0;font-weight:700;font-size:12px;-moz-appearance:textfield;background:#fff}
.qty__in::-webkit-outer-spin-button,.qty__in::-webkit-inner-spin-button{-webkit-appearance:none}
.pc__cart{width:34px;height:34px;border:0;border-radius:10px;background:var(--navy,#081E3C);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pc__cart:hover{background:var(--blue,#0D6EFD)}.pc__cart:disabled{opacity:.4;cursor:not-allowed}.pc__cart svg{width:16px;height:16px}

/* Out of stock — net ayrım */
.pc--oos{background:#F8FAFC;border-color:#CBD5E1}
.pc--oos:hover{transform:none;box-shadow:none}
.pc--oos .pc__img{background:#F1F5F9}
.pc--oos .pc__img img{filter:grayscale(.85) brightness(.92);opacity:.72}
.pc--oos .pc__brand,.pc--oos .pc__title,.pc--oos .pc__sku{opacity:.72}
.pc--oos .pc__price strong{color:#64748B}
.pc--oos .pc__price s,.pc--oos .pc__price em{opacity:.65}
.pc__oos-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-top:42px;box-sizing:border-box;pointer-events:none;background:rgba(15,23,42,.28);z-index:1}
.pc__oos-overlay span{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:8px;background:#0F172A;color:#fff;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 6px 18px rgba(15,23,42,.28)}
.pc__oos-bar{margin-top:auto;padding:9px 10px;border-radius:10px;background:#E2E8F0;color:#334155;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.02em}
.pc__oos-bar svg{flex-shrink:0;color:#64748B}
.pc--oos .pc__acts{opacity:1;transform:none}

@media(max-width:900px){
  .pc__acts{opacity:1;transform:none}
  .pc__img{height:120px}
  .pc__oos-overlay{padding-top:46px}
}
@media(max-width:400px){
  .pc__img{height:108px}
  .pc__title{font-size:12px}
  .pc__price strong{font-size:14px}
}

/* Eski product-grid içinde de aynı kartlar */
.page-theme-vendevix .category-products-grid,
.page-theme-vendevix .product-grid,
.category-products-grid.vx-pc-grid,
.product-grid.vx-pc-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
@media(min-width:700px){
  .page-theme-vendevix .category-products-grid,
  .page-theme-vendevix .product-grid,
  .category-products-grid.vx-pc-grid,
  .product-grid.vx-pc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}
@media(min-width:1000px){
  .page-theme-vendevix .category-products-grid,
  .page-theme-vendevix .product-grid,
  .category-products-grid.vx-pc-grid,
  .product-grid.vx-pc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1280px){
  .page-theme-vendevix .category-products-grid,
  .page-theme-vendevix .product-grid,
  .category-products-grid.vx-pc-grid,
  .product-grid.vx-pc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
