.pp-category-slider-section {
  padding: 60px 0 70px;
  background-color: var(--bgcreame);
  position: relative;
  /* background-image: url("/wp-content/uploads/2026/05/explorebytaste-bgimg-high.png"); */
  background-repeat: repeat;
  background-size: contain;
  background-position: top center;
  overflow: hidden;
}

.pp-bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.pp-cat-wrapper {
  display: flex;
  align-items: center;
}
.pp-all-collection-wrapper {
  width: 26%;
}

.swiper .pp-cat-card {
  padding: 0px;
  gap: 30px;
}
/* Container styling to create the arched card */
.pp-all-collection-card,
.pp-cat-card {
  position: relative;
  background-color: #fef8ee; /* Light cream background from image */
  border: 1px solid #fadbb7; /* Thin peach border */
  border-radius: 200px 200px 30px 30px; /* Creates the arch effect */
  text-align: center;
  /* Adjust based on your layout */
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
  cursor: pointer;
  padding-top: 80px !important;
  padding: 0;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* .pp-all-collection-card:hover,
.pp-cat-card:hover {
  transform: translateY(-5px);
} */

/* The Orange Circle Icon at the top */
.pp-all-collection-icon,
.pp-cat-top-icon {
  position: absolute;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  top: -30px;
  background-color: var(--orange); /* Bold orange color */
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.pp-all-collection-icon img,
.pp-cat-top-icon img {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  object-fit: cover;
}

.pp-cat-content p.pp-cat-price {
  background: var(--orange);
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #fff;
  border-radius: 0 0 20px 20px;
  padding: 7px 10px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Typography styling */
.pp-all-collection-content h3,
.pp-cat-content h3 {
  color: var(--blue); /* Dark forest green/black */
  margin-bottom: 10px;
  position: relative;
  padding:0px 20px;
}
.swiper .pp-cat-image-wrap{padding:0px 20px;overflow:visible;}
.pp-category-slider-section .swiper .pp-cat-card {
  /* background-image: url('https://staging.pocketpantry.in/wp-content/uploads/2026/07/ChatGPT-Image-Jul-24-2026-09_26_10-PM-300x300.png'); */
  background-repeat: no-repeat;
  height: 100%;
  background-size: auto 68%;
  background-position: top center;
  position: relative;
  transition:all 0.3s;
}
.pp-category-slider-section .swiper .pp-cat-card > *{z-index:2;}
.pp-category-slider-section .swiper .pp-cat-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;
  z-index: 1;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 35%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.4) 35%,
    #000 100%
  );
}
.pp-category-slider-section .swiper .pp-cat-card:hover{border:1px solid var(--orange);}
.pp-category-slider-section .swiper .pp-cat-card:after {
  background-color: rgba(0,0,0,0.4);
  height:68%;
  width:100%;
  content:'';
  position: absolute;
  top:0;
  left:0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  border-radius: 200px 200px 0px 0px;
}
.pp-category-slider-section .swiper .pp-cat-card:hover:after{opacity: 1;}
.pp-category-slider-section .swiper .pp-cat-content{
  padding-top: 35px;
}
.pp-category-slider-section .swiper .pp-cat-card:hover .pp-cat-content{    
  box-shadow: 0 -30px 22px 14px rgba(0, 0, 0, 0.2);
}

.pp-cat-card .pp-cat-image-wrap img{display:none;}

.pp-all-collection-content p,
.pp-cat-content p {
  font-size: 16px;
  color: var(--grey);
  margin-bottom: 30px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.pp-cat-content {
  width: 100%;
}

/* Image container and the main image */
.pp-all-collection-image-wrap,
.pp-cat-image-wrap {
  margin-top: 0;
  border-radius: 0px 0px 26px 26px;
  overflow: hidden;
}
.pp-all-collection-image-wrap{position: relative;}
/* Shop Now Popup Overlay - Centered in the card */
.pp-shop-now-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  font-family:var(--global-body-font-family);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
  white-space: nowrap;
  pointer-events: none; /* Let clicks pass through to the card link */
}
.pp-category-slider-section .swiper .pp-cat-card .pp-shop-now-popup{top:40%;}
.pp-shop-now-popup span{
  font-weight: 700;
  font-size: 16px;
  font-family:var(--global-body-font-family);
}

/* Fun Card Hover Effects */
.pp-all-collection-card,
.pp-cat-card {
  transition: all 0.3s ease;
}

/* .pp-all-collection-card:hover,
.pp-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
} */

.pp-all-collection-card:hover .pp-shop-now-popup,
.pp-cat-card:hover .pp-shop-now-popup {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Nice zoom on the image instead of making it dark */
.pp-all-collection-image-wrap img,
.pp-cat-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.pp-all-collection-card:hover .pp-all-collection-image-wrap img,
.pp-cat-card:hover .pp-cat-image-wrap img {
  transform: scale(1.06);
  z-index: -1;
  position: relative;
}
.pp-all-collection-card:hover .pp-all-collection-image-wrap img{z-index:1;opacity:0.5;}
/* Making the entire card clickable via the absolute link */
.pp-all-collection-content,
.pp-cat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pp-cat-link,
.pp-all-collection-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
/* .pp-all-collection-content h3::after,
.pp-cat-content h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #ff6b35;
  margin: 15px auto;
}
.pp-all-collection-content h3::before,
.pp-cat-content h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #ff6b35;
  border-radius: 50%;
} */
.dot-divider {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  position: relative;
  margin-bottom: 15px;
}
.dot-divider:after {
  height: 1px;
  width: 30px;
  background-color: var(--orange);
  display: inline-block;
  content: "";
  position: absolute;
  top: 50%;
  right: -35px;
  border-radius: 8px;
  transform: translateY(-50%);
}
.dot-divider:before {
  height: 1px;
  width: 30px;
  background-color: var(--orange);
  display: inline-block;
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  border-radius: 8px;
  transform: translateY(-50%);
}
/* Category Card */
/* .pp-cat-card {
    background-color: #fff;
    border-radius: 120px 120px 20px 20px; 
    border: 1px solid rgba(0,0,0,0.06);
    padding: 50px 20px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-top: 30px; 
    display: flex;
    flex-direction: column;
}

.pp-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.pp-cat-top-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 50px;
    background-color: var(--orange, #FF5733);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(255, 87, 51, 0.3);
    border: 3px solid #fff;
    z-index: 2;
}

.pp-cat-top-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
} */

/* Alternate top icon colors */
.swiper-slide:nth-child(even) .pp-cat-top-icon {
  background-color: var(--yellow, #ffc300);
  box-shadow: 0 4px 10px rgba(255, 195, 0, 0.3);
}

/* .pp-cat-image-wrap {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-grow: 1;
} */

/* .pp-cat-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
} */

/* .pp-cat-content {
    margin-top: auto;
} */

/* .pp-cat-title {
    font-family: var(--global-heading-font, serif);
    font-size: 24px;
    color: #1A362D;
    font-weight: 700;
    margin-bottom: 12px;
}

.pp-cat-divider {
    width: 30px;
    height: 2px;
    background-color: var(--orange, #FF5733);
    margin: 0 auto 15px;
}

.pp-cat-desc {
    font-size: 14px;
    color: #777;
    margin: 0;
} */

/* .pp-cat-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
} */

/* Swiper Arrows and Pagination */
.pp-cat-swiper {
  padding: 30px 10px 60px; /* Space for shadow and pagination */
}

.pp-cat-prev,
.pp-cat-next {
  background-color: #fff;
  color: var(--orange, #ff5733);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  top: 50%;
  margin-top: -22px;
  display: none !important;
}

.pp-cat-prev:after,
.pp-cat-next:after {
  font-size: 18px;
  font-weight: bold;
}

.pp-cat-prev {
  left: -10px;
}
.pp-cat-next {
  right: -10px;
}

.pp-cat-pagination {
  bottom: 0 !important;
}

.pp-cat-pagination .swiper-pagination-bullet {
  background: var(--orange, #ff5733);
  opacity: 0.3;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  border-radius: 50%;
}
.pp-cat-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 5px;
}

.swiper.pp-cat-swiper {
  max-width: 70%;
  padding: 40px 0 !important;
}

@media (min-width: 1400px) {
  .pp-cat-prev {
    left: -50px;
  }
  .pp-cat-next {
    right: -50px;
  }
}

@media (max-width: 1400px) {
.pp-all-collection-card, .pp-cat-card{min-height:550px;}
}

@media (max-width: 1024px) {
  .pp-all-collection-image-wrap, .pp-cat-image-wrap{border-radius: 0 0 10px 10px;}
  .pp-all-collection-content p, .pp-cat-content p{font-size:14px;}
  .pp-all-collection-card, .pp-cat-card{min-height:500px;}
  .pp-all-collection-wrapper {
    width: 30%;
}
  .swiper.pp-cat-swiper{max-width:64%;}
  .pp-cat-content p.pp-cat-price{border-radius:0 0 15px 15px;}
}

@media (max-width: 767px) {
  .pp-all-collection-wrapper {
    width: 34%;
  }
  }

@media (max-width: 640px) {
.pp-cat-wrapper{flex-direction:column;}
.pp-all-collection-wrapper {
  width: 100%;
}
.swiper.pp-cat-swiper{max-width:100%;}
}
