/* ====== Filter Sidebar Styling ====== */
.px-postpace-element-filter-content {
  background: #ffffff00;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Parent title */
.px-element-filter-title {
  font-weight: 600;
  font-size: 16px;
  color: #222;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
}

/* UL + LI styles */
.px-element-filter-content-checkbox ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.px-element-filter-content-checkbox ul li {
  margin-bottom: 10px;
}

.recipe-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  border-radius: 8px;
  padding: 6px 10px;
  transition: all 0.2s ease;
}

.recipe-filter-label:hover {
  background-color: #f6f6f6;
}

/* Hide native checkbox */
.recipe-filter-input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #0c9844;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: 0.2s ease;
}

/* Custom checkbox checked */
.recipe-filter-input:checked {
    border-color: #0070bb;
    background-color: #0070bb;
}

.recipe-filter-input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 3px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Checked text style */
.recipe-filter-input:checked + span {
  color: #0070bb;
  font-weight: 500;
}

/* Selected LI visual feedback */
.px-element-filter-content-checkbox li.chosen span {
  color: #0070bb;
  font-weight: 600;
}

/* Smooth hover */
.px-element-filter-content-checkbox li:hover span {
  color: #111;
}


.single-recipes-box {
  background: #fff;
  border: 1px solid #0070bb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 7px;
  margin-bottom: 20px;
}

.single-recipes-box:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Image */
.recipes-image {
  width: 100%;
  height: 305px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.recipes-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.single-recipes-box:hover .recipes-image img {
  transform: scale(1.05);
}

/* Content area */
.recipes-content {
  padding: 15px 0 0 0;
}

/* Tag (category) */
.recipes-content .recipe-tag {
  display: inline-block;
  background: #eaf8ee;
  color: #3ba556;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

/* Title */
.recipes-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #111;
      line-height: 20px;
    margin-bottom: 13px;
    height: 48px;
}

.recipes-content h3 a {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
}

.recipes-content h3 a:hover {
  color: #0070bb;
}

/* Button */
.recipes-content .uxora-default-btn.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #000;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.single-recipes-box .uxora-default-btn svg path {
  fill: #fff;
  transition: fill 0.3s ease;
}

.single-recipes-box .uxora-default-btn:hover {
  background: #fff;
  color: #000;
  border-color: #000;
}

.single-recipes-box .uxora-default-btn:hover svg path {
  fill: #000;
}


.recipes-image img{
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}

.px-element-filter-category label{
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Spinner Loader */
.custom-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0070bb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 40px auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}