/* Product reviews */
/* Customer reviews: inherit BBE's product page palette and type. */
#tab-review.bbe-reviews-tab {
  --review-ink: #172344;
  --review-muted: #59657a;
  --review-blue: #23366b;
  --review-paper: #ffffff;
  --review-wash: #f3f5fa;
  --review-line: #dfe4ee;
  --review-star: #99700d;
  --review-focus: #3666b5;
  color: var(--review-ink);
  padding: 32px;
  scroll-margin-top: 230px;
}
#tab-review .bbe-reviews *, #tab-review .bbe-review-compose * { box-sizing: border-box; }
#tab-review .bbe-reviews [hidden] { display: none !important; }
#tab-review .bbe-reviews-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 0 0 24px; }
#content #tab-review .bbe-reviews-heading { display: block; color: var(--review-ink); font-size: 26px; font-weight: 700; line-height: 1.3; margin: 0; padding: 0; border: 0; background: none; }
#tab-review .bbe-reviews-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--review-blue); border-radius: 4px; background: var(--review-blue); color: var(--review-paper); padding: 11px 20px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; text-transform: none; cursor: pointer; top: auto; transition: background-color .18s, color .18s; }
#tab-review .bbe-reviews-button:hover { background: var(--review-ink); color: var(--review-paper); }
#tab-review .bbe-reviews-button-secondary { background: var(--review-paper); color: var(--review-blue); }
#tab-review .bbe-reviews-button-secondary:hover { background: var(--review-wash); color: var(--review-blue); }
#tab-review .bbe-reviews-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#tab-review .bbe-reviews-summary { display: grid; grid-template-columns: 150px 240px minmax(0,1fr); align-items: center; gap: 32px; padding: 28px; background: var(--review-wash); border-radius: 12px; }
#content #tab-review .bbe-reviews-summary h3 { font-size: 14px; line-height: 1.5; color: var(--review-ink); font-weight: 600; margin: 0 0 10px; padding: 0; border: 0; background: none; }
#tab-review .bbe-reviews-score-number { display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px; }
#tab-review .bbe-reviews-score-number strong { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--review-ink); }
#tab-review .bbe-reviews-score-number > span { font-size: 16px; color: var(--review-muted); }
#tab-review .bbe-reviews-summary p { color: var(--review-muted); font-size: 13px; line-height: 1.5; padding: 0; margin: 10px 0 0; }
#tab-review .bbe-review-stars { display: inline-flex; align-items: center; gap: 3px; height: 20px; vertical-align: middle; }
#tab-review .bbe-review-star { width: 18px; height: 18px; display: inline-flex; position: relative; color: var(--review-muted); }
#tab-review .bbe-review-star svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
#tab-review .bbe-review-star-fill { display: block; position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--review-star); }
#tab-review .bbe-review-star-fill svg { width: 18px; height: 18px; max-width: none; fill: currentColor; }
#tab-review .bbe-reviews-distribution { display: grid; gap: 10px; }
#tab-review .bbe-reviews-distribution-row { display: grid; grid-template-columns: 30px minmax(0,1fr) 26px; gap: 10px; align-items: center; font-size: 13px; line-height: 1; }
#tab-review .bbe-reviews-distribution-row > span:first-child { display: flex; align-items: center; gap: 4px; }
#tab-review .bbe-reviews-small-star { display: inline-flex; width: 12px; height: 12px; }
#tab-review .bbe-reviews-small-star svg { width: 100%; height: 100%; fill: var(--review-muted); }
#tab-review .bbe-reviews-bar { height: 6px; background: #dce2ed; border-radius: 3px; overflow: hidden; }
#tab-review .bbe-reviews-bar > span { display: block; height: 100%; background: var(--review-blue); border-radius: inherit; }
#tab-review .bbe-reviews-distribution-count { color: var(--review-muted); text-align: right; font-variant-numeric: tabular-nums; }
#tab-review .bbe-reviews-gallery { min-width: 0; align-self: start; }
#tab-review .bbe-reviews-gallery-images { display: flex; gap: 8px; flex-wrap: wrap; }
#tab-review a.bbe-review-photo { display: block; position: relative; top: auto; overflow: hidden; border-radius: 6px; background: #e3e7ee; text-decoration: none; }
#tab-review a.bbe-review-photo::after { content: ''; position: absolute; inset: 0; background: var(--review-blue); opacity: 0; pointer-events: none; transition: opacity .18s; }
#tab-review a.bbe-review-photo:hover::after { opacity: .12; }
#tab-review .bbe-review-photo img { display: block; object-fit: cover; width: 112px; height: 112px; max-height: none; margin: 0; border: 0; }
#tab-review .bbe-reviews-gallery .bbe-review-photo img { width: 96px; height: 96px; }
#tab-review .bbe-reviews-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 28px; }
#tab-review .bbe-reviews-filters { display: flex; flex-wrap: wrap; gap: 8px; }
#tab-review .bbe-reviews-filter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--review-line); border-radius: 4px; background: var(--review-paper); color: var(--review-ink); font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; transition: background-color .18s; }
#tab-review .bbe-reviews-filter span { font-size: 12px; font-variant-numeric: tabular-nums; }
#tab-review .bbe-reviews-filter.is-active { background: var(--review-blue); border-color: var(--review-blue); color: var(--review-paper); }
#tab-review .bbe-reviews-filter:hover:not(.is-active) { background: var(--review-wash); }
#tab-review .bbe-reviews-sort { display: flex; align-items: center; gap: 10px; color: var(--review-muted); font-size: 13px; margin: 0; }
#tab-review .bbe-reviews-sort select { width: auto; max-width: 100%; min-height: 44px; font-family: inherit; font-size: 14px; color: var(--review-ink); padding: 8px 28px 8px 12px; border: 1px solid var(--review-line); border-radius: 4px; background-color: var(--review-paper); }
#tab-review .bbe-reviews-status { min-height: 22px; font-size: 13px; color: var(--review-muted); margin: 18px 0 0; line-height: 1.6; padding: 0; }
#tab-review .bbe-review-item { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--review-line); } /* taste-skill-ignore: separators identify individual review rows in the existing product UI. */
#content #tab-review .bbe-review-person h3 { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--review-ink); margin: 0 0 6px; padding: 0; border: 0; background: none; overflow-wrap: anywhere; }
#tab-review .bbe-review-person time { font-size: 13px; line-height: 1.5; color: var(--review-muted); font-variant-numeric: tabular-nums; }
#tab-review .bbe-review-content { min-width: 0; }
#tab-review .bbe-review-text { font-size: 16px; line-height: 1.75; color: var(--review-ink); max-width: 72ch; margin: 10px 0 0; padding: 0; overflow-wrap: anywhere; }
#tab-review .bbe-review-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
#tab-review .bbe-reviews-more { display: flex; justify-content: center; margin-top: 28px; }
#tab-review .bbe-reviews-empty, #tab-review .bbe-reviews-filter-empty { padding: 32px 0; font-size: 16px; line-height: 1.6; color: var(--review-muted); }
#tab-review .bbe-review-compose { margin-top: 36px; border: 1px solid var(--review-line); border-radius: 8px; padding: 0 24px; scroll-margin-top: 230px; }
#tab-review .bbe-review-compose > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; color: var(--review-ink); list-style: none; font-size: 18px; font-weight: 600; line-height: 1.5; }
#tab-review .bbe-review-compose > summary::-webkit-details-marker { display: none; }
#tab-review .bbe-review-compose > summary::after { content: '+'; font-size: 24px; font-weight: 400; }
#tab-review .bbe-review-compose[open] > summary::after { content: '−'; }
#tab-review #form-review { padding: 0 0 24px; margin: 0; }
#tab-review .bbe-review-form-hint { margin: 0 0 20px; color: var(--review-muted); font-size: 14px; line-height: 1.6; }
#tab-review #form-review .control-label { color: var(--review-ink); font-size: 14px; font-weight: 600; padding-top: 0; margin-bottom: 8px; }
#tab-review #form-review .form-control { font-size: 16px; font-family: inherit; line-height: 1.5; border: 1px solid var(--review-line); border-radius: 4px; background: var(--review-paper); color: var(--review-ink); box-shadow: none; padding: 12px; caret-color: var(--review-blue); } /* taste-skill-ignore: remove the inherited form input shadow. */
#tab-review #input-name { max-width: 440px; height: 46px; }
#tab-review #input-review { resize: vertical; min-height: 130px; }
#tab-review #dZUpload { border: 1px dashed #8c99af; border-radius: 6px; background: var(--review-wash); min-height: 100px; font-size: 14px; color: var(--review-muted); cursor: pointer; }
#tab-review #dZUpload .dz-message { margin: 16px 0; }
#tab-review .bbe-review-upload-hint { display: block; font-size: 12px; margin: 6px 0 0; color: var(--review-muted); line-height: 1.5; }
#tab-review .bbe-review-rating-options { display: flex; flex-wrap: wrap; gap: 8px; }
#tab-review .bbe-review-rating-option { position: relative; margin: 0; }
#tab-review .bbe-review-rating-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#tab-review .bbe-review-rating-option span { display: flex; align-items: center; gap: 6px; min-width: 62px; min-height: 44px; justify-content: center; padding: 10px; border: 1px solid var(--review-line); border-radius: 4px; color: var(--review-ink); font-size: 15px; cursor: pointer; }
#tab-review .bbe-review-rating-option svg { width: 16px; height: 16px; fill: var(--review-star); }
#tab-review .bbe-review-rating-option input:checked + span { border-color: var(--review-blue); background: var(--review-wash); outline: 1px solid var(--review-blue); outline-offset: -2px; }
#tab-review .bbe-review-rating-option input:focus-visible + span { outline: 2px solid var(--review-focus); outline-offset: 3px; }
#tab-review .bbe-review-compose .buttons { margin: 24px 0 0; padding: 0; border: 0; }
#tab-review .bbe-review-compose .buttons::after { content: ''; display: table; clear: both; }
#tab-review .bbe-review-login { font-size: 15px; padding-bottom: 24px; line-height: 1.6; }
#tab-review :is(.bbe-reviews, .bbe-reviews-header, .bbe-review-compose) :is(a,button,select,input,textarea,summary):focus-visible { outline: 2px solid var(--review-focus); outline-offset: 3px; }
#tab-review .bbe-reviews-button:disabled, #tab-review .bbe-reviews-filter:disabled, #tab-review select:disabled { cursor: wait; opacity: .65; }
#tab-review .bbe-reviews[aria-busy="true"] .bbe-reviews-status { color: var(--review-blue); }
#tab-review .bbe-reviews ::selection, #tab-review .bbe-review-compose ::selection { background: var(--review-blue); color: var(--review-paper); }
@media (max-width: 1200px) {
  #tab-review .bbe-reviews-summary { grid-template-columns: 150px minmax(0,1fr); gap: 24px; }
  #tab-review .bbe-reviews-gallery { grid-column: 1 / -1; }
  #tab-review .bbe-reviews-gallery .bbe-review-photo img { width: 80px; height: 80px; }
}
@media (max-width: 760px) {
  #tab-review.bbe-reviews-tab { padding: 24px 16px; scroll-margin-top: 116px; }
  #tab-review .bbe-reviews-header { gap: 12px; margin-bottom: 20px; }
  #content #tab-review .bbe-reviews-heading { font-size: 23px; }
  #tab-review .bbe-reviews-header .bbe-reviews-button { padding: 10px 14px; }
  #tab-review .bbe-reviews-summary { padding: 20px 16px; grid-template-columns: 114px minmax(0,1fr); gap: 24px 16px; }
  #tab-review .bbe-reviews-score-number strong { font-size: 46px; }
  #tab-review .bbe-reviews-distribution-row { grid-template-columns: 26px minmax(0,1fr) 20px; gap: 6px; }
  #tab-review .bbe-reviews-gallery .bbe-review-photo img { width: 72px; height: 72px; }
  #tab-review .bbe-reviews-toolbar { margin-top: 22px; gap: 14px; }
  #tab-review .bbe-reviews-filter { padding: 10px 14px; }
  #tab-review .bbe-reviews-sort { margin-left: auto; }
  #tab-review .bbe-review-item { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 24px 0; }
  #tab-review .bbe-review-person { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  #content #tab-review .bbe-review-person h3 { margin: 0; }
  #tab-review .bbe-review-person time { white-space: nowrap; }
  #tab-review .bbe-review-images { gap: 8px; }
  #tab-review .bbe-review-images .bbe-review-photo img { width: 96px; height: 96px; }
  #tab-review .bbe-review-compose { padding: 0 16px; scroll-margin-top: 116px; }
  #tab-review .bbe-review-compose > summary { font-size: 17px; padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  #tab-review .bbe-reviews *, #tab-review .bbe-reviews-button { transition: none; scroll-behavior: auto; }
}
#tab-review .bbe-review-photo-fallback { display: none; }
#tab-review a.bbe-review-photo.is-unavailable img { visibility: hidden; }
#tab-review .bbe-review-photo.is-unavailable .bbe-review-photo-fallback { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--review-blue); font-size: 12px; text-align: center; padding: 4px; }
#tab-review .bbe-review-photo-fallback svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#tab-review .bbe-review-rating-field { border: 0; padding: 0; min-width: 0; }
#tab-review .bbe-review-rating-field legend { float: left; width: 100%; border: 0; margin-bottom: 8px; }
#tab-review .bbe-reviews-retry { border: 0; padding: 8px; margin: -8px 0; min-height: 44px; background: none; color: var(--review-blue); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#tab-review .bbe-review-rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 360px; }
#tab-review .bbe-review-rating-option::before { content: none !important; }
#tab-review .bbe-review-rating-option span { min-width: 0; padding: 10px 6px; }
#tab-review .bbe-review-rating-field > legend::before { content: '*'; color: #ab2539; margin-right: 4px; }

/* Trust cards */
.product-info .product-options > .bbe-pdp-trust {
  --bbe-trust-ink: #171d41;
  --bbe-trust-muted: #394a6b;
  container-type: inline-size;
  clear: both;
  display: block;
  margin: 20px 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bbe-trust-ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  text-align: left;
}
.bbe-pdp-trust *, .bbe-pdp-trust *::before, .bbe-pdp-trust *::after { box-sizing: border-box; }
.bbe-pdp-trust .bbe-trust-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.bbe-pdp-trust .bbe-trust-title { min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--bbe-trust-ink); font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: 0; }
.bbe-pdp-trust .bbe-trust-more { flex-shrink: 0; color: #526286; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.bbe-pdp-trust .bbe-trust-more:hover { color: var(--bbe-trust-ink); }
.bbe-pdp-trust .bbe-trust-more:focus-visible { outline: 2px solid #364a92; outline-offset: 4px; border-radius: 2px; }
.bbe-pdp-trust .bbe-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 16px 0 0; list-style: none; }
.bbe-pdp-trust .bbe-trust-item { display: flex; min-width: 0; margin: 0; padding: 0; border: 0; list-style: none; }
.bbe-pdp-trust .bbe-trust-card { position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; min-height: 91px; margin: 0; padding: 34px 6px 12px; border: 0; border-radius: 14px; background: #eaf2fc; color: var(--bbe-trust-ink); list-style: none; text-align: center; }
.bbe-pdp-trust a.bbe-trust-card { width: 100%; text-decoration: none; cursor: pointer; }
.bbe-pdp-trust a.bbe-trust-card:hover { background: #e0ecfc; }
.bbe-pdp-trust a.bbe-trust-card:focus-visible { outline: 2px solid #364a92; outline-offset: 4px; }
.bbe-pdp-trust a.bbe-trust-card .bbe-trust-icon { pointer-events: auto; }
.bbe-pdp-trust .bbe-trust-icon { position: absolute; top: -16px; left: 50%; display: block; width: 49px; height: 49px; padding: 8px; border: 1px solid #cbdbee; border-radius: 50%; background: #fff; transform: translateX(-50%); pointer-events: none; }
.bbe-pdp-trust .bbe-trust-icon svg { display: block; width: 100%; height: 100%; color: #5378a7; pointer-events: none; }
.bbe-pdp-trust .bbe-trust-icon [opacity] { opacity: .4; }
.bbe-pdp-trust .bbe-trust-copy { display: block; min-width: 0; margin: 0; color: var(--bbe-trust-ink); font-size: 12px; font-weight: 700; line-height: 1.55; }
.bbe-pdp-trust .bbe-trust-copy span { display: block; overflow-wrap: break-word; }
.bbe-pdp-trust .bbe-trust-copy span + span { margin-top: 3px; color: var(--bbe-trust-muted); font-size: 11px; font-weight: 500; }
.bbe-pdp-trust ::selection { background: #171d41; color: #fff; }
@container (min-width: 500px) {
  .bbe-pdp-trust .bbe-trust-card { min-height: 96px; }
  .bbe-pdp-trust .bbe-trust-copy { font-size: 14px; }
  .bbe-pdp-trust .bbe-trust-copy span + span { font-size: 12px; }
}
@container (max-width: 340px) {
  .bbe-pdp-trust .bbe-trust-grid { gap: 6px; }
  .bbe-pdp-trust .bbe-trust-heading-row { gap: 8px; }
  .bbe-pdp-trust .bbe-trust-copy { font-size: 11px; }
  .bbe-pdp-trust .bbe-trust-copy span + span { font-size: 10.5px; }
}

/* Payment methods and pricing */
.product-info .bbe-pdp-payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 7px;
  margin: 0 0 8px;
  color: #656770;
  font-size: 12px;
  line-height: 1.4;
}

.product-info .right .product-options > .price:has(+ .bbe-pdp-payment-methods) {
  display: block;
  margin-bottom: 0;
}

.product-info .right .product-options > .bbe-pdp-payment-methods {
  padding: 0;
  border: 0;
  overflow: visible;
}

.product-info .bbe-pdp-payment-primary {
  white-space: nowrap;
}

.product-info .bbe-pdp-payment-more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.product-info .bbe-pdp-payment-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.product-info .bbe-pdp-payment-toggle:hover,
.product-info .bbe-pdp-payment-toggle[aria-expanded="true"] {
  color: #182750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-info .bbe-pdp-payment-toggle:focus-visible {
  outline: 2px solid #285fc4;
  outline-offset: 3px;
}

.product-info .bbe-pdp-payment-toggle svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-info .bbe-pdp-payment-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.product-info .bbe-pdp-payment-price {
  flex: 0 0 auto;
  color: #202226;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Compare the two public prices on shared label, amount and detail rows. */
.product-info .right .product-options > .bbe-pdp-pricing {
  --bbe-pdp-amount-row-height: 36px;
  --bbe-pdp-card-price-line-height: 24px;
  display: grid;
  grid-template-columns: max-content minmax(0, max-content);
  grid-template-rows: auto var(--bbe-pdp-amount-row-height) auto;
  width: max-content;
  max-width: 100%;
  gap: 0 50px;
  margin: 12px 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.product-info .right .bbe-pdp-pricing > .price,
.product-info .right .bbe-pdp-pricing > .bbe-pdp-payment-methods {
  display: grid;
  grid-row: 1 / span 3;
  grid-template-rows: subgrid;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}

.product-info .right .bbe-pdp-pricing > .price {
  /* Journal's generated price rule uses !important. */
  display: grid !important;
  grid-column: 1;
}

.product-info .right .bbe-pdp-pricing > .bbe-pdp-payment-methods {
  grid-column: 2;
}

.product-info .bbe-pdp-pricing .bbe-pdp-price-label,
.product-info .bbe-pdp-pricing .bbe-pdp-payment-primary {
  grid-row: 1;
  align-self: start;
  margin: 0;
  padding: 0;
  color: #414650;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-info .bbe-pdp-pricing .bbe-pdp-price-label {
  color: #856414;
  font-weight: 600;
}

.product-info .bbe-pdp-pricing .bbe-pdp-payment-primary {
  color: #656770;
}

.product-info .right .bbe-pdp-pricing .price-new,
.product-info .right .bbe-pdp-pricing .product-price,
.product-info .bbe-pdp-pricing .bbe-pdp-payment-price {
  grid-row: 2;
  position: static;
  float: none;
  margin: 0;
  padding: 0;
  color: #202226;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.product-info .right .bbe-pdp-pricing .price-new,
.product-info .right .bbe-pdp-pricing .product-price {
  /* Journal loads a relative-position/-5px offset after this stylesheet. */
  position: static !important;
  top: auto !important;
  float: none !important;
  padding: 0 !important;
  color: #856414 !important;
  font-size: 30px !important;
}

.product-info .bbe-pdp-pricing .bbe-pdp-payment-price {
  align-self: center;
  color: #656770;
  font-size: 18px;
  font-weight: 500;
  line-height: var(--bbe-pdp-card-price-line-height);
}

/* When the offer expires, the remaining items return to the shared price rows. */
.product-info .bbe-pdp-card-price-stack {
  display: contents;
}

/* Keep the prices centered on the same row and use its spare space below the card price. */
.product-info .bbe-pdp-card-price-stack:has(> .bbe-pdp-pay50-offer) {
  grid-row: 2 / span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-top: calc((var(--bbe-pdp-amount-row-height) - var(--bbe-pdp-card-price-line-height)) / 2);
}

.product-info .bbe-pdp-card-price-stack:has(> .bbe-pdp-pay50-offer) > .bbe-pdp-payment-price {
  align-self: flex-start;
}

.product-info .bbe-pdp-pay50-offer {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.product-info .bbe-pdp-pay50-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 24px;
  padding: 2px 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #856414;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.product-info .bbe-pdp-pay50-toggle svg {
  flex: 0 0 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.product-info .bbe-pdp-pay50-toggle:hover span,
.product-info .bbe-pdp-pay50-toggle[aria-expanded="true"] span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-info .bbe-pdp-pay50-toggle:focus-visible {
  outline: 2px solid #182750;
  outline-offset: 4px;
}

/* Portalled to body, like the existing additional-payment-methods panel. */
.bbe-pdp-pay50-popover {
  position: fixed;
  z-index: 1200;
  box-sizing: border-box;
  width: 340px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 14px 16px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 24px rgba(24, 39, 80, .18);
  color: #202226;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.bbe-pdp-pay50-popover[hidden] {
  display: none !important;
}

.bbe-pdp-pay50-popover p {
  padding: 0;
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 22px;
}

.bbe-pdp-pay50-popover strong {
  color: #182750;
  font-weight: 700;
}

.bbe-pdp-pay50-popover .bbe-pdp-pay50-terms {
  font-size: 11px;
  line-height: 18px;
}

.product-info .bbe-pdp-pricing .bbe-pdp-price-details {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: center;
  gap: 4px 8px;
  padding: 2px 0 0;
  color: #656770;
  font-size: 13px;
  line-height: 20px;
}

.product-info .right .bbe-pdp-pricing .price-old {
  position: static;
  float: none;
  margin: 0;
  padding: 0;
  background: none;
  color: #70727a !important;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.product-info .bbe-pdp-pricing .bbe-pdp-payment-more {
  grid-row: 3;
  align-self: start;
  justify-self: start;
}

.product-info .bbe-pdp-pricing .bbe-pdp-payment-toggle {
  min-height: 28px;
  font-size: 11px;
  line-height: 18px;
}

.product-info .bbe-pdp-card-price-stack:has(> .bbe-pdp-pay50-offer) .bbe-pdp-payment-toggle {
  min-height: 24px;
}

/* Enquiry-only products keep their reference price and WhatsApp action. */
.product-info .right .product-options > .bbe-pdp-pricing--enquiry {
  display: block;
}

.product-info .right .bbe-pdp-pricing--enquiry > .price {
  display: block !important;
}

.product-info .bbe-pdp-pricing--enquiry .bbe-pdp-enquiry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.product-info .right .bbe-pdp-quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #24664f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  text-decoration: none;
}

.product-info .bbe-pdp-quote-link .fa-whatsapp {
  flex: 0 0 18px;
  font-size: 18px;
  line-height: 1;
}

.product-info .bbe-pdp-quote-label {
  min-width: 0;
  text-decoration: underline;
  text-decoration-color: #9bbbad;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.product-info .bbe-pdp-quote-arrow {
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-info .right .bbe-pdp-quote-link:hover {
  background: transparent;
  color: #154d39;
}

.product-info .bbe-pdp-quote-link:hover .bbe-pdp-quote-label {
  text-decoration-color: currentColor;
}

.product-info .right .bbe-pdp-quote-link:focus-visible {
  outline: 2px solid #24664f;
  outline-offset: 3px;
}

.product-info .bbe-pdp-pricing > .bbe-pdp-quote-link {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: start;
  width: auto;
  margin-top: 0;
}

.product-info .right .product-options > .bbe-pdp-pricing--inline-quote {
  --bbe-pdp-amount-row-height: 44px;
  grid-template-columns: max-content max-content minmax(0, max-content);
  grid-template-rows: auto minmax(var(--bbe-pdp-amount-row-height), auto) auto;
  column-gap: 20px;
}

.product-info .right .bbe-pdp-pricing--inline-quote .price-new {
  align-self: center;
}

.product-info .right .bbe-pdp-pricing--inline-quote > .bbe-pdp-quote-link {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  min-height: 44px;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
}

.product-info .bbe-pdp-pricing--inline-quote .fa-whatsapp {
  flex-basis: 22px;
  font-size: 22px;
}

@media (pointer: coarse) {
  .product-info .right .bbe-pdp-quote-link {
    min-height: 44px;
  }
}

/* Non-FPS products use the generic offer label and a single price column. */
.product-info .right .product-options > .bbe-pdp-pricing--single {
  display: block;
}

.product-info .right .bbe-pdp-pricing--single > .price {
  grid-template-rows: auto 36px auto;
  row-gap: 0;
}

/* Portalled to body by the script so Journal containers cannot clip it. */
.bbe-pdp-payment-popover {
  position: fixed;
  z-index: 1200;
  box-sizing: border-box;
  width: 210px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  margin: 0;
  padding: 12px 16px;
  overflow-y: auto;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  color: #202226;
  font-family: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  white-space: normal;
}

.bbe-pdp-payment-popover[hidden] {
  display: none !important;
}

.bbe-pdp-payment-popover .bbe-pdp-payment-method {
  display: block;
  margin: 0;
  padding: 6px 0;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .product-info .right .product-options > .bbe-pdp-pricing {
    column-gap: 40px;
  }

  .product-info .bbe-pdp-payment-methods {
    gap: 0 5px;
    font-size: 12px;
  }

  .product-info .bbe-pdp-payment-toggle {
    gap: 2px;
    font-size: 12px;
  }

  .product-info .bbe-pdp-payment-price {
    font-size: 18px;
  }

  .product-info .right .product-options > .bbe-pdp-pricing--inline-quote {
    column-gap: 20px;
  }

  .product-info .bbe-pdp-pricing--inline-quote .bbe-pdp-price-label {
    max-width: 100px;
    font-size: 11px;
  }

  .product-info .bbe-pdp-pricing--inline-quote .bbe-pdp-payment-primary {
    max-width: 78px;
    font-size: 11px;
  }

  .product-info .right .bbe-pdp-pricing--inline-quote > .bbe-pdp-quote-link {
    gap: 5px;
    font-size: 14px;
  }

  .product-info .bbe-pdp-pricing--inline-quote .fa-whatsapp {
    flex-basis: 20px;
    font-size: 20px;
  }

  .product-info .bbe-pdp-pricing--inline-quote .bbe-pdp-quote-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .product-info .right .product-options > .bbe-pdp-pricing--inline-quote:has(.bbe-pdp-pay50-offer) {
    grid-template-columns: max-content minmax(0, max-content);
  }

  .product-info .right .bbe-pdp-pricing--inline-quote:has(.bbe-pdp-pay50-offer) > .bbe-pdp-quote-link {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 4px;
  }
}

@media (max-width: 480px) {
  .product-info .right .product-options > .bbe-pdp-pricing:has(.bbe-pdp-pay50-offer) {
    column-gap: 20px;
  }

  .product-info .bbe-pdp-pricing:has(.bbe-pdp-pay50-offer) .bbe-pdp-price-label {
    max-width: 110px;
  }
}

/* BBE instant coupon ticket */
#product > .bbe-pdp-instant-coupon {
  --bbe-coupon-border: #d4dbe1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--bbe-coupon-border);
  border-radius: 10px;
  background: #f3f5f6;
  color: #263444;
  overflow: visible;
}

.bbe-pdp-instant-coupon-copy {
  min-width: 0;
  padding: 10px 14px;
}

.bbe-pdp-instant-coupon-label,
.bbe-pdp-instant-coupon-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.bbe-pdp-instant-coupon svg { flex: none; }

.bbe-pdp-instant-coupon .bbe-pdp-instant-coupon-savings {
  margin: 2px 0 3px;
  color: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.bbe-pdp-instant-coupon-savings strong {
  color: #715013;
  font-size: 26px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.bbe-pdp-instant-coupon-remark {
  margin: 4px 0 0;
  color: #565e67;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.bbe-pdp-instant-coupon-status {
  position: relative;
  justify-content: center;
  padding: 0 14px;
  border-inline-start: 1px dashed var(--bbe-coupon-border);
  color: #285943;
  white-space: nowrap;
}

.bbe-pdp-instant-coupon-status::before,
.bbe-pdp-instant-coupon-status::after {
  position: absolute;
  inset-inline-start: -7px;
  width: 12px;
  height: 6px;
  background: #fff;
  border: 1px solid var(--bbe-coupon-border);
  content: "";
}

.bbe-pdp-instant-coupon-status::before {
  top: -1px;
  border-top: 0;
  border-radius: 0 0 7px 7px;
}

.bbe-pdp-instant-coupon-status::after {
  bottom: -1px;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

@media (min-width: 1024px) {
  .journal-desktop #product > .bbe-pdp-instant-coupon { width: 50%; }

  .journal-desktop[lang|="en"] #product > .bbe-pdp-instant-coupon {
    width: fit-content;
    min-width: 50%;
    max-width: 100%;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .journal-desktop .bbe-pdp-instant-coupon-copy,
  .journal-desktop .bbe-pdp-instant-coupon-status { padding-inline: 10px; }
}

@media (max-width: 480px) {
  .bbe-pdp-instant-coupon-copy { padding-inline: 11px; }
  .bbe-pdp-instant-coupon-status { padding-inline: 9px; }
  .bbe-pdp-instant-coupon .bbe-pdp-instant-coupon-savings { font-size: 15px; }
  .bbe-pdp-instant-coupon-savings strong { font-size: 23px; }
}

/* Popular comparisons */
#popular-comparisons-tab[hidden], #tab-popular-comparisons[hidden] { display: none !important; }
#tab-popular-comparisons .popular-comparisons-list { margin: 0; padding: 0; list-style: none; }
#tab-popular-comparisons .popular-comparisons-list li + li { border-top: 1px solid #ddd; }
#tab-popular-comparisons .popular-comparison { display: flex; align-items: center; gap: 20px; padding: 20px 8px; color: #222; text-decoration: none; }
#tab-popular-comparisons .popular-comparison:hover { background: #f5f5f5; }
#tab-popular-comparisons .popular-comparison:focus-visible { outline: 2px solid #175b2b; outline-offset: -2px; }
#tab-popular-comparisons .popular-comparison img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
#tab-popular-comparisons .popular-comparison-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; overflow-wrap: anywhere; }
#tab-popular-comparisons .popular-comparison-copy strong { font-size: 17px; line-height: 1.5; }
#tab-popular-comparisons .popular-comparison-copy > span { font-size: 14px; color: #555; line-height: 1.6; }
#tab-popular-comparisons .popular-comparison-action { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: #175b2b; font-size: 14px; font-weight: 700; }
@media (max-width: 600px) {
  #tab-popular-comparisons .popular-comparison { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  #tab-popular-comparisons .popular-comparison img { width: 56px; height: 56px; }
  #tab-popular-comparisons .popular-comparison-copy strong { font-size: 15px; }
  #tab-popular-comparisons .popular-comparison-action { grid-column: 2; }
}
