.b2c-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
  height: 100vh;
}

.b2c-overlow-auto {
  overflow-y: auto;
}

.b2c-outer-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.b2c-page-header-spacer {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
  padding: 20px;
}

.b2c-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.b2c-page-title-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 16px;
}

.b2c-page-title-text {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.1;
}

.b2c-page-title-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.b2c-page {
  display: grid;
  gap: 24px;
  padding: 20px;
}

.b2c-h2 {
  font-size: 21px;
  margin: 0;
}

.b2c-p-muted {
  color: #6b7280;
  margin: 4px 0 0;
}

.b2c-card {
  background: var(--card-bg, #fff);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 16px;
  margin-bottom: 12px;
}

.b2c-card-header {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.b2c-card-header-sticky {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.b2c-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.b2c-card-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.b2c-card-title-icon {
  flex: 0 0 auto;
  line-height: 0;
}

.b2c-card-desc {
  color: #6b7280;
  margin-top: 4px;
  font-size: 13px;
}

.b2c-grid {
  display: grid;
  gap: var(--gap, 16px);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .b2c-grid {
    grid-template-columns: repeat(var(--cols, 12), minmax(0, 1fr));
  }
}

.b2c-grid>* {
  grid-column: span var(--span, 12) / span var(--span, 12);
}

@media (min-width: 1024px) {
  .b2c-grid>* {
    grid-column: span var(--span-lg, var(--span, 12)) / span var(--span-lg, var(--span, 12));
  }
}

.b2c-grid-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.b2c-grid-desc {
  color: #6b7280;
  margin-top: 4px;
  font-size: 13px;
}

.b2c-stack {
  display: grid;
  gap: var(--gap, 16px);
}

.b2c-dropzone {
  border: 2px dashed #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2c-preview-img-large {
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.b2c-preview-img-small {
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.b2c-section-title {
  font-weight: inherit;
  margin-bottom: 8px;
}

.b2c-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #000;
  text-align: left;
  font-size: 100%;
}

.b2c-label-desc {
  display: block;
  font-weight: 400;
  margin-bottom: 6px;
  color: #6b7280;
  text-align: left;
  font-size: 12px;
}

.b2c-control-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.b2c-badge {
  display: inline-block;
  font-size: 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #000;
  border-radius: 8px;
  padding: 4px 8px;
  width: 7%;
}

.b2c-promo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.b2c-promo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.b2c-promo-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  display: block;
}

.b2c-promo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
}

.b2c-footer {
  display: flex;
  justify-content: flex-end;
}

.b2c-save-button {
  background-color: #030213;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 0 10px;
  font-weight: 600;
  height: 30px;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .02s ease;
  box-shadow: 0 1.5px 3px rgba(0, 0, 0, .20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2c-save-button:hover {
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .25);
}

.b2c-save-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, .12), 0 1px 3px rgba(0, 0, 0, .25);
}

.b2c-save-button:disabled {
  background-color: #8d8d8d;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.95;
}

.b2c-save-button:disabled:hover,
.b2c-save-button:disabled:active {
  box-shadow: none;
  transform: none;
}

.b2c-muted-text-small {
  font-size: 12px;
  color: #6b7280;
}

.b2c-mt-6 {
  margin-top: 6px;
}

.b2c-mt-8 {
  margin-top: 8px;
}

.b2c-switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.b2c-switch-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  outline: none;
}

.b2c-switch-track {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #e5e7eb;
  border: 1px solid #d1d5db;
  transition: background .15s ease, border-color .15s ease;
  display: inline-block;
}

.b2c-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  transition: transform .15s ease;
}

.b2c-switch-input:checked+.b2c-switch-track {
  background: #030213;
}

.b2c-switch-input:checked+.b2c-switch-track .b2c-switch-thumb {
  transform: translateX(20px);
}

.b2c-switch-header {
  margin-bottom: 8px;
  display: flex;
}

.b2c-switch-title-header {
  margin-left: 15px;
}

.b2c-switch-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.b2c-switch-desc {
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
}

.b2c-text-input {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  outline: none;
  border-radius: 8px;
  background-color: #f9f9fb;
  color: #111827;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background .2s ease, box-shadow .2s ease;
  width: 100%;
}

.b2c-text-input:focus {
  background-color: #fff;
  box-shadow:
    0 0 0 4px #cbced3,
    inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.b2c-w-10 {
  width: 10%;
}

.b2c-img-zoom {
  cursor: zoom-in;
  transition: transform .15s ease;
}

.b2c-img-zoom:hover {
  transform: scale(1.03);
}

.b2c-img-wrap {
  position: relative;
  display: inline-block;
}

.b2c-image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.b2c-image-modal__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  background: #fff;
}

.b2c-image-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
}

.b2c-image-modal__close:hover {
  background: #f9fafb;
}

.b2c-image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .9);
  border: 1px solid #e5e7eb;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
}

.b2c-image-modal__nav:hover {
  background: #fff;
}

.b2c-image-modal__nav--prev {
  left: 16px;
}

.b2c-image-modal__nav--next {
  right: 16px;
}

.b2c-roorder-icon {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  opacity: .85;
  transform: scale(1);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}

.b2c-zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  opacity: .85;
  transform: scale(1);
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}

.b2c-img-wrap:hover .b2c-zoom-icon,
.b2c-img-wrap:hover .b2c-roorder-icon {
  opacity: 1;
  transform: scale(1.05);
}

.b2c-promo-item .b2c-img-wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.b2c-promo-item[aria-grabbed="true"] {
  opacity: .6;
}

.b2c-promo-item.is-over {
  outline: 2px dashed #9ca3af;
  outline-offset: 4px;
}


.b2c-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}


.b2c-option input[type="checkbox"],
.b2c-option input[type="radio"] {
  accent-color: #111827;
}

.b2c-option input:disabled {
  accent-color: #9ca3af;
}

.b2c-option:has(input:checked) {
  color: #111827;
}

.b2c-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.b2c-option-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 16px;
}

.b2c-option-text {
  flex: 1;
  font-weight: 400;
}

.b2c-option-default {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-left: 42px;
  font-size: 14px;
  color: #111827;
  font-weight: 500;
}

.b2c-option-default input[type="checkbox"],
.b2c-option-default input[type="radio"] {
  accent-color: #111827;
}

.b2c-option-default input:disabled {
  accent-color: #9ca3af;
}

.b2c-option-default:has(input:checked) {
  color: #111827;
}


.b2c-option-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}


.b2c-color-field {
  display: grid;
}

.b2c-field-head {
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.b2c-field-desc {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}

.b2c-field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #b91c1c;
}


.b2c-label--one-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b2c-desc-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b2c-field-row {
  margin-top: 8px;
}

.b2c-segmented {
  --seg-track-bg: #f3f4f6;
  --seg-active-bg: #ffffff;
  --seg-border: #e5e7eb;
  --seg-fg: #111827;
  --seg-muted: #6b7280;
  --seg-shadow: 0 1px 2px rgba(0, 0, 0, .06);

  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px;
  border-radius: 9999px;
  background: var(--seg-track-bg);
}

.b2c-seg-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--seg-fg);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
  box-shadow: none;
  outline: none;
  opacity: .9;
  user-select: none;
}

.b2c-seg-btn:hover {
  opacity: 1;
}

.b2c-seg-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .25);
}

.b2c-seg-btn.is-active,
.b2c-seg-btn[data-active="true"] {
  background: var(--seg-active-bg);
  border-color: var(--seg-border);
  box-shadow: var(--seg-shadow);
  opacity: 1;
}

.b2c-seg-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.b2c-seg-sm .b2c-seg-btn {
  padding: 4px 5px;
}

.b2c-seg-md .b2c-seg-btn {
  padding: 7px 7px;
}

.b2c-seg-lg .b2c-seg-btn {
  padding: 10px 12px;
}

.b2c-seg-ico {
  display: inline-flex;
  line-height: 0;
}

.b2c-link-icon-btn {
  appearance: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 4px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 0;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.b2c-link-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: #111827;
  stroke-width: 2;
}

.b2c-link-icon-btn:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.mb-10 {
  margin-bottom: 10px;
}

.text-amber-700 {
  color: #bb4d00;
}

.b2c-preview-video-large {
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.b2c-video-zoom {
  cursor: zoom-in;
  transition: transform .15s ease;
}

.b2c-video-zoom:hover {
  transform: scale(1.03);
}

.b2c-video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.b2c-video-modal__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  background: #fff;
}

.b2c-video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
  cursor: pointer;
}

.b2c-video-modal__close:hover {
  background: #f9fafb;
}