html {
    scroll-behavior: smooth;
}

/*Top Level Fonts*/
p {
    font-family: Gotham, sans-serif;
    font-weight: 300;
}
/*Giving the product details section of the product pages a max width*/

.product-details {
    max-width: 1400px;
    margin: 0 auto;
}

/*CSS for collection-page-banner section */

.collection-page-banner {
  display: flex;
  position: relative;
  margin-top: 30px;
  align-items: center;
  border-radius: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.collection-page-banner-text {
  flex: 0 0 60%; /* Fix the text width to 60% of the container */
  text-align: left;
}

.collection-page-banner-image {
  flex: 1; /* Allow the image container to flex */
  margin-top: -20px;
}

.collection-page-banner-image-2 {
  flex: 1; /* Allow the image container to flex */
  margin-top: 0px;
}

.collection-page-banner-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.collection-page-banner-text h4 {
  margin-bottom: 30px;
  font-weight: bold;
}

.collection-page-banner-text h5:first-of-type {
  font-weight: bold;
}

/* Media query for screens smaller than 679px */
@media screen and (max-width: 1079px) {
  .collection-page-banner-image {
    display: none;
  }
  
  .collection-page-banner-text {
    flex: 1 0 100%; /* Make the text take the full width */
  }
  
  .collection-page-banner-text h4 {
    font-size: calc(16px + 0.5vw);
  }
  
  .collection-page-banner-text h5 {
    font-size: calc(14px + 0.5vw);
  }
  
  .collection-page-banner-text {
    padding: {{ mobile_padding }}px;
  }
}

/* Media query for screens larger than 768px */
@media screen and (min-width: 1097px) {
  .collection-page-banner-image img {
    max-width: 100%; /* Full size for larger screens */
    border-radius: 0px 0px 15px 0px;
  }
}

@media screen and (min-width: 1079px) {
  .collection-page-banner-text {
    padding: {{ desktop_padding }}px;
  }
}

/*End of CSS for collection-page-banner section */

/*CSS for quiz-cta-banner section */

.quiz-cta-banner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: {{ background_color }};
  border-radius: 15px;
  padding: 30px; /* Default padding */
}

.quiz-cta-banner-content h4 {
  font-weight: bold;
}

.quiz-cta-banner-content h4,
.quiz-cta-banner-content h5,
.quiz-cta-banner-button a {
  text-align: {{ text_alignment }};
}

.quiz-cta-banner-content,
.quiz-cta-banner-button {
  padding: 0 30px; /* Default padding */
}

.quiz-cta-banner-button {
  margin-top: 10px; /* Add margin to separate button from text on mobile */
}

@media screen and (max-width: 935px) {
  .quiz-cta-banner {
    flex-direction: column;
  }
  
  .quiz-cta-banner-content,
  .quiz-cta-banner-button {
    width: 100%;
  }
}

/*End of CSS for quiz-cta-banner section */

/*CSS for image-text-rows section */

/* --- Image Text Section Wrapper --- */
/* CSS for image-text-rows section */

/* --- Image Text Section Wrapper --- */
.image-text-section-wrapper {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
}

/* Title Styling */
.image-text-section-title {
  width: 100%;
  text-align: center;
  padding: 20px 20px 10px 20px;
}

.image-text-section-title h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
}

/* Container Layout */
.image-text-section-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch; /* Equal height for text + image */
  padding: 20px;
  border-radius: 15px;
}

/* Text Column */
.image-text-section-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px 80px;
  width: 100%;
}

/* Each Row */
.image-text-section-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 95%;
  margin-bottom: 20px;
}

.image-text-section-image {
  width: 100px;
  height: 100px;
  margin-right: 20px;
  flex-shrink: 0;
}

.image-text-section-image img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-text-section-text-content {
  width: calc(100% - 120px);
  overflow: auto;
}

/* Main Image (Right Side) */
.image-text-section-main-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.image-text-section-main-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  max-width: 85%;
}

/* Mobile Optimisation */
@media screen and (max-width: 767px) {
  .image-text-section-container {
    flex-direction: column-reverse;
  }

  .image-text-section-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px 50px;
  }

  .image-text-section-main-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
  }

  .image-text-section-text {
    width: 100%;
    padding: 0 20px;
  }

  .image-text-section-title {
    padding: 10px 20px;
    text-align: center;
  }

  .image-text-section-title h2 {
    font-size: 24px;
  }
}

/* Space between rows (desktop only) */
@media screen and (min-width: 1221px) {
  .image-text-section-row + .image-text-section-row {
    margin-top: 10%;
  }
}

/* Adjustments for smaller screens */
@media screen and (max-width: 1101px) {
  .image-text-section-text-content h4 {
    font-size: 18px;
  }

  .image-text-section-text {
    padding: 0px 40px;
  }
}

@media screen and (max-width: 557px) {
  .image-text-section-text {
    padding: 0px;
  }
}

/* End of CSS for image-text-rows section */


/*End of CSS for image-text-rows section */

/*Start of CSS for image-and-collapsible-blocks section */


  
/*End of CSS for image-and-collapsible-blocks section */

/*Update cart drawer background 
.drawer__body,
.drawer__footer {
  background-color: #FFF;
}*/
/* START Footer Styles */
.footer__nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.foot-bottom-inner-wrap .footer-localization {
  display: none;
}

.foot-bottom-inner-wrap {
    margin: auto;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 10px 70px;
}

.js-footer .collapsible__header {
    font-weight: 700;
}

@media (max-width: 768px) {
    .foot-bottom-inner-wrap {
        display: flex;
        row-gap: 20px;
        width: 100%;
        justify-content: space-between;
        flex-direction: column;
        padding: 20px 10px;
        align-items: center;
    }
}

@media (min-width: 1025px) {
  .start-lg {
    justify-content: space-around;
  }
}

footer.ctnr.js-footer.pt-48.pb-84.color-schema-1.section-top-zero {
  background-color: #f8f0f2;
}

.footer__content__bottom {
    background: #fff;
}

@media (min-width: 1025px) {
  [style*="--w-lg"] {
    width: calc(var(--grid-ratio, 100% / 12) * var(--w-lg));
    max-width: calc(var(--grid-ratio, 100% / 10) * var(--w-lg));
  }
}


@media (min-width: 1025px){
.mt-lg-64 {
    margin-top: 0px;
}}

a.btn.btn-icon.btn-large.btn-primary.js-social-btn {
  border-radius: 9px;
  width: 41px;
  min-height: 1px;
  height: 32px;
  background: #323232;
}
.footer__socials.p-sides.maw-lg-100.mb-32 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 1025px) {
  .start-lg {
    justify-content: unset;
  }
}
/*END Footer Styles */

/*START Newsletter Styles */
input#newsletterForm--newsletterForm-bd2830d56f8f {
  border-radius: 50px;
  background: #f8f0f2;
}
/*END Footer Styles */

/* Hide the dropdown when details is not open */
details:not([open]) .menu-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: visibility 0s 0.3s, opacity 0.3s ease, transform 0.3s ease;
}

/* Show the dropdown when details is open */
details[open] .menu-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body.js-main-body.background.template-index div#insta-feed {
    margin-top: -7% !important;
}
@media (max-width: 768px) {
    body.js-main-body.background.template-index div#insta-feed {
        margin-top: -6% !important;
    }
}
@media (max-width: 480px) {
    body.js-main-body.background.template-index div#insta-feed {
        margin-top: -5% !important;
    }
}

/* Nutritional info button 
button.btn.btn-link.fs-body.bs-none {
    background: rgba(var(--color-btn-bg-rgb),1);
    color: #fff !important;
    padding: 13px;
    justify-content: center;
    text-decoration: none;
    width: 100%
}*/


p.card__excerpt.o-hidden.mb-12.hide-empty {
  font-size: 14px;
  color: #666;
}

h2#sectionHeading-500979d77264 {
  text-align: center;
}

@media (max-width: 480px) {
.template--23148829442346__featured_product_slider_main_V4thrP .product-summary {
    font-size: 11px !important;
    color: #666;
 }
}

summary.menu__link.menu__link-lv1.h4.m-zero.d-flex.between-xs.middle-xs {
    font-family: Gotham, sans-serif;
    font-weight: 500 !important;
    text-transform: uppercase;
      font-size: 14px !important;
}

a.menu__link.menu__link-lv1.h4.m-zero.d-block {
    font-family: Gotham, sans-serif;
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 14px !important;
}

.nav-title {
    font-family: Gotham, sans-serif;
    font-weight: 500 !important;
}

/* START walpole logo for footer section */

.walpole-logo-desk,
.walpole-logo-mob {
    max-width: 120px;
    margin: 0 auto;
    display: block;
}

/* Show walpole-logo-desk by default, hide walpole-logo-mob */
.walpole-logo-mob {
    display: none;
}

/* Media query to handle the switch between desktop and mobile logos */
@media (max-width: 1122px) {
    .walpole-logo-desk {
        display: none;
    }
    .walpole-logo-mob {
        display: block;
    }

  /* END of walpole logo for footer section */
}

a.pre-paid-link {
  background-color: #ffdee5 !important;
  border: solid 1px #a13d66;
  border-radius: 4px;
  padding: 10px 10px;
  text-align: center;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

a.pre-paid-link:hover {
  background-color: #a13d66 !important;
  color: #fff;
}
 