/* ===== Category Filter ===== */
  .filters {
    max-width: 1300px;
    margin: 0 auto 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8ece9;
  }

  .filter {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #f6f8f6;
    border: 1px solid #e2e8e3;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }

  .filter:hover {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
  }

  .filter.active {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
  }

  /* ===== Product Grid ===== */
  .product-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
  }

  /* ===== Product Card ===== */
  .product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ece9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }

  .product-card:hover {
    transform: translateY(-5px);
    border-color: #bbf7d0;
    box-shadow: 0 12px 26px rgba(22, 163, 74, .16);
  }

  /* ===== Media Area: Image + Image ===== */
  .medias {
    position: relative;
   /* display: grid;
    grid-template-columns: 2fr 1fr;  
    gap: 4px; */
    height: 190px !important;
    display: none;
    background: #8b8b8b;
    overflow: hidden !important;
  }

  .medias img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
    display: none;
  }

  .product-card:hover .medias img {
    transform: scale(1.06);
  }

  /* Badge */
  .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 9px;
    font-size: 12px;
    color: #fff;
    background: #16a34a;
    border-radius: 999px;
  }

  /* ===== Info Area ===== */
  .info {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 16px;
  }

  .product-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .2s ease;
  }

  .product-card:hover .product-name {
    color: #166534;
  }

  /* ===== Pagination ===== */
  .pagination {
    max-width: 1300px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e2e8e3;
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }

  .page-btn:hover:not(:disabled) {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
  }

  .page-btn.active {
    color: #fff;
    background: #16a34a;
    border-color: #16a34a;
  }

  .page-btn:disabled {
    color: #c3c9c4;
    cursor: not-allowed;
  }

  /* ===== Mobile Optimization ===== */
  @media (max-width: 480px) {
    .media { height: 160px; }
    .page-title { font-size: 22px; }
    .filter { padding: 7px 14px; font-size: 13px; }
  }

.pager{display:flex;gap:8px;justify-content:center;margin-top:52px;}
  .pager a{
    
      min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #fff;
    border: 1px solid #e2e8e3;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    
    min-width:42px;height:42px;
    display:flex;align-items:center;justify-content:center;border:1px solid var(--line-2);font-size:13px;color:#4a4f57;}
  .pager a.on,.pager a:hover{ background: #16a34a;color:#fff;}