/* sklepza5000-core FIX0 — components */

.sz5-main{
  padding: 26px 0 60px;
}

/* Product grid */
.woocommerce ul.products{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width: 720px){
  .woocommerce ul.products{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1020px){
  .woocommerce ul.products{ grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.woocommerce ul.products li.product{
  margin:0;
}
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after{
  display:none !important;
}
.sz5-product-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  padding:0;
  border:1px solid var(--sz5-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.sz5-product-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(17,24,39,.10);
  border-color: rgba(17,24,39,.16);
}
.sz5-product-card__media{
  position:relative;
  display:block;
  aspect-ratio: 4 / 4.4;
  overflow:hidden;
  width:100%;
  border-radius: 22px 22px 0 0;
  background:#f3f4f6;
  border-bottom:1px solid rgba(17,24,39,.08);
}
.sz5-product-card__media:hover .sz5-product-card__img{
  transform: scale(1.035);
}
.sz5-product-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}
.sz5-product-card__badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#b91c1c;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 10px 24px rgba(185,28,28,.24);
}
.sz5-product-card__body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:16px;
  padding:16px;
}
.sz5-product-card__top{
  display:grid;
  gap:10px;
}
.sz5-product-card__meta{
  display:grid;
  gap:10px;
  margin:0;
}
.sz5-product-card__status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.sz5-product-card__status::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:999px;
  background:currentColor;
}
.sz5-product-card__status.is-in-stock{
  background:#ecfdf5;
  color:#047857;
}
.sz5-product-card__status.is-out-of-stock{
  background:#fff7ed;
  color:#c2410c;
}
.sz5-product-card__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.sz5-product-card__chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  background:#f3f4f6;
  color:#4b5563;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
}
.sz5-product-card__title{
  margin:0;
  font-size: 17px;
  line-height:1.3;
}
.sz5-product-card__title a{
  color: var(--sz5-text);
  text-decoration:none;
}
.sz5-product-card__title a:hover{
  opacity:.8;
}
.sz5-product-card__price{
  color: var(--sz5-text);
  font-size: 16px;
  font-weight:700;
  line-height:1.3;
}
.sz5-product-card__price del{
  color: var(--sz5-muted);
  font-weight:500;
  margin-right:6px;
}
.sz5-product-card__price ins{
  text-decoration:none;
}
.sz5-product-card__bottom{
  display:grid;
  gap:12px;
  margin-top:auto;
}
.sz5-product-card__note{
  margin:0;
  color:#6b7280;
  font-size:12px;
  line-height:1.4;
}
.sz5-product-card .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  border-radius: 14px;
  border:1px solid var(--sz5-border);
  background: #0f1117;
  color: var(--sz5-text);
  padding: 12px 14px;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover{ border-color: rgba(106,228,255,.35); }
.sz5-product-card__button{
  width:100%;
  min-height:48px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:14px;
  border:1px solid #111827 !important;
  background:#111827 !important;
  color:#fff !important;
  font-weight:700;
  line-height:1.1;
  box-shadow:none;
  text-decoration:none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sz5-product-card__button::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  background:#fff;
  -webkit-mask:no-repeat center / contain;
          mask:no-repeat center / contain;
}
.sz5-product-card__button.add_to_cart_button::before,
.sz5-product-card__button.product_type_simple::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.00488 4H3V6H4.75391L7.1582 15.6152C7.38045 16.5042 8.17936 17.1274 9.0957 17.127H18V15.127H9.0957L8.5957 13.127H18.3799C19.0776 13.127 19.6834 12.6451 19.8418 11.9648L21.3809 5.37598C21.5207 4.77634 21.0652 4.2021 20.4492 4.20215H6.00488ZM7.25293 6.20215H19.1885L18.1172 10.7979H8.40137L7.25293 6.20215ZM9 18C7.89543 18 7 18.8954 7 20C7 21.1046 7.89543 22 9 22C10.1046 22 11 21.1046 11 20C11 18.8954 10.1046 18 9 18ZM17 18C15.8954 18 15 18.8954 15 20C15 21.1046 15.8954 22 17 22C18.1046 22 19 21.1046 19 20C19 18.8954 18.1046 18 17 18Z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.00488 4H3V6H4.75391L7.1582 15.6152C7.38045 16.5042 8.17936 17.1274 9.0957 17.127H18V15.127H9.0957L8.5957 13.127H18.3799C19.0776 13.127 19.6834 12.6451 19.8418 11.9648L21.3809 5.37598C21.5207 4.77634 21.0652 4.2021 20.4492 4.20215H6.00488ZM7.25293 6.20215H19.1885L18.1172 10.7979H8.40137L7.25293 6.20215ZM9 18C7.89543 18 7 18.8954 7 20C7 21.1046 7.89543 22 9 22C10.1046 22 11 21.1046 11 20C11 18.8954 10.1046 18 9 18ZM17 18C15.8954 18 15 18.8954 15 20C15 21.1046 15.8954 22 17 22C18.1046 22 19 21.1046 19 20C19 18.8954 18.1046 18 17 18Z'/%3E%3C/svg%3E");
}
.sz5-product-card__button:not(.add_to_cart_button)::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.1719 12L8.22168 7.05078L9.63574 5.63672L16 12L9.63574 18.3643L8.22168 16.9502L13.1719 12Z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.1719 12L8.22168 7.05078L9.63574 5.63672L16 12L9.63574 18.3643L8.22168 16.9502L13.1719 12Z'/%3E%3C/svg%3E");
}
.sz5-product-card__button:hover{
  background:#1f2937 !important;
  border-color:#1f2937 !important;
  transform: translateY(-1px);
  box-shadow:0 12px 24px rgba(17,24,39,.16);
}
.sz5-product-card__button.loading{
  opacity:.85;
}
@media (max-width: 719px){
  .woocommerce ul.products{
    grid-template-columns: 1fr 1fr;
    gap:14px;
  }
  .sz5-product-card{
    border-radius:18px;
  }
  .sz5-product-card__media{
    border-radius:18px 18px 0 0;
  }
  .sz5-product-card__body{
    gap:12px;
    padding-top:12px;
    padding:12px;
  }
  .sz5-product-card__title{
    font-size:15px;
  }
  .sz5-product-card__chips{
    gap:6px;
  }
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error{
  border-radius: var(--sz5-radius);
  border:1px solid var(--sz5-border);
  background: rgba(17,19,26,.65);
  color: var(--sz5-text);
}


/* Forms + tables */
.sz5-form-row{ display:grid; gap:8px; }
.sz5-form-row label{ color: var(--sz5-muted); font-size: 13px; }

.sz5-table{
  width:100%;
  border-collapse: collapse;
  border:1px solid var(--sz5-border);
  border-radius: var(--sz5-radius);
  overflow:hidden;
}
.sz5-table th, .sz5-table td{
  padding: 12px 10px;
  border-bottom:1px solid var(--sz5-border);
  vertical-align: middle;
}
.sz5-table th{ text-align:left; color: var(--sz5-muted); font-weight:600; font-size: 13px; }
.sz5-table tr:last-child td{ border-bottom:0; }

/* Blocks */
.sz5-section{ padding: 10px 0 18px; }
.sz5-h1{ margin:0 0 12px; font-size: 26px; line-height:1.15; }
.sz5-h2{ margin:0 0 10px; font-size: 18px; line-height:1.25; color: var(--sz5-text); }
.sz5-muted{ color: var(--sz5-muted); }
.sz5-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border:1px solid var(--sz5-border);
  background: #0f1117;
}

/* Layouts */
.sz5-layout{
  display:grid;
  gap: var(--sz5-gap);
}
@media (min-width: 980px){
  .sz5-layout--2{ grid-template-columns: 1.25fr .75fr; align-items:start; }
}




.sz5-iconbtn{ color: var(--sz5-text); }
.sz5-iconbtn svg{ display:block; }
