/* ===========================
   CONTAINER & LAYOUT
=========================== */
.product-list-container {
  max-width: 100%;
}

.product-filter-container-parent {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.product-filter-container-child {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
  justify-items: center;
}

.product-list-grid-container {
  width: 100%;
  background-color: #d9d9d9;
  display: flex;
  flex-direction: column;
  justify-items: center;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  max-width: 1200px;
  margin: 20px;
}

/* ===========================
   SEARCH FORM
=========================== */
.product-search-form {
  display: flex;
  justify-content: end;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
}

.product-search-form input,
.product-search-form select {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.product-search-form input[type="text"] {
  width: 250px;
  background-color: #e9e9e9;
  border-color: #000;
  border-radius: 10px;
  font-size: 15px;
}

.product-search-form button {
  width: 100px;
  font-weight: 700;
  background-color: #930000;
  color: white;
  border-radius: 10px;
  font-size: 15px;
  transition: background-color 0.5s;
}

.product-search-form button:hover {
  background-color: #ab0000;
}

/* ===========================
   PRODUCT CARD
=========================== */
.product-card {
  background: #f2f0ef;
  transition: box-shadow 0.2s;
  text-align: center;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  font-size: 15px;
  text-decoration: none;
}

.product-card:hover {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.product-thumb img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  padding: 1em;
}

.product-title {
  color: black;
  font-weight: 600;
  padding: 0 1em;
}

.product-cta {
  padding: 0.5em;
  background-color: #930000;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.product-card, 
.product-card * {
  text-decoration: none !important;
}


/* ===========================
   PAGINATION
=========================== */
.pagination{
 display: flex;
 justify-content: end;
 align-items: center;
 padding: 20px;
 gap: 10px;
 font-weight: 500;
 vertical-align: middle;
}
.pagination a,
.pagination span {
  text-align: center;
  vertical-align: middle;
  color:#000;
  text-decoration: none;
  font-size: 17px;
  cursor: pointer;
  transition: color 0.3s;
  width: 14px;
}

.pagination a:hover,
.pagination span:hover {
  color:#545454 !important;
}

.pagination .current {
  color: #930000;
}

.next{
  height: auto;
}

.prev{
  height:auto;
}

/* ===========================
   BREADCRUMB
=========================== */
.product-breadcrumb {
  font-size: 15px;
  color: #000;
}

.product-breadcrumb a {
  text-decoration: none;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 6px;
  color: #999;
}

.breadcrumb-current {
  font-weight: 600;
  color: #222;
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {
  .product-filter-container-child {
    padding-left: 20px;
    padding-right: 20px;
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .product-search-form input[type="text"] {
    width: 200px;
    font-size: 14px;
  }

  .product-search-form button {
    width: 100px;
    font-size: 14px;
  }

  .product-breadcrumb,
  .product-search-form,
  .product-card {
    font-size: 14px;
    font-family: 'Roboto';
  }

  .pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
    font-weight: 500;
    vertical-align: middle;
  }
}

@media (min-width: 768px) {
  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* spinner custom */
.loader {
  width: 250px;
  height: 20px;
  border-radius: 5px;
  background:
    /* NEW FILLING (Slightly Darker Gray) */
    repeating-linear-gradient(135deg, #bbb 0 10px, #ccc 0 20px) 0/0% no-repeat,
    /* ORIGINAL BACKGROUND (Lighter Gray) */
    repeating-linear-gradient(135deg, #ddd 0 10px, #eee 0 20px) 0/100%;
  animation: l3 2s infinite;
}
@keyframes l3 {
  100% {background-size:100%}
}

.loader-container{
  display:flex; 
  flex-direction: column; 
  gap: 5px; 
  justify-content:center; 
  align-items:center
}