/* ESN-style homepage product carousel */
.jp-top-products {
  padding: 3.5rem 0 4rem;
  background: #f4f4f4;
}

.jp-top-products__head {
  margin-bottom: 1.75rem;
}

.jp-top-products__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

.jp-top-products__head p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.jp-product-carousel {
  position: relative;
}

.jp-product-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 3.5rem 0.75rem 0.25rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.jp-product-carousel__track::-webkit-scrollbar {
  display: none;
}

.jp-product-carousel__next {
  position: absolute;
  top: 38%;
  right: 0;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.jp-product-carousel__next:hover {
  transform: translateY(-50%) scale(1.04);
  background: #000;
}

.jp-product-carousel__next svg {
  width: 20px;
  height: 20px;
}

.jp-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.jp-product-carousel .jp-product-card {
  flex: 0 0 260px;
  height: auto;
}

.jp-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.07);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
  color: #111;
}

.jp-product-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
}

.jp-product-card__link:focus-visible {
  outline: 3px solid #2ff56b;
  outline-offset: 3px;
}

.jp-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 1.7rem 1.15rem 0.85rem;
}

.jp-product-card__rule {
  display: block;
  width: 70%;
  height: 1px;
  margin: 0 auto;
  background: #e2e2de;
}

.jp-product-card__media + .jp-product-card__rule {
  margin-bottom: 0;
}

.jp-product-card__brand + .jp-product-card__rule {
  margin-top: 0;
}

.jp-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jp-product-card__link:hover .jp-product-card__img {
  transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
  .jp-product-card__link,
  .jp-product-card__img {
    transition: none;
  }
}

.jp-product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jp-product-card__wish {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  z-index: 2;
  font-size: 1.15rem;
  color: #bbb;
  line-height: 1;
}

.jp-product-card__add {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, background 180ms ease;
}

.jp-product-card__add:hover {
  background: #2a2a2a;
  transform: scale(1.04);
}

.jp-product-card__add:focus-visible {
  outline: 3px solid #2ff56b;
  outline-offset: 3px;
}

.jp-product-card__add svg {
  width: 22px;
  height: 22px;
}

.jp-product-card__body {
  padding: 0.85rem 3.6rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
}

.jp-product-card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.jp-product-card__brand {
  margin: 0.45rem 1.05rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #73736e;
  line-height: 1.2;
}

.jp-product-card__title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jp-product-card__detail {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #70706b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jp-product-card__options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

.jp-product-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.jp-product-card__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  border: 1px solid #d8d8d2;
  background: #f6f6f3;
  color: #44443f;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.jp-product-card__chip.is-selected {
  border-color: #111;
  background: #111;
  color: #fff;
}


.jp-product-card__price {
  margin-top: auto;
  min-height: 1.4rem;
  padding-top: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.jp-product-card__price del {
  color: #858580;
  font-weight: 500;
  text-decoration-thickness: 1px;
}

.jp-product-card__price ins {
  margin-left: 0.35rem;
  color: #111;
  text-decoration: none;
}

.jp-product-card__price .jp-price-request {
  color: #5f5f5a;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.jp-top-products .jp-product-card__price .woocommerce-Price-amount,
.jp-top-products .jp-product-card__price .amount {
  color: #111;
}

.jp-top-products .jp-price-request {
  color: #5f5f5a;
  font-size: 0.9rem;
  font-weight: 600;
}

.jp-section--carousel {
  background: #f4f4f4;
}

.jp-section--carousel .jp-section__head h2 {
  color: #111;
}

.jp-section--carousel .jp-section__head .jp-eyebrow {
  color: #666;
}

.jp-section--carousel .jp-section__head .jp-link {
  color: #111;
}

@media (max-width: 640px) {
  .jp-product-card {
    flex-basis: 220px;
  }

  .jp-product-carousel__next {
    width: 38px;
    height: 38px;
  }
}

/* WooCommerce — dark premium product UI */

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--jp-muted);
}

.woocommerce .woocommerce-breadcrumb a { color: var(--jp-green); }

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.woocommerce ul.products li.product:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.woocommerce ul.products li.product .jp-product-card {
  width: 100%;
  flex: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button:not(.jp-product-card__add) {
  display: none !important;
}

.jp-price-request {
  color: var(--jp-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.single-product .jp-price-request {
  font-size: 1.1rem;
}

.jp-enquire {
  margin: 1.25rem 0 0;
}

.jp-enquire__note {
  margin: 0.75rem 0 0;
  color: var(--jp-muted);
  font-size: 0.9rem;
}

.woocommerce ul.products li.product .price del {
  color: var(--jp-muted);
  opacity: 0.7;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--jp-green) !important;
  color: var(--jp-black) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.1rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover {
  background: #52ff82 !important;
  box-shadow: 0 0 20px var(--jp-green-glow);
}

.woocommerce-notices-wrapper {
  margin: 0 0 1.25rem;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce .wc-block-components-notice-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1rem !important;
  padding: 0.9rem 1.2rem !important;
  background: rgb(20, 20, 20) !important;
  border: 1px solid #2f2f2f !important;
  border-left: 3px solid var(--jp-green) !important;
  border-radius: var(--jp-radius) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce .wc-block-components-notice-banner::before {
  content: none !important;
  display: none !important;
}

.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button,
.woocommerce .wc-block-components-notice-banner__content .wc-forward {
  background: transparent !important;
  color: #2ff56b !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
}

.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-info a.button:hover {
  background: transparent !important;
  color: #2ff56b !important;
  box-shadow: none !important;
}

.woocommerce .woocommerce-message .button:focus-visible,
.woocommerce .woocommerce-info .button:focus-visible,
.woocommerce .woocommerce-message a.button:focus-visible,
.woocommerce .woocommerce-info a.button:focus-visible,
.woocommerce .wc-block-components-notice-banner__content .wc-forward:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  color: #2ff56b !important;
}

.woocommerce span.onsale {
  background: var(--jp-green);
  color: var(--jp-black);
  border-radius: 999px;
  font-weight: 700;
  min-height: auto;
  line-height: 1.2;
  padding: 0.35rem 0.6rem;
}

/* Shop pagination — iOS segmented bar */
.jp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 2.5rem auto 0;
  max-width: 100%;
}

.jp-pagination__bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 48px;
  padding: 4px;
  box-sizing: border-box;
  background: var(--jp-surface);
  border: 1px solid var(--jp-border);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.jp-pagination__thumb {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  border-radius: 999px;
  background: var(--jp-green);
  box-shadow: 0 1px 6px rgba(61, 255, 110, 0.28);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.jp-pagination__item,
.jp-pagination__gap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

.jp-pagination__item {
  color: var(--jp-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.jp-pagination__item.is-active {
  color: var(--jp-black);
}

.jp-pagination__item:not(.is-active):hover {
  color: var(--jp-text);
}

.jp-pagination__gap {
  flex-basis: 28px;
  width: 28px;
  color: var(--jp-muted);
  opacity: 0.65;
  pointer-events: none;
}

.jp-pagination__arrow {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--jp-border);
  background: var(--jp-surface);
  color: var(--jp-text);
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jp-pagination__arrow svg {
  width: 18px;
  height: 18px;
}

.jp-pagination__arrow:hover {
  border-color: rgba(61, 255, 110, 0.45);
  color: var(--jp-green);
  transform: translateY(-1px);
}

.jp-pagination__arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Shop page */
.woocommerce-page .site-main,
.post-type-archive-product .site-main {
  padding: 2rem 0 4rem;
}

.woocommerce .woocommerce-products-header__title.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

/* Single product — modern stacked layout */
.single-product .jp-main {
  padding: 1.25rem 0 4rem;
}

.single-product .woocommerce-breadcrumb {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
}

/* —— Product stage v1.9: balanced width, aligned columns —— */
body.single-product .jp-container {
  width: min(100% - 2.5rem, 1200px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-product div.product,
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  column-gap: 1.5rem !important;
  row-gap: 1.5rem !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0.35rem 0 1.75rem !important;
  float: none !important;
}



/* Align product grid children: gallery | buy box on row 1, details full width row 2 */
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product > div.images {
  grid-column: 1;
  grid-row: 1;
}

.single-product div.product > .summary {
  grid-column: 2;
  grid-row: 1;
}

.single-product div.product > .jp-product-details {
  grid-column: 1 / -1 !important;
  grid-row: 2;
  width: 100% !important;
  max-width: none !important;
  margin: 0.25rem 0 0 !important;
  padding: 0 !important;
  justify-self: stretch !important;
}

/* If details is rendered outside .product, still match stage width */
body.single-product .jp-container > .jp-product-details,
.single-product .site-main .jp-product-details {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Kill WC float layout */
.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery,
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  top: auto !important;
  align-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Woo flexes the gallery element itself */
.single-product div.product .woocommerce-product-gallery {
  opacity: 1 !important; /* avoid FOUC layout jump */
}

.single-product div.product div.summary,
.single-product div.product .summary.entry-summary,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.single-product .jp-product-summary {
  position: relative;
  top: auto;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--jp-border);
  border-radius: 1.15rem;
  background: var(--jp-surface);
  box-shadow: none;
  box-sizing: border-box;
  align-self: start !important;
  color: var(--jp-text);
}

/* Gallery: white plate, natural height */
.single-product div.product .woocommerce-product-gallery__wrapper {
  display: flex !important;
  flex: 0 1 auto !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
  min-height: 22rem;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.15rem;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery__image {
  width: 100% !important;
  margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image img {
  background: transparent !important;
}

.single-product div.product .woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(52vh, 520px) !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  filter: none;
}

.single-product .jp-product-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
}

.single-product .jp-product-title__brand {
  order: -1;
  display: block;
  width: 100%;
  margin: 0 0 0.15rem;
  color: #4ade80;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-product .jp-product-title__name,
.single-product h1.product_title.jp-product-title__name {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.single-product .jp-product-title__detail {
  margin: 0.1rem 0 0;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
}

.single-product .jp-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
}

.single-product .jp-product-tags__item {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.single-product .jp-product-benefits {
  list-style: none;
  margin: 1.05rem 0 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.55rem;
}

.single-product .jp-product-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.single-product .jp-product-benefits__check {
  flex: 0 0 auto;
  color: #4ade80;
  font-weight: 800;
}

.single-product .jp-product-benefits__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

.single-product .jp-product-benefits__title {
  display: block;
  color: var(--jp-text, #f8fafc);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.single-product .jp-product-benefits__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--jp-muted, #94a3b8);
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.3;
}

.single-product .jp-product-summary .price {
  display: block;
  width: 100%;
  margin: 1.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #4ade80 !important;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
}

.single-product .jp-product-summary .price del {
  margin-right: 0.4rem;
  color: #64748b;
  font-size: 0.7em;
  font-weight: 600;
}

.single-product .jp-product-summary .price ins {
  text-decoration: none;
  color: #4ade80;
}

.single-product .jp-product-summary .jp-price-request {
  display: block;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 1.1rem;
  font-weight: 700;
}

.single-product .jp-product-summary .stock {
  display: none !important;
}

.single-product .jp-product-summary .woocommerce-product-details__short-description {
  margin: 0.45rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}

.single-product .jp-product-summary .woocommerce-product-details__short-description p {
  margin: 0;
}

/* Qty + Add to cart in one aligned row */
.single-product .jp-product-summary form.cart {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.75rem !important;
  width: 100% !important;
  margin: 1.15rem 0 0 !important;
  padding: 0 !important;
}

.single-product .jp-product-summary form.cart .quantity {
  flex: 0 0 4.5rem !important;
  width: 4.5rem !important;
  max-width: 4.5rem !important;
  margin: 0 !important;
}

.single-product .jp-product-summary form.cart .quantity .qty {
  width: 100% !important;
  max-width: 100% !important;
  height: 3.15rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.single-product .jp-product-summary form.cart .single_add_to_cart_button,
.single-product .jp-product-summary form.cart button.single_add_to_cart_button {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 3.15rem !important;
  margin: 0 !important;
  padding: 0.85rem 1.25rem !important;
  border: 0 !important;
  border-radius: 0.85rem !important;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%) !important;
  color: #052e16 !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.28);
}

.single-product .jp-product-commerce {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
  margin-bottom: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .jp-product-commerce p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.4;
}

.single-product .jp-product-commerce__stock--in {
  color: #86efac !important;
  font-weight: 700;
}

.single-product .jp-product-commerce__stock--out {
  color: #fca5a5 !important;
  font-weight: 700;
}

.single-product .jp-product-commerce__delivery {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.single-product .jp-product-commerce__pay {
  color: #64748b !important;
  font-size: 0.8rem !important;
}

.single-product .jp-enquire {
  margin: 1rem 0 0;
}

.single-product .jp-enquire .jp-btn {
  display: flex;
  width: 100%;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.single-product .jp-enquire__note {
  margin: 0.5rem 0 0;
  color: #64748b;
  font-size: 0.82rem;
}

/* Details / description align with product stage */
.single-product .jp-product-details {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 1.25rem auto 0;
  padding: 0;
  box-sizing: border-box;
}

.single-product .woocommerce-tabs {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  list-style: none;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
  border-color: rgba(74, 222, 128, 0.35);
  color: #e2e8f0;
  background: rgba(74, 222, 128, 0.08);
}

@media (max-width: 960px) {
  .single-product div.product,
  .woocommerce div.product {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    max-width: min(640px, 100%) !important;
    margin-inline: auto !important;
  }

  .single-product div.product div.images,
  .single-product div.product .woocommerce-product-gallery,
  .single-product .jp-product-summary {
    position: static !important;
  }
}









.single-product div.product .woocommerce-product-gallery__image,
.single-product div.product .woocommerce-product-gallery__image img {
  background: transparent !important;
}





/* removed slim 440px buy box */



.single-product .jp-product-title__brand {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jp-green);
}

.single-product .jp-product-title__name {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.single-product .jp-product-title__detail {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--jp-muted);
}

.single-product .jp-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.single-product .jp-product-tags__item {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--jp-border);
  color: var(--jp-muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}



.single-product .jp-product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .jp-product-highlights__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(61, 255, 110, 0.1);
  border: 1px solid rgba(61, 255, 110, 0.22);
  color: var(--jp-text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.single-product .jp-product-highlights__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--jp-green);
  flex-shrink: 0;
}

.single-product div.product p.price {
  margin: 0;
  color: var(--jp-green) !important;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.single-product div.product .woocommerce-product-details__short-description {
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--jp-border);
  color: var(--jp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.single-product div.product .woocommerce-product-details__short-description p {
  margin: 0;
}

.single-product .jp-enquire {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.single-product .jp-enquire .jp-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 1rem;
}

.single-product .jp-enquire__note {
  margin: 0.75rem 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--jp-muted);
}

/* Product details — jump nav + stacked sections (replaces WC tabs) */
.single-product .jp-product-details {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1200px;
  margin: 1.75rem auto 0;
}

.single-product .jp-product-nav {
  position: sticky;
  top: var(--jp-header-h, 72px);
  z-index: 20;
  margin: 0 0 1.5rem;
  padding: 0.55rem 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--jp-border);
}

.single-product .jp-product-nav__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem 0.1rem 0.25rem;
  scroll-snap-type: x proximity;
}

.single-product .jp-product-nav__inner::-webkit-scrollbar {
  display: none;
}

.single-product .jp-product-nav__link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--jp-muted);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.single-product .jp-product-nav__link:hover {
  color: var(--jp-text);
  background: rgba(255, 255, 255, 0.04);
}

.single-product .jp-product-nav__link.is-active {
  color: var(--jp-black);
  background: var(--jp-green);
  border-color: var(--jp-green);
}

.single-product .jp-product-details__body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.single-product .jp-product-details__reviews {
  display: none;
}

.single-product .jp-product-details.is-reviews-open .jp-product-details__description {
  display: none;
}

.single-product .jp-product-details.is-reviews-open .jp-product-details__reviews {
  display: block;
}

/* Phase A PDP description (1.9.17). Reverse: restore assets/css/woocommerce.css.bak-1.9.16-pre-pdp-desc */
.single-product .jp-product-details__description {
  color: #d0d0d0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.single-product .jp-product-details__description > .jp-product-desc {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Flat sections: hairline + air — not stacked elevated cards */
.single-product .jp-product-desc .jp-desc-section {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem) 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--jp-border);
  box-shadow: none;
  scroll-margin-top: calc(var(--jp-header-h, 72px) + 4.5rem);
}

.single-product .jp-product-desc > .jp-desc-section:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.single-product .jp-product-desc .jp-desc-section h3,
.single-product .jp-product-desc .jp-desc-section__title {
  margin: 0 0 0.85rem;
  color: var(--jp-text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.single-product .jp-product-desc .jp-desc-section p {
  margin: 0 0 0.85rem;
  max-width: 62ch;
  color: #d0d0d0;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.single-product .jp-product-desc .jp-desc-section p:last-child {
  margin-bottom: 0;
}

.single-product .jp-product-desc .jp-desc-section--intro {
  background: transparent;
  border-top: 0;
}

.single-product .jp-product-desc .jp-desc-section--intro p {
  margin: 0 0 0.85rem;
  max-width: 62ch;
  color: #d0d0d0;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

.single-product .jp-product-desc .jp-desc-section--intro p:first-child {
  margin-top: 0;
  color: var(--jp-text);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.65;
}

/* Benefits as chip grid */
.single-product .jp-product-desc .jp-desc-section--key-benefits .jp-desc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.single-product .jp-product-desc .jp-desc-section--key-benefits .jp-desc-list li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0.15rem 0.55rem 1.55rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--jp-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.single-product .jp-product-desc .jp-desc-section--key-benefits .jp-desc-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--jp-green);
  box-shadow: 0 0 0 3px rgba(61, 255, 110, 0.14);
}

/* Generic lists in other sections */
.single-product .jp-product-desc .jp-desc-section:not(.jp-desc-section--key-benefits):not(.jp-desc-section--how-to-use) ul,
.single-product .jp-product-desc .jp-desc-section:not(.jp-desc-section--key-benefits):not(.jp-desc-section--how-to-use) .jp-desc-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  list-style: none;
}

.single-product .jp-product-desc .jp-desc-section:not(.jp-desc-section--key-benefits):not(.jp-desc-section--how-to-use) li {
  position: relative;
  margin: 0 0 0.5rem;
  padding-left: 0.35rem;
  color: var(--jp-text);
}

.single-product .jp-product-desc .jp-desc-section:not(.jp-desc-section--key-benefits):not(.jp-desc-section--how-to-use) li::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--jp-green);
}

.single-product .jp-product-desc .jp-desc-section--ingredients > p {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  max-width: 62ch;
  color: #d0d0d0;
  line-height: 1.65;
}

/* how-to steps: see .jp-desc-steps below */

.single-product .jp-product-desc .jp-desc-section--warnings {
  border: 1px solid rgba(255, 180, 80, 0.2);
  border-left: 3px solid rgba(255, 196, 106, 0.75);
  border-radius: 0 var(--jp-radius) var(--jp-radius) 0;
  background: rgba(255, 180, 80, 0.06);
  padding: 0.95rem 1.1rem 1rem;
}

.single-product .jp-product-desc .jp-desc-section--warnings h3 {
  color: #ffc46a;
  font-size: 1.05rem;
}

.single-product .jp-product-desc .jp-desc-section--warnings p,
.single-product .jp-product-desc .jp-desc-section--warnings li {
  color: #e8d4a8;
  max-width: 62ch;
}


.single-product .jp-product-details__reviews {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 16px;
  background: var(--jp-surface);
  border: 1px solid var(--jp-border);
  scroll-margin-top: calc(var(--jp-header-h, 72px) + 4.5rem);
}

.single-product .jp-product-details__reviews .woocommerce-Reviews-title,
.single-product .jp-product-details__reviews #reply-title {
  color: var(--jp-text);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
}

.single-product .jp-product-details__reviews .woocommerce-noreviews,
.single-product .jp-product-details__reviews .comment-notes {
  color: var(--jp-muted);
}

.single-product .jp-related-products {
  grid-column: 1 / -1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 3rem;
  padding-inline: max(1rem, calc((100vw - var(--jp-container)) / 2));
}

.single-product .related.products,
.single-product .woocommerce-tabs {
  display: none;
}

/* Nutrition / Facts — white sticker only (nutrition-panel.css); no dark outer card */
.single-product .jp-product-desc .jp-desc-section--nutrition,
.single-product .jp-product-desc .jp-desc-section--supplement-facts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  background: transparent;
  border-top-color: var(--jp-border);
  padding-left: 0;
  padding-right: 0;
}

.single-product .jp-product-desc .jp-desc-section--nutrition .jp-nutrition-panel,
.single-product .jp-product-desc .jp-desc-section--supplement-facts .jp-nutrition-panel {
  max-width: min(18rem, 100%);
  margin: 0;
}

/* Cart & checkout basics */
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout {
  color: var(--jp-text);
}

.woocommerce table.shop_table {
  background: var(--jp-surface);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  color: var(--jp-text);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--jp-border);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--jp-surface-2);
  border: 1px solid var(--jp-border);
  color: var(--jp-text);
  border-radius: 8px;
}

.single-product .jp-bundle-components {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  background: var(--jp-surface);
}

.single-product .jp-bundle-components__head { margin-bottom: 1.25rem; }
.single-product .jp-bundle-components__head h2 { margin: .25rem 0 0; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.single-product .jp-bundle-components__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.single-product .jp-bundle-component { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 1rem; min-width: 0; padding: 1rem; border: 1px solid var(--jp-border); border-radius: 14px; background: var(--jp-surface-2); }
.single-product .jp-bundle-component.is-unavailable { opacity: .62; }
.single-product .jp-bundle-component__media { display: grid; place-items: center; width: 112px; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #fff; }
.single-product .jp-bundle-component__media img { width: 100%; height: 100%; object-fit: contain; }
.single-product .jp-bundle-component__copy { min-width: 0; }
.single-product .jp-bundle-component__copy h3 { margin: 0 0 .45rem; font-size: 1rem; line-height: 1.25; }
.single-product .jp-bundle-component__copy h3 a { color: inherit; text-decoration: none; }
.single-product .jp-bundle-component__meta { margin: 0; color: var(--jp-muted); font-size: .86rem; }
.single-product .jp-bundle-component a:focus-visible { outline: 3px solid var(--jp-green); outline-offset: 3px; }

@media (max-width: 1100px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* PDP stays 50/50 until 960px */
  .single-product div.product .woocommerce-product-gallery,
  .single-product .jp-product-summary {
    position: static;
    max-width: none;
    justify-self: stretch;
  }

  .single-product div.product .woocommerce-product-gallery__image img {
    max-height: 420px;
  }

  .single-product .jp-product-nav {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .single-product .jp-bundle-components__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }

  .single-product .jp-product-summary {
    padding: 1.1rem 1.1rem 1.25rem;
  }

  .single-product .jp-product-desc .jp-desc-section {
    padding: clamp(0.85rem, 3.5vw, 1.15rem) 0;
  }

  .single-product .jp-product-desc .jp-desc-section--warnings {
    padding: 0.85rem 0.95rem 0.9rem;
  }

  .single-product .jp-product-details__reviews {
    padding: 1.1rem;
  }

  .single-product .jp-product-desc .jp-desc-section--key-benefits .jp-desc-list {
    grid-template-columns: 1fr;
  }

  .single-product .jp-bundle-components { padding: 1rem; }
  .single-product .jp-bundle-component { grid-template-columns: 86px minmax(0, 1fr); }
  .single-product .jp-bundle-component__media { width: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  .single-product .jp-product-nav__link,
  .single-product .jp-product-tags__item {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}




/* Legacy alias: details__nav → same pills as .jp-product-nav (token green) */
.single-product .jp-product-details__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.15rem;
  padding: 0.15rem 0 0.9rem;
  border-bottom: 1px solid var(--jp-border);
  box-sizing: border-box;
}

.single-product .jp-product-details__nav-link,
.single-product .jp-product-details__nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--jp-muted);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.single-product .jp-product-details__nav-link:hover,
.single-product .jp-product-details__nav a:hover {
  color: var(--jp-text);
  background: rgba(255, 255, 255, 0.04);
}

.single-product .jp-product-details__nav-link.is-active,
.single-product .jp-product-details__nav a.is-active,
.single-product .jp-product-details__nav a[aria-current="true"] {
  color: var(--jp-black);
  background: var(--jp-green);
  border-color: var(--jp-green);
  font-weight: 750;
}

/* Phase A: slate card override removed — single flat system above */


/* ═══════════════════════════════════════════
   Modern reviews (dark product details)
   ═══════════════════════════════════════════ */
#reviews,
.woocommerce-Reviews,
.jp-product-details__reviews,
.jp-desc-section--reviews,
#comments,
.single-product #reviews,
.single-product .woocommerce-Reviews,
.single-product .jp-desc-section--reviews,
.single-product #comments {
  color: #cbd5e1;
}

.single-product #reviews .woocommerce-Reviews-title,
.single-product #reviews h2,
.single-product #comments h2,
.single-product #review_form_wrapper h3,
.single-product #reply-title {
  margin: 0 0 0.75rem;
  color: #f8fafc !important;
  font-size: 1.1rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em;
}

.single-product #reviews .woocommerce-noreviews,
.single-product #comments .woocommerce-noreviews {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8 !important;
  font-size: 0.92rem;
}

/* Existing review list */
.single-product #reviews #comments ol.commentlist {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.single-product #reviews #comments ol.commentlist li {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.single-product #reviews #comments ol.commentlist .meta,
.single-product #reviews #comments ol.commentlist .woocommerce-review__author,
.single-product #reviews #comments ol.commentlist .woocommerce-review__published-date {
  color: #94a3b8 !important;
  font-size: 0.82rem;
}

.single-product #reviews #comments ol.commentlist .description p {
  margin: 0.45rem 0 0;
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Star rating — filled green, empty muted */
.single-product .star-rating {
  display: inline-block;
  position: relative;
  width: 5.6em;
  height: 1.2em;
  font-family: star;
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
}

.single-product .star-rating::before {
  content: "sssss";
  color: rgba(148, 163, 184, 0.35);
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  letter-spacing: 0.12em;
}

.single-product .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}

.single-product .star-rating span::before {
  content: "SSSSS";
  top: 0;
  position: absolute;
  left: 0;
  color: #4ade80;
  letter-spacing: 0.12em;
}

/* Interactive stars in review form */
.single-product p.stars {
  margin: 0.35rem 0 1rem !important;
  display: flex !important;
  align-items: center;
  gap: 0.15rem;
}

.single-product p.stars a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem !important;
  height: 2rem !important;
  margin: 0 !important;
  border-radius: 0.55rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  position: relative !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease !important;
}

.single-product p.stars a::before {
  content: "★" !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  color: rgba(148, 163, 184, 0.45) !important;
  font-family: system-ui, -apple-system, sans-serif !important;
  width: auto !important;
  height: auto !important;
}

.single-product p.stars a:hover,
.single-product p.stars a:focus,
.single-product p.stars a.active,
.single-product p.stars:hover a,
.single-product p.stars.selected a.active {
  border-color: rgba(74, 222, 128, 0.45) !important;
  background: rgba(74, 222, 128, 0.1) !important;
  transform: translateY(-1px);
}

.single-product p.stars a:hover::before,
.single-product p.stars a:focus::before,
.single-product p.stars a.active::before,
.single-product p.stars:hover a::before,
.single-product p.stars.selected a.active::before,
.single-product p.stars.selected a:not(.active)::before {
  color: #4ade80 !important;
}

/* Woo marks stars with classes like star-1..star-5 and .active */
.single-product p.stars a.star-1.active::before,
.single-product p.stars a.star-2.active::before,
.single-product p.stars a.star-3.active::before,
.single-product p.stars a.star-4.active::before,
.single-product p.stars a.star-5.active::before,
.single-product p.stars:hover a:hover::before,
.single-product p.stars:hover a:hover ~ a::before {
  color: #4ade80 !important;
}

/* Reset hover-after siblings to muted when hovering lower star */
.single-product p.stars:hover a:hover ~ a::before {
  color: rgba(148, 163, 184, 0.45) !important;
}

.single-product p.stars.selected a.active ~ a::before {
  color: rgba(148, 163, 184, 0.45) !important;
}

/* Review form card */
.single-product #review_form_wrapper,
.single-product #review_form {
  margin: 0;
}

.single-product #review_form #respond {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.single-product #review_form .comment-reply-title,
.single-product #review_form #reply-title {
  margin: 0 0 1rem !important;
  color: #e2e8f0 !important;
  font-size: 0.98rem !important;
  font-weight: 650 !important;
}

.single-product #review_form .comment-form > p,
.single-product #review_form .comment-form-rating,
.single-product #review_form .comment-form-comment,
.single-product #review_form .comment-form-author,
.single-product #review_form .comment-form-email,
.single-product #review_form .comment-form-cookies-consent,
.single-product #review_form .form-submit {
  margin: 0 0 1rem;
}

.single-product #review_form label {
  display: block;
  margin: 0 0 0.4rem;
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em;
}

.single-product #review_form label .required {
  color: #4ade80 !important;
  border: 0 !important;
  text-decoration: none !important;
}

.single-product #review_form textarea,
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"],
.single-product #review_form input[type="url"] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  color: #f8fafc !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, background 0.15s ease !important;
  resize: vertical;
  min-height: 2.85rem;
}

.single-product #review_form textarea {
  min-height: 7.5rem !important;
}

.single-product #review_form textarea:focus,
.single-product #review_form input[type="text"]:focus,
.single-product #review_form input[type="email"]:focus {
  outline: none !important;
  border-color: rgba(74, 222, 128, 0.45) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12) !important;
}

.single-product #review_form textarea::placeholder,
.single-product #review_form input::placeholder {
  color: #64748b !important;
}

/* Hide native rating select (stars UI is primary) */
.single-product #review_form .comment-form-rating select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.single-product #review_form .comment-form-cookies-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.55rem !important;
}

.single-product #review_form .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 0.2rem !important;
  width: 1rem !important;
  height: 1rem !important;
  accent-color: #22c55e;
  flex: 0 0 auto;
}

.single-product #review_form .comment-form-cookies-consent label {
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  line-height: 1.4;
}

/* Submit button — match Add to cart language */
.single-product #review_form .form-submit {
  margin: 0.35rem 0 0 !important;
}

.single-product #review_form .form-submit input#submit,
.single-product #review_form .form-submit input[type="submit"],
.single-product #review_form .form-submit .submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.85rem !important;
  margin: 0 !important;
  padding: 0.7rem 1.4rem !important;
  border: 0 !important;
  border-radius: 0.85rem !important;
  background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%) !important;
  color: #052e16 !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.25) !important;
  transition: filter 0.15s ease, transform 0.12s ease !important;
}

.single-product #review_form .form-submit input#submit:hover,
.single-product #review_form .form-submit input[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Name / email side by side on wider cards */
@media (min-width: 720px) {
  .single-product #review_form .comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.85rem;
    row-gap: 0;
  }

  .single-product #review_form .comment-form > p,
  .single-product #review_form .comment-form-rating,
  .single-product #review_form .comment-form-comment,
  .single-product #review_form .comment-form-cookies-consent,
  .single-product #review_form .form-submit,
  .single-product #review_form .comment-notes {
    grid-column: 1 / -1;
  }

  .single-product #review_form .comment-form-author {
    grid-column: 1;
  }

  .single-product #review_form .comment-form-email {
    grid-column: 2;
  }
}

/* Reviews section inside jp details card */
.single-product .jp-desc-section--reviews #reviews {
  margin: 0;
}


/* ── Buy box: dark sticky purchase column (PDP Option A) ── */
.single-product .jp-product-summary {
  font-family: var(--jp-font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.single-product .jp-product-summary .jp-product-title__brand {
  margin: 0 !important;
  color: var(--jp-green) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.single-product .jp-product-summary .jp-product-title__name,
.single-product .jp-product-summary h1.product_title.jp-product-title__name {
  margin: 0.15rem 0 0 !important;
  color: var(--jp-text) !important;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
}

.single-product .jp-product-summary .jp-product-title__detail {
  margin: 0.3rem 0 0 !important;
  color: var(--jp-muted) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

.single-product .jp-product-summary .jp-product-tags {
  margin: 0 !important;
  gap: 0.4rem !important;
}

.single-product .jp-product-summary .jp-product-tags__item {
  padding: 0.28rem 0.7rem !important;
  border: 1px solid var(--jp-border) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--jp-muted) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
}

.single-product .jp-product-summary .jp-product-tags__item:hover {
  border-color: rgba(61, 255, 110, 0.35) !important;
  background: rgba(61, 255, 110, 0.08) !important;
  color: var(--jp-text) !important;
}

.single-product .jp-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.single-product .jp-product-specs__item {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--jp-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--jp-text);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.single-product .jp-product-summary .jp-product-benefits {
  margin: 0 !important;
  padding: 0.15rem 0 0 !important;
  border-top: 0 !important;
  gap: 0.5rem !important;
}

.single-product .jp-product-summary .jp-product-benefits__item {
  color: var(--jp-text) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  gap: 0.55rem !important;
}

.single-product .jp-product-summary .jp-product-benefits__check {
  display: inline-grid !important;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: rgba(61, 255, 110, 0.14);
  color: var(--jp-green) !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.single-product .jp-product-summary .price {
  margin: 0.15rem 0 0 !important;
  padding: 0.85rem 0 0 !important;
  border-top: 1px solid var(--jp-border) !important;
  color: var(--jp-green) !important;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}

.single-product .jp-product-summary .price .amount,
.single-product .jp-product-summary .price bdi,
.single-product .jp-product-summary .price .woocommerce-Price-amount {
  color: var(--jp-green) !important;
  font-weight: 800 !important;
}

.single-product .jp-product-summary .price del,
.single-product .jp-product-summary .price del .amount {
  color: var(--jp-muted) !important;
  font-weight: 600 !important;
}

.single-product .jp-product-summary .price ins,
.single-product .jp-product-summary .price ins .amount {
  color: var(--jp-green) !important;
  text-decoration: none !important;
}

.single-product .jp-product-summary .jp-price-request {
  margin: 0.15rem 0 0 !important;
  padding-top: 0.85rem !important;
  border-top: 1px solid var(--jp-border) !important;
  color: var(--jp-green) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
}

.single-product .jp-product-summary .woocommerce-product-details__short-description,
.single-product .jp-product-summary .woocommerce-product-details__short-description p {
  margin: 0.25rem 0 0 !important;
  color: var(--jp-muted) !important;
  font-size: 0.86rem !important;
  font-weight: 450 !important;
  line-height: 1.45 !important;
}

.single-product .jp-product-summary form.cart:not(.variations_form) {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.65rem !important;
  width: 100% !important;
  margin: 0.15rem 0 0 !important;
}

.single-product:has(.jp-grouped-price) .jp-product-summary > p.price:not(.jp-grouped-price),
.single-product.product-type-grouped .jp-product-summary > p.price:not(.jp-grouped-price) {
  display: none !important;
}

.single-product .jp-product-summary form.variations_form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.85rem !important;
  width: 100% !important;
  margin: 0.15rem 0 0 !important;
}

.single-product .jp-product-summary form.variations_form .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0.65rem !important;
  width: 100% !important;
  margin: 0 !important;
}

.single-product .jp-product-summary form.variations_form table.variations,
.single-product .jp-product-summary form.variations_form .reset_variations {
  display: none !important;
}

.single-product .jp-product-summary .jp-product-benefits:empty,
.single-product .jp-product-summary .woocommerce-product-rating:empty,
.single-product .jp-product-summary .woocommerce-product-details__short-description:empty {
  display: none !important;
}

.single-product.jp-no-price .jp-product-summary form.variations_form .woocommerce-variation-add-to-cart,
.single-product.jp-no-price .jp-product-summary form.variations_form .woocommerce-variation-price {
  display: none !important;
}

.single-product .jp-product-summary form.cart .quantity {
  flex: 0 0 3.6rem !important;
  width: 3.6rem !important;
  max-width: 3.6rem !important;
  margin: 0 !important;
}

.single-product .jp-product-summary form.cart .quantity .qty {
  width: 100% !important;
  height: 3.25rem !important;
  border: 1px solid var(--jp-border) !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: var(--jp-text) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: none !important;
}

.single-product .jp-product-summary form.cart .single_add_to_cart_button,
.single-product .jp-product-summary form.cart button.single_add_to_cart_button {
  flex: 1 1 auto !important;
  min-height: 3.25rem !important;
  margin: 0 !important;
  padding: 0.85rem 1.25rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--jp-green) !important;
  color: var(--jp-black) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 24px var(--jp-green-glow) !important;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
}

.single-product .jp-product-summary form.cart .single_add_to_cart_button:hover {
  background: var(--jp-green-dim) !important;
  filter: none !important;
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--jp-green-glow) !important;
}

.single-product .jp-product-summary .jp-enquire {
  margin: 0.1rem 0 0 !important;
}

.single-product .jp-product-summary .jp-enquire .jp-btn {
  border-radius: 999px !important;
  background: var(--jp-green) !important;
  color: var(--jp-black) !important;
  box-shadow: 0 0 24px var(--jp-green-glow) !important;
  min-height: 3.25rem !important;
  font-weight: 800 !important;
}

.single-product .jp-product-summary .jp-enquire__note {
  color: var(--jp-muted) !important;
  margin-top: 0.55rem !important;
}

.single-product .jp-product-summary .jp-product-commerce {
  margin-top: 0.15rem !important;
  padding-top: 0.85rem !important;
  border-top: 1px solid var(--jp-border) !important;
  gap: 0.35rem !important;
  text-align: left;
}

.single-product .jp-product-summary .jp-product-commerce p {
  margin: 0 !important;
  color: var(--jp-muted) !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.single-product .jp-product-summary .jp-product-commerce__stock--in {
  color: var(--jp-green) !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}

.single-product .jp-product-summary .jp-product-commerce__stock--out {
  color: #fca5a5 !important;
  font-weight: 700 !important;
}

.single-product .jp-product-summary .jp-product-commerce__delivery {
  color: var(--jp-muted) !important;
  font-size: 0.86rem !important;
  justify-content: flex-start;
}

.single-product .jp-product-summary .jp-product-commerce__pay {
  color: var(--jp-faint, #6b6b6b) !important;
  font-size: 0.8rem !important;
  font-weight: 450 !important;
}

.single-product .jp-product-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.15rem 0 0;
}

.single-product .jp-product-trust__item {
  text-align: center;
  border: 1px solid var(--jp-border);
  border-radius: 10px;
  padding: 0.55rem 0.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.single-product .jp-product-trust__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--jp-text);
}

.single-product .jp-product-trust__sub {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.68rem;
  color: var(--jp-muted);
  font-weight: 500;
}

/* Product stage — dark split, sticky buy column */
.single-product div.product {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.35rem !important;
  grid-template-columns: none !important;
}

.single-product .jp-product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18.5rem, 0.85fr);
  gap: 1.1rem;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  min-height: 0;
  box-shadow: none;
}

.single-product .jp-product-stage .woocommerce-product-gallery,
.single-product .jp-product-stage .woocommerce-product-gallery--with-images,
.single-product .jp-product-stage .flex-viewport,
.single-product .jp-product-stage .woocommerce-product-gallery__wrapper {
  background: #ffffff !important;
  min-height: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1rem !important;
  width: 100% !important;
  max-width: none !important;
  opacity: 1 !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.15rem;
  box-sizing: border-box;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.single-product .jp-product-stage .woocommerce-product-gallery,
.single-product .jp-product-stage .woocommerce-product-gallery--with-images {
  overflow: hidden;
}

.single-product .jp-product-stage .woocommerce-product-gallery__wrapper {
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 22rem;
  box-shadow: none !important;
  background: #ffffff !important;
}

.single-product .jp-product-stage .woocommerce-product-gallery__wrapper,
.single-product .jp-product-stage .woocommerce-product-gallery__image,
.single-product .jp-product-stage .woocommerce-product-gallery__image a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product .jp-product-stage .woocommerce-product-gallery__image img,
.single-product .jp-product-stage .woocommerce-product-gallery__image--placeholder img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(52vh, 28rem) !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .jp-product-stage .summary,
.single-product .jp-product-stage .jp-product-summary {
  position: sticky !important;
  top: calc(var(--jp-header-h, 72px) + 0.75rem) !important;
  z-index: 5;
  background: var(--jp-surface) !important;
  border: 1px solid var(--jp-border) !important;
  box-shadow: none !important;
  border-radius: 1.15rem !important;
  padding: 1.25rem 1.3rem 1.35rem !important;
  max-width: none !important;
  width: 100% !important;
  color: var(--jp-text) !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.85rem;
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

.single-product .jp-product-stage .product_title,
.single-product .jp-product-stage .jp-product-title__name,
.single-product .jp-product-stage .jp-product-summary h1.product_title.jp-product-title__name {
  color: var(--jp-text) !important;
  font-size: clamp(1.5rem, 2.1vw, 2rem) !important;
  line-height: 1.14 !important;
  overflow-wrap: break-word;
}

.single-product .jp-product-stage .jp-product-title__detail {
  color: var(--jp-muted) !important;
}

.single-product .jp-product-stage .jp-product-title__brand {
  order: -1;
  color: var(--jp-green) !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.14em;
}

.single-product .jp-product-stage .price,
.single-product .jp-product-stage .jp-price-request {
  color: var(--jp-green) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
}

.single-product .jp-product-stage .jp-product-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.single-product .jp-product-stage .jp-product-benefits__item,
.single-product .jp-product-stage .jp-product-highlights__item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--jp-text) !important;
}

.single-product .jp-product-stage .jp-product-benefits__text {
  color: var(--jp-text) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.12rem !important;
  min-width: 0 !important;
}

.single-product .jp-product-stage .jp-product-benefits__title {
  color: var(--jp-text) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
}

.single-product .jp-product-stage .jp-product-benefits__desc {
  color: var(--jp-muted, #94a3b8) !important;
  font-size: 0.8rem !important;
  font-weight: 450 !important;
  line-height: 1.3 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

.single-product .jp-product-stage .woocommerce-product-gallery__trigger {
  top: 0.85rem !important;
  right: 0.85rem !important;
}

.single-product .woocommerce-product-gallery__caption,
.single-product .woocommerce-product-gallery .flex-caption {
  display: none !important;
}

.single-product .jp-product-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.single-product .jp-product-options--static {
  flex-direction: row;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
}

.single-product .jp-product-options__line {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.35;
  color: var(--jp-muted) !important;
}

.single-product .jp-product-options__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--jp-text);
}

.single-product .jp-product-options__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.single-product .jp-product-options__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--jp-text) !important;
}

.single-product .jp-product-options__req {
  color: var(--jp-green);
}

.single-product .jp-product-options__flavour {
  width: 100%;
  appearance: none;
  border: 1px solid var(--jp-border);
  border-radius: 0.85rem;
  padding: 0.85rem 2.4rem 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--jp-text);
  background: rgba(0, 0, 0, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%239a9a9a' d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
}

.single-product .jp-product-options__flavour:focus {
  outline: none;
  border-color: var(--jp-green);
  box-shadow: 0 0 0 3px rgba(61, 255, 110, 0.16);
}

.single-product .jp-product-options__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-product .jp-product-options__size {
  min-width: 4.4rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--jp-border);
  border-radius: 999px;
  color: var(--jp-text) !important;
  text-align: center;
  text-decoration: none !important;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.single-product .jp-product-options__size:hover {
  border-color: rgba(61, 255, 110, 0.4);
}

.single-product .jp-product-options__size.is-available {
  border-color: rgba(61, 255, 110, 0.45);
  box-shadow: 0 0 0 1px rgba(61, 255, 110, 0.12);
}

.single-product .jp-product-options__size.is-unavailable,
.single-product .jp-product-options__size[hidden] {
  display: none;
}

.single-product .jp-product-options__size.is-selected {
  background: var(--jp-green);
  border-color: var(--jp-green);
  color: var(--jp-black) !important;
  opacity: 1;
  border-style: solid;
}

.single-product form.variations_form table.variations.jp-variations-bulk {
  display: block;
  width: 100%;
  border: 0;
  margin: 0 0 1rem;
}

.single-product form.variations_form table.variations.jp-variations-bulk tbody,
.single-product form.variations_form table.variations.jp-variations-bulk tr,
.single-product form.variations_form table.variations.jp-variations-bulk th,
.single-product form.variations_form table.variations.jp-variations-bulk td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.single-product form.variations_form table.variations.jp-variations-bulk tr {
  margin: 0 0 0.9rem;
}

.single-product form.variations_form table.variations.jp-variations-bulk .label label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--jp-text);
}

.single-product form.variations_form table.variations.jp-variations-bulk select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--jp-border);
  border-radius: 0.85rem;
  padding: 0.85rem 2.4rem 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--jp-text);
  background: rgba(0, 0, 0, 0.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='%239a9a9a' d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
}

.single-product form.variations_form .jp-size-select-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.single-product form.variations_form .jp-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.single-product .jp-product-stage .jp-product-benefits__check {
  color: var(--jp-green);
  flex-shrink: 0;
}

.single-product .jp-product-stage .jp-enquire,
.single-product .jp-product-stage .single_add_to_cart_button,
.single-product .jp-product-stage .jp-enquire .button {
  width: 100%;
  justify-content: center;
}

.single-product .jp-product-stage .jp-enquire__note,
.single-product .jp-product-stage .jp-commerce-note {
  color: var(--jp-muted) !important;
}

/* Overview + bare facts sticker: fixed sticker column (not fluid dark rail) */
.single-product .jp-product-details__description > .jp-product-desc.jp-product-desc--has-label-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 18rem);
  gap: 1.5rem 2rem;
  align-items: start;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--intro {
  grid-column: 1;
  grid-row: 1;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--supplement-facts,
.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--nutrition {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  border-top: 0;
  padding-top: 0.15rem;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section:not(.jp-desc-section--intro):not(.jp-desc-section--supplement-facts):not(.jp-desc-section--nutrition) {
  grid-column: 1 / -1;
}



/* Ingredients — single clinical surface (no card-in-card) */
.single-product .jp-product-desc .jp-desc-section--ingredients .jp-ing--label {
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  overflow: hidden;
  background: var(--jp-surface);
  box-shadow: none;
}

.single-product .jp-product-desc .jp-ing__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.85rem 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 2px solid var(--jp-green, #3dff6e);
}

.single-product .jp-product-desc .jp-ing__bar strong {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: #f4f5f4;
}

.single-product .jp-product-desc .jp-ing__bar span {
  color: #a8b0a8;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: normal;
}

.single-product .jp-product-desc .jp-ing--label .jp-ing__block {
  padding: 0.95rem 1.05rem 1.05rem;
}

.single-product .jp-product-desc .jp-ing--label .jp-ing__block + .jp-ing__block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.single-product .jp-product-desc .jp-ing__label {
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #a8b0a8 !important;
  font-size: 0.8125rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.single-product .jp-product-desc .jp-ing__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.single-product .jp-product-desc .jp-ing__table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.4;
}

.single-product .jp-product-desc .jp-ing__table tr:last-child td {
  border-bottom: 0;
}

.single-product .jp-product-desc .jp-ing__name {
  color: #eef2ee;
  font-weight: 600;
  padding-right: 1rem !important;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.single-product .jp-product-desc .jp-ing__table-wrap,
.single-product .jp-product-desc .jp-desc-section--ingredients {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-product .jp-product-desc .jp-ing__dose {
  text-align: right;
  white-space: nowrap;
  color: #d7ffe4;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  width: 1%;
}

.single-product .jp-product-desc .jp-ing__table--names-only .jp-ing__name {
  width: 100%;
}

.single-product .jp-product-desc .jp-ing__other {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #9aa19a !important;
  font-size: 0.9rem !important;
  font-weight: 450 !important;
  font-style: normal !important;
  line-height: 1.65 !important;
}

.single-product .jp-product-desc .jp-ing__foot {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.single-product .jp-product-desc .jp-ing__allergen {
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #f0d49a !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

.single-product .jp-product-desc .jp-ing__note {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #a8b0a8 !important;
  font-size: 0.875rem !important;
  font-weight: 450 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

/* Legacy chip/grid leftovers (cached HTML) */
.single-product .jp-product-desc .jp-desc-ing-chip > span {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}

/* How-to: flat numbered rows (not nested step cards) */
.single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps,
.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  counter-reset: jp-step;
  max-width: 62ch;
}

.single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps > li,
.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.35rem 0 0.55rem;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #e5e7eb;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  list-style: none;
  counter-increment: jp-step;
}

.single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps > li:last-child,
.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps > li:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}

.single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps > li::before,
.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps > li::before {
  content: counter(jp-step);
  position: static;
  left: auto;
  top: auto;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0.1rem 0 0;
  border-radius: 999px;
  border: 1px solid rgba(61, 255, 110, 0.28);
  background: rgba(61, 255, 110, 0.12);
  color: var(--jp-green);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-step-note,
.single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-note {
  margin: 0.85rem 0 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #b0b0b0;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.55;
  max-width: 62ch;
}

/* Ingredients blocks (legacy) */
.single-product .jp-product-desc .jp-desc-ingredient {
  margin: 0 0 0.55rem;
  padding: 0.35rem 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 62ch;
}

.single-product .jp-product-desc .jp-desc-ingredient:last-child {
  margin-bottom: 0;
}

.single-product .jp-product-desc .jp-desc-ingredient--allergen {
  border-color: rgba(255, 196, 106, 0.35);
  background: rgba(255, 196, 106, 0.08);
  color: #ffe0a8;
  font-weight: 700;
}

.single-product .jp-product-desc .jp-desc-ingredient--note {
  border-style: dashed;
  color: #9ca3af;
  font-style: italic;
  font-size: 0.88rem;
}

/* Warnings tone — kept as thin callout in Phase A base rules */

body:not(.woocommerce-checkout) .wcpay-express-checkout,
body:not(.woocommerce-checkout) .wcpay-payment-request-wrapper,
body:not(.woocommerce-checkout) #wcpay-express-checkout-element,
body:not(.woocommerce-checkout) #wc-stripe-payment-request-wrapper,
body:not(.woocommerce-checkout) #wc-stripe-payment-request-button-separator,
body:not(.woocommerce-checkout) .wc-stripe-payment-request-wrapper,
body:not(.woocommerce-checkout) .apple-pay-button,
body:not(.woocommerce-checkout) .gpay-button,
body:not(.woocommerce-checkout) .gpay-card-info-container,
body:not(.woocommerce-checkout) .amazonpay-button-container,
body:not(.woocommerce-checkout) .wc-block-components-express-payment,
body:not(.woocommerce-checkout) .wc-proceed-to-checkout .wc-block-components-express-payment,
.single-product .woocommerce-payment-methods,
.single-product .wc-credit-card-form {
  display: none !important;
}

@media (max-width: 960px) {
  .single-product .jp-product-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .single-product .jp-product-stage .summary,
  .single-product .jp-product-stage .jp-product-summary {
    position: static !important;
    top: auto !important;
  }

  .single-product .jp-product-stage .woocommerce-product-gallery,
  .single-product .jp-product-stage .woocommerce-product-gallery--with-images {
    min-height: 0;
    padding: 0 !important;
  }

  .single-product .jp-product-stage .woocommerce-product-gallery__wrapper {
    min-height: 16rem;
    padding: 1rem !important;
  }

  .single-product .jp-product-stage .woocommerce-product-gallery__image img {
    max-height: 18rem !important;
  }

  .single-product .jp-product-stage .summary,
  .single-product .jp-product-stage .jp-product-summary {
    padding: 1.15rem 1.1rem 1.25rem !important;
  }

  .single-product .jp-product-details__description > .jp-product-desc.jp-product-desc--has-label-panel {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--intro {
    order: 0;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--key-benefits {
    order: 1;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--supplement-facts,
  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--nutrition {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--how-to-use {
    order: 3;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--ingredients {
    order: 4;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--warnings {
    order: 5;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--ideal-for {
    order: 6;
  }

  .single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps > li,
  .single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps > li {
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .single-product .jp-product-desc .jp-desc-section--how-to-use ol.jp-desc-steps > li::before,
  .single-product .jp-product-desc .jp-desc-section--how-to-use .jp-desc-steps > li::before {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.72rem;
  }

  .single-product .jp-product-trust {
    grid-template-columns: 1fr;
  }
}

/* Cart + checkout (Woo Blocks) — match PDP white cards + green CTA */
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--jp-text);
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout {
  gap: 1rem;
}

body.woocommerce-cart .wc-block-cart.is-large,
body.woocommerce-checkout .wc-block-checkout.is-large {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

body.woocommerce-cart .wc-block-cart.is-large > .wc-block-cart__main,
body.woocommerce-checkout .wc-block-checkout.is-large > .wc-block-checkout__main {
  grid-column: 1;
  width: 100%;
}

body.woocommerce-cart .wc-block-cart.is-large > .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout.is-large > .wc-block-checkout__sidebar {
  grid-column: 2;
  width: 360px;
  max-width: 100%;
}

body.woocommerce-cart .wc-block-cart__sidebar {
  position: sticky;
  top: 5.5rem;
}

body.woocommerce-cart .wc-block-cart__submit-button {
  white-space: nowrap !important;
  width: 100% !important;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-checkout .wc-block-checkout__main {
  width: 100%;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: #ffffff;
  color: #111827;
  border-radius: 24px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items thead,
body.woocommerce-cart .wc-block-cart-items tbody,
body.woocommerce-cart .wc-block-cart-items tr,
body.woocommerce-cart .wc-block-cart-items th,
body.woocommerce-cart .wc-block-cart-items td {
  background: transparent !important;
  border-color: #ecece8 !important;
  color: #111827;
}

body.woocommerce-cart .wc-block-cart-items__header span {
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart-item__image img {
  border-radius: 12px;
  background: #f7f7f5;
}

body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-name {
  color: #111827 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
}

body.woocommerce-cart .wc-block-components-product-name:hover,
body.woocommerce-checkout .wc-block-components-product-name:hover {
  color: #111827 !important;
  text-decoration: underline;
}

body.woocommerce-cart .wc-block-components-product-price {
  color: #6b7280 !important;
  font-size: 0.88rem;
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-metadata p {
  color: #73736e !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.15rem 0 0;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  background: #f7f7f5;
}

body.woocommerce-cart .wc-block-components-quantity-selector__button,
body.woocommerce-cart .wc-block-components-quantity-selector__input {
  background: transparent !important;
  color: #111827 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
  color: #9ca3af !important;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  color: #111827 !important;
}

body.woocommerce-cart .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
  border-color: #ecece8 !important;
}

body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-item {
  color: #111827;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}

body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-totals-coupon input {
  background: #f7f7f5 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.contained.wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.contained {
  background: var(--jp-green) !important;
  color: var(--jp-black) !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 52px;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px var(--jp-green-glow);
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #52ff82 !important;
  color: var(--jp-black) !important;
}

body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
  background: #111827 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: #111827 !important;
}

/* Checkout: one radius everywhere */
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-blocks-components-select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-blocks-components-select__select {
  border-color: #e5e7eb !important;
}

body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .components-input-control__container,
body.woocommerce-checkout .components-input-control__backdrop,
body.woocommerce-checkout .wc-block-components-state-input select {
  border-radius: 12px !important;
}

body.woocommerce-checkout .wc-block-components-checkbox__input {
  border-radius: 6px !important;
}

body.woocommerce-checkout .wc-block-checkout__payment-method,
body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-radio-control::after,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option::after {
  content: none !important;
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-address-card {
  border-radius: 12px !important;
  border-color: #e5e7eb !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: visible !important;
  background: transparent !important;
}

/* Single Stripe method: drop the dummy "Payment methods" radio row */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:only-child > .wc-block-components-radio-control__option {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-radius: 16px !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
body.woocommerce-checkout #wc-stripe-card-element {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule {
  margin: 0 0 1.25rem;
}

body.woocommerce-checkout .wc-block-components-express-payment {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0;
  overflow: visible;
  background: transparent;
}

body.woocommerce-checkout .wc-block-components-express-payment__title-container,
body.woocommerce-checkout .wc-block-components-express-payment__content {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-express-payment .wc-block-components-express-payment__title-container,
body.woocommerce-checkout .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  position: static !important;
  text-align: center;
}

body.woocommerce-checkout .wc-block-components-express-payment__title {
  display: block !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  color: #6b7280 !important;
  text-align: center;
}

body.woocommerce-checkout .wc-block-components-express-payment__title-container::before,
body.woocommerce-checkout .wc-block-components-express-payment__title-container::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  width: 0 !important;
}

body.woocommerce-checkout .wc-block-components-express-payment__event-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

body.woocommerce-checkout .wc-block-components-express-payment__event-buttons li {
  display: block;
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 999px !important;
  overflow: hidden !important;
}

body.woocommerce-checkout #express-payment-method-express_checkout_element_amazonPay {
  display: none !important;
}

body.woocommerce-checkout #express-payment-method-express_checkout_element_applePay {
  order: 1;
}

body.woocommerce-checkout #express-payment-method-express_checkout_element_googlePay {
  order: 2;
}

body.woocommerce-checkout #express-payment-method-express_checkout_element_link {
  order: 3;
}

/* Gym-like address grid. Scope to forms that have a street field — not Contact email. */
@media (min-width: 700px) {
  body.woocommerce-checkout .wc-block-components-address-form:has(.wc-block-components-address-form__address_1) {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  /* Woo wraps address_1 in this container — it is the grid item, not __address_1. */
  body.woocommerce-checkout .wc-block-components-address-autocomplete-container,
  body.woocommerce-checkout .wc-block-components-address-form__country,
  body.woocommerce-checkout .wc-block-components-address-form__address_1,
  body.woocommerce-checkout .wc-block-components-address-form__address_2,
  body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
  body.woocommerce-checkout .wc-block-components-address-form__phone {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.woocommerce-checkout .wc-block-components-address-form__first_name {
    grid-column: 1 / 4;
  }

  body.woocommerce-checkout .wc-block-components-address-form__last_name {
    grid-column: 4 / 7;
  }

  body.woocommerce-checkout .wc-block-components-address-form__city {
    grid-column: 1 / 3;
  }

  body.woocommerce-checkout .wc-block-components-address-form__state {
    grid-column: 3 / 5;
  }

  body.woocommerce-checkout .wc-block-components-address-form__postcode {
    grid-column: 5 / 7;
  }
}

body.woocommerce-checkout .wc-block-components-address-form:has(.wc-block-components-address-form__address_2.wc-block-components-text-input) .wc-block-components-address-form__address_2-toggle {
  display: none;
}

body.woocommerce-checkout .wc-block-components-address-form__address_2-hidden-input {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  width: 1px !important;
  height: 1px !important;
  overflow: hidden;
}

/* Stripe iframe is buttonHeight+8 with margin:-4px. Never force 48px or auto (auto = 150px). */
body.woocommerce-checkout .wc-block-components-express-payment iframe {
  display: block !important;
  width: calc(100% + 8px) !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: -4px !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-express-payment .StripeElement,
body.woocommerce-checkout .wc-block-components-express-payment .__PrivateStripeElement {
  background: transparent !important;
  overflow: visible !important;
  border-radius: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
}

/* Phase A PDP warnings fold + ideal-for placement (1.9.18) */
.single-product .jp-product-desc > .jp-desc-section--ideal-for {
  order: 1;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--intro {
  order: 0;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--ideal-for {
  grid-column: 1 / -1;
  grid-row: 2;
  order: 1;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--supplement-facts,
.single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--nutrition {
  order: 0; /* stays row 1 beside intro via grid placement */
}

.single-product .jp-product-desc .jp-desc-section--collapsible {
  border-top: 1px solid var(--jp-border);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.single-product .jp-product-desc .jp-desc-fold {
  margin: 0;
  border: 1px solid rgba(255, 180, 80, 0.22);
  border-left: 3px solid rgba(255, 196, 106, 0.75);
  border-radius: 0 var(--jp-radius) var(--jp-radius) 0;
  background: rgba(255, 180, 80, 0.06);
}

.single-product .jp-product-desc .jp-desc-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.single-product .jp-product-desc .jp-desc-fold__summary::-webkit-details-marker {
  display: none;
}

.single-product .jp-product-desc .jp-desc-fold__title {
  color: #ffc46a;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.single-product .jp-product-desc .jp-desc-fold__chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #ffc46a;
  border-bottom: 2px solid #ffc46a;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  opacity: 0.9;
}

.single-product .jp-product-desc .jp-desc-fold[open] .jp-desc-fold__chevron {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.single-product .jp-product-desc .jp-desc-fold__body {
  padding: 0 1rem 1rem;
}

.single-product .jp-product-desc .jp-desc-fold__body > :first-child {
  margin-top: 0;
}

.single-product .jp-product-desc .jp-desc-section--collapsible.jp-desc-section--warnings {
  /* fold owns the callout chrome */
  border: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

@media (max-width: 960px) {
  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--ideal-for {
    order: 1;
    grid-row: auto;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--supplement-facts,
  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--nutrition {
    order: 2;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--how-to-use {
    order: 3;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--ingredients {
    order: 4;
  }

  .single-product .jp-product-desc.jp-product-desc--has-label-panel > .jp-desc-section--warnings {
    order: 5;
  }
}


/* Phase A+ PDP polish (1.9.19) */

/* Ideal for: classic list (chip experiment reverted) */

/* Fold tones */
.single-product .jp-product-desc .jp-desc-fold--neutral {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid rgba(61, 255, 110, 0.55);
  border-radius: 0 var(--jp-radius) var(--jp-radius) 0;
  background: rgba(255, 255, 255, 0.03);
}

.single-product .jp-product-desc .jp-desc-fold--neutral .jp-desc-fold__title {
  color: #f5f5f5;
}

.single-product .jp-product-desc .jp-desc-fold--neutral .jp-desc-fold__chevron {
  border-right-color: #c8c8c8;
  border-bottom-color: #c8c8c8;
}

.single-product .jp-product-desc .jp-desc-fold--warn {
  border: 1px solid rgba(255, 180, 80, 0.22);
  border-left: 3px solid rgba(255, 196, 106, 0.75);
  background: rgba(255, 180, 80, 0.06);
}

.single-product .jp-product-desc .jp-desc-fold--warn .jp-desc-fold__title {
  color: #ffc46a;
}

.single-product .jp-product-desc .jp-desc-fold--warn .jp-desc-fold__chevron {
  border-right-color: #ffc46a;
  border-bottom-color: #ffc46a;
}

/* Soften ingredients table (was admin-dense) */
.single-product .jp-product-desc .jp-desc-section--ingredients .jp-ing--label,
.single-product .jp-product-desc .jp-desc-fold__body .jp-ing--label {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--jp-radius);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

.single-product .jp-product-desc .jp-ing__bar {
  padding: 0.75rem 1rem;
  background: transparent;
  border-bottom: 1px solid rgba(61, 255, 110, 0.35);
}

.single-product .jp-product-desc .jp-ing__bar strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #cfcfcf;
  font-weight: 700;
}

.single-product .jp-product-desc .jp-ing__bar span {
  color: #9a9a9a;
  font-size: 0.8125rem;
  font-weight: 500;
}

.single-product .jp-product-desc .jp-ing__label {
  color: #9a9a9a !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em !important;
  font-weight: 650 !important;
  margin-bottom: 0.45rem !important;
}

.single-product .jp-product-desc .jp-ing__table td {
  padding: 0.55rem 0;
  border-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.single-product .jp-product-desc .jp-ing__table tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.single-product .jp-product-desc .jp-ing__name {
  color: #e8e8e8;
  font-weight: 500;
  padding-right: 1.25rem !important;
}

.single-product .jp-product-desc .jp-ing__dose {
  width: 8.5rem;
  min-width: 7.5rem;
  max-width: 10rem;
  color: #d0d0d0;
  font-weight: 600;
  font-size: 0.9rem;
}

.single-product .jp-product-desc .jp-ing--label .jp-ing__block {
  padding: 0.85rem 1rem 1rem;
}

.single-product .jp-product-desc .jp-ing__other {
  color: #a0a0a0 !important;
  font-size: 0.9rem !important;
  max-width: 62ch;
}

/* Facts sticker — no clip, slightly roomier */
.single-product .jp-product-desc .jp-nutrition-panel {
  max-width: min(20rem, 100%);
  overflow: visible;
}

.single-product .jp-product-desc .jp-nutrition-panel__frame {
  overflow: visible;
  padding: 1.15rem 1.35rem 1.25rem;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: 3px;
}

.single-product .jp-product-desc .jp-nutrition-panel .jp-nutrition-table th,
.single-product .jp-product-desc .jp-nutrition-panel .jp-nutrition-table td {
  padding: 0.34rem 0.15rem 0.34rem 0;
  overflow: visible;
  word-break: normal;
}

.single-product .jp-product-desc .jp-nutrition-panel .jp-nutrition-table td {
  padding-left: 0.5rem;
  white-space: nowrap;
}

.single-product .jp-product-desc.jp-product-desc--has-label-panel {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
}

@media (max-width: 960px) {
}

