/* ============================================
   PLP (Product Listing Page) Styles
   ============================================ */

/* Image Display Controls */
@media (max-width: 767px) {
  .desktop-img {
    display: none;
  }
}

@media (min-width: 767px) {
  .mobile-img {
    display: none;
  }
}

/* Banner Section */
.banner {
  background: #E3D9DA;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
}

.banner .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-left: -5px;
}

@media (max-width: 767px) {
  .banner .flex {
    margin-left: 0;
  }
}

/* Hide subscription options on archive/PLP pages */
.post-type-archive .wcsatt-sub-options,
body.post-type-archive .wcsatt-sub-options {
  display: none;
}

.banner .text-box {
  padding: 106px 0 108px;
}

.banner .text-box .h2,
.banner .text-box h1 {
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 16px;
}

.banner .text-box p {
  max-width: 550px;
  margin-bottom: 0;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .banner .text-box {
    padding: 22px 0;
  }

  .banner .text-box .h2,
  .banner .text-box h1 {
    font-size: 30px;
    margin-bottom: 13px;
  }

  .banner .text-box p {
    letter-spacing: 0.3px;
    line-height: 1.4;
  }
}

.banner figure {
  max-width: 573px;
  position: absolute;
  right: -27px;
  top: -16px;
}

@media (max-width: 800px) {
  .banner .text-box p {
    max-width: 50%;
  }

  .banner figure {
    max-width: 390px;
    right: -27px;
    top: 36px;
  }
}

@media (max-width: 767px) {
  .banner figure {
    position: static;
    width: 100%;
    margin-top: -32px;
  }

  .banner figure img {
    transform: translateX(43px);
  }

  .banner .text-box p {
    max-width: 100%;
  }
}

/* Category Section */
.category-sec {
  padding-bottom: 45px;
  border-bottom: 1px solid #eee;
  margin-bottom: 13px;
  overflow: hidden;
}

.category-sec ul {
  display: flex;
  justify-content: center;
  gap: 60px;
  overflow: auto;
  padding-bottom: 10px;
  -ms-overflow-style: none; /* IE 10+ */
  scrollbar-width: none;
}

.category-sec ul::-webkit-scrollbar {
  display: none;
}

.category-sec ul li {
  list-style: none;
  text-align: center;
}

.category-sec ul li .category-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.category-sec ul li .icon-box {
  cursor: pointer;
}

.category-sec ul li .icon-box img,
.category-sec ul li .icon-box svg {
  width: 54px;
  height: 54px;
  margin-left: auto;
  margin-right: auto;
}

.category-sec ul li .icon-box img,
.category-sec ul li .icon-box svg path {
  fill: #798377;
  stroke: #798377;
}

.category-sec ul li .icon-box img,
.category-sec ul li:hover .icon-box svg path,
.category-sec ul li.active .icon-box svg path {
  fill: #E69F71;
  stroke: #E69F71;
}

.category-sec ul li .text {
  color: #333;
  text-align: center;
  margin-top: 10px;
  cursor: pointer;
  font-weight: 600;
}

.category-sec ul li:hover .text,
.category-sec ul li.active .text {
  color: #E69F71;
}

@media (max-width: 992px) {
  .category-sec ul li .icon-box img,
  .category-sec ul li .icon-box svg {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 800px) {
  .category-sec ul {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .category-sec {
    margin-bottom: 23px;
    padding-bottom: 10px;
  }

  .category-sec ul {
    gap: 41px;
    justify-content: start;
  }

  .category-sec ul li {
    flex-shrink: 0;
  }

  .category-sec ul li .icon-box img,
  .category-sec ul li .icon-box svg {
    width: 48px;
    height: 48px;
  }

  .category-sec ul li .text {
    font-size: 12px;
    margin-top: 6px;
  }

  html .woocommerce .woocommerce-ordering {
    margin-bottom: 0;
    margin-left: unset !important;
    min-width: 1px;
  }
}

/* PLP Section */
.plp-sec {
  padding: 62px 0 90px;
}

.plp-sec .products-list .flex {
  gap: 30px;
  flex-wrap: wrap;
}

.plp-sec .products-list .card {
  background: #FCF5EE;
  border: 1px solid #FCF5EE;
  border-radius: 14px;
  padding: 20px;
  padding-bottom: 25px;
  text-align: center;
  transition: 0.3s ease;
  position: relative;
  flex: 0 0 calc(25% - 22.5px);
}

.plp-sec .products-list .card .badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #EAB67A;
  border-radius: 14px 0 14px 0;
  color: #fff;
  padding: 5px 12.5px;
  letter-spacing: -0.2px;
}

@media (max-width: 767px) {
  .plp-sec .products-list .card {
    flex: 0 0 calc(50% - 6px);
    border-radius: 6px;
    max-width: calc(50% - 6px);
    padding-bottom: 20px;
  }

  .plp-sec .products-list .card .badge {
    font-size: 12px;
    border-radius: 4px 0 4px 0;
    letter-spacing: 0.3px;
    padding: 2px 9px;
  }

  .plp-sec .products-list .card .img-box {
    margin-bottom: 4px;
  }

  .plp-sec .products-list .card .img-box figure {
    height: 120px;
  }

  .plp-sec .products-list .card .img-box figure img {
    height: 100%;
  }

  .plp-sec .products-list .card .text-box .h2 {
    font-size: 16px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .plp-sec .products-list .card .text-box p {
    max-width: 100%;
    font-size: 12px;
    height: 35px;
    overflow: hidden;
    margin-bottom: 9px;
  }

  .plp-sec .products-list .card .text-box .btn-theme {
    font-size: 12px;
    padding: 7px 14px;
  }

  .plp-sec .products-list .card .text-box .price {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .plp-sec {
    padding: 30px 0 42px;
  }

  .plp-sec .products-list .flex {
    gap: 12px;
  }
}

.plp-sec .products-list .card .img-box {
  margin-bottom: 17px;
}

.plp-sec .products-list .card .img-box figure {
  position: relative;
  text-align: center;
}

.plp-sec .products-list .card .img-box figure::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #F6EADC;
  width: 170px;
  height: 170px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 767px) {
  .plp-sec .products-list .card .img-box figure::after {
    width: 90px;
    height: 90px;
  }
}

.plp-sec .products-list .card .img-box figure img {
  position: relative;
  z-index: 1;
  margin: auto;
}

.plp-sec .products-list .card .text-box .h2 {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.plp-sec .products-list .card .text-box p {
  margin-bottom: 7px;
  font-size: 14px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.plp-sec .products-list .card .text-box .price {
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 12px;
  font-weight: 600;
}

.plp-sec .products-list .card .text-box .btn-theme {
  background: linear-gradient(90deg, #FDCEBB -12.71%, #FFEDBF 100%);
  padding: 10px 20px;
}

.plp-sec .products-list .card:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.5);
}

.plp-sec .products-list .card.card-ads {
  padding: 0;
  border: 0;
  position: relative;
}

.plp-sec .products-list .card.card-ads .img-box {
  margin: 0;
}

.plp-sec .products-list .card.card-ads .text-box {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 28px;
}

.plp-sec .products-list .card.card-ads .text-box * {
  color: #fff;
}

.plp-sec .products-list .card.card-ads .text-box .h2 {
  font-size: 20px;
  margin-bottom: 0;
}

.plp-sec .products-list .card.card-ads .text-box p {
  margin-bottom: 18px;
}

.plp-sec .products-list .card.card-ads .text-box .btn-theme {
  color: #333;
}

.plp-sec .products-list .card .inner-box {
  position: absolute;
  inset: 0;
  background: #fff;
}

.plp-sec .products-list .card .inner-box .qty-box {
  display: flex;
  justify-content: space-between;
}

.plp-sec .products-list .card .inner-box .qty-box .h4 {
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.plp-sec .products-list .card .inner-box .increment-box {
  border: 1px solid #E3E3E3;
  height: 30px;
  width: 130px;
}

.plp-sec .products-list .card .inner-box .increment-box .qty-btn {
  border-radius: 30px;
}

.plp-sec .products-list .card .inner-box .increment-box input {
  height: 30px;
  outline: none;
  border: 1px solid #E3E3E3;
  border-top: 0;
  border-bottom: 0;
  width: 38px;
}

.type-product {
  width: 100% !important;
}

.subscription-plp-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  width: 30%;
  pointer-events: auto;
  z-index: 1000;
  position: relative;
}

/* Pagination */
.pagination-row {
  margin-top: 51px;
}

.pagination-row .flex {
  justify-content: center;
  gap: 10px;
}

.pagination-row .flex li {
  border-radius: 6px;
  border: 1px solid #E69F71;
  font-weight: 500;
  font-size: 16px;
  padding: 2px 9px;
  color: #E69F71;
  cursor: pointer;
}

.pagination-row .flex li:hover {
  background: rgba(230, 159, 113, 0.1);
}

.pagination-row .flex li.active {
  color: #fff;
  background: #E69F71;
}

@media (max-width: 767px) {
  .pagination-row {
    margin-top: 34px;
  }
}

/* Best Seller Tag */
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce-page ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product > a,
.woocommerce-page ul.products li.product > a {
  position: relative;
  display: block;
}

.rx-best-seller-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ff6b35;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  line-height: 1.2;
}

/* NEW Tag */
.rx-new-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #4caf50;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  line-height: 1.2;
}

/* If both tags are present, adjust NEW tag position */
.woocommerce ul.products li.product:has(.rx-best-seller-tag) .rx-new-tag,
.woocommerce-page ul.products li.product:has(.rx-best-seller-tag) .rx-new-tag {
  top: 45px;
  left: 10px;
}

/* WooCommerce Products Grid */
html body {
  --wp--preset--font-family--heading: "TASA Orbiter", sans-serif;
}

body.woocommerce ul.products,
body.woocommerce-page ul.products {
  gap: 30px;
  display: grid;
  margin-bottom: 6px;
  grid-template-columns: repeat(5, 1fr);
}

body.woocommerce ul.products::before,
body.woocommerce-page ul.products::before {
  display: none;
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  background: #FCF5EE;
  border: 1px solid #FCF5EE;
  border-radius: 14px;
  text-align: center;
  position: relative;
  flex: 0 0 calc(25% - 22.5px);
  margin: 0;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

body.woocommerce ul.products li.product::after,
body.woocommerce-page ul.products li.product::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #F6EADC;
  width: 170px;
  height: 170px;
  top: 11%;
  left: 50%;
  transform: translate(-50%, 0%);
}

body.woocommerce ul.products li.product .woocommerce-loop-product__link,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
  padding: 24px 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

body.woocommerce ul.products li.product .onsale,
body.woocommerce ul.products li.product .rx-new-tag,
body.woocommerce ul.products li.product .rx-best-seller-tag,
body.woocommerce-page ul.products li.product .onsale,
body.woocommerce-page ul.products li.product .rx-new-tag,
body.woocommerce-page ul.products li.product .rx-best-seller-tag {
  position: absolute;
  right: auto;
  top: 0;
  left: 0;
  background: #EAB67A;
  border-radius: 14px 0 14px 0;
  color: #fff;
  padding: 8px 14px;
  letter-spacing: -0.2px;
  line-height: normal;
  margin: 0;
  min-height: 1px;
  min-width: 1px;
  font-size: 14px;
  font-weight: 600;
}

body.woocommerce ul.products li.product img,
body.woocommerce-page ul.products li.product img {
  position: relative;
  z-index: 1;
  margin: auto;
  height: 229px;
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 9px;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 0;
  padding: 0;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.woocommerce ul.products li.product .price small,
body.woocommerce-page ul.products li.product .price small {
  font-size: 16px;
}

body.woocommerce-page ul.products li.product .price {
  margin-top: 1px;
}

body.woocommerce ul.products li.product .price .amount,
body.woocommerce-page ul.products li.product .price {
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 3px !important;
  font-weight: 600;
  order: 1;
}

body.woocommerce ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del {
  display: none;
}

body.woocommerce ul.products li.product .rx-product-short-description,
body.woocommerce-page ul.products li.product .rx-product-short-description {
  margin-bottom: 3px !important;
  font-size: 14px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  height: 45px;
  overflow: hidden;
  color: #333;
  letter-spacing: 0.02em;
}

body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
  border-radius: 30px !important;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  width: auto !important;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #FDCEBB -12.71%, #FFEDBF 100%);
  padding: 10px 20px;
  margin-right: auto;
  margin-left: auto;
  margin-top: auto;
}
body.woocommerce ul.products li.product .button.add_to_cart_button,
body.woocommerce-page ul.products li.product .button.add_to_cart_button {
  margin-bottom: 25px;
}

body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1660px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1280px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }

  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    flex: 0 0 calc(25% - 15px);
  }
}

@media (max-width: 1100px) {
  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    flex: 0 0 calc(33.33% - 15px);
  }

  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce ul.products,
  body.woocommerce-page ul.products {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }

  body.woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product {
    border-radius: 6px;
    padding-bottom: 0;
  }

  body.woocommerce ul.products li.product::after,
  body.woocommerce-page ul.products li.product::after {
    width: 90px;
    height: 90px;
  }

  body.woocommerce ul.products li.product .onsale,
  body.woocommerce ul.products li.product .rx-new-tag,
  body.woocommerce ul.products li.product .rx-best-seller-tag,
  body.woocommerce-page ul.products li.product .onsale,
  body.woocommerce-page ul.products li.product .rx-new-tag,
  body.woocommerce-page ul.products li.product .rx-best-seller-tag {
    font-size: 12px;
    border-radius: 4px 0 4px 0;
    letter-spacing: 0.3px;
    padding: 2px 9px;
  }

  body.woocommerce ul.products li.product img,
  body.woocommerce-page ul.products li.product img {
    margin-bottom: 12px;
    height: 108px;
  }

  body.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  body.woocommerce ul.products li.product p,
  body.woocommerce ul.products li.product .rx-product-short-description,
  body.woocommerce-page ul.products li.product p,
  body.woocommerce-page ul.products li.product .rx-product-short-description {
    max-width: 100%;
    font-size: 12px;
    height: 35px;
    overflow: hidden;
    margin-bottom: 6px !important;
  }

  body.woocommerce ul.products li.product .button.add_to_cart_button,
  body.woocommerce-page ul.products li.product .button.add_to_cart_button {
    font-size: 12px;
    padding: 7px 14px;
    margin-bottom: 25px;
  }

  body.woocommerce ul.products li.product .button,
  body.woocommerce-page ul.products li.product .button {
    padding: 7px 14px;
    font-family: 'Inter Tight', sans-serif;
    letter-spacing: -0.5px;
    font-size: 14px !important;
  }

  body.woocommerce ul.products li.product .price .amount,
  body.woocommerce ul.products li.product .price .amount small,
  body.woocommerce-page ul.products li.product .price .amount,
  body.woocommerce-page ul.products li.product .price .amount small {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* WooCommerce Ordering */
.woocommerce .woocommerce-ordering select {
  appearance: none;
  position: relative;
  background: url(https://celia-rx.mobikasa.net/wp-content/uploads/2025/12/down-arrow.svg);
  background-repeat: no-repeat;
  background-position: 93%;
  padding: 11px 40px 11px 20px;
  border-radius: 50px;
  font-size: 16px;
  border: 1px solid #DEDEDE;
  font-weight: 600;
  font-family: 'TASA Orbiter', sans-serif;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 0;
}

html .woocommerce .woocommerce-ordering {
  margin-bottom: 0;
  margin-left: auto;
  min-width: 1px;
}

/* WooCommerce Pagination */
.woocommerce-pagination {
  margin-top: 0;
}

.woocommerce-pagination .page-numbers {
  justify-content: center;
  gap: 10px;
  display: flex !important;
  flex-wrap: wrap;
  border: 0 !important;
}

.woocommerce-pagination .page-numbers li {
  border-radius: 6px !important;
  border: 1px solid #E69F71 !important;
  color: #E69F71;
  cursor: pointer;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  font-weight: 500 !important;
  font-size: 16px !important;
  padding: 0 !important;
  line-height: normal !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #E69F71 !important;
  min-width: 30px !important;
  min-height: 30px !important;
}

.woocommerce-pagination .page-numbers li a.current,
.woocommerce-pagination .page-numbers li span.current {
  color: #fff !important;
  background: #E69F71 !important;
}

.woocommerce-pagination .page-numbers li a:hover,
.woocommerce-pagination .page-numbers li span:hover {
  background: rgba(230, 159, 113, 0.1) !important;
}

.woocommerce-pagination .page-numbers li:hover {
  background: rgba(230, 159, 113, 0.1);
}

.woocommerce-pagination .page-numbers li.active {
  color: #fff;
  background: #E69F71;
}

@media (max-width: 767px) {
  .woocommerce-pagination {
    margin-top: 9px;
  }
}

/* Hide View Cart button */
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product .wc-forward,
.woocommerce-page ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product .wc-forward,
ul.products li.product .added_to_cart,
ul.products li.product a.added_to_cart,
ul.products li.product .wc-forward {
  display: none !important;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .woocommerce .woocommerce-result-count,
  .woocommerce-page .woocommerce-result-count {
    display: none;
  }
}

/* PDP Ingredient Products Section */
.celia-ingredients-section {
  padding: 80px 0;
  background: #fdf8f2;
}

.celia-ingredients-kicker {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.celia-ingredients-heading {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.celia-ingredients-list {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.celia-ingredient-card {
  min-width: 180px;
  text-align: center;
}

.celia-ingredient-image-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #f4e6d8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  overflow: hidden;
}

.celia-ingredient-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.celia-ingredient-placeholder {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: #e0d0c0;
  display: inline-block;
}

.celia-ingredient-name {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .celia-ingredients-section {
    padding: 48px 0;
  }

  .celia-ingredients-heading {
    font-size: 22px;
    max-width: 260px;
  }
}

.woocommerce-tabs.wc-tabs-wrapper {
  display: none;
}

/* PLP two-column layout: sidebar left, products right */
.plp-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.plp-sidebar-col {
  flex-shrink: 0;
  width: 275px;
  padding-top: 106px;
}

.plp-sidebar-col:empty {
  display: none;
}

.plp-main {
  flex: 1;
  min-width: 0;
}

/* Left sidebar filter - desktop */
.plp-filter-sidebar {
  position: sticky;
  top: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 0;
}

.plp-filter-sidebar-inner {
  padding: 0;
}

.plp-filter-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  width: 90%;
  margin: 0 auto;
}

.plp-filter-sidebar .plp-filter-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plp-filter-sidebar .plp-filter-title-icon {
  display: inline-flex;
}

.plp-filter-sidebar-close {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.2s;
}

.plp-filter-sidebar-close:hover {
  color: #000;
}

.plp-filter-sidebar .plp-filter-form {
  padding: 20px;
  margin-bottom: 0;
}

.plp-filter-sidebar .plp-filter-tags-list {
  margin-bottom: 0;
  gap: 10px;
}

.plp-filter-sidebar .plp-filter-tag-item {
  padding: 0;
  margin-bottom: 0 !important;
}



.plp-filter-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.plp-filter-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.plp-filter-sidebar-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide filter button on desktop when sidebar is visible */
@media (min-width: 768px) {
  .plp-layout .filter-row .filter-box {
    display: none;
  }

  .plp-layout .filter-row {
    justify-content: space-between;
  }

  .plp-layout .filter-row p,
  .plp-layout .filter-row form {
    min-width: auto;
  }

  .plp-layout .filter-row p {
    text-align: left;
  }

  .plp-layout .filter-row form {
    text-align: right;
  }
}

/* Sidebar as bottom sheet on mobile (slides up from bottom) */
@media (max-width: 767px) {

  .plp-filter-sidebar .plp-filter-tags-list {
    margin-bottom: 0;
    gap: 14px;
}

  .plp-layout {
    gap: 0;
  }

  .plp-sidebar-col {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    z-index: 1001;
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.35s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-radius: 20px 20px 0 0;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
  }

  .plp-sidebar-col.is-open {
    transform: translateY(0);
  }

  .plp-filter-sidebar {
    position: static;
    border: none;
    border-radius: 0;
    min-height: auto;
  }

  .plp-filter-sidebar-header {
    border-radius: 20px 20px 0 0;
  }

  .plp-filter-sidebar-close {
    display: flex;
  }

  .plp-filter-sidebar-overlay {
    display: block;
  }

  .plp-main {
    width: 100%;
  }
}

/* Filter Row */
.filter-row {
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 28px;
}

.filter-row .filter-box,
.filter-row p,
.filter-row form {
  min-width: 33.33%;
}

.filter-row p {
  text-align: center;
  margin-bottom: 0 !important;
}

.filter-row form {
  text-align: right;
}

@media (max-width: 767px) {
  .filter-row {
    margin-bottom: 20px;
    margin-top: 20px;
    gap: 10px;
  }
}

/* PLP Filter Styles */
.plp-filter-wrapper {
  position: relative;
  display: inline-block;
}

.plp-filter-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plp-filter-button {
  background: transparent;
  border: 1px solid #000;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
}

/* .plp-filter-button:hover {
  background: #000;
  color: #fff;
} */

.plp-filter-button .filter-count-badge {
  background: #000;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* .plp-filter-button:hover .filter-count-badge {
  background: #fff;
  color: #000;
} */

.plp-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  max-width: 400px;
  max-height: 500px;
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.plp-filter-dropdown.active {
  display: block;
}

.plp-filter-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
}

.plp-filter-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.plp-filter-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: color 0.3s ease;
}

.plp-filter-close:hover {
  color: #000;
}

.plp-filter-content {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.plp-filter-tags-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.plp-filter-tag-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px;
  text-align: left;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.plp-filter-tag-item:hover {
  background: #f5f5f5;
}

.plp-filter-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  cursor: pointer;
  border: 2px solid #E69F71;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  transition: all 0.2s ease;
}

.plp-filter-checkbox:checked {
  background-color: #E69F71;
  border-color: #E69F71;
}

.plp-filter-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.plp-filter-tag-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  transition: color 0.2s ease;
}

.plp-filter-checkbox:checked + .plp-filter-tag-name {
  color: #E69F71;
}

.plp-filter-tag-count {
  font-size: 12px;
  color: #999;
  display: none;
}

.plp-filter-clear {
  padding: 10px 20px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
}

.plp-filter-clear:hover {
  background: #f5f5f5;
}

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

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

.filter-box .plp-filter-wrapper .plp-filter-button {
  border: 1px solid #DEDEDE;
  border-radius: 50px;
  min-width: 124px;
  text-align: center;
  justify-content: center;
}

/* .filter-box .plp-filter-wrapper .plp-filter-button:hover svg path {
  stroke: #fff;
} */

.plp-sec .full-banner .banner-container {
  border-radius: 30px;
  padding: 85px 60px 90px;
  background-image: var(--desktopImg);
}

.plp-sec .full-banner .btn-theme {
  margin-top: 30px;
}

.plp-sec .full-banner .banner-text .h3 {
  margin-bottom: 23px;
}

.plp-sec .full-banner {
  padding-bottom: 0;
}

@media (width: 768px) {
  .plp-sec .full-banner .banner-container {
    /* background: #ebe5ed; */
    background: var(--mobi) no-repeat top center #EEE1E2;
  }
}
@media (max-width: 767px) {
  .plp-filter-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    margin-top: 0;
  }

  .plp-filter-content {
    max-height: calc(80vh - 120px);
  }

  body.woocommerce ul.products li.product .woocommerce-loop-product__link,
  body.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    margin-bottom: 4px;
  }

  .plp-sec .full-banner .banner-container {
    padding: 85px 10px 23px;
    aspect-ratio: auto;
    background: var(--mobi) no-repeat top center #EEE1E2;
    background-size: auto 302px !important;
    border-radius: 10px;
    min-height: 550px;
  }

  .plp-sec .full-banner {
    padding: 36px 0 0px;
  }
  .plp-sec .full-banner .banner-text .h3{margin-bottom: 15px;}
  .plp-sec .full-banner .btn-theme{margin-top: 15px;}

  .filter-box .plp-filter-wrapper .plp-filter-button {
    font-size: 16px;
  }

  .woocommerce .woocommerce-ordering select {
    width: 174px;
  }
}
