/* Fonts */
@font-face {
  font-family: "Le Monde Courrier Std";
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/le-monde-courrier-std-regular.ttf")
    format("truetype");
}
@font-face {
  font-family: "Le Monde Courrier Std";
  font-weight: 500;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/le-monde-courrier-std-book.ttf")
    format("truetype");
}
@font-face {
  font-family: "Le Monde Courrier Std";
  font-weight: 600;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/le-monde-courrier-std-demi.ttf")
    format("truetype");
}
@font-face {
  font-family: "Le Monde Courrier Std";
  font-weight: bold;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/le-monde-courrier-std-bold.ttf")
    format("truetype");
}
/* Start Custom Fonts CSS */
@font-face {
  font-family: "Interstate";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/interstate-regular.ttf")
    format("truetype");
}
@font-face {
  font-family: "Interstate";
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/interstate-bold.ttf")
    format("truetype");
}
@font-face {
  font-family: "Interstate";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/interstate-black.ttf")
    format("truetype");
}
@font-face {
  font-family: "Interstate";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/interstate-light.ttf")
    format("truetype");
}
@font-face {
  font-family: "Interstate";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("https://sunmedshop.com/wp-content/uploads/2025/04/interstate-thin.ttf")
    format("truetype");
}
/* End Custom Fonts CSS */

.container {
  max-width: 100%;
  margin: 0 auto;
}

.hide-on-mobile {
  display: none;
}
.hide-on-desktop {
  display: block;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.reviews-content-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.repeat-order-section,
.detail-matters-section,
.refund-guarantee-section {
  width: 100%;
  padding: 54px 25px;
}

.refund-guarantee-section {
  background: var(--bg-light);
}

p {
  font-size: 18px;
  line-height: 1.56em;
  color: var(--text);
  margin: 0;
  font-weight: 300;
}

p:not(:last-child) {
  margin-bottom: 1em;
}

h2 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 35px;
  line-height: 1em;
  color: var(--primary);
  margin: 0 0 14px;
}

.highlight-number,
.highlighted-text {
  background: var(--highlight);
  border-radius: 10px 0 10px 0;
}

.highlight-number {
  padding: 2px 4px;
  display: inline-block;
}

.highlighted-text {
  padding: 4px 6px;
  display: inline;
}

.product-detail-section {
  padding: 0 25px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-title-mobile {
  display: block;
}
.product-title-desktop {
  display: none;
}

.product-description-mobile {
  display: block;
  margin-bottom: 20px;
  font-family: var(--sans);
  line-height: 1.5em;
  position: relative;
}

.product-description-desktop {
  display: none;
}

.product-detail-section h2 {
  margin-bottom: 20px;
}

.product-image {
  width: calc(100% + 50px);
  height: auto;
  display: block;
  margin: 0 -25px 27px;
  object-fit: contain;
}

/* Zoom image for desktop */
.product-image[src*="-1."] {
  transform: scale(1.5);
  z-index: -1;
  position: relative;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: -50px;
}

.product-pricing {
  display: flex;
  flex-direction: column;
}

.original-price {
  font-size: 20px;
  line-height: 30px;
  color: var(--text);
  text-decoration: line-through;
}

.current-price {
  font-size: 30px;
  line-height: 30px;
  font-weight: 700;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.option-group-wrapper {
  position: relative;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.option-label {
  line-height: 1em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.option-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pack-option-wrapper {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 1;
  min-width: 0;
  gap: 5px;
  margin-top: -30px;
}
@media (max-width: 768px) {
  .pack-discount {
    padding: 0 4px;
    margin-top: 2px;
  }
}
@media (max-width: 435px) {
  .pack-option-wrapper {
    margin-top: 0px;
  }
}

.pack-discount {
  font-family: "Roboto", sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.2em;
  color: #305456;
  background: #c9f5d3;
  border-radius: 6px;
  padding: 4px 0;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
  max-width: 65px;
}

.option-button {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.17em;
  padding: 10px 5px;
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s;
  flex: 1;
  min-width: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.option-button.selected {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
}

.option-button:hover {
  background: #f0f0f0;
}

.option-button.selected:hover {
  background: #4a7579;
}

.why-max-strength {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.83em;
  line-height: 1.2em;
  color: var(--primary-light);
  text-decoration: none;
  white-space: nowrap;
}

.why-max-strength:hover {
  text-decoration: underline;
}

.product-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: normal;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .product-actions {
    /* flex-direction: column; */
    gap: 5px;
  }
  .guarantee-button {
    justify-content: center !important;
    flex: 1;
  }
  .guarantee-line {
    letter-spacing: 0 !important;
    font-size: 16px !important;
  }
}

.add-to-cart-button {
  font-family: "Roboto", sans-serif;
  /* font-size: 20px; */
  line-height: 1em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 14px;
  flex: 1;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  width: 100%;
  font-size: 20px;
  /* height: 53px; */
}

.add-to-cart-button:hover {
  background: var(--primary-dark);
}

.add-to-cart-button:active {
  background: #1a2d30;
}

.guarantee-button {
  font-family: "Roboto", sans-serif;
  color: #ffffff;
  background: linear-gradient(
    180deg,
    rgba(153, 102, 50, 1) 0%,
    rgba(233, 188, 105, 1) 100%
  );
  border: 3px solid #000000;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.guarantee-button:hover {
  opacity: 0.9;
}

.guarantee-button:active {
  opacity: 0.8;
}

.guarantee-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.guarantee-number {
  font-size: 28px;
  line-height: 1em;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
}

.guarantee-day {
  font-size: 16px;
  line-height: 1em;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
}

.guarantee-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.guarantee-line {
  font-size: 20px;
  line-height: 1.171875em;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
}

.bestseller-section {
  margin-top: 40px;
}

.bestseller-background {
  position: relative;
  width: 100%;
  min-height: 537px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

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

.bestseller-top-text,
.bestseller-bottom-text {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 30px;
  line-height: 1em;
  color: var(--white);
  text-shadow: 0.1px 0.1px 0 rgba(0, 0, 0, 0.1);
}

.bestseller-top-text {
  position: relative;
  z-index: 2;
  margin: 28px 0 0 25px;
  width: calc(100% - 160px);
}

.bestseller-guarantee-badge-mobile {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  width: 150px;
  height: 150px;
  object-fit: contain;
  transform: translateY(-60%) rotate(-25deg);
  cursor: pointer;
}

.bestseller-bottom-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 79px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 19px;
  margin-top: auto;
}

.refund-text-content {
  display: flex;
  flex-direction: column;
}

.refund-guarantee-section h2 {
  line-height: 35px;
  margin-bottom: 1em;
}

.refund-guarantee-section p {
  line-height: 1.44em;
}

.refund-bg-image-mobile {
  width: calc(100% + 50px);
  height: auto;
  display: block;
  margin: 0 -25px 1em;
  object-fit: contain;
}

.refund-bg-image-desktop {
  display: none;
}

.refund-founder-image {
  margin-bottom: 1em;
  width: 204px;
  height: auto;
  display: block;
  object-fit: contain;
}

.refund-guarantee-section .ps-note {
  line-height: 1.56em;
  font-size: 1.39em;
}

.reviews-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 54px 25px;
  background: var(--white);
}

.our-promise-section {
  width: 100%;
  padding: 80px 25px 50px;
  background: #2f5455;
}

.our-promise-content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.footer-logo-desktop {
  display: none;
}

.footer-logo-mobile {
  display: block;
}

.footer-content-desktop {
  display: none;
}

.our-promise-top-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.our-promise-left {
  width: 100%;
}

.our-promise-label {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 28px;
}

.our-promise-heading {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 45px;
  line-height: 1.2em;
  color: #c1dbc5;
  margin: 0;
}

.our-promise-right {
  width: 100%;
}

.our-promise-text {
  color: var(--white);
  margin: 0;
}

.our-promise-divider {
  width: 100%;
  height: 1px;
  background: var(--white);
  margin: 36px 0;
}

.our-promise-badges {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  min-height: 96px;
}

.our-promise-badges-image {
  width: 100%;
  max-width: 402px;
  height: auto;
}

.footer-section {
  width: 100%;
  margin-top: 60px;
  padding: 25px 25px 50px;
  background: var(--primary);
  border-radius: 20px 20px 0 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-link {
  font-size: 0.89em;
  line-height: 1.5em;
  color: var(--white);
  text-decoration: underline;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-divider {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: var(--white);
  margin: 0 auto 20px;
}

.footer-disclaimer {
  font-size: 0.78em;
  line-height: 1.5em;
  color: var(--white);
  max-width: 600px;
}

@media (min-width: 768px) {
  .product-detail-section {
    padding: 60px 40px;
  }
  .product-detail-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
  .product-image {
    width: calc(100% + 80px);
    margin: 0 -40px 40px;
  }
  .reviews-section {
    padding: 60px 40px;
  }

  .jdgm-rev-widg {
    padding: 0;
    margin-top: -20px;
    margin-bottom: -50px;
  }
  .hide-on-mobile {
    display: block;
  }
  .hide-on-desktop {
    display: none;
  }
}

@media (min-width: 1024px) {
  .product-detail-section {
    padding: 80px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }

  .product-divider {
    width: 100%;
    height: 1px;
    background: var(--primary);
    position: absolute;
    left: 0;
    margin: 0;
  }

  .product-divider-top {
    top: 0;
  }

  .product-divider-bottom {
    bottom: 0;
  }

  .product-divider-inline {
    width: 351px;
    background: #b8c8cc;
    position: relative;
    margin: 0 0 20px;
  }

  .product-content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    padding: 0 40px;
  }

  .product-title-mobile {
    display: none;
  }
  .product-title-desktop {
    display: block;
  }

  .product-description-mobile {
    display: none;
  }

  .product-description-desktop {
    display: block;
  }

  .product-image {
    width: 45%;
    max-width: 500px;
    margin: 0;
    flex-shrink: 0;
  }

  .product-info {
    width: 55%;
    max-width: 550px;
    gap: 0;
    margin-top: 0;
  }

  .product-detail-section h2 {
    margin-bottom: 20px;
  }

  .product-pricing {
    gap: 0;
    margin-bottom: 20px;
  }

  .original-price {
    color: var(--text-light);
    margin-bottom: 5px;
  }

  .current-price {
    font-size: 36px;
    line-height: 36px;
  }

  .product-info > .product-description-desktop {
    font-family: var(--sans);
    line-height: 1.5em;
    margin: 0 !important;
  }

  .product-options {
    gap: 30px;
    margin: 30px 0;
  }

  .option-group-wrapper > .option-group {
    width: 100%;
  }

  .why-max-strength {
    font-size: 0.83em;
  }

  .option-button {
    padding: 11px 15px;
    min-width: 120px;
    border-radius: 4px;
  }

  .option-group:last-child .option-button {
    min-width: 100px;
  }

  .pack-option-wrapper {
    gap: 8px;
  }

  .guarantee-number {
    font-size: 24px;
  }

  .guarantee-day {
    font-size: 14px;
  }

  .guarantee-line {
    font-size: 16px;
    letter-spacing: 0.15em;
  }

  .bestseller-section {
    margin-top: 0;
    padding: 40px 25px 80px;
  }

  .bestseller-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .bestseller-content {
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
    padding: 40px 0 0;
    position: relative;
    z-index: 10;
    background: var(--white);
  }

  .bestseller-content-title {
    font-family: var(--serif);
    font-weight: 650;
    line-height: 1.11em;
    color: var(--primary);
    margin: 0 0 24px;
  }

  .bestseller-text-content {
    width: 100%;
    max-width: 763px;
  }

  .bestseller-text-content p {
    font-family: var(--sans);
    line-height: 1.44em;
  }

  .bestseller-text-content p:last-child {
    margin-bottom: 0;
  }

  .bestseller-background {
    flex: 0 0 calc(50% - 20px);
    width: calc(50% - 20px);
    height: 760px;
    margin-top: 37px;
    z-index: 1;
  }

  .bestseller-top-text {
    position: absolute;
    font-size: 45px;
    line-height: 1.11em;
    text-align: center;
    width: 336px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .bestseller-guarantee-badge-mobile {
    display: none;
  }

  .bestseller-guarantee-badge-desktop {
    position: absolute;
    z-index: 20;
    left: calc(50% + 40px);
    top: 200px;
    transform: translateX(-50%) rotate(-25deg);
    width: 160px;
    cursor: pointer;
  }

  .bestseller-bottom-overlay {
    position: absolute;
    width: 504px;
    height: 156px;
    background: rgba(48, 84, 86, 0.52);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-40px);
  }

  .bestseller-bottom-text {
    font-size: 45px;
    line-height: 1.11em;
    width: 455px;
  }

  .detail-matters-section,
  .repeat-order-section {
    display: none;
  }

  .refund-guarantee-section {
    margin-top: 80px;
    /* max-width: 1500px; */
    margin-left: auto;
    margin-right: auto;
  }

  .refund-guarantee-section img {
    border-radius: 10px;
    max-height: 510px !important;
    object-fit: cover;
  }

  .refund-guarantee-section .content-wrapper {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
    width: auto;
  }

  .refund-text-content {
    flex: 1;
    gap: 20px;
  }

  .refund-bg-image-desktop {
    display: block !important;
    flex: 1;
  }

  .refund-bg-image-mobile {
    display: none;
  }

  .refund-text-content h2 {
    font-size: 35px;
    line-height: 35px;
    margin: 0;
  }

  .refund-text-content p {
    font-family: var(--sans);
    line-height: 1.44em;
    margin: 0;
  }

  .refund-text-content p:not(:last-child) {
    margin-bottom: 0;
  }

  .refund-founder-image {
    width: 204px;
    height: 80px;
    object-fit: cover;
    margin: 0;
  }

  .refund-guarantee-section .ps-note {
    font-family: var(--sans);
    font-size: 1.39em;
    line-height: 1.04em;
    width: 560px;
  }

  .reviews-section {
    padding: 80px 60px;
    background: var(--white);
  }

  .reviews-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .reviews-label {
    text-align: center;
  }

  .reviews-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 48px;
  }

  .review-cards {
    flex-direction: row;
    gap: 32px;
    width: 100%;
    justify-content: center;
  }

  .review-card {
    padding: 24px 20px;
    flex: 1;
    max-width: 350px;
  }

  .our-promise-section {
    padding: 32px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background: transparent;
  }

  .our-promise-content-wrapper {
    width: 1500px;
    max-width: calc(100% - 50px);
    background: #2f5455;
    border-radius: 45px 45px 0 0;
    padding: 40px 110px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
  }

  .footer-logo-desktop {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 16px auto;
    align-self: center;
  }

  .footer-logo-mobile {
    display: none;
  }

  .our-promise-divider {
    display: none;
  }

  .footer-content-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding-bottom: 40px;
  }

  .footer-content-desktop .footer-links {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-content-desktop .footer-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: var(--white);
    margin: 0 auto 20px;
  }

  .footer-section {
    display: none;
  }

  .our-promise-top-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .our-promise-left {
    width: 500px;
    flex-shrink: 0;
  }

  .our-promise-label {
    margin: 0 0 28px;
  }

  .our-promise-heading {
    width: 500px;
  }

  .our-promise-divider {
    width: 100%;
    height: 1px;
    align-self: stretch;
  }

  .our-promise-badges {
    display: flex;
    width: 617px;
    max-width: 100%;
    margin: 16px auto;
    gap: 70px;
    justify-content: center;
  }

  .our-promise-badges-image {
    max-width: none;
    width: auto;
  }

  .footer-section {
    max-width: calc(100% - 50px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 1023px) {
  .refund-guarantee-section .content-wrapper {
    display: flex;
    flex-direction: column;
  }
}

/* Why Max Strength Lightbox Button Styling */
@media (min-width: 768px) {
  .fc-lightbox h2 {
    margin-top: 0 !important;
  }
}

.fc-lightbox p:has(button[data-close-lightbox]) {
  text-align: center;
  margin: 26px 0;
}

.fc-lightbox button[data-close-lightbox] {
  background-color: #305456;
  color: #ffffff;
  border: none;
  border-radius: 2px;
  padding: 11px 23px;
  width: 100%;
  max-width: 354px;
  height: 46px;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.fc-lightbox button[data-close-lightbox]:hover {
  opacity: 0.9;
}

.fc-lightbox button[data-close-lightbox]:active {
  opacity: 0.8;
}

@media (max-width: 750px) {
  .fc-lightbox button[data-close-lightbox] {
    max-width: 100%;
    width: calc(100% - var(--fc-side-padding) * 2);
  }
}

.why-max-strength::before {
    content: "MAX STRENGTH";
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-110%);
    pointer-events: none;
    color: #000;
}