/* ------------------ Sale Ribbon ------------------ */
.wc-card-wrap {
  position: relative;
}

.wc-sale-ribbon {
  position: absolute;
  top: -13px;
  left: -10px;
  z-index: 20;
  width: 130px; /* adjust size */
  height: auto;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .wc-sale-ribbon {
    width: 115px;
    top: -11px;
    left: -9px;
  }
}

/* ------------------ Save 26% Badge ------------------ */
.wc-save-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 25;

  background: #b61415;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 10px;
  line-height: 1;

  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);

  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .wc-save-badge {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 9px 14px;
  }
}

/* ------------------ Shared Carousel Base ------------------ */

/* ✅ clip overflow to the shortcode block only */
.wc-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ✅ allow peek INSIDE the container */
.wc-carousel .swiper,
.wc-carousel .swiper-wrapper {
  width: 100% !important;
  overflow: visible !important;
}

.wc-carousel .swiper {
  width: 100%;
  max-width: 100%;
}

/* IMPORTANT: use % instead of vw so it respects parent container */
.wc-carousel .swiper-slide {
  width: 78%;
  max-width: 300px;
}

/* peek padding */
.wc-carousel .swiper {
  padding: 10px 22px 18px;
}

@media (max-width: 380px) {
  .wc-carousel .swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
  .wc-carousel .swiper-slide {
    width: 82%;
    max-width: none;
  }
}
@media (max-width: 340px) {
  .wc-carousel .swiper {
    padding-left: 26px;
    padding-right: 26px;
  }
  .wc-carousel .swiper-slide {
    width: 78%;
    max-width: none;
  }
}

/* Arrows */
.wc-carousel .swiper-button-prev,
.wc-carousel .swiper-button-next {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(60, 137, 92, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.wc-carousel .swiper-button-prev:after,
.wc-carousel .swiper-button-next:after {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.wc-carousel .swiper-button-prev {
  left: 6px;
}
.wc-carousel .swiper-button-next {
  right: 6px;
}

/* ------------------ Cards ------------------ */
.wc-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wc-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f2f2f2;
}

/* ------------------ Category Card Footer Button ------------------ */
.wc-cat-footer {
  margin-top: auto;
}
.wc-cat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  background: #3c895c;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ------------------ Section Header + Chips ------------------ */
.wc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 0;
  width: 100%;
}
.wc-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 22px;
  color: #2b1b12;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ✅ hide Orgaina Blends title on mobile (chips shortcode title) */
@media (max-width: 768px) {
  .wc-chips-wrap .wc-section-title {
    display: none !important;
  }
}

.wc-section-divider {
  height: 2px;
  background: rgba(60, 137, 92, 0.35);
  margin: 10px 0 16px;
  width: 100%;
}

.wc-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .wc-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .wc-chips {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .wc-chips::-webkit-scrollbar {
    display: none;
  }
  .wc-chip {
    flex: 0 0 auto;
  }
}

.wc-chip {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f2f2f2;
  color: #000;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.12s ease,
    transform 0.12s ease,
    filter 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease;
}
.wc-chip:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}
.wc-chip.is-active {
  background: #3c895c;
  color: #fff;
  border-color: #3c895c;
}

.wc-products-loading {
  opacity: 0.55;
  pointer-events: none;
}

/* ------------------ Products Carousel ------------------ */

/* ✅ Desktop/Laptop: show 5 products visible by default */
@media (min-width: 1025px) {
  .wc-product-carousel .swiper-slide {
    width: calc((100% - (18px * 4)) / 5);
    max-width: none;
  }
}

/* 20% smaller feel kept on laptop+ via internal spacing */
@media (min-width: 1025px) {
  .wc-prod-body {
    padding: 12px 12px 10px;
  }
  .wc-prod-title {
    font-size: 15px;
  }
  .wc-prod-price {
    font-size: 16px;
  }
  .wc-prod-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* tablet */
@media (max-width: 1024px) {
  .wc-product-carousel .swiper-slide {
    width: 300px;
    max-width: 86%;
  }
}

/* mobile */
@media (max-width: 420px) {
  .wc-product-carousel .swiper-slide {
    width: 78%;
    max-width: none;
  }
}

.wc-product-carousel .swiper-wrapper {
  align-items: stretch;
  justify-content: flex-start;
}
.wc-product-carousel .swiper-slide {
  height: auto;
  display: flex;
}
.wc-product-carousel .wc-card {
  height: 100%;
}

.wc-prod-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.wc-prod-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
}

.wc-prod-title-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

.wc-prod-title-link:hover .wc-prod-title {
  text-decoration: none;
}

.wc-prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.wc-prod-price {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #2b1b12;
  white-space: nowrap;
}
.wc-prod-price del {
  opacity: 0.45;
  font-weight: 700;
  margin-left: 8px;
  font-size: 16px;
}
.wc-prod-price ins {
  text-decoration: none;
}

/* ✅ Out of stock text */
.wc-out-of-stock {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  opacity: 0.75;
  color: #2b1b12;
  white-space: nowrap;
}

.wc-prod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: #3c895c;
  color: #fff !important;
  text-decoration: none !important;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    filter 0.12s ease;
  white-space: nowrap;
}
.wc-prod-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.wc-prod-btn:active {
  transform: translateY(0);
}

.wc-prod-btn.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.wc-prod-btn.is-preorder {
  background: #f6c97d; /* yellow */
  color: #2b1b12 !important; /* dark text for contrast */
}

.wc-prod-btn.is-preorder:hover {
  filter: brightness(0.95);
}

/* ✅ Mobile: keep button next to price + make it smaller */
@media (max-width: 768px) {
  .wc-prod-meta {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
  .wc-prod-price {
    font-size: 16px !important;
  }
  .wc-prod-btn {
    padding: 8px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    border-radius: 6px !important;
  }
}



.wc-section-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wc-section-tab {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 22px;
  color: rgba(43, 27, 18, .45);
  text-transform: uppercase;
  cursor: pointer;
}

.wc-section-tab.is-active {
  color: #2b1b12;
}

@media (min-width: 769px) {
  .wc-chip-pure {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .wc-section-tabs {
    display: none !important;
  }

  .wc-chips {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .wc-chips::-webkit-scrollbar {
    display: none;
  }

  .wc-chip {
    flex: 0 0 auto;
  }
}