/**
 * BRUX Single Product PDP Prototype
 * Scoped to body.brux-pdp-proto
 */

body.brux-pdp-proto {
  --bpdp-cream: #f7f3ee;
  --bpdp-ink: #141414;
  --bpdp-muted: #5c5c5c;
  --bpdp-muted-2: #7a7a7a;
  --bpdp-line: #ddd6cc;
  --bpdp-line-soft: #ebe5dc;
  --bpdp-font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --bpdp-max: 1520px;
  --bpdp-pad: clamp(1.5rem, 3.5vw, 3.75rem);
  --bpdp-gap: clamp(2.5rem, 4vw, 4rem);
  --bpdp-save: #e8b84a;

  font-family: var(--bpdp-font);
  background: var(--bpdp-cream);
  color: var(--bpdp-ink);
  -webkit-font-smoothing: antialiased;
}

body.brux-pdp-proto #main,
body.brux-pdp-proto #wrapper,
body.brux-pdp-proto .page-wrapper,
body.brux-pdp-proto .product-container,
body.brux-pdp-proto .product-main,
body.brux-pdp-proto .product-footer,
body.brux-pdp-proto .sticky-add-to-cart--active {
  background: var(--bpdp-cream) !important;
}

/* Header (aligned with home/PLP) */
body.brux-pdp-proto .header-top {
  background: #141414 !important;
  min-height: 34px;
}
body.brux-pdp-proto .header-top,
body.brux-pdp-proto .header-top a {
  color: #fff !important;
  font-family: var(--bpdp-font);
  font-size: 12px;
  font-weight: 500;
}
body.brux-pdp-proto .header-wrapper,
body.brux-pdp-proto .header-main,
body.brux-pdp-proto .header-bg-color {
  background: var(--bpdp-cream) !important;
}
body.brux-pdp-proto .header-main {
  border-bottom: 1px solid var(--bpdp-line);
}
body.brux-pdp-proto #logo {
  width: 132px !important;
  position: relative;
  margin-right: 1.25rem;
  padding-right: 1.25rem;
}
body.brux-pdp-proto #logo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 36px;
  background: #d6d0c8;
  transform: translateY(-50%);
}
body.brux-pdp-proto .header-main .nav > li > a {
  font-family: var(--bpdp-font) !important;
  font-weight: 500 !important;
  font-size: 0.8125rem !important;
  text-transform: none !important;
  color: var(--bpdp-ink) !important;
}
body.brux-pdp-proto .nav-divided > li + li > a:before,
body.brux-pdp-proto .nav > li + li > a:before {
  display: none !important;
  content: none !important;
}

body.brux-pdp-proto h1,
body.brux-pdp-proto h2,
body.brux-pdp-proto h3,
body.brux-pdp-proto .heading-font,
body.brux-pdp-proto .product-title {
  font-family: var(--bpdp-font) !important;
}

/* ------------------------------------------------------------------ */
/* Main two-column layout                                              */
/* ------------------------------------------------------------------ */
body.brux-pdp-proto .product-main {
  max-width: var(--bpdp-max);
  margin: 0 auto;
  padding: 2.25rem var(--bpdp-pad) 1rem;
}
body.brux-pdp-proto .product-main .content-row {
  display: grid !important;
  grid-template-columns: 1.08fr 1fr;
  column-gap: var(--bpdp-gap);
  align-items: start;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
body.brux-pdp-proto .product-main .content-row::before,
body.brux-pdp-proto .product-main .content-row::after {
  display: none !important;
}
body.brux-pdp-proto .product-gallery,
body.brux-pdp-proto .product-info,
body.brux-pdp-proto .product-summary {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
body.brux-pdp-proto .product-info,
body.brux-pdp-proto .product-summary,
body.brux-pdp-proto .product-info * {
  text-align: left !important;
}

/* ------------------------------------------------------------------ */
/* Gallery                                                             */
/* ------------------------------------------------------------------ */
body.brux-pdp-proto .product-gallery .row {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  margin: 0 !important;
  width: 100% !important;
}
body.brux-pdp-proto .product-gallery .row > .col.large-10 {
  width: auto !important;
  max-width: none !important;
  grid-column: 2;
  padding: 0 !important;
  order: 2;
}
body.brux-pdp-proto .product-gallery .vertical-thumbnails,
body.brux-pdp-proto .product-gallery .row > .col.large-2 {
  width: auto !important;
  max-width: none !important;
  grid-column: 1;
  grid-row: 1;
  padding: 0 !important;
  order: 1;
}
body.brux-pdp-proto .product-gallery .woocommerce-product-gallery,
body.brux-pdp-proto .product-gallery .product-images {
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent;
}
body.brux-pdp-proto .product-gallery img {
  border-radius: 0 !important;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
body.brux-pdp-proto .product-gallery .product-thumbnails .col,
body.brux-pdp-proto .product-gallery .product-thumbnails .flickity-slider > .col {
  padding: 0 !important;
  margin: 0 0 0.5rem !important;
}
body.brux-pdp-proto .product-gallery .product-thumbnails {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem;
  margin: 0 !important;
}
body.brux-pdp-proto .product-gallery .product-thumbnails a,
body.brux-pdp-proto .product-gallery .product-thumbnails img {
  border: 1px solid transparent;
  border-radius: 0 !important;
  display: block;
}
body.brux-pdp-proto .product-gallery .product-thumbnails .is-nav-selected a,
body.brux-pdp-proto .product-gallery .product-thumbnails .is-selected a,
body.brux-pdp-proto .product-gallery .product-thumbnails .is-nav-selected img,
body.brux-pdp-proto .product-gallery .product-thumbnails .is-selected img {
  border-color: var(--bpdp-ink) !important;
}
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .vertical-thumbnails,
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .row {
  grid-template-columns: 1fr;
}
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .vertical-thumbnails,
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .col.large-2 {
  display: none !important;
}
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .row > .col.large-10 {
  grid-column: 1;
}
body.brux-pdp-proto .product-gallery .image-tools,
body.brux-pdp-proto .product-gallery .badge-container {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Product info                                                        */
/* ------------------------------------------------------------------ */
.bpdp-breadcrumbs {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--bpdp-muted-2);
}
.bpdp-breadcrumbs a {
  color: var(--bpdp-muted) !important;
  text-decoration: none !important;
}
.bpdp-crumb-sep {
  margin: 0 0.4rem;
  opacity: 0.6;
}
.bpdp-crumb-current {
  color: var(--bpdp-ink);
}

body.brux-pdp-proto .product-info .product-title,
body.brux-pdp-proto .product_title {
  margin: 0 0 0.85rem !important;
  font-size: clamp(1.85rem, 1.4rem + 1.2vw, 2.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
  color: var(--bpdp-ink) !important;
  text-transform: none !important;
}

body.brux-pdp-proto .product-info .price-wrapper,
body.brux-pdp-proto .product-info > .price,
body.brux-pdp-proto .product-info .price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem !important;
}
body.brux-pdp-proto .product-info .price {
  font-size: 1.65rem !important;
  font-weight: 600 !important;
  color: var(--bpdp-ink) !important;
  line-height: 1.2;
}
body.brux-pdp-proto .product-info .mcmp_recalc_price_row,
body.brux-pdp-proto .product-info .brux-variation-unit-price {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--bpdp-muted) !important;
}

body.brux-pdp-proto .product-short-description {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--bpdp-ink-soft, #2a2a2a);
}
body.brux-pdp-proto .product-short-description p {
  margin: 0 0 0.55rem;
}
body.brux-pdp-proto .product-short-description strong {
  font-weight: 600;
}

/* Hide default Woo variation labels table chrome; keep structure working */
body.brux-pdp-proto table.variations {
  width: 100%;
  margin: 0 0 1.25rem;
  border: 0;
}
body.brux-pdp-proto table.variations th.label {
  display: none;
}
body.brux-pdp-proto table.variations td.value {
  padding: 0;
  border: 0;
  position: relative;
}
body.brux-pdp-proto a.reset_variations {
  display: none !important;
}
body.brux-pdp-proto table.variations select {
  /* Native select remains for progressive enhancement; buttons overlay UX */
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}
.bpdp-pack-label {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bpdp-ink);
}

/* Segmented pack control */
body.brux-pdp-proto .brux-variation-buttons,
body.brux-pdp-proto .bpdp-seg {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0 !important;
  width: 100%;
  margin: 0 0 1.35rem !important;
  border: 1px solid var(--bpdp-line);
  background: transparent;
}
body.brux-pdp-proto .brux-variation-button {
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0.65rem 0.5rem !important;
  border: 0 !important;
  border-right: 1px solid var(--bpdp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bpdp-ink) !important;
  font-family: var(--bpdp-font) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}
body.brux-pdp-proto .brux-variation-button:last-child {
  border-right: 0 !important;
}
body.brux-pdp-proto .brux-variation-button.is-selected,
body.brux-pdp-proto .brux-variation-button[aria-checked="true"] {
  background: var(--bpdp-ink) !important;
  color: #fff !important;
}
body.brux-pdp-proto .brux-variation-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/* WCSATT purchase type rows                                           */
/* ------------------------------------------------------------------ */
body.brux-pdp-proto .wcsatt-options-wrapper,
body.brux-pdp-proto .bpdp-purchase-type {
  margin: 0 0 1.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.brux-pdp-proto .wcsatt-options-product-prompt,
body.brux-pdp-proto .wcsatt-options-prompt-radios {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
body.brux-pdp-proto .wcsatt-options-prompt-radio,
body.brux-pdp-proto .bpdp-purchase-type__row {
  margin: 0 !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid var(--bpdp-line) !important;
  background: transparent;
  cursor: pointer;
}
body.brux-pdp-proto .wcsatt-options-prompt-radio.is-selected {
  border-color: var(--bpdp-ink) !important;
  background: rgba(20, 20, 20, 0.03);
}
body.brux-pdp-proto .wcsatt-options-prompt-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 !important;
  cursor: pointer;
}
body.brux-pdp-proto .wcsatt-options-prompt-action-input {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex: 0 0 1.05rem;
  border: 1px solid var(--bpdp-ink);
  border-radius: 0;
  background: #fff;
  accent-color: var(--bpdp-ink);
}
body.brux-pdp-proto .wcsatt-options-prompt-action-input:checked {
  background: var(--bpdp-ink);
  box-shadow: inset 0 0 0 2px #fff;
}
body.brux-pdp-proto .wcsatt-options-prompt-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bpdp-ink);
}
.bpdp-purchase-type__title {
  font-weight: 600;
}
.bpdp-purchase-type__hint {
  flex-basis: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--bpdp-muted);
}
.bpdp-save-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  background: var(--bpdp-save);
  color: var(--bpdp-ink);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0;
}
body.brux-pdp-proto .wcsatt-options-product-dropdown,
body.brux-pdp-proto .wcsatt-options-product-wrapper {
  margin-top: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Qty + ATC                                                           */
/* ------------------------------------------------------------------ */
body.brux-pdp-proto form.cart .woocommerce-variation-add-to-cart,
body.brux-pdp-proto form.cart .quantity + .single_add_to_cart_button,
body.brux-pdp-proto .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
}
body.brux-pdp-proto form.cart .quantity,
body.brux-pdp-proto form.cart .ux-quantity {
  display: inline-flex !important;
  align-items: stretch !important;
  justify-content: center;
  margin: 0 !important;
  border: 1px solid var(--bpdp-ink);
  background: transparent;
  min-width: 7.5rem;
  height: 54px !important;
  box-sizing: border-box !important;
}
body.brux-pdp-proto form.cart .quantity .ux-quantity__button,
body.brux-pdp-proto form.cart .quantity .plus,
body.brux-pdp-proto form.cart .quantity .minus,
body.brux-pdp-proto form.cart .quantity .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important;
  min-width: 2.5rem !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bpdp-ink) !important;
  box-shadow: none !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
}
body.brux-pdp-proto form.cart .quantity .qty {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.75rem !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid var(--bpdp-line) !important;
  border-right: 1px solid var(--bpdp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center;
  font-family: var(--bpdp-font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bpdp-ink);
  box-shadow: none !important;
  -moz-appearance: textfield;
}
body.brux-pdp-proto form.cart .quantity .qty::-webkit-outer-spin-button,
body.brux-pdp-proto form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body.brux-pdp-proto .single_add_to_cart_button,
body.brux-pdp-proto button.single_add_to_cart_button.button.alt {
  flex: 1 1 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 1.25em !important;
  border-radius: 0 !important;
  border: 1px solid var(--bpdp-ink) !important;
  background: var(--bpdp-ink) !important;
  color: #fff !important;
  font-family: var(--bpdp-font) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  transform: none !important;
}
body.brux-pdp-proto .single_add_to_cart_button:hover {
  background: #000 !important;
  color: #fff !important;
}
.bpdp-atc-arrow {
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.9;
}

/* ------------------------------------------------------------------ */
/* Trust strip                                                         */
/* ------------------------------------------------------------------ */
.bpdp-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--bpdp-line-soft);
}
.bpdp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0 0.85rem;
  border-right: 1px solid var(--bpdp-line-soft);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--bpdp-muted);
}
.bpdp-trust__item:first-child {
  padding-left: 0;
}
.bpdp-trust__item:last-child {
  border-right: 0;
  padding-right: 0;
}
.bpdp-trust__item a {
  color: inherit !important;
  text-decoration: none !important;
}
.bpdp-trust__icon {
  width: 22px;
  height: 22px;
  background: currentColor;
  opacity: 0.85;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.bpdp-trust__item--truck .bpdp-trust__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 7h11v10H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='1.6'/%3E%3Ccircle cx='18' cy='18' r='1.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 7h11v10H3zM14 10h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='18' r='1.6'/%3E%3Ccircle cx='18' cy='18' r='1.6'/%3E%3C/svg%3E");
}
.bpdp-trust__item--card .bpdp-trust__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='6' width='18' height='12'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='6' width='18' height='12'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.bpdp-trust__item--refresh .bpdp-trust__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5M20 12a8 8 0 0 1-14 5'/%3E%3Cpath d='M18 3v4h-4M6 21v-4h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5M20 12a8 8 0 0 1-14 5'/%3E%3Cpath d='M18 3v4h-4M6 21v-4h4'/%3E%3C/svg%3E");
}
.bpdp-trust__item--leaf .bpdp-trust__icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 19c8 0 14-6 14-14-8 0-14 6-14 14z'/%3E%3Cpath d='M5 19c3-3 6-6 9-9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 19c8 0 14-6 14-14-8 0-14 6-14 14z'/%3E%3Cpath d='M5 19c3-3 6-6 9-9'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Tabs                                                                */
/* ------------------------------------------------------------------ */
body.brux-pdp-proto .product-footer {
  padding: 2.5rem 0 3.5rem;
}
body.brux-pdp-proto .product-footer > .container {
  max-width: var(--bpdp-max);
  padding-left: var(--bpdp-pad);
  padding-right: var(--bpdp-pad);
}
body.brux-pdp-proto .woocommerce-tabs {
  margin: 0 0 3rem;
  padding: 0;
  background: transparent;
  border: 0;
}
body.brux-pdp-proto .woocommerce-tabs ul.tabs,
body.brux-pdp-proto .woocommerce-tabs .wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  margin: 0 0 1.75rem !important;
  padding: 0 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--bpdp-line) !important;
  list-style: none;
}
body.brux-pdp-proto .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.brux-pdp-proto .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.85rem 0 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px;
  font-family: var(--bpdp-font) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--bpdp-muted) !important;
  background: transparent !important;
}
body.brux-pdp-proto .woocommerce-tabs ul.tabs li.active a,
body.brux-pdp-proto .woocommerce-tabs ul.tabs li a[aria-selected="true"] {
  color: var(--bpdp-ink) !important;
  border-bottom-color: var(--bpdp-ink) !important;
}
body.brux-pdp-proto .woocommerce-Tabs-panel,
body.brux-pdp-proto .woocommerce-tabs .panel {
  padding: 0.5rem 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.bpdp-tab__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.bpdp-tab__heading {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.bpdp-tab__body {
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--bpdp-ink);
}
.bpdp-tab__body p {
  margin: 0 0 0.9rem;
}
.bpdp-recipe-title {
  margin: 1.25rem 0 0.4rem;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.bpdp-nutrition {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.bpdp-nutrition__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}
.bpdp-nutrition__table th,
.bpdp-nutrition__table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--bpdp-line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.bpdp-nutrition__table thead th {
  font-weight: 600;
  border-bottom-color: var(--bpdp-ink);
}
.bpdp-nutrition__table tbody th {
  font-weight: 500;
  color: var(--bpdp-ink);
}

/* ------------------------------------------------------------------ */
/* Related — reuse PLP card language                                   */
/* ------------------------------------------------------------------ */
.bpdp-related__head,
body.brux-pdp-proto .related.products > .bpdp-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.bpdp-related__title {
  margin: 0;
  font-size: 1.65rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}
.bpdp-related__all {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bpdp-ink) !important;
  text-decoration: none !important;
}
body.brux-pdp-proto .related.products .products,
body.brux-pdp-proto .related ul.products,
body.brux-pdp-proto .related .bpdp-related__grid,
body.brux-pdp-proto .related .row.bpdp-related__grid,
body.brux-pdp-proto .related .row.slider,
body.brux-pdp-proto .related .row.row-slider,
body.brux-pdp-proto .related .row.has-equal-box-heights {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem 1.25rem !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  transform: none !important;
  overflow: visible !important;
}
/* Kill Flickity before/after JS flatten — never absolute-stack cells. */
body.brux-pdp-proto .related .flickity-viewport,
body.brux-pdp-proto .related .flickity-slider {
  position: static !important;
  display: contents !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  overflow: visible !important;
}
body.brux-pdp-proto .related .flickity-enabled {
  overflow: visible !important;
}
body.brux-pdp-proto .related .flickity-button,
body.brux-pdp-proto .related .flickity-page-dots {
  display: none !important;
}
body.brux-pdp-proto .related .product-small,
body.brux-pdp-proto .related .product,
body.brux-pdp-proto .related .col {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
body.brux-pdp-proto .related .box,
body.brux-pdp-proto .related .col-inner {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
body.brux-pdp-proto .related .box-text,
body.brux-pdp-proto .related .box-text-products {
  text-align: left !important;
  padding: 0.75rem 0 0 !important;
  position: relative !important;
}
body.brux-pdp-proto .related .product-title a,
body.brux-pdp-proto .related .name.product-title a {
  font-family: var(--bpdp-font) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--bpdp-ink) !important;
  text-transform: none !important;
}
body.brux-pdp-proto .related .price {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--bpdp-ink) !important;
  text-align: left !important;
}
body.brux-pdp-proto .related .wcsatt-sub-options,
body.brux-pdp-proto .related .wcsatt-sub-discount,
body.brux-pdp-proto .related .mcmp_recalc_price_row {
  display: none !important;
}
body.brux-pdp-proto .related .has-equal-box-heights .box-image,
body.brux-pdp-proto .related .box-image {
  position: relative !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  margin: 0 !important;
  background: #ece7df;
}
body.brux-pdp-proto .related .box-image > a,
body.brux-pdp-proto .related .box-image .image-fade_in_back,
body.brux-pdp-proto .related .box-image .image,
body.brux-pdp-proto .related .box-image .image-cover {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  overflow: hidden !important;
}
body.brux-pdp-proto .related .box-image img,
body.brux-pdp-proto .related .box-image img.attachment-woocommerce_thumbnail,
body.brux-pdp-proto .related .box-image img.show-on-hover,
body.brux-pdp-proto .related .box-image img.absolute,
body.brux-pdp-proto .related .box-image img.fill,
body.brux-pdp-proto .related .box-image img.back-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
/* Prefer primary thumbnail; hide hover swap image to avoid stacking. */
body.brux-pdp-proto .related .box-image img.back-image,
body.brux-pdp-proto .related .box-image img.show-on-hover {
  display: none !important;
}
body.brux-pdp-proto .related .image-tools,
body.brux-pdp-proto .related .badge-container,
body.brux-pdp-proto .related .add-to-cart-button,
body.brux-pdp-proto .related .brux-loop-variations {
  display: none !important;
}

@media (max-width: 999px) {
  body.brux-pdp-proto .related .flickity-slider,
  body.brux-pdp-proto .related .bpdp-related__grid,
  body.brux-pdp-proto .related .row.slider,
  body.brux-pdp-proto .related .row.has-equal-box-heights {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Footer */
body.brux-pdp-proto .footer-wrapper {
  background: #5c5c5c !important;
}
body.brux-pdp-proto .footer-wrapper > .section {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}
body.brux-pdp-proto .footer-wrapper .row {
  max-width: var(--bpdp-max);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--bpdp-pad);
  padding-right: var(--bpdp-pad);
}
body.brux-pdp-proto .footer-wrapper .col-inner,
body.brux-pdp-proto .footer-wrapper h3,
body.brux-pdp-proto .footer-wrapper p,
body.brux-pdp-proto .footer-wrapper a {
  text-align: left !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--bpdp-font) !important;
}
body.brux-pdp-proto .absolute-footer {
  background: #4f4f4f !important;
  padding: 1rem 0 !important;
}

/* Hide noisy extras */
body.brux-pdp-proto .product-info .is-divider,
body.brux-pdp-proto .product-footer .is-divider {
  display: none !important;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 999px) {
  body.brux-pdp-proto .product-main .content-row {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
  }
  body.brux-pdp-proto .product-gallery .row {
    grid-template-columns: 1fr;
  }
  body.brux-pdp-proto .product-gallery .vertical-thumbnails,
  body.brux-pdp-proto .product-gallery .row > .col.large-2 {
    grid-column: 1;
    grid-row: 2;
  }
  body.brux-pdp-proto .product-gallery .row > .col.large-10 {
    grid-column: 1;
    grid-row: 1;
  }
  body.brux-pdp-proto .product-gallery .product-thumbnails {
    flex-direction: row !important;
    overflow-x: auto;
  }
  body.brux-pdp-proto .product-gallery .product-thumbnails .col {
    flex: 0 0 64px;
    margin: 0 !important;
  }
  .bpdp-trust {
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
  }
  .bpdp-trust__item:nth-child(2) {
    border-right: 0;
  }
  .bpdp-tab__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  body.brux-pdp-proto .related.products .products,
  body.brux-pdp-proto .related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 549px) {
  body.brux-pdp-proto #logo::after {
    display: none;
  }
  body.brux-pdp-proto form.cart .woocommerce-variation-add-to-cart {
    flex-wrap: wrap;
  }
  body.brux-pdp-proto form.cart .quantity {
    width: 100%;
  }
  body.brux-pdp-proto .single_add_to_cart_button {
    width: 100% !important;
  }
  .bpdp-trust {
    grid-template-columns: 1fr;
  }
  .bpdp-trust__item {
    border-right: 0;
    border-bottom: 1px solid var(--bpdp-line-soft);
    padding: 0.75rem 0;
  }
  .bpdp-trust__item:last-child {
    border-bottom: 0;
  }
}


/* Qty + ATC on one row */
body.brux-pdp-proto .woocommerce-variation-add-to-cart,
body.brux-pdp-proto .woocommerce-variation-add-to-cart.variations_button {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0.75rem !important;
  width: 100% !important;
}
body.brux-pdp-proto .woocommerce-variation-add-to-cart .quantity,
body.brux-pdp-proto .woocommerce-variation-add-to-cart .ux-quantity {
  flex: 0 0 7.75rem !important;
  width: 7.75rem !important;
  max-width: 7.75rem !important;
  margin: 0 !important;
}
body.brux-pdp-proto .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
}

/* Hide Flatsome sticky ATC chrome that fights the redesign */
body.brux-pdp-proto .sticky-add-to-cart,
body.brux-pdp-proto .sticky-add-to-cart--active > .sticky-add-to-cart,
body.brux-pdp-proto #sticky-add-to-cart,
body.brux-pdp-proto .product-info .sticky-add-to-cart {
  display: none !important;
}
body.brux-pdp-proto .product-gallery .row > .col.large-10:only-child,
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .row {
  display: block !important;
}
body.brux-pdp-proto .product-gallery.bpdp-gallery--single .row > .col.large-10 {
  width: 100% !important;
  max-width: 100% !important;
}
