/* Domain.af — Brand Protection Offers card (/cart, and the admin live preview). Self-contained, "bo-" prefix. */
.bo-slot { display: block; }
.bo-slot[hidden] { display: none; }
.bo-form { margin: 0; }
.bo-card { --bo-ink: #0a0a0a; --bo-line: var(--ac-line, #e6e8ec); --bo-text: var(--ac-text, #0f1419); --bo-muted: var(--ac-text-3, #6b7280); --bo-surface: var(--ac-surface, #fff);
  border: 1px solid var(--bo-line); border-radius: var(--ac-radius, 14px); overflow: hidden; background: var(--bo-surface); color: var(--bo-text);
  animation: bo-in .25s ease-out both; }
@keyframes bo-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bo-card { animation: none; } }
.bo-card__head { display: flex; align-items: center; gap: .6rem; padding: .9rem 1.25rem; background: var(--bo-ink); color: #fff; }
.bo-card__icon { display: inline-flex; }
.bo-card__title { margin: 0; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.bo-card__sample { margin-left: auto; padding: .15rem .5rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; }
.bo-card__body { display: grid; gap: 1rem; padding: 1.15rem 1.25rem 1.25rem; }
.bo-card__text { margin: 0; color: var(--bo-muted); font-size: .9375rem; line-height: 1.5; }
.bo-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.bo-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "check name price" "check badge price"; align-items: center; column-gap: .75rem; row-gap: .2rem;
  padding: .75rem .9rem; border: 1px solid var(--bo-line); border-radius: var(--ac-radius-sm, 10px); cursor: pointer; transition: border-color .15s, background-color .15s; }
.bo-row:hover { border-color: var(--bo-text); }
.bo-row:has(.bo-row__check:checked) { border-color: var(--bo-text); background: var(--ac-surface-2, #f9fafb); }
.bo-row__check { grid-area: check; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--bo-ink); }
.bo-row__name { grid-area: name; font-weight: 650; overflow-wrap: anywhere; }
.bo-badge { grid-area: badge; justify-self: start; padding: .1rem .45rem; border-radius: 999px; background: var(--bo-ink); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; }
.bo-row__price { grid-area: price; display: grid; justify-items: end; line-height: 1.25; text-align: right; }
.bo-row__was { color: var(--bo-muted); font-size: .8125rem; }
.bo-row__price small { color: var(--bo-muted); font-size: .75rem; }
.bo-card__foot { display: grid; gap: .6rem; }
.bo-card__alert { margin: 0; color: var(--ac-danger, #b91c1c); font-size: .875rem; }
.bo-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-height: 2.75rem; padding: .65rem 1.1rem; border: 1px solid var(--bo-ink);
  border-radius: var(--ac-radius-sm, 10px); background: var(--bo-ink); color: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: opacity .15s; }
.bo-btn:disabled { opacity: .4; cursor: not-allowed; }
.bo-btn:focus-visible, .bo-row:focus-within { outline: 2px solid var(--ac-focus, #2563eb); outline-offset: 2px; }
.bo-spin { width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: bo-spin .7s linear infinite; }
.bo-spin[hidden] { display: none; }
@keyframes bo-spin { to { transform: rotate(360deg); } }
@media (min-width: 600px) { .bo-btn { width: auto; justify-self: end; } }
@media (max-width: 479px) {
  .bo-card__head, .bo-card__body { padding-left: 1rem; padding-right: 1rem; }
  .bo-row { grid-template-columns: auto 1fr; grid-template-areas: "check name" "check badge" "check price"; }
  .bo-row__price { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .4rem; }
}
/* Loading placeholder while the registry is asked. */
.bo-skeleton { display: grid; gap: .6rem; padding: 1.1rem 1.25rem; border: 1px solid var(--ac-line, #e6e8ec); border-radius: var(--ac-radius, 14px); background: var(--ac-surface, #fff); }
.bo-skeleton > span { display: block; height: .8rem; border-radius: 6px; background: linear-gradient(90deg, var(--ac-line-2, #eef0f3) 25%, var(--ac-line, #e6e8ec) 50%, var(--ac-line-2, #eef0f3) 75%); background-size: 200% 100%; animation: bo-shimmer 1.2s linear infinite; }
.bo-skeleton__bar { width: 40%; height: 1rem !important; }
.bo-skeleton__line--short { width: 65%; }
@keyframes bo-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bo-skeleton > span { animation: none; } }
/* Discounted cart line and summary row. */
.bo-price { display: inline-flex; align-items: baseline; gap: .4rem; }
.bo-price s { color: var(--ac-text-3, #6b7280); font-weight: 400; font-size: .875em; }
.bo-tag { font-weight: 650; color: var(--ac-text, #0f1419); }
.bo-saving dd { color: var(--ac-success, #15803d); }
/* Admin preview frame. */
.bo-preview { display: grid; gap: .75rem; }
.bo-preview__frame { margin-inline: auto; width: 100%; max-width: 44rem; padding: 1rem; border: 1px dashed #d1d5db; border-radius: 12px; background: #f6f7f9; transition: max-width .2s; font-family: inherit; }
.bo-preview__frame.is-mobile { max-width: 375px; }
.bo-preview__frame.is-mobile .bo-row { grid-template-columns: auto 1fr; grid-template-areas: "check name" "check badge" "check price"; }
.bo-preview__frame.is-mobile .bo-row__price { justify-items: start; text-align: left; }
.bo-preview__frame.is-mobile .bo-btn { width: 100%; }

/* Cart redesign: two-column suggestion cards on desktop, compact black header */
.bo-card__title { font-size: .9375rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.bo-card__head { padding: .7rem 1.1rem; }
.bo-card__body { gap: .75rem; padding: 1rem 1.1rem 1.1rem; }
.bo-list { grid-template-columns: 1fr; }
@media (min-width: 700px) { .bo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bo-row:has(.bo-row__check:checked) { border-color: #000; }
