.wdw-bbo-wrap {
  margin: 18px 0 26px;
  clear: both;
  font-family: inherit;
}

.wdw-bbo-shell {
  position: relative;
  overflow: visible;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 98% 0%, rgba(212, 175, 55, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.wdw-bbo-hero-bar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.wdw-bbo-hero-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #0f172a;
  color: #d4af37;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.wdw-bbo-heading {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.wdw-bbo-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.30);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  color: #8a6a10;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wdw-bbo-kicker::before {
  content: "✦";
}

.wdw-bbo-heading h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.wdw-bbo-heading p {
  margin: 0;
  max-width: 720px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.wdw-bbo-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.wdw-bbo-offer-card {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 20px;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  isolation: isolate;
}

/* Only animated visual effect: premium border layer. It stays clipped to the card border. */
.wdw-bbo-offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(203, 213, 225, 0.38) 0%,
    rgba(203, 213, 225, 0.38) 22%,
    rgba(212, 175, 55, 0.98) 42%,
    rgba(15, 23, 42, 0.28) 52%,
    rgba(212, 175, 55, 0.98) 62%,
    rgba(203, 213, 225, 0.38) 82%,
    rgba(203, 213, 225, 0.38) 100%
  );
  background-size: 240% 240%;
  animation: wdwBboBorderFlow 6.5s ease-in-out infinite;
  pointer-events: none;
}

.wdw-bbo-offer-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.wdw-bbo-offer-card > * {
  position: relative;
  z-index: 2;
}

.wdw-bbo-offer-card:hover {
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.11);
}

.wdw-bbo-offer-card.is-selected {
  box-shadow: 0 20px 48px rgba(22, 163, 74, 0.14), 0 12px 28px rgba(15, 23, 42, 0.06);
}

.wdw-bbo-offer-card.is-selected::before {
  background: linear-gradient(
    115deg,
    rgba(22, 163, 74, 0.32) 0%,
    rgba(22, 163, 74, 0.92) 26%,
    rgba(212, 175, 55, 1) 48%,
    rgba(22, 163, 74, 0.92) 70%,
    rgba(22, 163, 74, 0.32) 100%
  );
  background-size: 240% 240%;
}

.wdw-bbo-offer-card.is-selected::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(240, 253, 244, 0.96) 100%);
}

.wdw-bbo-card-glow {
  display: none !important;
}

.wdw-bbo-selected-mark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.24);
}

.wdw-bbo-offer-card.is-selected .wdw-bbo-selected-mark {
  display: inline-flex;
}

.wdw-bbo-card-top {
  display: block;
  position: static;
  padding-right: 92px;
  padding-top: 6px;
}


.wdw-bbo-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wdw-bbo-card-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 999px;
  background: #d4af37;
}

.wdw-bbo-offer-card h4 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.wdw-bbo-badge {
  position: absolute;
  top: -12px;
  right: -18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 176px;
  padding: 9px 16px 10px 18px;
  border: 1px solid rgba(212, 175, 55, 0.64);
  border-right: 0;
  border-radius: 18px 24px 0 16px;
  background: linear-gradient(135deg, #fff8d6 0%, #f4d362 48%, #b88617 100%);
  color: #3c2a00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  box-shadow: 0 16px 30px rgba(160, 114, 10, 0.18);
  overflow: visible;
}

.wdw-bbo-badge::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 18px;
  right: 12px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(125deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.38) 34%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.wdw-bbo-badge::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 0 0;
  border-color: #75530b transparent transparent transparent;
  filter: brightness(0.95);
}


.wdw-bbo-card-body {
  display: grid;
  gap: 12px;
  flex: 1;
}

.wdw-bbo-discount-line {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(22, 163, 74, 0.20);
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
}

.wdw-bbo-discount-line::before {
  content: "✓";
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.wdw-bbo-price-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wdw-bbo-price-matrix > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.wdw-bbo-price-matrix span,
.wdw-bbo-price-matrix em {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
}

.wdw-bbo-price-matrix strong {
  display: block;
  margin: 5px 0 2px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.wdw-bbo-price-matrix del {
  color: #94a3b8;
}

.wdw-bbo-save-strip {
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 15px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.wdw-bbo-variable-note {
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

.wdw-bbo-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wdw-bbo-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  background: #fffaf0;
  color: #8a6a10;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.wdw-bbo-benefits span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d4af37;
}

.wdw-bbo-select-offer,
.wdw-bbo-add-bundle {
  width: 100%;
  min-height: 48px;
  border: 0 !important;
  border-radius: 15px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: 0.01em;
  line-height: 1 !important;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.wdw-bbo-select-offer:hover,
.wdw-bbo-add-bundle:hover:not(:disabled) {
  background: #111827 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.20);
}

.wdw-bbo-offer-card.is-selected .wdw-bbo-select-offer {
  background: #16a34a !important;
}

.wdw-bbo-variation-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.wdw-bbo-variation-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wdw-bbo-variation-panel-head h4 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.wdw-bbo-selected-summary {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.wdw-bbo-variation-units {
  display: grid;
  gap: 12px;
}

.wdw-bbo-variation-unit {
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
}

.wdw-bbo-unit-title {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.wdw-bbo-unit-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.wdw-bbo-field {
  display: grid;
  gap: 6px;
  margin: 0;
}

.wdw-bbo-field span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.wdw-bbo-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: #ffffff;
  color: #0f172a;
}

.wdw-bbo-unit-status {
  color: #15803d;
  font-size: 13px;
  font-weight: 800;
}

.wdw-bbo-actions {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.wdw-bbo-add-bundle {
  background: #16a34a !important;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.wdw-bbo-add-bundle:hover:not(:disabled) {
  background: #15803d !important;
}

.wdw-bbo-add-bundle:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.15);
  box-shadow: none;
}

.wdw-bbo-add-bundle.is-loading {
  opacity: 0.75;
}

.wdw-bbo-trust-line {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.wdw-bbo-message {
  display: none;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.wdw-bbo-message:not(:empty) {
  display: block;
}

.wdw-bbo-message.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.wdw-bbo-message.is-success {
  background: #ecfdf5;
  color: #047857;
}

@keyframes wdwBboBorderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .wdw-bbo-offer-card::before {
    animation: none;
  }
}

@media (max-width: 640px) {
  .wdw-bbo-shell {
    padding: 14px;
    border-radius: 22px;
  }

  .wdw-bbo-hero-bar {
    grid-template-columns: 1fr;
  }

  .wdw-bbo-hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .wdw-bbo-offers-grid {
    grid-template-columns: 1fr;
  }

  .wdw-bbo-card-top {
    display: block;
    position: static;
    padding-right: 74px;
    padding-top: 8px;
  }

  .wdw-bbo-badge {
    top: -10px;
    right: -14px;
    max-width: 148px;
    min-height: 34px;
    padding: 8px 12px 9px 14px;
    font-size: 10px;
    border-radius: 16px 20px 0 14px;
  }

  .wdw-bbo-price-matrix {
    grid-template-columns: 1fr;
  }

  .wdw-bbo-variation-panel-head {
    display: grid;
  }
}

/* Version 1.8.0: offer-enabled products are purchased only through the deal interface. */
body.wdw-bbo-offer-required form.cart,
body.wdw-bbo-offer-required .single_add_to_cart_button,
body.wdw-bbo-offer-required .buy_now_button,
body.wdw-bbo-offer-required .buy-now-button,
body.wdw-bbo-offer-required .single_buy_now_button,
body.wdw-bbo-offer-required .nasa-buy-now,
body.wdw-bbo-offer-required .nasa-buy-now-button,
body.wdw-bbo-offer-required .tbay-buy-now,
body.wdw-bbo-offer-required .wd-buy-now-btn,
body.wdw-bbo-offer-required .quick-buy,
body.wdw-bbo-offer-required .buy-now,
body.wdw-bbo-offer-required [name="buy-now"],
body.wdw-bbo-offer-required [name="buy_now"] {
  display: none !important;
}

.wdw-bbo-fixed-cart-quantity {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf4 0%, #fff8dc 100%);
  color: #0f172a;
  text-align: center;
  line-height: 1.1;
  box-sizing: border-box;
}

.wdw-bbo-fixed-cart-quantity strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.wdw-bbo-fixed-cart-quantity small {
  display: block;
  margin-top: 4px;
  color: #8a6a10;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wdw-bbo-locked-cart-item .quantity,
.wdw-bbo-locked-cart-item input.qty,
.wdw-bbo-locked-cart-item .minus,
.wdw-bbo-locked-cart-item .plus {
  display: none !important;
}

.wdw-bbo-locked-cart-item [data-wdw-bbo-remove-bundle="1"] {
  position: relative;
}

@media (max-width: 640px) {
  .wdw-bbo-fixed-cart-quantity {
    min-width: 64px;
    min-height: 44px;
    padding: 6px 8px;
  }

  .wdw-bbo-fixed-cart-quantity small {
    white-space: normal;
  }
}
