.custom-wrapper{max-width: 1680px; padding: 0; margin: 0 auto;}

/* Delivery Location Checker Section*/
.location-checker-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.location-checker-section {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}

.location-checker-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.location-checker-box label {
  display: block;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
  text-align: left;
}

.location-checker-box input.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.location-checker-box input.form-control:focus {
  border-color: var(--secondary_clr);
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.location-checker-box .btn {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.location-checker-box .btn-primary {
  background-color: var(--secondary_clr);
  border: none;
  color: #fff;
}

.location-checker-box .btn-primary:hover {
  background-color: #0056b3;
}

.location-content {
  text-align: center;
}
#result {
  margin-top: 20px;
  font-size: 1.1rem;
  color: #333;
}

@media (max-width:480px) {
  .location-checker-section {
    padding: 20px 0;
  }
  .location-checker-box {
    padding: 20px;
  }
  .location-checker-box input.form-control {
    font-size: 0.9rem;
  }
  .location-checker-box .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  #result {
    font-size: 1rem;
  }
}
/* Delivery Location Checker Section End*/


/* Custom Bundle CSS Start*/
/* Page Title */
.create-your-box {
    text-align:center;
    margin: 40px 0;
    text-transform: uppercase;
}
@media (max-width: 768px) {
  .create-your-box {
    font-size: 25px;
  }
}
/* Individual bundle*/
.bundle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

.bundle-box {
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px;
    width: 400px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bundle-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary_clr);
    margin: 0;
}

.preference-header {
    padding: 20px 10px 20px 0;
}

.preference-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    gap: 0.75rem; 
    font-size: 28px;
}

.preference-description {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;    
  height: 36px;
  width: 100px;
  border-radius: 20px;
  background: linear-gradient(to bottom, rgba(255, 224, 155, 0.7) 0%, rgba(255, 201, 250, 0.7) 100%);
  color: var(--secondary_clr);
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .preference-title {
    font-size: 18px;
  }
  .step-circle {
    font-size: 12px;
    padding: 0 8px;
    height: 30px;
    width: 50px;
  }
}


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

.smoothie-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.smoothie-thumb img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #ccc;
}

.smoothie-title {
    font-weight: 600;
    font-size: 1rem;
}

.smoothie-ingredients {
    font-size: 0.85rem;
    color: #666;
}

.bundle-cart{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    background: white;
    border: 2px solid black;
    border-radius: 6px;
    color: black;
    text-decoration: none;
    padding: 0;
    position: relative;
}

.bundle-cart span {
    visibility: hidden;
}

.bundle-cart::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    line-height: 1;
}

.cart-custom-quantity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid red;
    border-radius: 6px;
    width: 120px;
    height: 40px;
    font-size: 18px;
    font-weight: bold;
}

.cart-custom-quantity-box button {
    width: 35px;
    height: 100%;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.cart-custom-quantity-box .custom-quantity {
    width: 30px;
    text-align: center;
}

/* Preference Section */


.acf-tabs-nav {
    display: flex;
    gap: 2rem;
    padding: 0;
    margin-bottom: 2rem;
    list-style: none;
    border-bottom: 1px solid #eee;
}

.acf-tab-nav-item {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.acf-tab-nav-item::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%); 
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.acf-tab-nav-item.active::after {
    transform: scaleX(1);
}

.acf-tab-nav-item:hover {
    color: #000;
}

.acf-tabs-content {
    margin: 0 auto;
}

.acf-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.acf-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
    .acf-tabs-nav {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
    }

    .acf-tab-nav-item {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid #eee;
        position: relative;
    }

    .acf-tab-nav-item::after {
        height: 2px;
        bottom: 0;
        transform-origin: left;
        left: 0;
        right: auto;
        width: 100%;
    }

    .acf-tab-nav-item.active::after {
        transform: scaleX(1);
    }
}


.byb-bundles-list-wrap {
   	/**max-width: 960px;
  	margin: 0 auto;*/
	overflow: hidden;
	position: relative;
}

.byb-bundles-list {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.byb-bundle-item {
  /* width: 280px; */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.byb-bundle-inner {
    padding: 0;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(to right, rgba(214,45,56,1) 0%,rgba(169,39,63,1) 40%,rgba(95,14,70,1) 100%);
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.byb-bundle-inner:hover {
  transform: translateY(-5px);
}

.byb-bundle-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.byb-bundle-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.byb-bundle-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--white_clr);
}

.byb-bundle-descr {
  font-size: 14px;
  color: var(--white_clr);
  margin-bottom: 15px;
  min-height: 60px;
}

@media (max-width: 768px) {
  .byb-bundle-descr {
    font-size: 12px;
  }
}

.byb-slider-section .slick-arrow {
  z-index: 3;
  top: 45%;
  transform: translateY(-50%);
}

.byb-slider-section .slick-prev {
	left: 20px !important;
  background-color: var(--secondary_clr);
}
.byb-slider-section .slick-next {
	right: 20px !important;
  background-color: var(--secondary_clr);
}

/* product list */
.bundle-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-bottom: 20px;
}

.minimal-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 15px;
  position: relative;
  transition: all 0.3s ease;
}

/* .minimal-product-card:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 16px -2px rgba(32,33,36,.06), 0 16px 32px -2px rgba(32,33,36,.1);
} */

.minimal-product-card.hovered {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 8px 16px -2px rgba(32, 33, 36, 0.06), 0 16px 32px -2px rgba(32, 33, 36, 0.1);
  transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.minimal-product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-textarea-readmore {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.product-textarea-readmore p {
  display: inline;
  margin: 0;
}

.product-serv-text {
  padding: 15px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-serv-text .btn-link {
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
}

.product-serv-text .btn-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--white_clr);
  transition: all 0.3s ease;
}

.product-serv-text .btn-link i {
  margin-left: 5px;
}
.product-inline-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.product-overlay-inn {
  overflow: auto;
}

.product-overlay-inn p {
  font-size: 15px;
}

.product-overlay-box {
  padding: 16px 20px;
  background: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 90%;
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* .minimal-product-card:hover .product-overlay-box {
  top: 0;
  opacity: 1;
  transition: all 0.6s ease;
} */

.minimal-product-card.hovered .product-overlay-box {
  top: 0;
  opacity: 1;
  transition: all 0.6s ease;
  pointer-events: auto;
}

.product-read-more-toggle {
  display: inline-block;
  margin-top: 5px;
  font-size: 14px;
  color: var(--secondary_clr, #0073aa);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.frozen-preference {
  padding-right: 20px;
}

.bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
  border-bottom: 2px solid var(--secondary_clr);
  padding-bottom: 6px;
}

.bundle-actions {
  margin-left: auto;
  max-width: 180px;
}

.add-bundle-button {
  background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%);
  color: #fff;
  padding: 10px 16px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  transition: background 0.3s ease;
  cursor: pointer;
  font-size: 20px;
}

.add-bundle-button:hover {
  background: linear-gradient(to right, rgb(214, 45, 56) 0%, rgb(169, 39, 63) 40%, rgb(95, 14, 70) 100%);
}

.custome-cart-title {
  margin-bottom: 10px;
  text-transform: inherit;
  text-align: center;
}

.custome-cart-title h2 {
  font-weight: 800;
  margin: 0;
  color: var(--black_clr);
  width: 100%;
}

.title-icon {
    height: 50px !important;
    margin-right: 10px;
}
.sub-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--black_clr);
    text-transform: none;
    margin-top: 4px;
}
.empty-cart {
    font-size: 24px;
    text-align: center;
    padding-bottom: 10px;
}
.empty-cart-icon {
  text-align: center;
  padding: 40px;
}
.empty-cart-icon img {
  height: 100px !important; 
  opacity: 0.3;
}
@media (max-width: 768px),
       (max-width: 980px),
       (max-width: 1024px) {
  .bundle-actions {
    margin-left: 0;
  }

  .bundle-products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }

  .minimal-product-card {
    padding: 10px !important;
  }

  .product-thumb img {
    height: 140px !important;
  }
  .product-serv-text {
    padding: 10px 0 !important;
  }

  .product-textarea-readmore {
    font-size: 14px !important;
    -webkit-line-clamp: 2;
  }
  .minimal-product-card a {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .product-textarea-readmore p {
    font-size: 12px;
  }
  .empty-cart {
    font-size: 18px;
  }
  .empty-cart-icon{
    padding: 10px;
  }
  .empty-cart-icon img {
    height: 50px !important; 
  }
  .custome-cart-title h2{
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .bundle-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .minimal-product-card {
    padding: 8px !important;
    border-radius: 10px !important;
  }

  .product-thumb img {
    height: 110px !important;
  }

  .product-textarea-readmore {
    font-size: 12px !important;
  }

  .product-overlay-box {
    padding: 10px !important;
  }

  .product-overlay-inn p {
    font-size: 10px !important;
  }

  .product-serv-text {
    padding: 10px 0 !important;
  }

  .product-inline-box {
    gap: 5px;
    margin-top: auto;
  }
  .add-bundle-button {
    font-size: 14px !important;
    padding: 6px 12px !important;
  }

  .custome-cart-title h2 {
    font-size: 20px !important;
  }
}
/* Product list end*/

.smoothies-count {
    font-size: 20px;
    color: var(--secondary_clr); 
    font-weight: 600;
    font-style: normal;
    text-transform: none;
    vertical-align: middle;
}

.cart-note {
  font-size: 0.90rem;
  font-weight: 600;
  color: black; /* Deep red tone matching your theme */
  margin: 16px 0 24px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.cart-note span {
  display: inline-block;
  text-align: center;
}

@media (max-width: 480px) {
  .cart-note {
    font-size: 0.70rem;
  }
}

/* new bundle css */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px; 
    justify-content: center;
    align-items: stretch;
    margin-bottom: 20px;
}

.category-card {
    background-color: var(--white_clr);
    border-radius: 8px;
    border: 1px solid var(--white_clr); 
    padding: 0; 
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden; 
    text-decoration: none; 
}

.category-card:hover {
    box-shadow: 0 6px 16px var(--secondary_clr);
    border-color: var(--secondary_clr);
}

.card-image {
    width: 100%;
    max-height: 350px; 
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

.category-card:hover .card-image img {
    /* transform: scale(1.15); */
    transform: scale(0.95)
}

/* Base hidden state */
.overlay-description {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  padding: 15px;
  box-sizing: border-box;
  max-height: 200px;
  overflow-y: auto;
  transition: bottom 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  font-size: 0.9em;
  line-height: 1.4;
  border-top: 1px solid var(--border-light);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  z-index: 2;
}

/* ✅ Fix flicker: Show only when hovering .description-hover-area */
.description-hover-area:hover .overlay-description {
  bottom: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.read-more-toggle {
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
}

.arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--secondary_clr, #dc3545);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.arrow-circle svg {
  stroke: var(--secondary_clr, #dc3545);
  transition: stroke 0.3s ease;
}

.arrow-circle:hover {
  background: var(--secondary_clr, #dc3545);
}

.arrow-circle:hover svg {
  stroke: #fff;
}

.short-description {
    padding: 15px;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.4;
    background: var(--white_clr);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}s

/* Scrollbar styling for overlay */
.description-hover-area::-webkit-scrollbar {
    width: 6px;
}
.description-hover-area::-webkit-scrollbar-thumb {
    background: var(--secondary_clr);
    border-radius: 3px;
}

.description-hover-area .overlay-description {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary_clr) transparent;
}

.product-detail-content {
    text-align: center;
    padding: 20px;
}

.product-detail-content h2 {
    font-size: 2em;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.product-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.product-detail-content li {
    background-color: var(--background-light);
    padding: 12px 18px;
    margin-bottom: 8px;
    border-radius: 5px;
    box-shadow: var(--shadow-subtle);
    font-size: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-cart-detail {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}
@media (max-width: 768px) {
  .bundle-products-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px;
  }
  .product-thumb img {
    height: 200px;
  }
  .container {
      padding: 15px;
  }
  .product-detail-content h2 {
      font-size: 1.6em;
  }
  .card-image {
      max-height: 260px;
  }
  .card-description p {
      font-size: 0.8em;
  }
}
@media (max-width: 768px) {
  .product-cart-detail {
      flex-direction: column;
  }
  .product-list {
    padding: 0 !important;
  }
}
.product-qty-box {
    margin: 15px auto 0 auto;
    max-width: 150px;
}

.cproduct-price {
    margin-bottom: 5px;
    color: var(--secondary_clr);
    font-size: 14px;
}
/* De-emphasize the original price */
.cproduct-price .product-price {
    color: #888; /* A neutral gray */
    text-decoration: line-through;
    font-size: 0.9em;
}

/* The main "Bundle & Save" container */
.cproduct-price .bundle-save {
    margin-top: 8px;
    display: inline-block; /* Allow padding and border */
    /* Use the vibrant red for the border */
    border: 2px solid var(--secondary_clr);
    border-radius: 8px;
    padding: 6px 12px;
}

/* Style for the "Bundle & Save ->" text */
.cproduct-price .bundle-text {
    /* Use the standard dark text color for readability */
    color: var(--text_clr);
    font-weight: 500;
    font-size: 1.05em;
}

/* Make the discounted price pop with the secondary color */
.cproduct-price .bundle-price {
    color: var(--secondary_clr);
    font-weight: 700;
    font-size: 1.05em;
}

@media (max-width: 768px) {
  .cproduct-price .bundle-save {
    font-size:0.6rem
  }
  .cproduct-price .product-price {
    font-size:0.8rem
  }
}

.option-tab-content {
    display: none;
}
.option-tab-content.active {
    display: block;
}
/* .bundle-option {
  margin-right: 12px;
} */
.bundle-option.active {
    color: white;
    border: none;
}

.custom-cart-category-title {
  font-size: 16px;
  color: var(--secondary_clr);
  margin-bottom: 5px;
  border-top: 1px solid;
  padding-top: 10px;
}

.custom-cart-category-title span{
  font-size: 12px;
  color: var(--black_clr);
}

.bundle-option-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bundle-or {
    display: inline-block;
    margin: 0 10px;
    font-weight: bold;
    color: #555; /* adjust as needed */
}
@media (max-width: 980px) {
  .bundle-option.active {
      margin-bottom: 10px;
  }
  #make-your-own {
    margin-left: 0;
  }
  #fixed-bundle {
    margin-bottom: 10px;
  }
  .custom-cart-category-title {
    font-size: 12px;
    margin-bottom: auto;
  }
}
.bundle-name-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  max-width: 100%;
  padding-top: 20px;
}

.bundle-name-field label {
  font-weight: 600;
  font-size: 1rem;
}

.bundle-name-field input[type="text"] {
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  background-color: #fff;
  color: #333;
}

.bundle-name-field input[type="text"]::placeholder {
  color: #aaa;
  font-weight: 400;
}

.bundle-name-field input[type="text"]:focus {
  border-color: #dc3545; /* your theme accent */
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* Error style */
input.input-error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shake animation */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.animated-shake {
  animation: shake 0.4s ease;
}

/* Loader */
#ajax-loader .loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6); /* softer white overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(2px); /* subtle blur for modern look */
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(214, 45, 56, 0.2); /* soft border in theme red */
  border-top-color: var(--secondary_clr); /* your main brand color */
  border-radius: 50%;
  animation: spin 0.8s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(214, 45, 56, 0.2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.bundle_desc {
    padding-top: 20px;
}

.highlight-note {
  background-color: #fef9e7; /* Soft yellow */
  border-left: 4px solid #f4c542; /* Accent color */
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #444;
  margin-top: 10px;
}

/* Dicount info */
.smoothie-journey-wrapper {
  padding: 25px 30px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.smoothie-journey-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  z-index: 0;
}

@keyframes shimmer {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.smoothie-journey-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-wrap: wrap; */
  gap: 40px;
  position: relative;
  z-index: 2;
}

.smoothie-journey-track::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary_clr), var(--secondary_clr));
  z-index: 1;
  opacity: 0.2;
}

.journey-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 160px;
  z-index: 3;
  animation: fadeUp 0.6s ease-in both;
}

.journey-stop .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--secondary_clr), var(--primary_clr));
  color: #fff;
  font-size: 2.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2), 0 0 25px var(--secondary_clr);
}

.journey-stop .content {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #444;
}

.journey-stop strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary_clr);
  font-weight: 600;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Desktop (901px and up) */
@media (min-width: 901px) {
  .smoothie-journey-track {
    flex-wrap: nowrap;
  }

  .smoothie-journey-track::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary_clr), var(--secondary_clr));
    z-index: 1;
    opacity: 0.2;
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  .smoothie-journey-wrapper {
    padding: 12px;
    border-radius: 14px;
  }

  .smoothie-journey-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fit 4 in one line */
    gap: 10px; /* Reduce space between */
    position: relative;
  }

  .smoothie-journey-track::before {
    top: 20px;
  }

  .journey-stop {
    flex: none;
    max-width: 100%;
    margin: 0 auto;
  }

  .journey-stop .icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1), 0 0 10px var(--secondary_clr);
  }

  .journey-stop strong {
    font-size: 0.75rem;
  }

  .journey-stop .content {
    font-size: 0.65rem;
    margin-top: 6px;
  }
}

/* Ultra-small screens (max-width: 400px) */
@media (max-width: 400px) {
  .smoothie-journey-track {
    gap: 12px 8px;
  }

  .journey-stop .icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .journey-stop strong {
    font-size: 0.7rem;
  }

  .journey-stop .content {
    font-size: 0.5rem;
  }
}

/* Subscription block*/
.subscription-toggle-box.modern-style {
  margin: 30px auto;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

.subscription-option-grid {
  display: flex;
  gap: 65px;
  flex-wrap: nowrap;
  justify-content: center;
}

/* Card Base */
.option-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  padding: 28px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07), inset 0 0 0 2px #ccc;
  transition: box-shadow 0.4s ease, transform 0.3s ease, background 0.4s ease;
  user-select: none;
  text-align: center;
  flex: 1 1 240px;
  max-width: 260px;
}

.option-card input[type="radio"] {
  display: none;
}

.option-card:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12),
              inset 0 0 0 2px rgba(214,45,56,0.9);
}

.option-card.selected {
  animation: glowPulse 2.6s infinite ease-in-out;
  box-shadow: 0 14px 40px rgba(214,45,56,0.4), inset 0 0 0 3px rgba(214,45,56,1);
  background: linear-gradient(to right, rgba(214,45,56,0.06), rgba(95,14,70,0.06));
  transform: scale(1.08);
  z-index: 2;
}

/* Make subscribe card grow wider */
.option-card.subscribe-option.selected {
  flex: 1 1 100%;
  max-width: 70%;
}
.option-card.subscribe-option.subscribed.selected {
  flex: 1 1 100%;
  max-width: 90%;
}

.option-card.one-time.selected {
  flex: 1 1 100%;
  max-width: 70%;
}

/* Flex layout inside card */
.content-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.left-content {
  flex: 1;
  text-align: left;
}

/* Interval hidden unless selected */
.option-card .interval-wrapper {
  display: none;
  flex-shrink: 0;
  min-width: 180px;
  text-align: left;
}

.option-card.selected .interval-wrapper {
  display: block;
}

.interval-wrapper select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.8px solid #aaa;
  font-size: 14px;
  transition: border-color 0.3s ease;
  font-family: inherit;
  margin-top: 6px;
  height: 45px;
}

.interval-wrapper select:hover,
.interval-wrapper select:focus {
  border-color: rgba(214,45,56,1);
  box-shadow: 0 0 6px rgba(214,45,56,0.4);
}

/* Optional sparkle animation */
@keyframes sparkle {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Pulse glow animation */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 14px 40px rgba(214,45,56,0.4), inset 0 0 0 3px rgba(214,45,56,1);
  }
  50% {
    box-shadow: 0 14px 45px rgba(214,45,56,0.65), inset 0 0 8px 4px rgba(214,45,56,0.6);
  }
}
@media (max-width: 768px) {
  .subscription-toggle-box.modern-style {
    margin: 16px 10px;
  }

  .subscription-option-grid {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }

  .option-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 14px 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05), inset 0 0 0 1px #ccc;
    border-radius: 12px;
  }

  .option-card.selected {
    transform: none; /* No zoom on mobile */
    box-shadow: 0 2px 6px rgba(214, 45, 56, 0.25), inset 0 0 0 2px rgba(214, 45, 56, 0.8);
  }

  .option-card.subscribe-option.selected,
  .option-card.one-time.selected {
    max-width: 100% !important;
  }

  .content-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .left-content {
    font-size: 14px;
  }

  .interval-wrapper select {
    font-size: 13px;
    padding: 8px 10px;
    height: 38px;
  }

  .summary-title,
  .summary-subtitle {
    font-size: 15px;
  }

  .discount-badge {
    font-size: 12px;
    padding: 2px 6px;
  }
}

@media (max-width: 768px) {
  .option-card,
  .option-card.selected {
    transition: none !important;
    animation: none !important;
  }
}


/* Badge */
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(to bottom, rgba(255,224,155,1), rgba(255,201,250,1));
  color: #4b0038;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), inset 0 -2px 3px rgba(255,255,255,0.4);
  user-select: none;
}

.checkmark {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.checkmark::after {
  content: "✔";
  position: absolute;
  left: 4px;
  font-size: 16px;
  color: transparent;
  font-weight: 700;
  transition: color 0.3s ease;
}

.option-card.selected .checkmark {
  border-color: rgba(214,45,56,1);
  background-color: rgba(214,45,56,1);
}

.option-card.selected .checkmark::after {
  color: white;
}

.option-card .icon {
  font-size: 38px;
  margin-bottom: 16px;
  user-select: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.option-card h4 {
  font-weight: 700;
  margin-bottom: 8px;
  user-select: none;
  color: #1a1a1a;
  margin-top: 40px;
}

.option-card p {
  font-size: 14px;
  color: #555;
  user-select: none;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 1024px) {
    .subscription-toggle-box.modern-style {
        max-width: 900px;
    }
}
@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .subscription-option-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .option-card.subscribe-option.selected {
    flex: 1 1 100%;
    max-width: 90%;
  }
  .subscription-toggle-box.modern-style {
    max-width: 800px;
  }
  .interval-wrapper {
    width: 100%;
    margin-top: 15px;
  }
  .option-card p {
    font-size:10px;
  }
}

#expected-delivery-date {
    margin-top: 1.5em;
    font-weight: 600;
    font-size: 1.125rem;
    color: #d62d38;
    font-family: 'Open Sans', Arial, sans-serif;
    text-align: center;
    background-color: #fff0f0;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(214, 45, 56, 0.25);
}

/* My Account - My Plan*/
.subscription-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.subscription-card {
    position: relative;
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.subscription-active {
    border-left: 5px solid #4CAF50;
}

.subscription-canceled {
    border-left: 5px solid #e53935;
    opacity: 0.8;
}

.subscription-other {
    border-left: 5px solid #999;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.plan-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.subscription-status {
    font-size: 0.9rem;
    margin-left: 10px;
    padding: 0.25em 0.6em;
    border-radius: 20px;
    background-color: #f0f0f0;
    display: inline-block;
}

.subscription-body {
    margin-top: 0.75em;
    font-size: 0.95rem;
}

/* My Plan*/
.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

/* Deactivate subscription */
#subscription-options-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 1em 2em 2em;
  max-width: 600px;
  width: 90%;
  background: white;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.subscription-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-top: 2.5em;
}

.dialog-title {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-align: center;
  background-color: var(--secondary_clr);
  color: azure;
  height: 60px;
  padding: 14px;
  border-radius: 10px;
}

.dialog-options-grid {
  display: grid;
  gap: 1em;
}

/* Individual card */
.dialog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1em 1.2em;
  background: #fef9e7;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.dialog-card:hover {
  border-color: var(--secondary_clr, #007bff);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/* Top row: icon + title */
.dialog-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Icon styling */
.card-icons {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Title beside icon */
.card-title {
  font-weight: 600;
  font-size: 1.1em;
  margin: 0;
  color: #222;
}

/* Description below */
.card-description {
  font-size: 0.9em;
  color: #555;
  margin: 0;
  padding-left: 50px; /* aligns with title */
}

.dialog-footer {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

.dialog-footer .button {
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.dialog-footer .button.danger {
  background-color: #dc3545;
  color: white;
}

.dialog-footer .button:not(.danger) {
  background-color: #e9ecef;
  color: #333;
}

/* Backdrop style */
body.dialog-open {
  overflow: hidden;
  height: 100vh;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
  #subscription-options-dialog {
    padding: 1em;
  }

  .dialog-title {
    font-size: 1em;
    height: auto;
  }

  .subscription-dialog-form {
    margin-top: 1.5em;
  }

  .dialog-card {
    padding: 0.8em;
  }

  .card-icons {
    width: 36px;
    height: 36px;
  }

  .card-title {
    font-size: 1em;
  }

  .card-description {
    font-size: 0.70em;
    padding-left: 10px;
  }
  
  .dialog-card-header {
    font-size: 14px;
  }
}


/* subscription Dialog container */
.subscription-form {
    display: flex;
    flex-direction: column;
}
.subscription-dialog {
  border: none;
  border-radius: 8px;
  padding: 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #fff;
}
.subscription-dialog .dialog-message {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 24px;
}

/*deactivate plan dialog*/
.fancy-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.fancy-dialog {
  position: fixed !important;
  top: 5% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;           /* reset default dialog margin */
  padding: 0 !important;          /* optional, to avoid extra space */
  border: none !important;        /* remove default border */
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  background: white;
  z-index: 9999;
}

.deactivate-feedback-content {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
}

.dialog-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.dialog-subtext {
  color: #555;
  font-size: 1rem;
}

.feedback-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.deactivate-option-card {
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f9f9;
}

.deactivate-option-card input[type="radio"] {
  /* optional styling for radio */
  cursor: pointer;
}
@media (max-width: 600px) {
  .feedback-options-grid {
    grid-template-columns: 1fr; /* single column on small screens */
  }
}
.deactivate-option-card:hover {
  background: #f1f1f1;
  border: 2px solid var(--secondary_clr);
}

.deactivate-option-card input[type="radio"] {
  accent-color: var(--secondary_clr, #e74c3c);
  transform: scale(1.2);
}

.deactivate-option-card:has(input:checked) {
  border-color: var(--secondary_clr, #e74c3c);
  background: #fff0f0;
}

.dialog-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
}

.other-reason {
  padding-left: 1.75rem;
  border-left: 3px solid #e74c3c;
  margin: 1rem 0;
}
.other-reason textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
  min-height: 30px;
}

.other-reason-hidden {
  display: none;
}

/* Skip subscription */
dialog.dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 500px;
    max-width: 90vw;
    border: none;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: system-ui, sans-serif;
    background: white;
    z-index: 1000;
}

.dates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

/* Each date item */
.date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background-color: #f5f5f7;
    padding: 0.75rem 1rem;
    user-select: none;
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-label {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

.date-subtext {
    font-size: 0.85rem;
    color: #666;
    margin-top: 3px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}


@media (max-width: 480px) {
  .date-label {
    font-size: 0.75rem;
  }
  .date-subtext {
    font-size: 0.75rem;
  }
  .dates-list {
    gap: 0.75rem;
  }
}

/* Toggle switch container */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

/* Hide default checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(to right, rgba(214,45,56,1) 0%,rgba(169,39,63,1) 40%,rgba(95,14,70,1) 100%);;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

/* Resume dialog*/
#resume-subscription-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 400px;
  max-width: 90vw;
  border: none;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
  z-index: 1000;
  /* Removed transform & top/left since inset+margin:auto handles centering */
}

#resume-subscription-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

#resume-subscription-dialog h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #222;
  text-align: center;
}

.resume-info {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.resume-info p {
  margin: 8px 0;
}

.resume-info strong {
  color: #444;
}

#resume-subscription-form menu {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0;
}

#resume-subscription-form button {
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

#resume-subscription-form .button.primary {
  background-color: #0073aa;
  color: white;
}

#resume-subscription-form .button.primary:hover {
  background-color: #005f8d;
}

#resume-subscription-form .button {
  background-color: #f0f0f0;
  color: #333;
}

#resume-subscription-form .button:hover {
  background-color: #e0e0e0;
}

/* Toast notification */
#smoothies-toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 400px;
}

.smoothies-toast {
	background: #d62d38;
	color: white;
	padding: 16px 20px;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	font-size: 15px;
	line-height: 1.4;
	opacity: 0;
	transform: translateY(-20px);
	animation: toastInTop 0.3s forwards, toastOutTop 0.3s forwards 3.7s;
}

@keyframes toastInTop {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOutTop {
	from { opacity: 1; transform: translateY(0); }
	to { opacity: 0; transform: translateY(-20px); }
}

/* Container for horizontal smoothie progress */
 .wondermeter {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.wondermeter-title {
  font-size: 24px;
  font-weight: 900;
  color: #960a33;
  margin-top: 30px;
  letter-spacing: 2px;
}

.labels-top {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  gap: 0;
  margin-top: 10px;
}
.labels-bottom {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  gap: 0;
  margin-bottom: 10px;
}

.labels-top span,
.labels-bottom span {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #951842;
}

.labels-top span .big,
.labels-bottom span .big {
  font-size: 14px;
  font-weight: bold;
  display: block;
  line-height: 1.2;
}
.labels-top span .small,
.labels-bottom span .small {
  font-size: 10px;
  color: #555;
}

.bar-wrapper {
  border: 3px solid #951842;
  border-radius: 24px;
  padding: 4px;
}

.bar-container {
  display: grid;
  border: 1px solid #951842;
  grid-template-columns: repeat(25, 1fr);
  height: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.bar-segment {
  height: 100%;
}

/* .bar-segment.inactive {
  opacity: 0.2;
} */

/* end*/

#soup-products-wrapper,
#tea-products-wrapper {
    display: none;
    overflow: hidden;
}

/* smoothies trigger */
.smoothie-button {
  background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%);  /* A pleasant green */
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulseArrow 2s infinite;
}

.smoothie-button:hover {
  background: var(--secondary_clr);
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.smoothie-button span {
  display: block;
}

.smoothie-button .arrow {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease-out;
  transform: translateX(0);
  opacity: 1;
}
@media (max-width: 756px) {
  .smoothie-button {
    font-size: 12px;
    padding: 10px 15px;
  }
  .product-list {
    padding:0;
  }
}
@keyframes pulseArrow {
  0% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(5px) scale(1.1);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

/* minicart feature */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

body.blur-active .custom-wrapper,
body.blur-active .main-wrapper,
body.blur-active header,
body.blur-active footer {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

#custom-minicart-toggle {
  position: fixed;
  top: 120px;
  right: 0;
  background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%); 
  padding: 10px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 2px 6px var(--secondary_clr);
  cursor: grab;
  z-index: 10;
  display: block; /* Hidden by default; shown via media query */
  color: var(--white_clr);
  text-align: right;
  font-size: 12px;
  touch-action: none;
  -webkit-user-select: none; /* iOS: prevent text highlight */
  -webkit-touch-callout: none;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.shake-animation {
  animation: shake 0.3s ease-in-out; /* Apply the animation */
}
.cart-total-count {
  width: 100%;
  font-size: 12px;
  line-height: 1.6;
}

.count-row {
  display: flex;
  justify-content: space-between;
}

.count-name  {
  font-style: italic;
  font-family: cursive;
}

.count-val {
  padding-top: 2px;
}

.toggle-cart-icon {
    text-align: center;
    padding-bottom: 5px;
    font-size: 20px;
}

#drawer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

#drawer-overlay.active {
  display: block;
}

#custom-minicart-drawer {
  position: fixed;
  top: 0;
  right: -160%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  z-index: 1002;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: auto;
}

#custom-minicart-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
  font-size:20px;
}

.drawer-content {
  overflow-y: auto;
  flex-grow: 1;
}

@media (max-width: 768px) {
  #custom-minicart-toggle {
    display: block;
  }
}

/* minicart end */

/* custom qty input */
.custom-quantity .custom-qty {
  width: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border: none;
  background: transparent;
}
.custom-quantity {
    display: inline-block; 
    position: relative; 
    /* margin-right: 15px; */
    font-size: 18px;
}
.custom-quantity input {
    min-width: 140px; 
    height: 35px; 
    font-size: 18px; 
    /* border: 2px solid var(--secondary_clr);  */
    border-radius: 5px;
    color: var(--black_clr); 
    font-weight: 500; 
    padding: 0 45px 0; 
    text-align: center;
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    -moz-appearance: textfield;
}
.custom-quantity input::-webkit-outer-spin-button,
.custom-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.custom-quantity button {
    cursor: pointer; 
    position: absolute; 
    /* color: var(--black_clr);  */
    height: 25px; 
    top: 0; 
    bottom: 0; 
    margin: auto 0; 
    font-size: 24px; 
    width: 44px; 
    text-align: center; 
    transition: all 0.5s ease 0s; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%) !important;
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 6px;
    /* font-size: 18px; */
    font-weight: bold;
    cursor: pointer;
}
.custom-quantity button:hover {
  color: var(--white_clr);
}

.custom-quantity .custom-qtyminus{
    left: 0; 
    /* border-right: 1px solid var(--secondary_clr);  */
    /* background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%) !important; */
    /* padding-left: 5px;  */
    /* font-size: 30px;  */
    /* padding-bottom: 5px; */
}
.custom-quantity .custom-qtyplus{
  right: 0; 
  /* border-left: 1px solid var(--secondary_clr);  */
  /* background: linear-gradient(to right, rgba(214, 45, 56, 1) 0%, rgba(169, 39, 63, 1) 40%, rgba(95, 14, 70, 1) 100%) !important; */
  /* padding-right: 5px; */
}

@media (max-width:480px) {
  .custom-quantity input {
    font-size: 14px;
    height: 32px;
    min-width: 120px;
  }
  .custom-quantity button {
    width: 34px;
    padding: 15px;
    font-size: 15px;
  }
}

/* end */
.custom-cart-area {
  display: none;
  margin-top: 20px;
}
.sticky-wrapper {
  position: sticky;
  top: 20px;
}


/* .custom-cart-area {
    display: none;
    position: sticky;       
    top: 20px;            
    border-radius: 15px;
    box-sizing: border-box;

} */


/* Custom Bundle CSS End*/


/* Highlight WPLoyalty signup reward message */
.wlr-signup-message {
    display: block;                /* make it behave like a box */
    background: #fff3cd;           /* soft yellow background */
    color: var(--secondary_clr);
    font-weight: 600;
    padding: 12px 16px;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
}

/* Optional: add an icon before the text */
.wlr-signup-message::before {
    content: "🎉 ";
    font-size: 18px;
}

/* custom-cart.php */
/* === Main Cart Container === */
.custom-cart {
    border: 5px solid #d62d38;
    border-radius: 15px;
    background-color: rgba(255, 224, 155, 0.1);
    padding: 20px;
}

.custom-cart h4 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* === Custom Cart Item Layout === */
.custom-cart .my-cart__table {
    border-spacing: 0 12px;
    border: none;
    width: 100%;
}

.custom-cart .my-cart__item-row {
    border-radius: 12px;
}

.custom-cart .my-cart__item-row td {
    padding: 10px 1px 8px 8px;
    vertical-align: top;
    font-weight: 700;
    background: none;
    border: none;
}

.custom-cart .my-cart__category-header {
    position: relative;
    padding: 10px 0 0 0;
}

.custom-cart .my-cart__category-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    pointer-events: none;
}

/* === Product Details Styling === */
.custom-cart .my-cart__thumbnail img {
    width: 60px;
    height: auto;
    object-fit: contain;
    padding: 0;
}

.custom-cart .my-cart__product-name {
    font-size: 14px;
}

.custom-cart .my-cart__product-name a {
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
}

.custom-cart .my-cart__product-details {
    margin-bottom: 5px;
    padding: 0;
}

.custom-cart .my-cart__product-price {
    font-size: 14px;
    text-align: right;
    vertical-align: middle;
}

.custom-cart .my-cart__product-price .original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-top: 4px;
    display: block;
}

/* === Totals, Buttons, and Other Elements === */
.custom-cart .actions .button,
.custom-cart .wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(to right, rgba(214, 45, 56, 1), rgba(169, 39, 63, 1), rgba(95, 14, 70, 1));
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: inline-block;
    transition: opacity 0.3s ease;
    font-size: 15px;
}

.custom-cart .actions .button:hover,
.custom-cart .wc-proceed-to-checkout .checkout-button:hover {
    opacity: 0.9;
}

.custom-cart .wc-proceed-to-checkout {
    margin: 0;
    font-size: 16px;
    padding: 0;
}

.custom-cart .cart-collaterals .cart_totals {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.custom-cart .cart-collaterals .cart_totals h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #222;
}

.custom-cart .my-cart__totals-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
}

.custom-cart .my-cart__totals-table th {
    text-align: left;
}

.custom-cart .my-cart__totals-table td {
    text-align: right;
}

.custom-cart .my-cart__totals-table th,
.custom-cart .my-cart__totals-table td {
    border: none !important;
    background: transparent;
    padding: 5px 10px;
    font-size: 16px;
    color: #222;
    width: auto !important;
}

.custom-cart .cart-collaterals .cart_totals .shipping-note {
    text-align: center;
    padding: 20px;
    color: gray;
    font-size: 14px;
}

.custom-cart .bundle-related-products {
	margin: 0;
}
.custom-cart .bundle-related-products li {
    list-style: none;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}
.custom-cart .bundle-related-products li .child-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 50%;
    transform: rotate(45deg);
}
.custom-cart .bundle-related-products a {
    display: inline-block;
    position: relative;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

/* === Responsive Styles === */
@media screen and (max-width: 1024px) {
  .custom-cart .my-cart__item-row {
    display: flex;
    align-items: flex-start;
  }

  .custom-cart .my-cart__item-row td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .custom-cart .my-cart__thumbnail {
    width: 100px;
    margin-right: 10px;
    flex-shrink: 0;
    text-align: center;
  }

  .custom-cart .my-cart__product-name {
    flex-grow: 1;
    width: calc(100% - 120px);
    font-size: 12px;
  }
  
  .custom-cart .my-cart__product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
  }

  .custom-cart .my-cart__product-price {
    width: 100%;
    text-align: right;
    font-weight: 600;
    font-size: 12px;
  }

  .custom-cart .bundle-related-products a {
    font-size:10px;
  }

  .custom-cart .cart-collaterals .cart_totals {
    padding: 18px;
  }
  .custom-cart .cart-collaterals .cart_totals h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .custom-cart .my-cart__totals-table th,
  .custom-cart .my-cart__totals-table td { 
    font-size: 12px;
    padding: 5px;
  }
  .custom-cart .cart-collaterals .cart_totals .shipping-note {
    font-size: 11px;
    padding: 15px;
  }
}

@media screen and (max-width: 768px) {
    .custom-cart .my-cart__totals-table tr {
        display: flex;
        justify-content: space-between;
    }
}

/* === Cart Subscription Checkbox Styling === */
.custom-cart .cart-subscription-option {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.custom-cart .cart-subscription-option:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.custom-cart .cart-subscription-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d62d38;
    border-radius: 4px;
    cursor: pointer;
}

.custom-cart .cart-subscription-option label {
    cursor: pointer;
    margin: 0;
}
