/* ZAUNA product list pages (UC/Robux/Steam/Gems) */

:root{
  --za-blue:#0a1e7a;
  --za-card:#ffffffea;
  --za-border:rgba(0,0,0,.08);
  --za-shadow:0 12px 30px rgba(0,0,0,.10);
}

body{
  background: url('../../Photo/Fondlyasaqta.jpg') center/cover fixed no-repeat;
}

.products-page{
  max-width: 1180px;
  margin: 90px auto 50px auto;
  padding: 0 14px;
}

.products-hero{
  background: var(--za-card);
  border: 1px solid var(--za-border);
  box-shadow: var(--za-shadow);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 14px;
}

.products-hero h1{
  margin: 0 0 6px 0;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--za-blue);
}

.products-hero p{ margin:0; color:#4b4b4b; }

.products-controls{
  background: var(--za-card);
  border: 1px solid var(--za-border);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin-bottom: 14px;
}

.products-search{
  flex: 1 1 260px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  padding: 0 14px;
  outline: none;
  font-size: 16px;
}

.products-search:focus{
  border-color: rgba(10,30,122,.35);
  box-shadow: 0 0 0 4px rgba(10,30,122,.10);
}

.products-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 900px){
  .products-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.product-card{
  background: var(--za-card);
  border: 1px solid var(--za-border);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-radius: 18px;
  overflow:hidden;
  display:flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card__img{
  height: 150px;
  background:#fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.product-card__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}

.product-card__body{
  padding: 12px 12px 14px 12px;
  display:flex;
  flex-direction: column;
  gap: 8px;
  flex:1;
}

.product-card__title{
  font-weight: 800;
  color:#111;
  line-height: 1.2;
  min-height: 40px;
}

.price-row{
  display:flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap:wrap;
}

.price-now{
  color: var(--za-blue);
  font-weight: 900;
  font-size: 18px;
}

.price-old{
  color:#777;
  text-decoration: line-through;
  font-weight: 700;
}

.badge-sale{
  background: rgba(10,30,122,.10);
  color: var(--za-blue);
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.product-actions{
  display:flex;
  gap: 10px;
  margin-top: auto;
}

.btn{
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-weight: 800;
  padding: 0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#111;
  flex:1;
}

.btn-primary{
  background: var(--za-blue);
  border-color: var(--za-blue);
  color:#fff;
}

.products-empty{
  background: var(--za-card);
  border: 1px solid var(--za-border);
  border-radius: 18px;
  padding: 18px;
  color:#444;
}
