


.sklep-page-content {
  display: flex;
  width: 101%;
}

.sklep-page-section .small-title {
    text-align: left;
    color: #00053b;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
}

.product-card-extra {
    color: #2A5CFF;
    font-weight: 600;
    position: absolute;
    right: 1.3rem;
    top: 1.1rem;
    padding: 0.1rem 0.3rem;
    border-radius: 1rem;
    line-height: 1;
    min-width: 4rem;
    background: #fff;
}

/* ─── SIDEBAR ─────────────────────────────────────────── */
.sklep-sidebar {
    width: 17rem;
    margin-right: 0.7rem;
}

.sidebar-header {
}

.sidebar-header h3 {
}

.filter-reset-btn {
  text-align: left;
  color: #00053b;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
}
.filter-reset-btn:hover { background: var(--primary-light); }
.filter-reset-btn.visible { display: block; }

.attr-group {
  padding-bottom: 5px;
}
.attr-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.attr-group-title {
    color: #00053b;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 0.2rem 0 0.5rem;
}

.attr-group.collapsed .attr-group-title::after { transform: rotate(-90deg); }
.attr-group.collapsed .attr-group-items { display: none; }

.attr-group-items { display: flex; flex-direction: column; gap: 4px; }

.attr-item {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    transition: background var(--transition);
    user-select: none;
}

.attr-item input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.2rem;
    margin-right: 0.3rem;
}

.attr-item-label {
    color: #00053b;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
}

.attr-item.active .attr-item-label { color: var(--primary); font-weight: 500; }

.attr-item-count {
display: none;
}

.sklep-main {
    width: calc(100% - 18rem);
}

.sklep-line {
  height: 1px;
  width: 100%;
  background: #C1C1C1;
  margin: 0.5rem 0;
}

/* ─── MAIN AREA ───────────────────────────────────────── */

.sklep-categories {
    display: flex;
    gap: 0.8rem;
}

button.cat-btn {
    cursor: pointer;
    text-align: center;
    padding: 1.7rem 1rem 0.2rem;
    border-radius: .8rem;
    background: #f5f5f5;
    width: 6.6rem;
    border: 1px solid #f5f5f5;
    color: #00053b;
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 6.7rem;
    margin-bottom: 0.2rem;
}

button.cat-btn img {
    width: 1.7rem;
    margin-bottom: 1rem;
}

.sklep-categories-przekladniki button.cat-btn img {
    width: 3rem;
    margin-bottom: 0;
    margin-top: -1rem;
}

button.cat-btn.active {
  border: 1px solid #2a5cff;
}

button.cat-btn.cat-btn-all,
.cat-btn-all.active {
    border: none !important;
    display: flex;
    align-items: center;
    color: #00053b;
    font-size: 0.7rem;
    font-weight: 500;
    background: no-repeat;
    justify-content: flex-end;
    padding-bottom: 1.3rem;
}

/* Results bar */
.sklep-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.results-count {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
}

.results-count strong { color: var(--dark); font-weight: 600; }

.sklep-sort-select {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 32px 7px 12px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7699' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 8px center / 16px no-repeat;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.sklep-sort-select:focus { border-color: var(--primary); }

/* Active filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.active-filters:empty { display: none; }

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(0,87,255,0.2);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 10px 4px 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.active-filter-tag:hover { background: #d0e2ff; }
.active-filter-tag .tag-remove {
  width: 16px; height: 16px;
  background: rgba(0,87,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  line-height: 1;
  transition: background var(--transition);
}
.active-filter-tag:hover .tag-remove { background: rgba(0,87,255,0.4); }

/* Product grid */

.sklep-products-grid {
      display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.product-card {
    width: 16.5rem;
    list-style: none;
    border-radius: .8rem;
    background: #f2f4f7;
    padding-bottom: 0;
    position: relative;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  z-index: 2;
}

.product-card-img {
    display: flex;
    justify-content: center;
    height: 9rem;
}

.product-card-img img {
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
    color: #00053b;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.product-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    flex-direction: column;
    align-items: center;
}

.btn-cart {
    background-color: #2a5cff !important;
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600 !important;
    padding: .35rem 1rem .5rem !important;
    line-height: 1;
    border-radius: .4rem;
    display: flex;
    border: .1rem solid #2a5cff;
    justify-content: center;
    width: 11rem;
}

.btn-more {
    color: #2a5cff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-more:hover { 

}

.product-card-price.product-price {
    color: #00053b;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    padding-top: 0.6rem;
    padding-bottom: .2rem;
}

.product-card-price.product-price small.woocommerce-price-suffix {
    display: none;
}

/* Empty state */
.sklep-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  color: var(--gray-500);
}
.sklep-empty svg { margin-bottom: 16px; opacity: 0.3; }
.sklep-empty h3 {  }
.sklep-empty p { font-size: 1rem; }

/* Loading skeleton */
.product-card.skeleton { pointer-events: none; }
.skeleton-line {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Responsive */
@media (max-width: 1024px) {
  .sklep-page-content { grid-template-columns: 240px 1fr; gap: 24px; }
}






@media (max-width: 768px) {

  .sklep-page-content { grid-template-columns: 1fr; }
  .sklep-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    display: none;
  }
  .sklep-sidebar.open { display: block; }
  .mobile-filter-btn {
    display: flex !important;
  }

.sklep-categories {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

button.cat-btn img {
    width: 45px;
    margin-bottom: 15px;
}

button.cat-btn {
    width: 100px;
    font-size: 11px;
    font-weight: 500;
    height: 100px;
    margin-bottom: 5px;
}

.sklep-main {
    width: 100%;
}

.sklep-line {
    margin: 10px 0;
}

button.cat-btn.cat-btn-all, .cat-btn-all.active {
    font-size: 11px !important;
}

.product-card {
    width: 32%;
    padding: 5px;
}

.product-card-img {
    display: flex;
    justify-content: center;
    height: 160px;
}

.product-card-extra {
    font-size: 10px;
}

.product-card-name {
    font-size: 14px;
}

.product-card-price.product-price {
    color: #00053b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.Zalety-section.Zalety-sklep-page-section {
        padding-bottom: 60px;
        padding-top: 60px;
    }

.sklep-page-content {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.sklep-sidebar {
    width: auto;
    margin-right: 0.7rem;
    padding-left: 25px;
}

.sklep-page-section .small-title {
    font-size: 11px;
}

.attr-group-title {
    font-size: 15px;
}

.attr-item-label {
    color: #00053b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    padding-left: 10px;
}

.attr-item input[type="checkbox"] {
    width: 10px;
    height: 10px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 0;
}

.filter-reset-btn {
    font-size: 14px;
    padding: 15px 0 0;
}






}


@media (max-width: 520px) { 

.product-card {
    width: 45%;
}



}






.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  margin-bottom: 16px;
}

/* No products hiding */
.product-card.hidden { display: none; }