.ul-reset {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.site-title {
  text-align: center;
}

.subtitle {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
  color: #666;
}

.navigation {
  background-color: #333;
  text-align: center;
}

.navigation-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
}

.navigation-link:hover {
  opacity: 0.5;
}

/* main */

.main {
  padding-top: 20px;
  padding-bottom: 40px;
}

.breadcrumb {
  margin-bottom: 20px;
}

.sidebar {
  float: left;
  /* width: 20%; */
  width: 285px; /* Adjust this value as per your needs */
}
.filter-attribute-label {
  margin-left: 0px; /* Adjust the space as per your need */
}
.filter-attribute-checkbox {
  margin-right: 10px; /* Adds space to the right of the checkbox */
}

.sidebar-heading {
  padding: 10px;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #eee;
  font-size: 1.6em;
}

.filter-item-inner {
  border-bottom: 1px solid #eee;
}

.filter-item-inner-heading {
  position: relative;
  padding: 10px;
  padding-right: 30px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.2em;
  cursor: pointer;
}

.filter-item-inner-heading.minus:after,
.filter-item-inner-heading.plus:after {
  position: absolute;
  top: 33%;
  right: 7.5%;
  font-size: 0.6em;
}

.filter-item-inner-heading.minus:after {
  content: "\2212";
  font-weight: bold;
  font-size: 20px;
  color: black;
}

.filter-item-inner-heading.plus:after {
  content: "\002B";
  font-weight: bold;
  color: black;
  font-size: 20px;
}

.filter-attribute-list {
  overflow: hidden;
}

.filter-attribute-list-inner {
  padding: 0 10px 15px;
}

.filter-attribute-item {
  padding-left: 10px;
  margin-top: 5px;
}

.filter-attribute-item:first-child {
  margin-top: 0;
}

.content {
  float: left;
  width: 80%;
}

.content-upper {
  padding-left: 20px;
}

.content-heading {
  margin-top: 0;
}

.product-list {
  font-size: 0;
}

.product-item {
  width: 33.33333%;
  padding-left: 20px;
  margin-top: 20px;
  font-size: 1rem;
}

.product-item-inner {
  padding: 10px;
  border: 1px solid #eee;
}

.product-title {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1em;
}

.product-title-link {
  display: block;
  text-decoration: none;
}

.product-title-link:hover {
  opacity: 0.5;
}

.product-price {
  margin-top: 10px;
  font-weight: 700;
}

.product-add-to-cart {
  width: 100%;
  padding: 10px;
  border: none;
  margin-top: 10px;
  background-color: #ff5722;
  color: #fff;
}

.product-add-to-cart:hover {
  opacity: 0.75;
}

/* footer */

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #eee;
}

.footer-col {
  float: left;
  width: 25%;
  font-size: 0.875em;
}

.footer-col-inner {
  padding-right: 20px;
}

.footer-col-heading {
  margin-top: 0;
  font-size: 1em;
  color: #666;
}

.footer-navigation-link {
  display: block;
  margin-top: 5px;
  text-decoration: none;
  color: #999;
}

.footer-navigation-link:hover {
  opacity: 0.5;
}

@media only screen and (min-width: 1600px) {
  .product-item {
    width: 25%;
  }
}

@media only screen and (max-width: 1280px) {
  .wrapper {
    width: 90%;
  }
}

@media only screen and (max-width: 1024px) {
  .wrapper {
    width: 100%;
  }
  .product-item {
    width: 50%;
  }
  .footer-col {
    text-align: center;
    width: 50%;
    margin-top: 40px;
    font-size: 1em;
  }
  .footer-col:first-child,
  .footer-col:nth-child(2) {
    margin-top: 0;
  }
}

@media only screen and (max-width: 900px) {
  .sidebar {
    width: 30%;
  }
  .content {
    width: 70%;
  }
}

@media only screen and (max-width: 768px) {
  .product-item {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  .sidebar {
    float: none;
    width: 100%;
  }
  .content {
    float: none;
    width: 100%;
  }
  .content-upper {
    margin-top: 20px;
    padding-left: 0;
  }
  .product-item {
    padding-left: 0;
  }
  .footer-col {
    width: 100%;
  }
  .footer-col:first-child {
    margin-top: 0;
  }
  .footer-col:nth-child(2) {
    margin-top: 40px;
  }
}

.filter-attribute-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-attribute-label {
  flex-grow: 1;
  margin-left: 10px;
}

.filter-attribute-label::after {
  content: attr(data-number);
  margin-left: 30px;
}
.filter-item {
  margin-bottom: 20px;
}

.pagination-nav {
  margin-bottom: 20px;
  margin-left: 760px;
}

@media (max-width: 768px) {
  .pagination-nav {
    display: flex;
    justify-content: center;
    margin-left: auto;
  }

  .pagination {
    margin: 0;
  }
}

.filter {
  display: block;
}

@media (min-width: 1200px) {
  .filter-open-button {
    display: none;
  }
}

@media (max-width: 1199px) {
  .filter {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
  }

  .filter-active .filter {
    left: 0; /* Slide-in from left */
  }

  /* Close Button for Mobile Sidebar */
  .filter-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
  }

  /* Filter Icon Button */
  .filter-open-button {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
    color: black;
  }

  .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .filter-active .filter-overlay {
    display: block;
  }
}

ul.filter {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.filter-item {
  margin-bottom: 15px;
}

.filter-item-inner-heading {
  font-size: 18px;
  margin-bottom: 10px;
}

.filter-attribute-list-inner {
  margin-left: 10px;
}

.filter-attribute-item {
  margin-bottom: 5px;
}

.filter-attribute-checkbox {
  margin-right: 5px;
}
.filter-open-button {
  background-color: black;
  border: none;
  color: black;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: -20px;
  position: relative;
  margin-left: -20px;
}

.filter-open-button i {
  margin: 0;
}

.filter-open-button:hover {
  background-color: black;
}

.search-bar {
  width: 100%;
  max-width: 300px;
  padding-left: 40px;
}

.sidebar .row {
  display: flex;
  align-items: center;
}

.search-bar {
  flex: 1;
  padding-left: 60px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-left: 20px;
}

.bi-search {
  color: #6c757d;
  font-size: 1.2rem;
}

.sidebar-heading {
  display: none;
}

@media (max-width: 768px) {
  .sidebar-heading {
    display: block;
  }
}
.filter-close {
  display: none;
}

@media (max-width: 768px) {
  .filter-close {
    display: block;
  }
}
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: -20px;
}

.search-bar {
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.search-icondetail {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.filter-open-button {
  margin-right: 10px;
  background-color: transparent;
  border: none;
  font-size: 18px;
}

@media (max-width: 768px) {
  .filter-open-button {
    font-size: 16px;
  }

  .search-icondetail {
    left: 60px;
  }
  .search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-left: -20px;
  }
}
.sortby {
  margin-left: 205px;
}
@media (max-width: 768px) {
  .sortby {
    margin-left: 0px;
    margin-bottom: 20px;
  }
}

/* SHOP LISTING ================================================================= */

.course-item {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-bottom: 30px;
}

.course-item:hover {
  transform: translateY(-10px);
}
.course-img {
  position: relative;
  overflow: hidden;
  height: 400px; /* Set a height for the container */
  display: flex;
  justify-content: center;
  align-items: center;
}

.course-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensure the full image is visible */
  border-radius: 12px;
}
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.course-img:hover .overlay {
  opacity: 1;
}

.icon-buttons {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 10px;
}

.icon-btn {
  background: white;
  border: none;
  padding: 8px;
  border-radius: 50%;
  font-size: 18px;
  color: #333;
  cursor: pointer;
}

.add-to-cart {
  background-color: #c3a4f3;
  border: none;
  padding: 10px 20px;
  width: 100%; /* Full width */
  text-align: center;
  border-radius: 8px;
  color: black;
  cursor: pointer;
  font-size: 16px;
  margin-top: auto; /* Push to the bottom */
  margin-bottom: 20px;
}

.course-info {
  padding: 12px;
}

.course-info p {
  margin-bottom: 5px;
}

.course-info .price span {
  margin-right: 5px;
}

.price {
  margin-top: 10px;
}

.current-price {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.old-price {
  font-size: 16px;
  text-decoration: line-through;
  color: #888;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .course-item {
    margin-bottom: 20px;
  }
}

