:root {
  --weinhale-accent: #afdf71;
  --weinhale-accent-strong: #95c95a;
  --weinhale-accent-border: rgba(175, 223, 113, 0.7);
  --weinhale-accent-soft: rgba(175, 223, 113, 0.18);
  --weinhale-accent-softer: rgba(175, 223, 113, 0.08);
  --weinhale-ink: #29342c;
  --weinhale-ink-soft: rgba(41, 52, 44, 0.76);
  --weinhale-ink-faint: rgba(41, 52, 44, 0.1);
}

.weinhale-tier-panel {
  margin: 18px 0;
  padding: 20px 22px;
  border: 1px solid var(--weinhale-accent-border);
  border-radius: 18px;
  background: transparent;
}

.weinhale-tier-offers {
  max-width: 660px;
  margin: 14px auto 20px;
}

.weinhale-tier-offers__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.weinhale-tier-offers__heading h3 {
  margin: 0;
  color: var(--weinhale-ink);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.weinhale-tier-offers__line {
  flex: 1 1 auto;
  height: 3px;
  background: var(--weinhale-accent);
}

.weinhale-tier-offers__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weinhale-tier-offers__card {
  position: relative;
  display: block;
  padding: 14px 16px;
  border: 2px solid var(--weinhale-accent-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.weinhale-tier-offers__card.has-badge {
  padding-top: 30px;
}

.weinhale-tier-offers__card.is-selected {
  border-color: var(--weinhale-accent-strong);
  background: linear-gradient(180deg, var(--weinhale-accent-soft) 0%, var(--weinhale-accent-softer) 100%);
  box-shadow: inset 0 0 0 1px rgba(175, 223, 113, 0.14);
}

.weinhale-tier-offers__card:not(.is-selected) .weinhale-tier-offers__variation-block {
  display: none !important;
  margin-top: 0;
}

.weinhale-tier-offers__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weinhale-tier-offers__badge {
  position: absolute;
  top: -1px;
  right: 12px;
  padding: 6px 11px;
  border-radius: 0 0 9px 9px;
  background: var(--weinhale-accent-strong);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  z-index: 2;
}

.weinhale-tier-offers__card-main {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.weinhale-tier-offers__card-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.weinhale-tier-offers__card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.weinhale-tier-offers__qty {
  color: var(--weinhale-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.weinhale-tier-offers__save-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 11px;
  background: var(--weinhale-accent-strong);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.weinhale-tier-offers__subtitle {
  color: var(--weinhale-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.weinhale-tier-offers__card:not(.is-selected) .weinhale-tier-offers__subtitle {
  color: var(--weinhale-ink-soft);
  font-weight: 700;
}

.weinhale-tier-offers__variation-block {
  margin-top: 12px;
  display: none;
}

.weinhale-tier-offers__card.is-selected .weinhale-tier-offers__variation-block {
  display: block;
}

.weinhale-tier-offers__variation-label {
  margin-bottom: 10px;
  color: #4a4e55;
  font-size: 12px;
  font-weight: 700;
}

.weinhale-tier-offers__variation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.weinhale-tier-offers__variation-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.weinhale-tier-offers__variation-index {
  color: #1f2228;
  font-size: 14px;
  font-weight: 800;
}

.weinhale-tier-offers__variation-select {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--weinhale-accent-border);
  border-radius: 999px;
  background: #fff;
  color: #1f2228;
  font-size: 13px;
}

.weinhale-tier-offers__pricing {
  flex: 0 0 auto;
  min-width: 108px;
  text-align: right;
  padding-top: 4px;
}

.weinhale-tier-offers__card:not(.has-badge) .weinhale-tier-offers__pricing {
  padding-top: 0;
}

.weinhale-tier-offers__card.has-badge .weinhale-tier-offers__pricing {
  padding-top: 12px;
}

.weinhale-tier-offers__price-current {
  color: #000;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.05;
}

.weinhale-tier-offers__price-compare {
  margin-top: 4px;
  color: #6d6d72;
  font-size: 11px;
  line-height: 1;
  text-decoration: line-through;
}

.weinhale-tier-offers__submit.button.alt {
  display: block;
  width: 100%;
  max-width: 860px;
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
  min-height: 52px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
}

.weinhale-tier-panel__eyebrow {
  margin-bottom: 10px;
  color: var(--weinhale-accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weinhale-tier-panel__title {
  margin-bottom: 12px;
  color: var(--weinhale-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.weinhale-tier-panel__table {
  width: 100%;
  border-collapse: collapse;
}

.weinhale-tier-panel__table th,
.weinhale-tier-panel__table td {
  padding: 10px 0;
  border-top: 1px solid var(--weinhale-ink-faint);
  text-align: left;
}

.weinhale-tier-panel__table tbody td:last-child,
.weinhale-tier-panel__table thead th:last-child {
  text-align: right;
}

.weinhale-bundle-panel {
  margin: 18px 0 24px;
  padding: 10px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.weinhale-bundle-panel__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 16px;
  border-radius: 6px;
  background: var(--weinhale-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.weinhale-bundle-panel__title {
  margin-bottom: 12px;
  color: var(--weinhale-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.weinhale-bundle-panel__items {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px dotted #d8ddd3;
}

.weinhale-bundle-panel__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px dotted #d8ddd3;
}

.weinhale-bundle-panel__item:first-child {
  padding-top: 14px;
}

.weinhale-bundle-panel__item-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.weinhale-bundle-panel__thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #eceee8;
}

.weinhale-bundle-panel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.weinhale-bundle-panel__item-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.weinhale-bundle-panel__item-name {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.weinhale-bundle-panel__item-meta {
  color: #667068;
  font-size: 12px;
}

.weinhale-bundle-panel__item-total {
  flex: 0 0 96px;
  margin-top: 4px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
}

.weinhale-bundle-panel__variations {
  margin-top: 6px;
}

.weinhale-bundle-panel__variations-label {
  display: block;
  margin-bottom: 6px;
  color: #2d333b;
  font-size: 12px;
  font-weight: 700;
}

.weinhale-bundle-panel__variations-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.weinhale-bundle-panel__variation-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.weinhale-bundle-panel__variation-index {
  color: #1f2228;
  font-size: 13px;
  font-weight: 700;
}

.weinhale-bundle-panel__variation-select {
  width: 100%;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid #dde2da;
  border-radius: 6px;
  background: #fff;
  color: #1f2228;
  font-size: 13px;
}

.weinhale-bundle-panel__pricing {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dotted #d8ddd3;
}

.weinhale-bundle-panel__pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 8px 0;
}

.weinhale-bundle-panel__pricing-row.--accent strong {
  font-size: 16px;
}

.weinhale-bundle-panel__pricing-row.--save {
  color: var(--weinhale-accent-strong);
}

.weinhale-bundle-panel__pricing-row.--save strong {
  color: var(--weinhale-accent-strong);
}

.weinhale-bundle-panel__actions {
  margin-top: 14px;
}

.weinhale-bundle-panel__button.button.alt {
  width: 100%;
  min-height: 50px;
}

.weinhale-bundle-purchase {
  margin: 18px 0 28px;
}

.weinhale-bundle-purchase__button.button.alt {
  display: none;
}

.weinhale-bundle-purchase__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.weinhale-bundle-purchase .quantity {
  margin: 0;
}

.weinhale-bundle-purchase .qty {
  min-width: 88px;
}

.weinhale-offers-notices {
  margin-bottom: 14px;
}

.weinhale-offers-notices--inline {
  margin: 12px 0 0;
}

.weinhale-offers-notices--inline .woocommerce-error {
  margin: 0;
}

.weinhale-tier-offers__variation-select.is-invalid,
.weinhale-bundle-panel__variation-select.is-invalid {
  border-color: #c83d3d;
  box-shadow: 0 0 0 1px rgba(200, 61, 61, 0.12);
}

.weinhale-tier-offers__submit.is-added,
.weinhale-bundle-panel__button.is-added {
  opacity: 0.92;
}

@media (max-width: 767px) {
  .weinhale-tier-offers__heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .weinhale-tier-offers__heading h3 {
    font-size: 17px;
    white-space: normal;
  }

  .weinhale-tier-offers__card {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .weinhale-tier-offers__badge {
    right: 12px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .weinhale-tier-offers__card-main {
    flex-direction: column;
    gap: 18px;
  }

  .weinhale-tier-offers__qty,
  .weinhale-tier-offers__price-current {
    font-size: 20px;
  }

  .weinhale-tier-offers__save-pill {
    min-height: 34px;
    font-size: 13px;
    padding: 6px 10px;
  }

  .weinhale-tier-offers__subtitle {
    font-size: 13px;
  }

  .weinhale-tier-offers__pricing {
    min-width: 0;
    text-align: left;
  }

  .weinhale-tier-offers__price-compare {
    font-size: 13px;
  }

  .weinhale-tier-offers__variation-list {
    max-width: none;
  }

  .weinhale-tier-offers__variation-row {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .weinhale-tier-offers__variation-select {
    min-height: 48px;
    font-size: 14px;
  }

  .weinhale-tier-offers__submit.button.alt {
    margin-top: 18px;
    min-height: 56px;
    font-size: 18px;
  }

  .weinhale-tier-panel,
  .weinhale-bundle-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .weinhale-tier-panel__table thead {
    display: none;
  }

  .weinhale-tier-panel__table,
  .weinhale-tier-panel__table tbody,
  .weinhale-tier-panel__table tr,
  .weinhale-tier-panel__table td {
    display: block;
    width: 100%;
  }

  .weinhale-tier-panel__table tr {
    padding: 10px 0;
    border-top: 1px solid var(--weinhale-ink-faint);
  }

  .weinhale-tier-panel__table td {
    padding: 2px 0;
    border: 0;
    text-align: left !important;
  }

  .weinhale-bundle-panel {
    padding: 8px 0 0;
    border-radius: 0;
  }

  .weinhale-bundle-panel__item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .weinhale-bundle-panel__item-main {
    width: 100%;
  }

  .weinhale-bundle-panel__item-total {
    flex: 0 0 auto;
    text-align: left;
    padding-left: 66px;
  }

  .weinhale-bundle-panel__variations-list {
    max-width: none;
  }

  .weinhale-bundle-panel__variation-select {
    min-height: 38px;
    font-size: 13px;
  }

  .weinhale-bundle-panel__button.button.alt {
    min-height: 48px;
  }

  .weinhale-bundle-purchase__controls {
    align-items: stretch;
    flex-direction: column;
  }

  .weinhale-bundle-purchase .quantity,
  .weinhale-bundle-purchase .qty,
  .weinhale-bundle-purchase__button.button.alt {
    width: 100%;
  }
}
.weinhale-tier-offers__native-note {
  margin: 14px 6px 0;
  color: #5a5d66;
  font-size: 13px;
  line-height: 1.45;
}
