/* Custom woocommerce */
.product-card {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 12px;
    flex-grow: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #111;
}

.product-cta {
    padding: 12px;
}

.product-cta a.button {
    width: 100%;
    text-align: center;
    border-radius: 8px;
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

.product-cta a.button:hover {
    background: #333;
}

.badge-sale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.product-image {
    position: relative;
}

.woocommerce ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}



.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
}

.shop-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.shop-main {
    width: 100%;
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        order: 2;
    }

    .shop-main {
        order: 1;
    }
}

.filter-box {
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 12px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-actions button {
  width: 100%;
  margin-bottom: 8px;
}

/* PANEL */
.filter-panel {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  position: sticky;
  top: 20px;
}

/* HEADER */
.filter-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.link-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
}

/* SECTION */
.filter-section {
  margin-bottom: 20px;
}

.filter-title {
  font-weight: 600;
  margin-bottom: 10px;
}

/* CHIPS */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8f8f8;
  cursor: pointer;
  font-size: 13px;
}

.chip.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* PRICE */
.price-values {
  font-size: 14px;
  margin-bottom: 8px;
}

.price-slider input {
  width: 100%;
}

/* TOGGLE */
.toggle {
  display: flex;
  gap: 8px;
  align-items: center;
}

.shop-grid.loading {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 768px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}