.vvbb,
.vvbb *,
.vvbb *::before,
.vvbb *::after { box-sizing: border-box; }

.vvbb {
  position: relative;
  width: 100%;
  padding: 64px 20px;
  border-radius: 34px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF8F2 100%);
  color: #16352B;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: visible;
  isolation: isolate;
}

.vvbb-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.vvbb-bg::before,
.vvbb-bg::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.vvbb-bg::before {
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(202,224,210,.52) 0%, rgba(202,224,210,0) 70%);
  filter: blur(16px);
}

.vvbb-bg::after {
  right: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(232,217,191,.48) 0%, rgba(232,217,191,0) 72%);
  filter: blur(18px);
}

.vvbb-header {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.vvbb-kicker,
.vvbb-eyebrow {
  margin: 0 0 12px;
  color: #3E7057;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vvbb-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #EEF4EA;
}

.vvbb-header h1,
.vvbb-panel__head h2 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #16352B;
}

.vvbb-header h1 { font-size: clamp(42px, 7vw, 72px); line-height: .9; }
.vvbb-panel__head h2 { font-size: clamp(34px, 5vw, 52px); line-height: .96; }

.vvbb-header p,
.vvbb-panel__head p {
  max-width: 620px;
  margin: 0;
  color: #706858;
  font-size: 15px;
  line-height: 1.7;
}

.vvbb-header p { margin-inline: auto; }

.vvbb-progress {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 8px;
  border: 1px solid #E7DECF;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  box-shadow: 0 10px 30px rgba(22,53,43,.06);
}

.vvbb-progress__step {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 12px;
  background: transparent;
  color: #746B5C;
  cursor: pointer;
  font-weight: 800;
  transition: all .2s ease;
}

.vvbb-progress__step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  background: #F1ECE3;
  color: #16352B;
  font-size: 12px;
}

.vvbb-progress__step.is-active {
  background: #16352B;
  color: #fff;
}

.vvbb-progress__step.is-active span,
.vvbb-progress__step.is-complete span { background: #fff; color: #16352B; }

.vvbb-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
  overflow: visible;
}

.vvbb-main,
.vvbb-summary__card {
  border: 1px solid #E7DECF;
  border-radius: 30px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 20px 60px rgba(22,53,43,.08);
  backdrop-filter: blur(10px);
}

.vvbb-main { padding: 30px; min-height: 640px; }
.vvbb-panel { display: none; }
.vvbb-panel.is-active { display: block; animation: vvbbFade .24s ease both; }

@keyframes vvbbFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.vvbb-panel__head { margin-bottom: 24px; }

.vvbb-focus-note {
  margin: -6px 0 18px;
  padding: 13px 16px;
  border: 1px solid #D8CDBA;
  border-radius: 18px;
  background: #FFFDF8;
  color: #706858;
  font-size: 13px;
  line-height: 1.5;
}
.vvbb-focus-note strong { color: #16352B; font-weight: 900; }
.vvbb-focus-note[hidden] { display: none !important; }

.vvbb-about,
.vvbb-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.vvbb-about-card,
.vvbb-goal,
.vvbb-product,
.vvbb-delivery-option {
  border: 1px solid #E7DECF;
  background: #FFFDF8;
  border-radius: 24px;
  transition: all .22s ease;
}

.vvbb-about-card,
.vvbb-goal {
  min-height: 172px;
  padding: 22px;
  text-align: left;
  color: #16352B;
  cursor: pointer;
}

.vvbb-about-card:hover,
.vvbb-goal:hover,
.vvbb-product:hover,
.vvbb-delivery-option:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(22,53,43,.1); }

.vvbb-about-card.is-selected,
.vvbb-goal.is-selected,
.vvbb-delivery-option.is-selected {
  border-color: #3E7057;
  background: #EEF4EA;
  box-shadow: 0 18px 36px rgba(62,112,87,.12);
}

.vvbb-goal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #16352B;
  color: #fff;
  font-size: 22px;
}

.vvbb-goal strong,
.vvbb-delivery-option strong { display: block; font-size: 18px; margin-bottom: 7px; }
.vvbb-goal span:not(.vvbb-goal__icon),
.vvbb-delivery-option span { display: block; color: #706858; font-size: 13px; line-height: 1.5; }

.vvbb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.vvbb-filter-group { display: flex; flex-wrap: wrap; gap: 10px; }
.vvbb-product-search-bar { flex: 1 1 280px; max-width: 380px; }
.vvbb-product-search-bar input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #E7DECF;
  border-radius: 999px;
  background: #FFFDF8;
  color: #16352B;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vvbb-product-search-bar input:focus { border-color: #3E7057; box-shadow: 0 0 0 3px rgba(62,112,87,.12); }
.vvbb-product-search-bar input::placeholder { color: #8b8375; font-weight: 600; }
.vvbb-chip {
  border: 1px solid #E7DECF;
  border-radius: 999px;
  background: #FFFDF8;
  padding: 10px 15px;
  color: #16352B;
  font-weight: 800;
  cursor: pointer;
}
.vvbb-chip.is-active { background: #16352B; color: #fff; border-color: #16352B; }
.vvbb-chip:disabled { opacity: .45; cursor: not-allowed; }

.vvbb-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vvbb-product { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px; position: relative; }
.vvbb-product.is-selected { border-color: #3E7057; background: #F7FBF4; }
.vvbb-product__image { width: 96px; height: 104px; border-radius: 18px; overflow: hidden; background: #F1ECE3; }
.vvbb-product__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vvbb-product__body h3 { margin: 2px 0 8px; font-size: 17px; line-height: 1.2; color: #16352B; }
.vvbb-product__body p { margin: 0 0 10px; color: #706858; font-size: 13px; line-height: 1.45; }
.vvbb-product__price { color: #3E7057; font-size: 13px; font-weight: 900; }
.vvbb-product__controls { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.vvbb-qty {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #16352B;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.vvbb-qty:disabled { opacity: .32; cursor: not-allowed; }
.vvbb-count { min-width: 20px; text-align: center; font-weight: 900; }

.vvbb-delivery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 22px; }
.vvbb-delivery-option { padding: 18px; text-align: left; cursor: pointer; }

.vvbb-review { display: grid; gap: 10px; }
.vvbb-review-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: #FFFDF8; border: 1px solid #E7DECF; }
.vvbb-review-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 14px; background: #F1ECE3; }
.vvbb-review-row strong { display: block; color: #16352B; }
.vvbb-review-row span { display: block; color: #706858; font-size: 12px; margin-top: 3px; }
.vvbb-review-row b { color: #3E7057; }


.vvbb-terms {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid #D8CDBA;
  border-radius: 16px;
  background: #FFFDF8;
  color: #16352B;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.vvbb-terms[hidden] { display: none !important; }
.vvbb-terms input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #16352B;
}
.vvbb-terms a {
  color: #3E7057;
  font-weight: 900;
  text-decoration: underline;
}

.vvbb-actions { display: flex; justify-content: flex-start; gap: 12px; margin-top: 28px; }
.vvbb-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all .2s ease;
}
.vvbb-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,53,43,.16); }
.vvbb-btn:disabled { opacity: .45; cursor: not-allowed; }
.vvbb-btn--primary { background: #16352B; color: #fff; }
.vvbb-btn--ghost { background: #F1ECE3; color: #16352B; }
.vvbb-btn--full { width: 100%; margin-top: 18px; }

/* Sticky order summary: keep the right column in view on desktop.
   Sticky can fail if an ancestor has overflow hidden/auto, so .vvbb and
   .vvbb-shell are kept overflow-visible above. */
.vvbb-summary {
  position: sticky !important;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
  align-self: start;
  height: max-content;
  z-index: 5;
}
.vvbb-summary__card {
  padding: 24px;
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.vvbb-summary__card::-webkit-scrollbar { width: 8px; }
.vvbb-summary__card::-webkit-scrollbar-thumb { background: rgba(22,53,43,.18); border-radius: 999px; }
.vvbb-summary__card h3 { margin: 0 0 18px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; font-weight: 600; line-height: 1; }
.vvbb-summary__empty { color: #706858; font-size: 13px; margin: 0; }
.vvbb-summary__items { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #E7DECF; }
.vvbb-summary-row,
.vvbb-total-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vvbb-summary-row span { color: #706858; }
.vvbb-summary-row strong,
.vvbb-total-row strong { color: #16352B; }
.vvbb-totals { display: grid; gap: 10px; padding-top: 18px; }
.vvbb-total-row.is-saving span,
.vvbb-total-row.is-saving strong { color: #3E7057; }
.vvbb-total-row--grand { align-items: baseline; padding-top: 10px; border-top: 1px solid #E7DECF; }
.vvbb-total-row--grand span { font-weight: 900; color: #16352B; }
.vvbb-total-row--grand strong { font-size: 24px; }
.vvbb-selection-status { margin-top: 4px; padding: 10px 12px; border-radius: 14px; background: #EEF4EA; color: #3E7057; font-size: 12px; font-weight: 900; }
.vvbb-clear-cart { margin-top: 12px; width: 100%; border: 0; background: transparent; color: #8B3D2F; font-weight: 900; text-decoration: underline; cursor: pointer; }
.vvbb-message { min-height: 22px; margin-top: 14px; color: #706858; font-size: 13px; font-weight: 700; }
.vvbb-message.is-warning { color: #9A6B1F; }
.vvbb-message.is-error { color: #8B3D2F; }
.vvbb-notice,
.vvbb-empty { padding: 18px 20px; border: 1px solid #E7DECF; border-radius: 18px; background: #FFFDF8; color: #706858; }

@media (max-width: 1050px) {
  .vvbb-shell { grid-template-columns: 1fr; }
  .vvbb-summary { position: static !important; top: auto; }
  .vvbb-summary__card { max-height: none; overflow: visible; }
  .vvbb-about, .vvbb-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .vvbb { padding: 44px 14px; border-radius: 24px; }
  .vvbb-progress { grid-template-columns: 1fr; border-radius: 24px; }
  .vvbb-main,
  .vvbb-summary__card { border-radius: 24px; padding: 20px; }
  .vvbb-about,
  .vvbb-goals,
  .vvbb-products,
  .vvbb-delivery { grid-template-columns: 1fr; }
  .vvbb-toolbar { align-items: stretch; }
  .vvbb-product-search-bar { max-width: none; flex-basis: 100%; }
  .vvbb-product { grid-template-columns: 82px minmax(0, 1fr); }
  .vvbb-product__image { width: 82px; height: 92px; }
  .vvbb-product__controls { position: static; grid-column: 1 / -1; justify-content: flex-end; }
  
.vvbb-actions { flex-direction: column; }
  .vvbb-btn { width: 100%; }
}

/* Bundle hub */
.vvbb-hub,
.vvbb-hub *,
.vvbb-hub *::before,
.vvbb-hub *::after { box-sizing: border-box; }

.vvbb-hub {
  position: relative;
  width: 100%;
  padding: 70px 20px;
  border-radius: 34px;
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF8F2 100%);
  color: #16352B;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  isolation: isolate;
}

.vvbb-hub__bg::before,
.vvbb-hub__bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.vvbb-hub__bg::before {
  top: -140px;
  left: -140px;
  background: radial-gradient(circle, rgba(202,224,210,.52) 0%, rgba(202,224,210,0) 70%);
  filter: blur(18px);
}

.vvbb-hub__bg::after {
  right: -150px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(232,217,191,.48) 0%, rgba(232,217,191,0) 72%);
  filter: blur(18px);
}

.vvbb-hub__header {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.vvbb-hub__header h1 {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: .9;
  font-weight: 600;
  color: #16352B;
}

.vvbb-hub__header p {
  max-width: 630px;
  margin: 0 auto;
  color: #706858;
  font-size: 15px;
  line-height: 1.7;
}

.vvbb-hub__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vvbb-hub-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #E7DECF;
  border-radius: 26px;
  background: rgba(255,255,255,.80);
  color: #16352B;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(22,53,43,.07);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.vvbb-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(22,53,43,.14);
  background: #fff;
}

.vvbb-hub-card--custom {
  background: #16352B;
  color: #fff;
  border-color: #16352B;
}

.vvbb-hub-card--custom:hover { background: #1e4639; }

.vvbb-hub-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #EEF4EA;
  color: #16352B;
  font-size: 22px;
}

.vvbb-hub-card--custom .vvbb-hub-card__icon {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.vvbb-hub-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
}

.vvbb-hub-card span:not(.vvbb-hub-card__icon) {
  display: block;
  color: #706858;
  font-size: 13px;
  line-height: 1.55;
}

.vvbb-hub-card--custom span:not(.vvbb-hub-card__icon) { color: rgba(255,255,255,.82); }

.vvbb-hub-card em {
  margin-top: auto;
  padding-top: 18px;
  display: block;
  color: #3E7057;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.vvbb-hub-card--custom em { color: rgba(255,255,255,.78); }

.vvbb-hub-card b {
  margin-top: 12px;
  display: inline-flex;
  color: inherit;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .vvbb-hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .vvbb-hub { padding: 52px 16px; border-radius: 24px; }
  .vvbb-hub__grid { grid-template-columns: 1fr; }
  .vvbb-hub-card { min-height: 210px; }
}

/* Compliance-led product picker updates */
.vvbb-progress { grid-template-columns: repeat(2, 1fr); }
.vvbb-category-filter { display: grid; gap: 6px; min-width: 220px; }
.vvbb-category-filter span { font-size: 11px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: #3E7057; }
.vvbb-category-filter select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #E7DECF;
  border-radius: 999px;
  background: #fff;
  color: #16352B;
  padding: 10px 38px 10px 16px;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}
.vvbb-category-filter select:focus { border-color: #3E7057; box-shadow: 0 0 0 3px rgba(62,112,87,.12); }
.vvbb-product__image-link { width: 96px; height: 104px; border-radius: 18px; overflow: hidden; background: #F1ECE3; display: block; }
.vvbb-product__image-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vvbb-product__category {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #EEF4EA;
  color: #3E7057;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.vvbb-product__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.vvbb-product__meta span { color: #3E7057; font-size: 13px; font-weight: 900; }
.vvbb-product__meta em { color: #706858; font-size: 11px; font-style: normal; font-weight: 700; }
.vvbb-qty { width: auto; height: auto; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #16352B; }
.vvbb-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #16352B;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}
.vvbb-qty strong { min-width: 20px; text-align: center; font-weight: 900; }
.vvbb-hub__grid--single { max-width: 420px; margin-inline: auto; grid-template-columns: 1fr; }
@media(max-width: 780px) { .vvbb-progress { grid-template-columns: 1fr; } .vvbb-category-filter { min-width: 100%; } }
