.elementor-61420 .elementor-element.elementor-element-6676c86 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-61420 .elementor-element.elementor-element-5ca304c > .elementor-widget-container{margin:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-6676c86 *//* General container */
.filter-container {
  display: flex;
  gap: 30px;
  height: auto;
  font-family: 'Times New Roman', Times, serif;
  padding: 20px;
  flex-wrap: wrap;
}

/* Style adjustments for the filtering text */
.filtering-text {
  margin-top: 15px;
  font-size: 14px;
  font-weight: normal;
  color: #848484;
}

/* Sidebar for filters */
.filter-sidebar {
  width: 250px;
  height: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  overflow-y: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Filter section headers */
.filter-header {
  font-size: 15px;
  font-weight: normal;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: #343434;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Filter options (using grid layout for items) */
.filter-options {
  display: none; /* Initially hidden */
  margin-top: 10px;
}

/* Apply grid layout to the filter categories */
.filter-options.color-options,
.filter-options.fabric-options,
.filter-options.features-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Multiple columns with a minimum width of 120px */
  gap: 10px;
}

/* Filter options labels */
.filter-options label {
  display: block !important;
  font-size: 12px;
  color: #555;
  font-family: Times New Roman;
  margin-bottom: 10px !important;
}

/* Filter button */
.filter-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #86684D;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: normal;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.filter-button:hover {
  background-color: #5c4b39;
}

/* Clear Filters Button */
.clear-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: transparent;
  color: #86684D;
  border: 1px solid #86684D;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: light;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

/* Swatch title and description alignment */
.swatch-title {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.swatch-description {
  display: block; /* Ensures they are always on separate lines */
  font-style: italic;
  color: #949494;
  font-size: 12px;
}

.clear-button:hover {
  color: #343434;
  border-color: #5c4b39;
}

/* Gallery of swatches */
.swatches-gallery {
  flex: 1;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px 20px; /* Adjust the first value for vertical gap (Y-axis) */
  overflow-y: auto;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Individual swatch */
.swatch {
  padding: 0;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  margin-bottom: 15px;  /* Ensure no extra margin is being added */
}

.swatch:hover {
  transform: translateY(-5px);
}

/* Swatch image */
.swatch img {
  width: 100%;
  height: auto; /* Ensures the height is proportionate */
  max-height: 150px; /* Enforces a maximum height */
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 5px; /* Space between image and caption */
}

/* Swatch caption */
.swatch-caption {
  padding: 10px;
  font-size: 15px;
  color: #333;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}


/* Modal Styles */
.modal {
  display: none; /* Initially hidden */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full screen */
  height: 100%; /* Full screen */
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
  overflow: auto;
  padding-top: 60px;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center;
}

.modal-content-container {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.modal-content {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 600px; /* Set a maximum width */
  max-height: 600px; /* Set a maximum height */
  object-fit: contain; /* Ensure the aspect ratio is preserved */
}

.caption {
  color: white;
  font-size: 18px;
  padding: 10px 0;
}

/* Remove the X button */
.close {
  display: none;
}

/* Close button style */
.modal-close-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  position: absolute;
  bottom: 20px; /* Distance from the bottom */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Ensure it's perfectly centered */
}

.modal-close-btn:hover {
  background-color: #555;
}



/* Responsive adjustments */
@media (max-width: 1024px) {
  .filter-container {
    flex-direction: column;
    align-items: center;
  }

  .filter-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .swatches-gallery {
    grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
  }

  /* Ensure proper grid for categories with filter options */
  .filter-options.color-options,
  .filter-options.fabric-options,
  .filter-options.features-options {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Multiple columns for mobile/tablets */
  }
}

@media (max-width: 768px) {
  .filter-container {
    gap: 15px;
  }

  .filter-sidebar {
    width: 100%;
    padding: 15px;
  }

  .swatches-gallery {
    grid-template-columns: repeat(2, 1fr); /* Two columns on smaller tablets */
  }

  .filter-button {
    font-size: 14px;
    padding: 10px;
  }

  .clear-button {
    font-size: 14px;
    padding: 10px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5ca304c *//* General container */
.filter-container {
  display: flex;
  gap: 30px;
  height: auto;
  font-family: 'Times New Roman', Times, serif;
  padding: 20px;
  flex-wrap: wrap;
}

/* Style adjustments for the filtering text */
.filtering-text {
  margin-top: 15px;
  font-size: 14px;
  font-weight: normal;
  color: #848484;
}

/* Sidebar for filters */
.filter-sidebar {
  width: 250px;
  height: 100%;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  overflow-y: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Filter section headers */
.filter-header {
  font-size: 15px;
  font-weight: normal;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: #343434;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Filter options (using grid layout for items) */
.filter-options {
  display: none; /* Initially hidden */
  margin-top: 10px;
}

/* Apply grid layout to the filter categories */
.filter-options.color-options,
.filter-options.fabric-options,
.filter-options.features-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Multiple columns with a minimum width of 120px */
  gap: 10px;
}

/* Filter options labels */
.filter-options label {
  display: block !important;
  font-size: 12px;
  color: #555;
  font-family: Times New Roman;
  margin-bottom: 10px !important;
}

/* Filter button */
.filter-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #86684D;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: normal;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.filter-button:hover {
  background-color: #5c4b39;
}

/* Clear Filters Button */
.clear-button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: transparent;
  color: #86684D;
  border: 1px solid #86684D;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: light;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

/* Swatch title and description alignment */
.swatch-title {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.swatch-description {
  display: block; /* Ensures they are always on separate lines */
  font-style: italic;
  color: #949494;
  font-size: 12px;
}

.clear-button:hover {
  color: #343434;
  border-color: #5c4b39;
}

/* Gallery of swatches */
.swatches-gallery {
  flex: 1;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px 20px; /* Adjust the first value for vertical gap (Y-axis) */
  overflow-y: auto;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Individual swatch */
.swatch {
  padding: 0;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  margin-bottom: 15px;  /* Ensure no extra margin is being added */
}

.swatch:hover {
  transform: translateY(-5px);
}

/* Swatch image */
.swatch img {
  width: 100%;
  height: auto; /* Ensures the height is proportionate */
  max-height: 150px; /* Enforces a maximum height */
  border-radius: 5px;
  object-fit: cover;
  margin-bottom: 5px; /* Space between image and caption */
}

/* Swatch caption */
.swatch-caption {
  padding: 10px;
  font-size: 15px;
  color: #333;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}


/* Modal Styles */
.modal {
  display: none; /* Initially hidden */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full screen */
  height: 100%; /* Full screen */
  background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
  overflow: auto;
  padding-top: 60px;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center;
}

.modal-content-container {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.modal-content {
  display: block;
  margin: auto;
  width: 100%;
  max-width: 600px; /* Set a maximum width */
  max-height: 600px; /* Set a maximum height */
  object-fit: contain; /* Ensure the aspect ratio is preserved */
}

.caption {
  color: white;
  font-size: 18px;
  padding: 10px 0;
}

/* Remove the X button */
.close {
  display: none;
}

/* Close button style */
.modal-close-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  position: absolute;
  bottom: 20px; /* Distance from the bottom */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Ensure it's perfectly centered */
}

.modal-close-btn:hover {
  background-color: #555;
}



/* Responsive adjustments */
@media (max-width: 1024px) {
  .filter-container {
    flex-direction: column;
    align-items: center;
  }

  .filter-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }

  .swatches-gallery {
    grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
  }

  /* Ensure proper grid for categories with filter options */
  .filter-options.color-options,
  .filter-options.fabric-options,
  .filter-options.features-options {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Multiple columns for mobile/tablets */
  }
}

@media (max-width: 768px) {
  .filter-container {
    gap: 15px;
  }

  .filter-sidebar {
    width: 100%;
    padding: 15px;
  }

  .swatches-gallery {
    grid-template-columns: repeat(2, 1fr); /* Two columns on smaller tablets */
  }

  .filter-button {
    font-size: 14px;
    padding: 10px;
  }

  .clear-button {
    font-size: 14px;
    padding: 10px;
  }
}/* End custom CSS */