.bundlrHeaderRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  border-bottom: 1px solid #e2e2e2;
  padding: 14px 20px;
}

.bundlrMainHeading {
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  color: #616161;
  margin: 0;
}

.bundlrStackContainer {
  padding: 15px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Field Group */
.bundlrFieldGroup {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bundlrLabel {
  font-size: 11px;
  font-weight: 600;
  color: #616161;
  line-height: normal;
}

.bundlrInputWrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bundlrInput,
.bundlrTextArea {
  width: 100%;
  padding: 10px 14px;
  padding-right: 65px; /* Space for counter */
  font-size: 11px;
  color: #a3a3a3;
  font-family: inherit;
  background: #fcfcfc;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.bundlrTextArea {
  min-height: 120px;
  resize: none;
}

.bundlrInput:focus,
.bundlrTextArea:focus {
  outline: none;
  border-color: #008060;
}

.bundlrCharCounter {
  position: absolute;
  right: 14px;
  font-size: 11px;
  color: #a3a3a3;
  pointer-events: none;
}

.bundlrHelpText {
  font-size: 11px;
  color: #a3a3a3;
  margin: 2px 0px 0px;
}
/* --------------------------- */

.bundlrInlineGrid {
  display: flex;
  gap: 16px;
}

.bundlrGridItem {
  flex: 1;
}

.calenderIcon {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.bundlrDateField {
  cursor: pointer;
  width: 100%;
  padding: 10px 14px 10px 34px;
  font-size: 11px;
  color: #a3a3a3;
  font-family: inherit;
  background: #fcfcfc;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  transition: border-color 0.2s;
}

/* .bundlrDateField::-webkit-calendar-picker-indicator {
  display: none;
} */

.bundlrDateField:focus {
  outline: none;
  border-color: #008060;
}

.w-\[170px\] {
    width: 170px;
}

/* ── Custom pill-shaped select dropdown ─────────────────────────────────────── */
.bundlrSelectField {
  cursor: pointer;
  width: 100%;
  padding: 11px 44px 11px 18px;
  font-size: 12px;
  color: #616161;
  font-family: inherit;
  background-color: #f3f3f3;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='18' viewBox='0 0 8 18' fill='none'%3E%3Cpath d='M1.99988 5.00002L3.29277 3.70712C3.6261 3.37379 3.79277 3.20712 3.99988 3.20712C4.20698 3.20712 4.37365 3.37379 4.70698 3.70712L5.99988 5.00002' stroke='%23A3A3A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 13L3.29289 14.2929C3.62623 14.6262 3.79289 14.7929 4 14.7929C4.20711 14.7929 4.37377 14.6262 4.70711 14.2929L6 13' stroke='%23A3A3A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bundlrSelectField:focus {
  outline: none;
  border-color: #0b1d41;
  box-shadow: 0 0 0 2px rgba(11, 29, 65, 0.08);
}

.bundlrSelectField:hover {
  border-color: #cccccc;
}

.bundlrFieldError {
  border-color: #d72c0d !important;
}

.bundlrErrorMessage {
  color: #d72c0d;
  font-size: 11px;
  margin-top: 4px;
}

.bundlrSwitchWrapper {
  display: flex;
  align-items: center;
}

/* --------------------------- */

/* Container for Tiers */
.bundlrTiersContainer {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bundlrParagraph {
  font-size: 11px;
  line-height: 1.5;
  margin: 0px;
  color: #a3a3a3;
}

/* Tier Card (The white box) */
.bundlrTierCard {
  background: #fcfcfc;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bundlrCardHeaderRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bundlrComboHeading {
  font-size: 11px;
  font-weight: 800;
  color: #616161;
  margin: 0;
}
.bundlrComboNameInput {
  background: #fefefe;
}
.bundlrLinkBtn {
  color: red;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 11px;
}

.bundlrProductCard {
  background: #fff9ed;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
  position: relative;
}

.bundlrProductImage {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.bundlrProductInfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bundlrProductTitle {
  font-size: 12px;
  font-weight: 600;
  color: #616161;
}

.bundlrProductCardContentWrapper {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: flex-end;
}

.bundlrProductPrice {
  font-weight: 800;
  font-size: 12px;
  color: #616161;
}

/* Action Buttons (Black) */
.bundlrActionBtn {
  color: #ffffff;
  background: #000000;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bundlrActionBtn:hover {
  background: #222222 !important;
}

/* Sold Out Badge */
.bundlrSoldOut {
  color: #d72c0d;
  font-weight: 600;
  font-size: 11px;
  margin-top: 4px;
  display: inline-block;
}

.bundlrSelectFieldSmall {
  padding: 9px 44px 9px 18px;
  min-width: 200px;
}
.bundlrDiscountInput {
  padding: 10px 14px;
}

.bundlrCharSign {
  position: absolute;
  right: 40px;
  font-size: 11px;
  color: #a3a3a3;
  pointer-events: none;
}

/* Status Badge Custom Styling */
.bundlrBadge {
  display: inline-flex;
  padding: 5px 17px;
  border-radius: 8px;
  font-size: 12px;
  width: fit-content;
  line-height: normal;
}

.bundlrBadgeActive {
  background-color: #54fe5a;
  color: #616161;
}

.bundlrBadgeDraft {
  background-color: #e1e3e5;
  color: #616161;
}

/* Divider with label and badge in middle */
.bundlrTierDivider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0px 0 20px;
  color: #a3a3a3;
  font-size: 12px;
}

.bundlrTierDivider::before,
.bundlrTierDivider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e2e2;
}

.bundlrDividerContent {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

/* Preview Card Styling */
.bundlrPreviewProductCard {
  background-color: #fff9ed;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  /* margin-bottom: 4px; */
}
.bundlrPreviewTitle {
  font-size: 12px;
  font-weight: 600;
  color: #616161;
}
.bundlrPreviewCardBox {
  margin-bottom: 20px;
}
.bundlrPreviewCardBox:nth-last-child(1) {
  margin-bottom: 0px;
}
.bundlrPreviewImage {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  flex-shrink: 0;
}

.bundlrPreviewPrice {
  font-weight: 800;
  font-size: 12px;
  color: #616161;
  margin-top: 4px;
}
.bundlrDesignLayoutWrapper {
  display: flex;
}
.bundlrDLWrapper {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  /* box-shadow: rgb(196, 205, 213) 0px 0px 0px 1px inset; */
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  padding: 10px;
  background: #fcfcfc;
  flex: 1;
  border: 1px solid #e2e2e2;
}

.bundlrDLWrapper{
  border: 1px solid #aaaaaa;
}

.bundlrDLWrapper.active {
  border: 1px solid #0b1d41;
  background: #eef1f8;
}

/* ── Admin Bundle Preview — Layout Variations ─────────────────────────────── */

/* Horizontal preview: product cards side by side */
.bundlrPreviewLayoutHorizontal .bundlrPreviewProductsHorizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* gap: 8px; */
}
.bundlrPreviewLayoutHorizontal .bundlrPreviewProductCard {
  flex: 1;
  min-width: 100px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bundlrPreviewLayoutHorizontal .bundlrPreviewImage {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}
.bundlrPreviewLayoutHorizontal .bundlrPreviewInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Vertical preview: product cards stacked */
.bundlrPreviewLayoutVertical .bundlrPreviewProductsVertical {
  display: flex;
  flex-direction: column;
  /* gap: 6px; */
}
.bundlrPreviewLayoutVertical .bundlrPreviewProductCard {
  flex-direction: row;
  align-items: center;
  text-align: left;
}

/* ── Admin Custom Dropdown ────────────────────────────────────────────────── */
.bundlrCustomSelect {
  position: relative;
  width: 100%;
  user-select: none;
}
.bundlrCustomSelectWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.bundlrCustomSelectTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f3f3f3;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  padding: 5px 11px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bundlrCustomSelectTrigger:hover {
  border-color: #cccccc;
}

.bundlrCustomSelectTrigger.open {
  border-color: #0b1d41;
  box-shadow: 0 0 0 2px rgba(11, 29, 65, 0.08);
}

.bundlrCustomSelectText {
  font-size: 12px;
  font-weight: 500;
  color: #616161;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bundlrCustomSelectArrows {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.bundlrCustomSelectMenu {
  /* position + top/left/width are set via inline style from getBoundingClientRect() */
  position: fixed;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.bundlrCustomSelectMenu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bundlrCustomSelectOption {
  padding: 6px 11px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}

.bundlrCustomSelectOption:hover {
  background: #f5f5f5;
  color: #0b1d41;
}

.bundlrCustomSelectOption.active {
  background: #0b1d41;
  color: #fff;
  font-weight: 600;
}

.bundlrCustomSelectError .bundlrCustomSelectTrigger {
  border-color: #d72c0d;
}

/* Setup guide and configuration page css start */
.heroSection {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.tableContents:hover {
    background: #a3a3a336;
    color: #616161 !important;
}