.digibuds-bas-dashboard {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 24px;
}

.digibuds-bas-card {
    background: var(--digibuds-bas-bg, #fffaf7);
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: var(--digibuds-bas-radius, 8px);
    color: var(--digibuds-bas-text, #2b2527);
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    min-height: 142px;
    padding: 16px;
}

.digibuds-bas-card__body {
    display: grid;
    gap: 7px;
}

.digibuds-bas-card__eyebrow {
    color: var(--digibuds-bas-primary, #7a1f2b);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.digibuds-bas-card__title {
    color: var(--digibuds-bas-text, #2b2527);
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.digibuds-bas-card__text {
    color: #655d59;
    font-size: 13px;
    line-height: 1.45;
}

.digibuds-bas-card__link,
.digibuds-bas-button {
    align-items: center;
    background: var(--digibuds-bas-primary, #7a1f2b);
    border: 1px solid var(--digibuds-bas-primary, #7a1f2b);
    border-radius: calc(var(--digibuds-bas-radius, 8px) / 1.5);
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    padding: 9px 12px;
    text-decoration: none;
}

.digibuds-bas-card__link:hover,
.digibuds-bas-button:hover {
    background: #5f1721;
    border-color: #5f1721;
    color: #fff;
    text-decoration: none;
}

.digibuds-bas-badge {
    align-items: center;
    background: #ece7e3;
    border: 1px solid #d5ccc6;
    border-radius: 4px;
    color: #4b4542;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    padding: 3px 9px;
    white-space: nowrap;
    width: max-content;
}

.digibuds-bas-badge--complete {
    background: #dceedd;
    border-color: #b9d8bd;
    color: #285b32;
}

.digibuds-bas-badge--processing {
    background: #f6e1c7;
    border-color: #edc28e;
    color: #74420d;
}

.digibuds-bas-badge--refunded {
    background: #dfecf7;
    border-color: #abcde9;
    color: #1b5d8f;
}

.digibuds-bas-badge--attention {
    background: #f3dada;
    border-color: #e5bcbc;
    color: #6f2d2d;
}

.digibuds-bas-badge--pending,
.digibuds-bas-badge--neutral {
    background: #ece7e3;
    border-color: #d5ccc6;
    color: #4b4542;
}

.digibuds-bas-notice {
    background: var(--digibuds-bas-notice-bg, #f7efe8);
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: var(--digibuds-bas-radius, 8px);
    color: var(--digibuds-bas-text, #2b2527);
    margin: 0 0 16px;
    padding: 12px 14px;
}

.digibuds-bas-notice p {
    margin: 0 0 8px;
}

.digibuds-bas-notice p:last-child {
    margin-bottom: 0;
}

.digibuds-bas-secondary-orders {
    margin-top: 24px;
}

.digibuds-bas-secondary-orders__toggle {
    align-items: center;
    background: #f7f4f1;
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: var(--digibuds-bas-radius, 8px);
    color: var(--digibuds-bas-text, #2b2527);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 10px;
    justify-content: space-between;
    list-style: none;
    padding: 13px 14px;
}

.digibuds-bas-secondary-orders__toggle::-webkit-details-marker {
    display: none;
}

.digibuds-bas-secondary-orders__toggle:after {
    content: '+';
    font-size: 18px;
    line-height: 1;
}

.digibuds-bas-secondary-orders[open] .digibuds-bas-secondary-orders__toggle:after {
    content: '-';
}

.digibuds-bas-secondary-orders__count {
    margin-left: auto;
}

.digibuds-bas-secondary-orders__content {
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: 0 0 var(--digibuds-bas-radius, 8px) var(--digibuds-bas-radius, 8px);
    border-top: 0;
    padding: 14px;
}

.digibuds-bas-secondary-orders__note {
    margin-bottom: 14px;
}


.digibuds-bas-order-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.digibuds-bas-order-filter__item {
    background: #f7f4f1;
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: calc(var(--digibuds-bas-radius, 8px) / 1.5);
    color: var(--digibuds-bas-text, #2b2527);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 12px;
    text-decoration: none;
}

.digibuds-bas-order-filter__item:hover,
.digibuds-bas-order-filter__item--active {
    background: var(--digibuds-bas-primary, #7a1f2b);
    border-color: var(--digibuds-bas-primary, #7a1f2b);
    color: #fff;
    text-decoration: none;
}

.sales-order-view .column.main .order-details-items,
.sales-order-view .column.main .block-order-details-view {
    border-radius: var(--digibuds-bas-radius, 8px);
}

.sales-order-view .column.main .order-details-items .table-wrapper,
.sales-order-view .column.main .block-order-details-view .block-content {
    border-radius: var(--digibuds-bas-radius, 8px);
    overflow: hidden;
}

.sales-order-view .column.main .order-details-items .data.table,
.sales-order-view .column.main .block-order-details-view .box {
    border-radius: var(--digibuds-bas-radius, 8px);
}

.sales-order-view .column.main .order-links .item {
    border-radius: var(--digibuds-bas-radius, 8px) var(--digibuds-bas-radius, 8px) 0 0;
}

.digibuds-bas-timeline {
    background: var(--digibuds-bas-bg, #fffaf7);
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: var(--digibuds-bas-radius, 8px);
    margin: 0 0 20px;
    padding: 16px;
}

.digibuds-bas-timeline__list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.digibuds-bas-timeline__step {
    color: #7a716c;
    display: grid;
    gap: 8px;
    justify-items: center;
    min-width: 0;
    position: relative;
    text-align: center;
}

.digibuds-bas-timeline__step:before {
    background: var(--digibuds-bas-border, #ded6d1);
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 14px;
    z-index: 0;
}

.digibuds-bas-timeline__step:first-child:before {
    left: 50%;
}

.digibuds-bas-timeline__step:last-child:before {
    right: 50%;
}

.digibuds-bas-timeline__marker {
    align-items: center;
    background: #fff;
    border: 2px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: 999px;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 30px;
    z-index: 1;
}

.digibuds-bas-timeline__number {
    font-size: 12px;
    font-weight: 800;
}

.digibuds-bas-timeline__label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.digibuds-bas-timeline__step--completed {
    color: var(--digibuds-bas-primary, #7a1f2b);
}

.digibuds-bas-timeline__step--completed .digibuds-bas-timeline__marker {
    background: var(--digibuds-bas-primary, #7a1f2b);
    border-color: var(--digibuds-bas-primary, #7a1f2b);
    color: #fff;
}

.digibuds-bas-timeline__step--current {
    color: var(--digibuds-bas-text, #2b2527);
}

.digibuds-bas-timeline__step--current .digibuds-bas-timeline__marker {
    background: var(--digibuds-bas-accent, #c89b5b);
    border-color: var(--digibuds-bas-accent, #c89b5b);
    color: #241a15;
}

.digibuds-bas-support-box {
    align-items: center;
    background: var(--digibuds-bas-bg, #fffaf7);
    border: 1px solid var(--digibuds-bas-border, #ded6d1);
    border-radius: var(--digibuds-bas-radius, 8px);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 20px 0;
    padding: 16px;
}

.digibuds-bas-support-box__title {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.digibuds-bas-support-box__text {
    margin: 0;
}

.digibuds-bas-downloads-intro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
}

.digibuds-bas-downloads-intro a {
    font-weight: 700;
}


.digibuds-bas-topic-help {
    margin-top: 20px;
}

.table-wrapper.orders-history .col.actions,
.table-wrapper.orders-recent .col.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.table-wrapper.orders-history .col.actions .action,
.table-wrapper.orders-recent .col.actions .action {
    white-space: nowrap;
}

.digibuds-bas-empty-state {
    border-radius: var(--digibuds-bas-radius, 8px);
}

@media (max-width: 900px) {
    .digibuds-bas-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .digibuds-bas-dashboard,
    .digibuds-bas-timeline__list {
        grid-template-columns: 1fr;
    }

    .digibuds-bas-timeline__step {
        align-items: center;
        grid-template-columns: 30px 1fr;
        justify-items: start;
        text-align: left;
    }

    .digibuds-bas-timeline__step:before {
        bottom: -8px;
        height: auto;
        left: 14px;
        right: auto;
        top: 30px;
        width: 2px;
    }

    .digibuds-bas-timeline__step:first-child:before {
        left: 14px;
    }

    .digibuds-bas-timeline__step:last-child:before {
        display: none;
    }

    .digibuds-bas-support-box {
        align-items: stretch;
        flex-direction: column;
    }
}


/* =========================================================
   BLACKBRIAR ACCOUNT POLISH - 2026-05-19
   Revert by removing this block only.
   Aligns account cards, CTA buttons, and order filters with the store palette.
   ========================================================= */
body.account {
    --digibuds-bas-primary: #d00000 !important;
    --digibuds-bas-accent: #111111 !important;
    --digibuds-bas-text: #171717 !important;
    --digibuds-bas-border: #e4e4e4 !important;
    --digibuds-bas-bg: #ffffff !important;
    --digibuds-bas-notice-bg: #f7f7f7 !important;
}

body.account .digibuds-bas-card {
    background: #ffffff;
    border-color: #e4e4e4;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .035);
}

body.account .digibuds-bas-card__eyebrow {
    color: #d00000;
    letter-spacing: 0;
}

body.account .digibuds-bas-card__text {
    color: #5f5f5f;
}

body.account .digibuds-bas-card__link,
body.account .digibuds-bas-button {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.account .digibuds-bas-card__link:visited,
body.account .digibuds-bas-button:visited {
    color: #ffffff !important;
}

body.account .digibuds-bas-card__link:hover,
body.account .digibuds-bas-card__link:focus,
body.account .digibuds-bas-card__link:focus-visible,
body.account .digibuds-bas-button:hover,
body.account .digibuds-bas-button:focus,
body.account .digibuds-bas-button:focus-visible {
    background: #a90000;
    border-color: #a90000;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(208, 0, 0, .22);
    text-decoration: none;
    transform: translateY(-1px);
}

body.account .digibuds-bas-card__link:active,
body.account .digibuds-bas-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(208, 0, 0, .18);
}

body.account .digibuds-bas-order-filter {
    gap: 9px;
}

body.account .digibuds-bas-order-filter__item {
    background: #ffffff;
    border-color: #dedede;
    color: #171717;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .035);
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.account .digibuds-bas-order-filter__item:visited {
    color: #171717;
}

body.account .digibuds-bas-order-filter__item:hover,
body.account .digibuds-bas-order-filter__item:focus,
body.account .digibuds-bas-order-filter__item:focus-visible {
    background: #fff5f5;
    border-color: rgba(208, 0, 0, .42);
    color: #d00000;
    box-shadow: 0 4px 12px rgba(208, 0, 0, .09);
    text-decoration: none;
    transform: translateY(-1px);
}

body.account .digibuds-bas-order-filter__item--active,
body.account .digibuds-bas-order-filter__item--active:visited,
body.account .digibuds-bas-order-filter__item--active:hover,
body.account .digibuds-bas-order-filter__item--active:focus,
body.account .digibuds-bas-order-filter__item--active:focus-visible {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(208, 0, 0, .18);
    transform: none;
}

body.account .digibuds-bas-secondary-orders__toggle {
    background: #ffffff;
    border-color: #e1e1e1;
    color: #171717;
}

body.account .digibuds-bas-secondary-orders__toggle:hover,
body.account .digibuds-bas-secondary-orders__toggle:focus {
    border-color: rgba(208, 0, 0, .38);
    color: #d00000;
}

body.account .digibuds-bas-timeline,
body.account .digibuds-bas-support-box,
body.account .digibuds-bas-notice {
    background: #ffffff;
    border-color: #e4e4e4;
}

body.account .digibuds-bas-timeline__step--completed,
body.account .digibuds-bas-downloads-intro a,
body.account .digibuds-bas-downloads-intro a:visited {
    color: #d00000;
}

body.account .digibuds-bas-timeline__step--completed .digibuds-bas-timeline__marker {
    background: #d00000;
    border-color: #d00000;
}

body.account .digibuds-bas-timeline__step--current .digibuds-bas-timeline__marker {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

body.account .table-wrapper.orders-history .action.view,
body.account .table-wrapper.orders-history .action.track,
body.account .table-wrapper.orders-history .action.order,
body.account .table-wrapper.orders-history .action.help,
body.account .table-wrapper.orders-recent .action.view,
body.account .table-wrapper.orders-recent .action.order,
body.account .table-wrapper.orders-recent .action.help,
body.account .table-wrapper.orders-history .action.view:visited,
body.account .table-wrapper.orders-history .action.track:visited,
body.account .table-wrapper.orders-history .action.order:visited,
body.account .table-wrapper.orders-history .action.help:visited,
body.account .table-wrapper.orders-recent .action.view:visited,
body.account .table-wrapper.orders-recent .action.order:visited,
body.account .table-wrapper.orders-recent .action.help:visited {
    color: #d00000;
}

body.account .table-wrapper.orders-history .action.view:hover,
body.account .table-wrapper.orders-history .action.track:hover,
body.account .table-wrapper.orders-history .action.order:hover,
body.account .table-wrapper.orders-history .action.help:hover,
body.account .table-wrapper.orders-recent .action.view:hover,
body.account .table-wrapper.orders-recent .action.order:hover,
body.account .table-wrapper.orders-recent .action.help:hover,
body.account .table-wrapper.orders-history .action.view:focus,
body.account .table-wrapper.orders-history .action.track:focus,
body.account .table-wrapper.orders-history .action.order:focus,
body.account .table-wrapper.orders-history .action.help:focus,
body.account .table-wrapper.orders-recent .action.view:focus,
body.account .table-wrapper.orders-recent .action.order:focus,
body.account .table-wrapper.orders-recent .action.help:focus {
    color: #a90000;
    text-decoration: underline;
}

/* =========================================================
   BLACKBRIAR MOBILE ACCOUNT HEADER REPAIR - 2026-05-26
   Account links live in the hamburger menu on mobile, so the
   duplicate Magento account dropdown is removed from this viewport.
   ========================================================= */
@media (max-width: 767px) {
    body.account .page-main {
        padding-top: 28px;
    }

    body.account .page-main > .page-title-wrapper {
        margin: 0 0 22px;
    }

    body.account .page-main > .page-title-wrapper .page-title {
        margin: 0;
    }

    body.account .columns .sidebar-main {
        display: none !important;
    }

    body.account .columns .column.main {
        order: 1;
        width: 100%;
    }
}


/* =========================================================
   BLACKBRIAR ORDER HISTORY TABLE POLISH - 2026-06-05
   Revert by removing this block only.
   ========================================================= */
body.account .digibuds-bas-orders-history {
    --bb-order-border: #e6e6e6;
    --bb-order-border-strong: #d8d8d8;
    --bb-order-muted: #696969;
    --bb-order-soft: #f7f7f7;
    --bb-order-text: #171717;
    color: var(--bb-order-text);
    margin-top: 2px;
}

body.account.sales-order-history .page-main > .page-title-wrapper .page-title,
body.sales-order-history .page-main > .page-title-wrapper .page-title {
    color: #171717;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 18px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter {
    align-items: center;
    background: var(--bb-order-soft);
    border: 1px solid var(--bb-order-border);
    border-radius: 8px;
    display: inline-flex;
    gap: 4px;
    margin: 0 0 16px;
    padding: 4px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:visited {
    align-items: center;
    background: transparent;
    border-color: transparent;
    border-radius: 6px;
    box-shadow: none;
    color: #4f4f4f;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    min-height: 34px;
    padding: 8px 13px;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:focus-visible {
    background: #ffffff;
    border-color: var(--bb-order-border-strong);
    box-shadow: none;
    color: #171717;
    text-decoration: none;
    transform: none;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item--active,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item--active:visited,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item--active:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item--active:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item--active:focus-visible {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff;
    box-shadow: none;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper {
    background: #ffffff;
    border: 1px solid var(--bb-order-border);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .05);
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    min-width: 930px;
    table-layout: auto;
    width: 100%;
}

body.account .digibuds-bas-orders-history .table-caption {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table thead th {
    background: #f8f8f8;
    border-bottom: 1px solid var(--bb-order-border);
    color: #4c4c4c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    padding: 14px 16px;
    vertical-align: middle;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #242424;
    font-size: 14px;
    line-height: 1.35;
    padding: 14px 16px;
    vertical-align: middle;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr:last-child td {
    border-bottom: 0;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr:hover td {
    background: #fcfcfc;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.id {
    width: 118px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number {
    color: #111111;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date {
    color: #4b4b4b;
    width: 104px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
    color: #111111;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    width: 118px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
    width: 138px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge {
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    min-height: 24px;
    padding: 4px 10px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge--complete {
    background: #e8f4ea;
    border-color: #bedec4;
    color: #215f31;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge--processing {
    background: #fff3df;
    border-color: #efd3a5;
    color: #75430d;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge--refunded {
    background: #eaf3fb;
    border-color: #bdd9ef;
    color: #1f5f91;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge--attention {
    background: #f8e6e6;
    border-color: #ebbebe;
    color: #762828;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge--pending,
body.account .digibuds-bas-orders-history .digibuds-bas-badge--neutral {
    background: #efefef;
    border-color: #d9d9d9;
    color: #454545;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update {
    min-width: 168px;
    width: 190px;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__status,
body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty {
    color: #242424;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty {
    color: #555555;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__time {
    color: #747474;
    font-size: 11px;
    font-weight: 700;
}

body.account .digibuds-bas-orders-history td.col.actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-width: 260px;
}

body.account .digibuds-bas-orders-history td.col.actions .action::before,
body.account .digibuds-bas-orders-history td.col.actions .action::after,
body.account .digibuds-bas-orders-history td.col.actions .action + .action::before {
    content: none !important;
    display: none !important;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:visited {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--bb-order-border-strong);
    border-radius: 6px;
    color: #171717;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.15;
    min-height: 32px;
    padding: 7px 10px;
    text-decoration: none;
    white-space: nowrap;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:focus-visible {
    background: #f7f7f7;
    border-color: #bdbdbd;
    color: #111111;
    text-decoration: none;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:visited {
    background: #171717;
    border-color: #171717;
    color: #ffffff !important;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:focus-visible {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff !important;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--track,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--track:visited {
    background: #f2faf4;
    border-color: #c9e4d0;
    color: #1f6f39;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--help,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--help:visited {
    background: #fff7f7;
    border-color: #f0cccc;
    color: #b00000;
}

body.account .digibuds-bas-orders-history .order-products-toolbar.toolbar.bottom {
    margin: 16px 0 0;
    padding: 0;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pager {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: space-between;
    margin: 0;
}

body.account .digibuds-bas-orders-history .toolbar-amount {
    color: #555555;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

body.account .digibuds-bas-orders-history .pages {
    margin: 0 auto;
}

body.account .digibuds-bas-orders-history .pages .items {
    align-items: center;
    display: flex;
    gap: 5px;
}

body.account .digibuds-bas-orders-history .pages .item {
    margin: 0;
}

body.account .digibuds-bas-orders-history .pages .page,
body.account .digibuds-bas-orders-history .pages .action {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #171717;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0 10px;
    text-decoration: none;
}

body.account .digibuds-bas-orders-history .pages .item.current .page,
body.account .digibuds-bas-orders-history .pages .page:hover,
body.account .digibuds-bas-orders-history .pages .page:focus {
    background: #171717;
    border-color: #171717;
    color: #ffffff;
}

body.account .digibuds-bas-orders-history .pages .action {
    background: #f2f2f2;
    border-color: var(--bb-order-border);
}

body.account .digibuds-bas-orders-history .limiter {
    align-items: center;
    color: #555555;
    display: flex;
    gap: 8px;
    margin: 0;
}

body.account .digibuds-bas-orders-history .limiter-label,
body.account .digibuds-bas-orders-history .limiter-text {
    font-size: 13px;
    font-weight: 700;
}

body.account .digibuds-bas-orders-history .limiter-options {
    border: 1px solid var(--bb-order-border-strong);
    border-radius: 6px;
    height: 36px;
    min-width: 58px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-secondary-orders {
    margin-top: 22px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-secondary-orders__toggle {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .035);
}

body.account .digibuds-bas-orders-history .digibuds-bas-secondary-orders__content {
    background: #ffffff;
    border-color: var(--bb-order-border);
    border-radius: 0 0 8px 8px;
}

@media (max-width: 767px) {
    body.account.sales-order-history .page-main > .page-title-wrapper .page-title,
    body.sales-order-history .page-main > .page-title-wrapper .page-title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-filter {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item {
        justify-content: center;
        text-align: center;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table thead {
        display: none;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody {
        display: grid;
        gap: 12px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        background: #ffffff;
        border: 1px solid var(--bb-order-border);
        border-radius: 8px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .045);
        display: grid;
        gap: 11px 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr:hover td,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
        background: transparent;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
        border: 0 !important;
        display: grid;
        gap: 3px;
        min-width: 0;
        padding: 0 !important;
        width: auto !important;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td::before {
        color: #747474;
        content: attr(data-th);
        display: block;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update {
        grid-column: 1 / -1;
        min-width: 0;
        width: auto;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        border-top: 1px solid #eeeeee !important;
        display: flex;
        gap: 8px;
        padding-top: 12px !important;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions::before {
        flex: 0 0 100%;
        margin-bottom: 1px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-action {
        flex: 1 1 auto;
        min-height: 36px;
        text-align: center;
    }

    body.account .digibuds-bas-orders-history .order-products-toolbar .pager {
        align-items: stretch;
        gap: 12px;
    }

    body.account .digibuds-bas-orders-history .toolbar-amount,
    body.account .digibuds-bas-orders-history .pages,
    body.account .digibuds-bas-orders-history .limiter {
        width: 100%;
    }

    body.account .digibuds-bas-orders-history .pages {
        margin: 0;
    }

    body.account .digibuds-bas-orders-history .pages .items {
        justify-content: center;
    }

    body.account .digibuds-bas-orders-history .limiter {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY REFINEMENT - 2026-06-05
   Dials down button weight, radius, and table crowding.
   Revert by removing this block only.
   ========================================================= */
body.account .digibuds-bas-orders-history {
    --bb-order-radius: 4px;
    --bb-order-radius-sm: 3px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter,
body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper,
body.account .digibuds-bas-orders-history .digibuds-bas-secondary-orders__toggle,
body.account .digibuds-bas-orders-history .digibuds-bas-secondary-orders__content {
    border-radius: var(--bb-order-radius);
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter {
    background: #ffffff;
    box-shadow: none;
    gap: 3px;
    margin-bottom: 14px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item,
body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:visited {
    border-radius: var(--bb-order-radius-sm);
    font-size: 12px;
    min-height: 30px;
    padding: 6px 11px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table {
    min-width: 820px;
    table-layout: fixed;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table thead th {
    font-size: 11px;
    padding: 11px 12px;
    white-space: nowrap;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
    font-size: 13px;
    padding: 11px 12px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.id {
    width: 96px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date {
    width: 82px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
    text-align: right;
    width: 92px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table thead .col.total {
    text-align: right;
}

body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
    width: 104px;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update {
    min-width: 0;
    width: 150px;
}

body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__status,
body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty {
    font-size: 11px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-badge {
    border-radius: var(--bb-order-radius-sm);
    font-size: 11px;
    min-height: 20px;
    padding: 2px 7px;
}

body.account .digibuds-bas-orders-history td.col.actions {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
    width: 236px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:visited {
    background: #ffffff;
    border-color: #d9d9d9;
    border-radius: var(--bb-order-radius-sm);
    box-sizing: border-box;
    color: #343434;
    font-size: 11px;
    min-height: 27px;
    padding: 5px 8px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:focus-visible {
    background: #f7f7f7;
    border-color: #a8a8a8;
    color: #111111;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:visited {
    background: #fff7f7;
    border-color: #e3b3b3;
    color: #b00000 !important;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:hover,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:focus,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--view:focus-visible {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff !important;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--help,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--help:visited {
    background: #ffffff;
    border-color: #efcaca;
    color: #c00000;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action--track,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action--track:visited {
    background: #ffffff;
    border-color: #c6ddcc;
    color: #246f3b;
}

body.account .digibuds-bas-orders-history .pages .page,
body.account .digibuds-bas-orders-history .pages .action,
body.account .digibuds-bas-orders-history .limiter-options {
    border-radius: var(--bb-order-radius-sm);
}

body.account .digibuds-bas-orders-history .pages .item.current .page,
body.account .digibuds-bas-orders-history .pages .page:hover,
body.account .digibuds-bas-orders-history .pages .page:focus {
    background: #d00000;
    border-color: #d00000;
}

@media (max-width: 767px) {
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        border-radius: var(--bb-order-radius);
    }

    body.account .digibuds-bas-orders-history td.col.actions {
        width: auto;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-action {
        flex: 0 1 auto;
        min-height: 32px;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY PAGER FIX - 2026-06-05
   Resets Magento account-toolbar positioning for this pager only.
   ========================================================= */
body.account .digibuds-bas-orders-history .order-products-toolbar .pager {
    align-items: center;
    display: grid !important;
    gap: 10px 14px;
    grid-template-columns: minmax(170px, 1fr) auto minmax(145px, 1fr);
    margin: 16px 0 0;
    position: static !important;
    width: 100%;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount,
body.account .digibuds-bas-orders-history .order-products-toolbar .pages,
body.account .digibuds-bas-orders-history .order-products-toolbar .limiter {
    float: none !important;
    line-height: 1.3;
    margin: 0 !important;
    position: static !important;
    width: auto !important;
    z-index: auto !important;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    text-align: left !important;
    white-space: nowrap;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages {
    grid-column: 2;
    justify-self: center;
    text-align: center;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .limiter {
    align-items: center;
    display: flex !important;
    grid-column: 3;
    justify-self: end;
    white-space: nowrap;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages .items {
    align-items: center;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 5px;
    letter-spacing: 0 !important;
    line-height: 1;
    white-space: nowrap;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages .item {
    align-items: center;
    display: flex !important;
    font-size: 13px;
    line-height: 1;
    margin: 0 !important;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages .page,
body.account .digibuds-bas-orders-history .order-products-toolbar .pages .action {
    align-items: center;
    box-sizing: border-box;
    display: inline-flex !important;
    font-size: 13px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    min-width: 32px;
    padding: 0 9px;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages .action.next,
body.account .digibuds-bas-orders-history .order-products-toolbar .pages .action.previous {
    height: 32px;
    margin: 0 !important;
    min-width: 34px;
    overflow: hidden;
    padding: 0;
}

body.account .digibuds-bas-orders-history .order-products-toolbar .pages .action.next::before,
body.account .digibuds-bas-orders-history .order-products-toolbar .pages .action.previous::before {
    font-size: 22px;
    line-height: 1;
    margin: 0;
}

@media (max-width: 767px) {
    body.account .digibuds-bas-orders-history .order-products-toolbar .pager {
        grid-template-columns: 1fr;
    }

    body.account .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount,
    body.account .digibuds-bas-orders-history .order-products-toolbar .pages,
    body.account .digibuds-bas-orders-history .order-products-toolbar .limiter {
        grid-column: 1;
        justify-self: center;
        white-space: normal;
    }

    body.account .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount {
        text-align: center !important;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY ACTION + MOBILE POLISH - 2026-06-05
   Keeps desktop actions in one row and turns mobile rows into clear cards.
   ========================================================= */
body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.actions {
    width: 242px;
}

body.account .digibuds-bas-orders-history td.col.actions {
    flex-wrap: nowrap !important;
    gap: 5px;
    width: 242px;
}

body.account .digibuds-bas-orders-history .digibuds-bas-order-action,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action:visited {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    body.account.sales-order-history .page-main,
    body.sales-order-history .page-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.account.sales-order-history .page-main > .page-title-wrapper .page-title,
    body.sales-order-history .page-main > .page-title-wrapper .page-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-filter {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
        margin-bottom: 12px;
        max-width: 100%;
        overflow-x: auto;
        padding: 4px;
        scrollbar-width: thin;
        width: 100%;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item,
    body.account .digibuds-bas-orders-history .digibuds-bas-order-filter__item:visited {
        flex: 0 0 auto;
        justify-content: center;
        min-height: 34px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody {
        gap: 10px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
        gap: 10px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 13px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
        align-content: start;
        min-height: 0;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td::before {
        color: #777777;
        font-size: 10px;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id {
        grid-column: 1;
        order: 1;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number {
        font-size: 15px;
        line-height: 1.25;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
        align-self: start;
        grid-column: 2;
        justify-self: end;
        order: 2;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: none;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date {
        grid-column: 1;
        order: 3;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 2;
        justify-self: end;
        order: 4;
        text-align: right;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update {
        background: #fafafa;
        border: 1px solid #eeeeee !important;
        grid-column: 1 / -1;
        order: 5;
        padding: 9px 10px !important;
    }

    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__status,
    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty {
        font-size: 12px;
    }

    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__time {
        font-size: 11px;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        border-top: 1px solid #eeeeee !important;
        display: grid !important;
        gap: 7px;
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
        order: 6;
        padding-top: 11px !important;
        width: auto !important;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions::before {
        display: none !important;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-order-action,
    body.account .digibuds-bas-orders-history .digibuds-bas-order-action:visited {
        align-items: center;
        display: inline-flex !important;
        flex: 1 1 auto;
        justify-content: center;
        min-height: 40px;
        padding: 8px 9px;
        text-align: center;
        width: 100%;
    }

    body.account .digibuds-bas-orders-history .order-products-toolbar .pager {
        gap: 11px;
        margin-top: 14px;
    }

    body.account .digibuds-bas-orders-history .order-products-toolbar .limiter {
        justify-content: center;
        width: 100% !important;
    }
}

@media (max-width: 374px) {
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        grid-template-columns: 1fr;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 1;
        justify-self: start;
        text-align: left;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: block;
    }

    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY MOBILE FINAL FIX - 2026-06-05
   Restores hidden action labels and tightens the mobile card layout.
   ========================================================= */
body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-order-action > span,
body.account .digibuds-bas-orders-history .digibuds-bas-order-action > span {
    border: 0 !important;
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    position: static !important;
    white-space: nowrap !important;
    width: auto !important;
}

@media (max-width: 767px) {
    body.sales-order-history .digibuds-bas-orders-history,
    body.account .digibuds-bas-orders-history {
        margin-top: 0;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper {
        margin-left: 0;
        margin-right: 0;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody {
        gap: 10px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        background: #ffffff;
        border: 1px solid #e2e2e2;
        border-radius: 4px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .035);
        display: grid;
        gap: 9px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td {
        background: transparent !important;
        border: 0 !important;
        color: #171717;
        display: grid;
        gap: 2px;
        line-height: 1.25;
        min-width: 0;
        padding: 0 !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody td::before {
        color: #707070;
        content: attr(data-th);
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.1;
        text-transform: uppercase;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id {
        grid-column: 1;
        order: 1;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number {
        font-size: 17px;
        line-height: 1.15;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
        align-self: start;
        grid-column: 2;
        justify-self: end;
        order: 2;
        width: auto !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: none !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-badge,
    body.account .digibuds-bas-orders-history .digibuds-bas-badge {
        font-size: 12px;
        min-height: 24px;
        padding: 3px 8px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date {
        grid-column: 1;
        order: 3;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 2;
        justify-self: end;
        order: 4;
        text-align: right;
        width: auto !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update {
        background: #fafafa !important;
        border: 1px solid #ededed !important;
        grid-column: 1 / -1;
        order: 5;
        padding: 8px 9px !important;
        width: auto !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-pickingbud-history-update::before,
    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update::before {
        margin-bottom: 2px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-pickingbud-history-update__status,
    body.sales-order-history .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty,
    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__status,
    body.account .digibuds-bas-orders-history .digibuds-pickingbud-history-update__empty {
        color: #555555;
        font-size: 13px;
        font-weight: 800;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        border-top: 1px solid #eeeeee !important;
        display: grid !important;
        flex-wrap: initial !important;
        gap: 7px;
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
        order: 6;
        padding-top: 10px !important;
        width: auto !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions::before {
        display: none !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-order-action,
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-order-action:visited,
    body.account .digibuds-bas-orders-history .digibuds-bas-order-action,
    body.account .digibuds-bas-orders-history .digibuds-bas-order-action:visited {
        align-items: center;
        display: inline-flex !important;
        font-size: 12px;
        font-weight: 800;
        justify-content: center;
        min-height: 38px;
        padding: 8px 9px;
        text-align: center;
        width: 100%;
    }

    body.sales-order-history .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount,
    body.account .digibuds-bas-orders-history .order-products-toolbar .toolbar-amount {
        color: #555555;
        font-size: 14px;
        font-weight: 800;
    }

    body.sales-order-history .digibuds-bas-orders-history .order-products-toolbar .limiter,
    body.account .digibuds-bas-orders-history .order-products-toolbar .limiter {
        color: #555555;
        font-size: 14px;
        font-weight: 800;
    }
}

@media (max-width: 374px) {
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        grid-template-columns: 1fr;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 1;
        justify-self: start;
        text-align: left;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: block !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY MOBILE WIDTH FIX - 2026-06-05
   Cancels desktop table width rules inside mobile card mode.
   ========================================================= */
@media (max-width: 767px) {
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table-wrapper {
        max-width: 100%;
        overflow: visible !important;
        width: 100%;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table {
        display: block !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        width: 100% !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody {
        box-sizing: border-box;
        display: grid !important;
        max-width: 100%;
        width: 100%;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table td,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td {
        box-sizing: border-box;
        max-width: 100%;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY MOBILE STATUS HEADER - 2026-06-05
   Moves status out of the detail stack and into the card header.
   ========================================================= */
@media (max-width: 767px) {
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        align-items: start;
        grid-template-columns: minmax(0, 1fr) auto !important;
        row-gap: 8px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id {
        align-items: baseline;
        display: flex !important;
        gap: 12px;
        grid-column: 1;
        min-width: 0;
        order: 1;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-id::before {
        flex: 0 0 auto;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__order-number {
        font-size: 18px;
        line-height: 1.12;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
        align-items: flex-start;
        display: flex !important;
        grid-column: 2;
        justify-content: flex-end;
        justify-self: end;
        order: 1;
        padding-top: 1px !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: none !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date,
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        align-items: baseline;
        display: flex !important;
        gap: 12px;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.date {
        grid-column: 1 / -1;
        order: 2;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .digibuds-pickingbud-history-update {
        order: 3;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 1 / -1;
        justify-self: start;
        order: 4;
        text-align: left;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table td.col.actions {
        order: 5;
    }
}

@media (max-width: 374px) {
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        grid-template-columns: minmax(0, 1fr) auto !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status {
        grid-column: 2 !important;
        justify-self: end !important;
        text-align: right !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.status::before {
        display: none !important;
    }

    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table .col.total {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
        text-align: left !important;
    }
}

/* =========================================================
   BLACKBRIAR ORDER HISTORY MOBILE ROW GRID FIX - 2026-06-05
   Ensures card child ordering works in Magento's responsive table mode.
   ========================================================= */
@media (max-width: 767px) {
    body.sales-order-history .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr,
    body.account .digibuds-bas-orders-history .digibuds-bas-orders-history__table tbody tr {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
    }
}

/* =========================================================
   BLACKBRIAR ACCOUNT INFORMATION FORM - 2026-06-07
   ========================================================= */
body.account.customer-account-edit .form-edit-account.bb-account-edit,
body.customer-account-edit .form-edit-account.bb-account-edit {
    color: #171717;
    max-width: 1080px;
}

body.account.customer-account-edit .bb-account-edit__fieldset,
body.customer-account-edit .bb-account-edit__fieldset {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

body.account.customer-account-edit .bb-account-edit__legend--screen-reader,
body.customer-account-edit .bb-account-edit__legend--screen-reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

body.account.customer-account-edit .bb-account-edit__intro,
body.customer-account-edit .bb-account-edit__intro {
    color: #555555;
    font-size: 15px;
    line-height: 1.55;
    margin: -4px 0 18px;
    max-width: 720px;
}

body.account.customer-account-edit .bb-account-edit__panel,
body.customer-account-edit .bb-account-edit__panel {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .045);
    margin: 0 0 18px;
    overflow: hidden;
}

body.account.customer-account-edit .bb-account-edit__panel--identity,
body.customer-account-edit .bb-account-edit__panel--identity {
    max-width: 460px;
}

body.account.customer-account-edit .bb-account-edit__login-grid,
body.customer-account-edit .bb-account-edit__login-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(360px, 460px) minmax(340px, 480px);
    max-width: 958px;
}

body.account.customer-account-edit .bb-account-edit__login-grid .bb-account-edit__panel,
body.customer-account-edit .bb-account-edit__login-grid .bb-account-edit__panel {
    margin-bottom: 0;
}


body.account.customer-account-edit .bb-account-edit__panel-header,
body.customer-account-edit .bb-account-edit__panel-header {
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    padding: 18px 20px;
}

body.account.customer-account-edit .bb-account-edit__panel-header h2,
body.customer-account-edit .bb-account-edit__panel-header h2,
body.account.customer-account-edit .bb-account-edit__panel-title,
body.customer-account-edit .bb-account-edit__panel-title {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

body.account.customer-account-edit .bb-account-edit__fields,
body.customer-account-edit .bb-account-edit__fields {
    display: grid;
    gap: 16px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
}

body.account.customer-account-edit .bb-account-edit__fields .field,
body.customer-account-edit .bb-account-edit__fields .field {
    margin: 0;
    min-width: 0;
}

body.account.customer-account-edit .bb-account-edit__fields .field.choice,
body.customer-account-edit .bb-account-edit__fields .field.choice {
    grid-column: 1 / -1;
}

body.account.customer-account-edit .bb-account-edit__fields .field > .label,
body.customer-account-edit .bb-account-edit__fields .field > .label {
    color: #171717;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px;
}

body.account.customer-account-edit .bb-account-edit__fields .control,
body.customer-account-edit .bb-account-edit__fields .control {
    width: 100%;
}

body.account.customer-account-edit .bb-account-edit__fields input.input-text,
body.account.customer-account-edit .bb-account-edit__fields input[type='email'],
body.account.customer-account-edit .bb-account-edit__fields input[type='password'],
body.account.customer-account-edit .bb-account-edit__fields select,
body.customer-account-edit .bb-account-edit__fields input.input-text,
body.customer-account-edit .bb-account-edit__fields input[type='email'],
body.customer-account-edit .bb-account-edit__fields input[type='password'],
body.customer-account-edit .bb-account-edit__fields select {
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    box-shadow: none;
    color: #171717;
    font-size: 14px;
    min-height: 40px;
    padding: 9px 11px;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}

body.account.customer-account-edit .bb-account-edit__fields input.input-text:focus,
body.account.customer-account-edit .bb-account-edit__fields input[type='email']:focus,
body.account.customer-account-edit .bb-account-edit__fields input[type='password']:focus,
body.account.customer-account-edit .bb-account-edit__fields select:focus,
body.customer-account-edit .bb-account-edit__fields input.input-text:focus,
body.customer-account-edit .bb-account-edit__fields input[type='email']:focus,
body.customer-account-edit .bb-account-edit__fields input[type='password']:focus,
body.customer-account-edit .bb-account-edit__fields select:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .1);
    outline: 0;
}

body.account.customer-account-edit .bb-account-edit__list,
body.customer-account-edit .bb-account-edit__list {
    background: #ffffff;
}

body.account.customer-account-edit .bb-account-edit__row,
body.customer-account-edit .bb-account-edit__row {
    align-items: center;
    background: #ffffff;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0;
    min-height: 86px;
    padding: 18px 20px;
    transition: background .16s ease;
}

body.account.customer-account-edit .bb-account-edit__row + .bb-account-edit__row,
body.customer-account-edit .bb-account-edit__row + .bb-account-edit__row {
    border-top: 1px solid #eeeeee;
}

body.account.customer-account-edit .bb-account-edit__row:hover,
body.customer-account-edit .bb-account-edit__row:hover {
    background: #fafafa;
}

body.account.customer-account-edit .bb-account-edit__copy,
body.customer-account-edit .bb-account-edit__copy {
    min-width: 0;
}

body.account.customer-account-edit .bb-account-edit__label,
body.customer-account-edit .bb-account-edit__label {
    color: #171717;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

body.account.customer-account-edit .bb-account-edit__description,
body.customer-account-edit .bb-account-edit__description {
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
    margin: 5px 0 0;
}

body.account.customer-account-edit .bb-account-edit__row--checkbox,
body.customer-account-edit .bb-account-edit__row--checkbox {
    display: block;
    min-height: 0;
    padding: 16px 20px;
}

body.account.customer-account-edit .bb-account-edit__checkbox-choice,
body.customer-account-edit .bb-account-edit__checkbox-choice {
    align-items: flex-start;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 20px minmax(0, 1fr);
    margin: 0;
}

body.account.customer-account-edit .bb-account-edit__checkbox-input.checkbox,
body.customer-account-edit .bb-account-edit__checkbox-input.checkbox {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

body.account.customer-account-edit .bb-account-edit__checkbox-box,
body.customer-account-edit .bb-account-edit__checkbox-box {
    background: #ffffff;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    display: inline-block;
    height: 20px;
    margin-top: 2px;
    position: relative;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
    width: 20px;
}

body.account.customer-account-edit .bb-account-edit__checkbox-box:after,
body.customer-account-edit .bb-account-edit__checkbox-box:after {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    content: '';
    height: 9px;
    left: 7px;
    opacity: 0;
    position: absolute;
    top: 3px;
    transform: rotate(45deg) scale(.7);
    transition: opacity .16s ease, transform .16s ease;
    width: 5px;
}

body.account.customer-account-edit .bb-account-edit__checkbox-input:checked + .bb-account-edit__checkbox-box,
body.customer-account-edit .bb-account-edit__checkbox-input:checked + .bb-account-edit__checkbox-box {
    background: #111111;
    border-color: #111111;
}

body.account.customer-account-edit .bb-account-edit__checkbox-input:checked + .bb-account-edit__checkbox-box:after,
body.customer-account-edit .bb-account-edit__checkbox-input:checked + .bb-account-edit__checkbox-box:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

body.account.customer-account-edit .bb-account-edit__checkbox-input:focus-visible + .bb-account-edit__checkbox-box,
body.customer-account-edit .bb-account-edit__checkbox-input:focus-visible + .bb-account-edit__checkbox-box {
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .18);
}

body.account.customer-account-edit .bb-account-edit__checkbox-copy,
body.customer-account-edit .bb-account-edit__checkbox-copy,
body.account.customer-account-edit .bb-account-edit__checkbox-copy .bb-account-edit__description,
body.customer-account-edit .bb-account-edit__checkbox-copy .bb-account-edit__description {
    display: block;
}

body.account.customer-account-edit .bb-account-edit__switch,
body.customer-account-edit .bb-account-edit__switch {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 0;
    min-width: 88px;
    position: relative;
    user-select: none;
}

body.account.customer-account-edit .bb-account-edit__switch-input.checkbox,
body.customer-account-edit .bb-account-edit__switch-input.checkbox {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

body.account.customer-account-edit .bb-account-edit__switch-track,
body.customer-account-edit .bb-account-edit__switch-track {
    background: #d8d8d8;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 auto;
    height: 28px;
    position: relative;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
    width: 50px;
}

body.account.customer-account-edit .bb-account-edit__switch-track:after,
body.customer-account-edit .bb-account-edit__switch-track:after {
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
    content: '';
    height: 22px;
    left: 2px;
    position: absolute;
    top: 2px;
    transition: transform .16s ease;
    width: 22px;
}

body.account.customer-account-edit .bb-account-edit__switch-input:checked + .bb-account-edit__switch-track,
body.customer-account-edit .bb-account-edit__switch-input:checked + .bb-account-edit__switch-track {
    background: #111111;
    border-color: #111111;
}

body.account.customer-account-edit .bb-account-edit__switch-input:checked + .bb-account-edit__switch-track:after,
body.customer-account-edit .bb-account-edit__switch-input:checked + .bb-account-edit__switch-track:after {
    transform: translateX(22px);
}

body.account.customer-account-edit .bb-account-edit__switch-input:focus-visible + .bb-account-edit__switch-track,
body.customer-account-edit .bb-account-edit__switch-input:focus-visible + .bb-account-edit__switch-track {
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .18);
}

body.account.customer-account-edit .bb-account-edit__switch-state,
body.customer-account-edit .bb-account-edit__switch-state {
    color: #777777;
    flex: 0 0 24px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

body.account.customer-account-edit .bb-account-edit__switch-state-on,
body.customer-account-edit .bb-account-edit__switch-state-on {
    display: none;
}

body.account.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state,
body.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state {
    color: #111111;
}

body.account.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state .bb-account-edit__switch-state-on,
body.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state .bb-account-edit__switch-state-on {
    display: inline;
}

body.account.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state .bb-account-edit__switch-state-off,
body.customer-account-edit .bb-account-edit__switch-input:checked ~ .bb-account-edit__switch-state .bb-account-edit__switch-state-off {
    display: none;
}

body.account.customer-account-edit .bb-account-edit__panel--password,
body.customer-account-edit .bb-account-edit__panel--password {
    overflow: visible;
    padding: 0;
    position: relative;
}

body.account.customer-account-edit .bb-account-edit__panel--password:before,
body.customer-account-edit .bb-account-edit__panel--password:before {
    background: #ffffff;
    border-bottom: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    content: '';
    height: 14px;
    left: -8px;
    position: absolute;
    top: 28px;
    transform: rotate(45deg);
    width: 14px;
}

body.account.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__panel-title,
body.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__panel-title {
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    display: block;
    padding: 18px 20px;
}

body.account.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__fields,
body.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__fields {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
}

body.account.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__fields .field,
body.customer-account-edit .bb-account-edit__panel--password .bb-account-edit__fields .field {
    grid-column: 1 / -1;
}

body.account.customer-account-edit .bb-account-edit__show-password,
body.customer-account-edit .bb-account-edit__show-password {
    margin-top: 2px;
}

body.account.customer-account-edit .bb-account-edit__actions.actions-toolbar,
body.customer-account-edit .bb-account-edit__actions.actions-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 22px;
}

body.account.customer-account-edit .bb-account-edit__actions.actions-toolbar .primary,
body.account.customer-account-edit .bb-account-edit__actions.actions-toolbar .secondary,
body.customer-account-edit .bb-account-edit__actions.actions-toolbar .primary,
body.customer-account-edit .bb-account-edit__actions.actions-toolbar .secondary {
    float: none;
    margin: 0;
}

body.account.customer-account-edit .bb-account-edit__save.action.primary,
body.account.customer-account-edit .bb-account-edit__save.action.primary:visited,
body.customer-account-edit .bb-account-edit__save.action.primary,
body.customer-account-edit .bb-account-edit__save.action.primary:visited {
    background: #d00000;
    border: 1px solid #d00000;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    padding: 12px 18px;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.account.customer-account-edit .bb-account-edit__save.action.primary:hover,
body.account.customer-account-edit .bb-account-edit__save.action.primary:focus,
body.customer-account-edit .bb-account-edit__save.action.primary:hover,
body.customer-account-edit .bb-account-edit__save.action.primary:focus {
    background: #a90000;
    border-color: #a90000;
    box-shadow: 0 10px 22px rgba(208, 0, 0, .22);
    color: #ffffff;
    transform: translateY(-1px);
}

body.account.customer-account-edit .bb-account-edit__back,
body.account.customer-account-edit .bb-account-edit__back:visited,
body.customer-account-edit .bb-account-edit__back,
body.customer-account-edit .bb-account-edit__back:visited {
    color: #555555;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.account.customer-account-edit .bb-account-edit__back:hover,
body.account.customer-account-edit .bb-account-edit__back:focus,
body.customer-account-edit .bb-account-edit__back:hover,
body.customer-account-edit .bb-account-edit__back:focus {
    color: #d00000;
    text-decoration: underline;
}

@media (max-width: 960px) {
    body.account.customer-account-edit .form-edit-account.bb-account-edit,
    body.customer-account-edit .form-edit-account.bb-account-edit,
    body.account.customer-account-edit .bb-account-edit__panel--identity,
    body.customer-account-edit .bb-account-edit__panel--identity,
    body.account.customer-account-edit .bb-account-edit__login-grid,
    body.customer-account-edit .bb-account-edit__login-grid {
        max-width: 100%;
    }

    body.account.customer-account-edit .bb-account-edit__login-grid,
    body.customer-account-edit .bb-account-edit__login-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.customer-account-edit .bb-account-edit__panel--password:before,
    body.customer-account-edit .bb-account-edit__panel--password:before {
        border-bottom: 0;
        border-left: 1px solid #e1e1e1;
        border-top: 1px solid #e1e1e1;
        left: 28px;
        top: -8px;
    }
}

@media (max-width: 640px) {
    body.account.customer-account-edit .bb-account-edit__fields,
    body.customer-account-edit .bb-account-edit__fields,
    body.account.customer-account-edit .bb-account-edit__row,
    body.customer-account-edit .bb-account-edit__row {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.customer-account-edit .bb-account-edit__fields,
    body.customer-account-edit .bb-account-edit__fields,
    body.account.customer-account-edit .bb-account-edit__row,
    body.customer-account-edit .bb-account-edit__row {
        padding: 16px;
    }

    body.account.customer-account-edit .bb-account-edit__row--checkbox,
    body.customer-account-edit .bb-account-edit__row--checkbox {
        padding: 15px 16px;
    }

    body.account.customer-account-edit .bb-account-edit__switch,
    body.customer-account-edit .bb-account-edit__switch {
        justify-content: space-between;
        width: 100%;
    }
}

/* =========================================================
   BLACKBRIAR ADDRESS BOOK - 2026-06-07
   ========================================================= */
body.account.customer-address-index .bb-address-book,
body.customer-address-index .bb-address-book {
    color: #171717;
    max-width: 920px;
}

body.account.customer-address-index .bb-address-book__intro,
body.customer-address-index .bb-address-book__intro {
    color: #555555;
    font-size: 15px;
    line-height: 1.55;
    margin: -4px 0 18px;
    max-width: 720px;
}

body.account.customer-address-index .bb-address-panel,
body.customer-address-index .bb-address-panel {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .045);
    margin: 0 0 18px;
    overflow: hidden;
}

body.account.customer-address-index .bb-address-panel__header,
body.customer-address-index .bb-address-panel__header {
    align-items: center;
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px;
}

body.account.customer-address-index .bb-address-panel__header h2,
body.customer-address-index .bb-address-panel__header h2 {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
}

body.account.customer-address-index .bb-address-panel__header p,
body.customer-address-index .bb-address-panel__header p {
    color: #666666;
    font-size: 13px;
    line-height: 1.45;
    margin: 4px 0 0;
}

body.account.customer-address-index .bb-address-defaults__list,
body.customer-address-index .bb-address-defaults__list,
body.account.customer-address-index .bb-address-list,
body.customer-address-index .bb-address-list {
    background: #ffffff;
}

body.account.customer-address-index .bb-address-default,
body.customer-address-index .bb-address-default,
body.account.customer-address-index .bb-address-entry,
body.customer-address-index .bb-address-entry {
    align-items: start;
    background: #ffffff;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    padding: 18px 20px;
    transition: background .16s ease;
}

body.account.customer-address-index .bb-address-entry,
body.customer-address-index .bb-address-entry {
    grid-template-columns: minmax(0, 1fr) auto;
}

body.account.customer-address-index .bb-address-default + .bb-address-default,
body.customer-address-index .bb-address-default + .bb-address-default,
body.account.customer-address-index .bb-address-entry + .bb-address-entry,
body.customer-address-index .bb-address-entry + .bb-address-entry {
    border-top: 1px solid #eeeeee;
}

body.account.customer-address-index .bb-address-default:hover,
body.customer-address-index .bb-address-default:hover,
body.account.customer-address-index .bb-address-entry:hover,
body.customer-address-index .bb-address-entry:hover {
    background: #fafafa;
}

body.account.customer-address-index .bb-address-default__label,
body.customer-address-index .bb-address-default__label,
body.account.customer-address-index .bb-address-entry__heading,
body.customer-address-index .bb-address-entry__heading {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.account.customer-address-index .bb-address-default__label span,
body.customer-address-index .bb-address-default__label span,
body.account.customer-address-index .bb-address-entry__heading span,
body.customer-address-index .bb-address-entry__heading span {
    color: #777777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

body.account.customer-address-index .bb-address-default__label strong,
body.customer-address-index .bb-address-default__label strong,
body.account.customer-address-index .bb-address-entry__heading strong,
body.customer-address-index .bb-address-entry__heading strong {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

body.account.customer-address-index .bb-address-default__body,
body.customer-address-index .bb-address-default__body,
body.account.customer-address-index .bb-address-entry__main,
body.customer-address-index .bb-address-entry__main {
    min-width: 0;
}

body.account.customer-address-index .bb-address-default address,
body.customer-address-index .bb-address-default address,
body.account.customer-address-index .bb-address-entry__address,
body.customer-address-index .bb-address-entry__address {
    color: #555555;
    display: grid;
    font-size: 14px;
    font-style: normal;
    gap: 3px;
    line-height: 1.45;
    margin: 0;
}

body.account.customer-address-index .bb-address-entry__address,
body.customer-address-index .bb-address-entry__address {
    margin-top: 8px;
}

body.account.customer-address-index .bb-address-empty-copy,
body.customer-address-index .bb-address-empty-copy {
    color: #666666;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

body.account.customer-address-index .bb-address-default__actions,
body.customer-address-index .bb-address-default__actions,
body.account.customer-address-index .bb-address-entry__actions,
body.customer-address-index .bb-address-entry__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: flex-end;
}

body.account.customer-address-index .bb-address-link,
body.account.customer-address-index .bb-address-link:visited,
body.customer-address-index .bb-address-link,
body.customer-address-index .bb-address-link:visited {
    color: #d00000;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
}

body.account.customer-address-index .bb-address-link:hover,
body.account.customer-address-index .bb-address-link:focus,
body.customer-address-index .bb-address-link:hover,
body.customer-address-index .bb-address-link:focus {
    color: #a90000;
    text-decoration: underline;
}

body.account.customer-address-index .bb-address-link--danger,
body.account.customer-address-index .bb-address-link--danger:visited,
body.customer-address-index .bb-address-link--danger,
body.customer-address-index .bb-address-link--danger:visited {
    color: #666666;
}

body.account.customer-address-index .bb-address-link--danger:hover,
body.account.customer-address-index .bb-address-link--danger:focus,
body.customer-address-index .bb-address-link--danger:hover,
body.customer-address-index .bb-address-link--danger:focus {
    color: #d00000;
}

body.account.customer-address-index .bb-address-button,
body.account.customer-address-index .bb-address-button:visited,
body.customer-address-index .bb-address-button,
body.customer-address-index .bb-address-button:visited {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.2;
    min-height: 38px;
    padding: 10px 14px;
    text-decoration: none;
    white-space: nowrap;
}

body.account.customer-address-index .bb-address-button--primary,
body.account.customer-address-index .bb-address-button--primary:visited,
body.customer-address-index .bb-address-button--primary,
body.customer-address-index .bb-address-button--primary:visited {
    background: #d00000;
    border: 1px solid #d00000;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    color: #ffffff;
}

body.account.customer-address-index .bb-address-button--secondary,
body.account.customer-address-index .bb-address-button--secondary:visited,
body.customer-address-index .bb-address-button--secondary,
body.customer-address-index .bb-address-button--secondary:visited {
    background: #ffffff;
    border: 1px solid #d8d8d8;
    color: #171717;
}

body.account.customer-address-index .bb-address-button:hover,
body.account.customer-address-index .bb-address-button:focus,
body.customer-address-index .bb-address-button:hover,
body.customer-address-index .bb-address-button:focus {
    transform: translateY(-1px);
}

body.account.customer-address-index .bb-address-button--primary:hover,
body.account.customer-address-index .bb-address-button--primary:focus,
body.customer-address-index .bb-address-button--primary:hover,
body.customer-address-index .bb-address-button--primary:focus {
    background: #a90000;
    border-color: #a90000;
    color: #ffffff;
}

body.account.customer-address-index .bb-address-button--secondary:hover,
body.account.customer-address-index .bb-address-button--secondary:focus,
body.customer-address-index .bb-address-button--secondary:hover,
body.customer-address-index .bb-address-button--secondary:focus {
    border-color: #bdbdbd;
    color: #171717;
}

body.account.customer-address-index .bb-address-empty-state,
body.customer-address-index .bb-address-empty-state {
    padding: 22px 20px;
}

body.account.customer-address-index .bb-address-empty-state strong,
body.customer-address-index .bb-address-empty-state strong {
    color: #171717;
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 5px;
}

body.account.customer-address-index .bb-address-empty-state p,
body.customer-address-index .bb-address-empty-state p {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

body.account.customer-address-index .bb-address-toolbar,
body.customer-address-index .bb-address-toolbar {
    border-top: 1px solid #eeeeee;
    margin: 0;
    padding: 14px 20px;
}

body.account.customer-address-index .bb-address-actions.actions-toolbar,
body.customer-address-index .bb-address-actions.actions-toolbar {
    margin-top: 18px;
}

body.account.customer-address-index .bb-address-back,
body.account.customer-address-index .bb-address-back:visited,
body.customer-address-index .bb-address-back,
body.customer-address-index .bb-address-back:visited {
    color: #555555;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

body.account.customer-address-index .bb-address-back:hover,
body.account.customer-address-index .bb-address-back:focus,
body.customer-address-index .bb-address-back:hover,
body.customer-address-index .bb-address-back:focus {
    color: #d00000;
    text-decoration: underline;
}

@media (max-width: 760px) {
    body.account.customer-address-index .bb-address-panel__header,
    body.customer-address-index .bb-address-panel__header,
    body.account.customer-address-index .bb-address-default,
    body.customer-address-index .bb-address-default,
    body.account.customer-address-index .bb-address-entry,
    body.customer-address-index .bb-address-entry {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.customer-address-index .bb-address-panel__header,
    body.customer-address-index .bb-address-panel__header {
        align-items: stretch;
        flex-direction: column;
    }

    body.account.customer-address-index .bb-address-default,
    body.customer-address-index .bb-address-default,
    body.account.customer-address-index .bb-address-entry,
    body.customer-address-index .bb-address-entry {
        gap: 12px;
        padding: 16px;
    }

    body.account.customer-address-index .bb-address-default__actions,
    body.customer-address-index .bb-address-default__actions,
    body.account.customer-address-index .bb-address-entry__actions,
    body.customer-address-index .bb-address-entry__actions {
        justify-content: flex-start;
    }

    body.account.customer-address-index .bb-address-button,
    body.customer-address-index .bb-address-button {
        width: 100%;
    }
}

/* =========================================================
   BLACKBRIAR ACCOUNT DASHBOARD - 2026-06-07
   ========================================================= */
body.account.customer-account-index .column.main,
body.customer-account-index .column.main {
    color: #171717;
}

body.account.customer-account-index .digibuds-bas-dashboard,
body.customer-account-index .digibuds-bas-dashboard,
body.account.customer-account-index .block-dashboard-orders,
body.customer-account-index .block-dashboard-orders,
body.account.customer-account-index .bb-dashboard-panel,
body.customer-account-index .bb-dashboard-panel {
    max-width: 1080px;
}

body.account.customer-account-index .digibuds-bas-dashboard,
body.customer-account-index .digibuds-bas-dashboard {
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 18px;
}

body.account.customer-account-index .digibuds-bas-card,
body.customer-account-index .digibuds-bas-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .045);
    gap: 16px;
    min-height: 164px;
    overflow: hidden;
    padding: 0;
}

body.account.customer-account-index .digibuds-bas-card__body,
body.customer-account-index .digibuds-bas-card__body {
    gap: 7px;
    padding: 18px 18px 0;
}

body.account.customer-account-index .digibuds-bas-card__eyebrow,
body.customer-account-index .digibuds-bas-card__eyebrow {
    color: #d00000;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1.25;
}

body.account.customer-account-index .digibuds-bas-card__title,
body.customer-account-index .digibuds-bas-card__title {
    color: #171717;
    font-size: 19px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

body.account.customer-account-index .digibuds-bas-card__title--number,
body.customer-account-index .digibuds-bas-card__title--number {
    font-size: 30px;
    line-height: 1;
}

body.account.customer-account-index .digibuds-bas-card__meta,
body.customer-account-index .digibuds-bas-card__meta {
    color: #666666;
    display: block;
    font-size: 13px;
    line-height: 1.4;
}

body.account.customer-account-index .digibuds-bas-card__text,
body.customer-account-index .digibuds-bas-card__text {
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
}

body.account.customer-account-index .digibuds-bas-card__link,
body.account.customer-account-index .digibuds-bas-card__link:visited,
body.customer-account-index .digibuds-bas-card__link,
body.customer-account-index .digibuds-bas-card__link:visited {
    align-self: stretch;
    background: #d00000;
    border-color: #d00000;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    color: #ffffff;
    margin: 0 18px 18px;
    min-height: 38px;
}

body.account.customer-account-index .digibuds-bas-card__link:hover,
body.account.customer-account-index .digibuds-bas-card__link:focus,
body.customer-account-index .digibuds-bas-card__link:hover,
body.customer-account-index .digibuds-bas-card__link:focus {
    background: #a90000;
    border-color: #a90000;
    color: #ffffff;
}

body.account.customer-account-index .block-dashboard-orders,
body.customer-account-index .block-dashboard-orders,
body.account.customer-account-index .bb-dashboard-panel,
body.customer-account-index .bb-dashboard-panel {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .045);
    margin: 0 0 18px;
    overflow: hidden;
}

body.account.customer-account-index .digibuds-bas-section-header,
body.customer-account-index .digibuds-bas-section-header,
body.account.customer-account-index .bb-dashboard-panel__header,
body.customer-account-index .bb-dashboard-panel__header {
    align-items: center;
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0;
    padding: 18px 20px;
}

body.account.customer-account-index .digibuds-bas-section-header__copy,
body.customer-account-index .digibuds-bas-section-header__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.account.customer-account-index .digibuds-bas-section-header strong,
body.customer-account-index .digibuds-bas-section-header strong,
body.account.customer-account-index .bb-dashboard-panel__header strong,
body.customer-account-index .bb-dashboard-panel__header strong {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

body.account.customer-account-index .digibuds-bas-section-header__copy span,
body.customer-account-index .digibuds-bas-section-header__copy span {
    color: #666666;
    font-size: 13px;
    line-height: 1.4;
}

body.account.customer-account-index .digibuds-bas-section-header__link,
body.account.customer-account-index .digibuds-bas-section-header__link:visited,
body.account.customer-account-index .bb-dashboard-panel__link,
body.account.customer-account-index .bb-dashboard-panel__link:visited,
body.customer-account-index .digibuds-bas-section-header__link,
body.customer-account-index .digibuds-bas-section-header__link:visited,
body.customer-account-index .bb-dashboard-panel__link,
body.customer-account-index .bb-dashboard-panel__link:visited {
    color: #d00000;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.account.customer-account-index .digibuds-bas-section-header__link:hover,
body.account.customer-account-index .digibuds-bas-section-header__link:focus,
body.account.customer-account-index .bb-dashboard-panel__link:hover,
body.account.customer-account-index .bb-dashboard-panel__link:focus,
body.customer-account-index .digibuds-bas-section-header__link:hover,
body.customer-account-index .digibuds-bas-section-header__link:focus,
body.customer-account-index .bb-dashboard-panel__link:hover,
body.customer-account-index .bb-dashboard-panel__link:focus {
    color: #a90000;
    text-decoration: underline;
}

body.account.customer-account-index .bb-dashboard-panel__content,
body.customer-account-index .bb-dashboard-panel__content,
body.account.customer-account-index .digibuds-bas-recent-orders__content,
body.customer-account-index .digibuds-bas-recent-orders__content {
    padding: 0;
}

body.account.customer-account-index .bb-dashboard-split,
body.customer-account-index .bb-dashboard-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.account.customer-account-index .bb-dashboard-split__item,
body.customer-account-index .bb-dashboard-split__item {
    align-content: space-between;
    display: grid;
    gap: 18px;
    min-height: 158px;
    padding: 20px;
}

body.account.customer-account-index .bb-dashboard-split__item + .bb-dashboard-split__item,
body.customer-account-index .bb-dashboard-split__item + .bb-dashboard-split__item {
    border-left: 1px solid #eeeeee;
}

body.account.customer-account-index .bb-dashboard-split__copy,
body.customer-account-index .bb-dashboard-split__copy {
    min-width: 0;
}

body.account.customer-account-index .bb-dashboard-split__title,
body.customer-account-index .bb-dashboard-split__title {
    color: #171717;
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 9px;
}

body.account.customer-account-index .bb-dashboard-split__text,
body.customer-account-index .bb-dashboard-split__text,
body.account.customer-account-index .bb-dashboard-address,
body.customer-account-index .bb-dashboard-address {
    color: #555555;
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
}

body.account.customer-account-index .bb-dashboard-split__text span,
body.customer-account-index .bb-dashboard-split__text span {
    display: block;
}

body.account.customer-account-index .bb-dashboard-split__text--status,
body.customer-account-index .bb-dashboard-split__text--status {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.account.customer-account-index .bb-dashboard-status,
body.customer-account-index .bb-dashboard-status,
body.account.customer-account-index .digibuds-bas-order-status,
body.customer-account-index .digibuds-bas-order-status {
    align-items: center;
    background: #eeeeee;
    border: 1px solid #dddddd;
    border-radius: 4px;
    color: #333333;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    padding: 4px 9px;
    white-space: nowrap;
}

body.account.customer-account-index .bb-dashboard-status--on,
body.customer-account-index .bb-dashboard-status--on,
body.account.customer-account-index .digibuds-bas-order-status--complete,
body.customer-account-index .digibuds-bas-order-status--complete,
body.account.customer-account-index .digibuds-bas-order-status--processing,
body.customer-account-index .digibuds-bas-order-status--processing {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

body.account.customer-account-index .bb-dashboard-status--off,
body.customer-account-index .bb-dashboard-status--off {
    background: #f4f4f4;
    border-color: #dedede;
    color: #666666;
}

body.account.customer-account-index .bb-dashboard-actions,
body.customer-account-index .bb-dashboard-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

body.account.customer-account-index .bb-dashboard-action,
body.account.customer-account-index .bb-dashboard-action:visited,
body.customer-account-index .bb-dashboard-action,
body.customer-account-index .bb-dashboard-action:visited {
    align-items: center;
    background: #d00000;
    border: 1px solid #d00000;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    color: #ffffff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.2;
    min-height: 36px;
    padding: 9px 12px;
    text-decoration: none;
}

body.account.customer-account-index .bb-dashboard-action:hover,
body.account.customer-account-index .bb-dashboard-action:focus,
body.customer-account-index .bb-dashboard-action:hover,
body.customer-account-index .bb-dashboard-action:focus {
    background: #a90000;
    border-color: #a90000;
    color: #ffffff;
    text-decoration: none;
}

body.account.customer-account-index .bb-dashboard-action--secondary,
body.account.customer-account-index .bb-dashboard-action--secondary:visited,
body.customer-account-index .bb-dashboard-action--secondary,
body.customer-account-index .bb-dashboard-action--secondary:visited {
    background: #ffffff;
    border-color: #d7d7d7;
    box-shadow: none;
    color: #171717;
}

body.account.customer-account-index .bb-dashboard-action--secondary:hover,
body.account.customer-account-index .bb-dashboard-action--secondary:focus,
body.customer-account-index .bb-dashboard-action--secondary:hover,
body.customer-account-index .bb-dashboard-action--secondary:focus {
    background: #fafafa;
    border-color: #bdbdbd;
    color: #d00000;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table-wrap,
body.customer-account-index .digibuds-bas-recent-orders__table-wrap {
    margin: 0;
    overflow-x: auto;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table,
body.customer-account-index .digibuds-bas-recent-orders__table {
    border: 0;
    border-collapse: collapse;
    margin: 0;
    min-width: 760px;
    width: 100%;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table th,
body.customer-account-index .digibuds-bas-recent-orders__table th {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #666666;
    font-size: 12px;
    font-weight: 800;
    padding: 13px 16px;
    text-align: left;
    white-space: nowrap;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table td,
body.customer-account-index .digibuds-bas-recent-orders__table td {
    border-bottom: 1px solid #eeeeee;
    color: #444444;
    font-size: 14px;
    padding: 15px 16px;
    vertical-align: middle;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table tbody tr:last-child td,
body.customer-account-index .digibuds-bas-recent-orders__table tbody tr:last-child td {
    border-bottom: 0;
}

body.account.customer-account-index .digibuds-bas-recent-orders__table tbody tr:hover,
body.customer-account-index .digibuds-bas-recent-orders__table tbody tr:hover {
    background: #fafafa;
}

body.account.customer-account-index .digibuds-bas-recent-orders__order-id,
body.customer-account-index .digibuds-bas-recent-orders__order-id {
    color: #171717;
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.account.customer-account-index .digibuds-bas-recent-orders .col.actions,
body.customer-account-index .digibuds-bas-recent-orders .col.actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
}

body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action,
body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action:visited,
body.customer-account-index .digibuds-bas-recent-orders .col.actions .action,
body.customer-account-index .digibuds-bas-recent-orders .col.actions .action:visited {
    color: #d00000;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action:hover,
body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action:focus,
body.customer-account-index .digibuds-bas-recent-orders .col.actions .action:hover,
body.customer-account-index .digibuds-bas-recent-orders .col.actions .action:focus {
    color: #a90000;
    text-decoration: underline;
}

body.account.customer-account-index .digibuds-bas-dashboard-empty,
body.customer-account-index .digibuds-bas-dashboard-empty {
    display: grid;
    gap: 5px;
    padding: 20px;
}

body.account.customer-account-index .digibuds-bas-dashboard-empty strong,
body.customer-account-index .digibuds-bas-dashboard-empty strong {
    color: #171717;
    font-size: 15px;
    font-weight: 800;
}

body.account.customer-account-index .digibuds-bas-dashboard-empty span,
body.customer-account-index .digibuds-bas-dashboard-empty span {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    body.account.customer-account-index .digibuds-bas-dashboard,
    body.customer-account-index .digibuds-bas-dashboard {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.account.customer-account-index .digibuds-bas-dashboard,
    body.customer-account-index .digibuds-bas-dashboard,
    body.account.customer-account-index .bb-dashboard-split,
    body.customer-account-index .bb-dashboard-split {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.customer-account-index .digibuds-bas-card,
    body.customer-account-index .digibuds-bas-card {
        min-height: 0;
    }

    body.account.customer-account-index .digibuds-bas-section-header,
    body.customer-account-index .digibuds-bas-section-header,
    body.account.customer-account-index .bb-dashboard-panel__header,
    body.customer-account-index .bb-dashboard-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 16px;
    }

    body.account.customer-account-index .digibuds-bas-section-header__link,
    body.account.customer-account-index .bb-dashboard-panel__link,
    body.customer-account-index .digibuds-bas-section-header__link,
    body.customer-account-index .bb-dashboard-panel__link {
        align-self: flex-start;
    }

    body.account.customer-account-index .bb-dashboard-split__item,
    body.customer-account-index .bb-dashboard-split__item {
        min-height: 0;
        padding: 16px;
    }

    body.account.customer-account-index .bb-dashboard-split__item + .bb-dashboard-split__item,
    body.customer-account-index .bb-dashboard-split__item + .bb-dashboard-split__item {
        border-left: 0;
        border-top: 1px solid #eeeeee;
    }

    body.account.customer-account-index .bb-dashboard-actions,
    body.customer-account-index .bb-dashboard-actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.account.customer-account-index .bb-dashboard-action,
    body.customer-account-index .bb-dashboard-action {
        width: 100%;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table,
    body.customer-account-index .digibuds-bas-recent-orders__table {
        min-width: 0;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table,
    body.account.customer-account-index .digibuds-bas-recent-orders__table thead,
    body.account.customer-account-index .digibuds-bas-recent-orders__table tbody,
    body.account.customer-account-index .digibuds-bas-recent-orders__table tr,
    body.account.customer-account-index .digibuds-bas-recent-orders__table th,
    body.account.customer-account-index .digibuds-bas-recent-orders__table td,
    body.customer-account-index .digibuds-bas-recent-orders__table,
    body.customer-account-index .digibuds-bas-recent-orders__table thead,
    body.customer-account-index .digibuds-bas-recent-orders__table tbody,
    body.customer-account-index .digibuds-bas-recent-orders__table tr,
    body.customer-account-index .digibuds-bas-recent-orders__table th,
    body.customer-account-index .digibuds-bas-recent-orders__table td {
        display: block;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table thead,
    body.customer-account-index .digibuds-bas-recent-orders__table thead {
        display: none;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table tbody,
    body.customer-account-index .digibuds-bas-recent-orders__table tbody {
        display: grid;
        gap: 12px;
        padding: 14px;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table tbody tr,
    body.customer-account-index .digibuds-bas-recent-orders__table tbody tr {
        background: #ffffff;
        border: 1px solid #eeeeee;
        border-radius: 8px;
        display: grid;
        gap: 9px 14px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 14px;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table td,
    body.customer-account-index .digibuds-bas-recent-orders__table td {
        border: 0;
        color: #555555;
        font-size: 14px;
        padding: 0;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table td:before,
    body.customer-account-index .digibuds-bas-recent-orders__table td:before {
        color: #777777;
        content: attr(data-th);
        flex: 0 0 auto;
        font-size: 12px;
        font-weight: 800;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.id,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.id {
        grid-column: 1;
        min-width: 0;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.id:before,
    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.status:before,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.id:before,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.status:before {
        display: none;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.status,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.status {
        grid-column: 2;
        justify-self: end;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.date,
    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.shipping,
    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.total,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.date,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.shipping,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.total {
        align-items: baseline;
        display: flex;
        gap: 14px;
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.actions,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.actions {
        display: flex;
        gap: 8px;
        grid-column: 1 / -1;
        margin-top: 4px;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.actions:before,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.actions:before {
        display: none;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action,
    body.customer-account-index .digibuds-bas-recent-orders .col.actions .action {
        align-items: center;
        background: #ffffff;
        border: 1px solid #d7d7d7;
        border-radius: 6px;
        color: #171717;
        display: inline-flex;
        justify-content: center;
        min-height: 34px;
        padding: 8px 10px;
        text-align: center;
        white-space: normal;
    }

    body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action:hover,
    body.account.customer-account-index .digibuds-bas-recent-orders .col.actions .action:focus,
    body.customer-account-index .digibuds-bas-recent-orders .col.actions .action:hover,
    body.customer-account-index .digibuds-bas-recent-orders .col.actions .action:focus {
        border-color: #d00000;
        color: #d00000;
        text-decoration: none;
    }
}

@media (max-width: 420px) {
    body.account.customer-account-index .digibuds-bas-recent-orders__table tbody tr,
    body.customer-account-index .digibuds-bas-recent-orders__table tbody tr {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.customer-account-index .digibuds-bas-recent-orders__table .col.status,
    body.customer-account-index .digibuds-bas-recent-orders__table .col.status {
        grid-column: 1;
        justify-self: start;
    }
}

/* =========================================================
   BLACKBRIAR DOWNLOADS + ACCOUNT BADGE SHAPE - 2026-06-07
   ========================================================= */
body.account .digibuds-bas-badge,
body.sales-order-history .digibuds-bas-badge,
body.sales-order-view .digibuds-bas-badge,
body.downloadable-customer-products .digibuds-bas-badge,
body.account .digibuds-bas-order-status,
body.customer-account-index .digibuds-bas-order-status,
body.account .bb-dashboard-status,
body.customer-account-index .bb-dashboard-status,
body.account .pickingbud-order-updates__status,
body.account .digibuds-pickingbud-history-update__status,
body.account .digibuds-pickingbud-history-update__empty {
    border-radius: 4px !important;
}

body.account.downloadable-customer-products .page-main > .page-title-wrapper .page-title,
body.downloadable-customer-products .page-main > .page-title-wrapper .page-title {
    color: #171717;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 18px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list,
body.downloadable-customer-products .digibuds-bas-downloads-list {
    --bb-download-border: #e6e6e6;
    --bb-download-border-strong: #d8d8d8;
    --bb-download-muted: #696969;
    --bb-download-radius: 4px;
    --bb-download-radius-sm: 4px;
    --bb-download-soft: #f7f7f7;
    --bb-download-text: #171717;
    color: var(--bb-download-text);
    margin-top: 2px;
    max-width: 1080px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro,
body.downloadable-customer-products .digibuds-bas-downloads-list__intro {
    align-items: center;
    background: #ffffff;
    border-color: var(--bb-download-border);
    border-radius: var(--bb-download-radius);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
    color: #555555;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: 10px 16px;
    justify-content: space-between;
    line-height: 1.5;
    margin: 0 0 14px;
    padding: 13px 14px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro a,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro a:visited,
body.downloadable-customer-products .digibuds-bas-downloads-list__intro a,
body.downloadable-customer-products .digibuds-bas-downloads-list__intro a:visited {
    color: #d00000;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro a:hover,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro a:focus,
body.downloadable-customer-products .digibuds-bas-downloads-list__intro a:hover,
body.downloadable-customer-products .digibuds-bas-downloads-list__intro a:focus {
    color: #a90000;
    text-decoration: underline;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table-wrapper,
body.downloadable-customer-products .digibuds-bas-downloads-list__table-wrapper {
    background: #ffffff;
    border: 1px solid var(--bb-download-border);
    border-radius: var(--bb-download-radius);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table,
body.downloadable-customer-products .digibuds-bas-downloads-list__table {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    min-width: 860px;
    table-layout: fixed;
    width: 100%;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .table-caption,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .table-caption {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table thead th,
body.downloadable-customer-products .digibuds-bas-downloads-list__table thead th {
    background: #f8f8f8;
    border-bottom: 1px solid var(--bb-download-border);
    color: #4c4c4c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    padding: 11px 12px;
    vertical-align: middle;
    white-space: nowrap;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td,
body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #242424;
    font-size: 13px;
    line-height: 1.35;
    padding: 11px 12px;
    vertical-align: middle;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:last-child td,
body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:last-child td {
    border-bottom: 0;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:hover td,
body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:hover td {
    background: #fcfcfc;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id {
    width: 96px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.date,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.date {
    color: #4b4b4b;
    width: 92px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.title,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.title {
    width: auto;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status {
    width: 106px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining {
    color: #111111;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    width: 96px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions,
body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions {
    width: 118px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__order-link,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__order-link:visited,
body.downloadable-customer-products .digibuds-bas-downloads-list__order-link,
body.downloadable-customer-products .digibuds-bas-downloads-list__order-link:visited {
    color: #111111;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    text-decoration: none;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__order-link:hover,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__order-link:focus,
body.downloadable-customer-products .digibuds-bas-downloads-list__order-link:hover,
body.downloadable-customer-products .digibuds-bas-downloads-list__order-link:focus {
    color: #d00000;
    text-decoration: underline;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__product,
body.downloadable-customer-products .digibuds-bas-downloads-list__product {
    color: #171717;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__link-title,
body.downloadable-customer-products .digibuds-bas-downloads-list__link-title {
    color: #666666;
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list .digibuds-bas-badge,
body.downloadable-customer-products .digibuds-bas-downloads-list .digibuds-bas-badge {
    border-radius: var(--bb-download-radius-sm) !important;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    min-height: 20px;
    padding: 2px 7px;
}

body.account.downloadable-customer-products .digibuds-bas-download-action,
body.account.downloadable-customer-products .digibuds-bas-download-action:visited,
body.downloadable-customer-products .digibuds-bas-download-action,
body.downloadable-customer-products .digibuds-bas-download-action:visited {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--bb-download-border-strong);
    border-radius: var(--bb-download-radius-sm);
    box-sizing: border-box;
    color: #343434;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.15;
    min-height: 27px;
    padding: 5px 8px;
    text-decoration: none;
    white-space: nowrap;
}

body.account.downloadable-customer-products .digibuds-bas-download-action:hover,
body.account.downloadable-customer-products .digibuds-bas-download-action:focus,
body.downloadable-customer-products .digibuds-bas-download-action:hover,
body.downloadable-customer-products .digibuds-bas-download-action:focus {
    background: #f7f7f7;
    border-color: #a8a8a8;
    color: #111111;
    text-decoration: none;
}

body.account.downloadable-customer-products .digibuds-bas-download-action--primary,
body.account.downloadable-customer-products .digibuds-bas-download-action--primary:visited,
body.downloadable-customer-products .digibuds-bas-download-action--primary,
body.downloadable-customer-products .digibuds-bas-download-action--primary:visited {
    background: #fff7f7;
    border-color: #e3b3b3;
    color: #b00000;
}

body.account.downloadable-customer-products .digibuds-bas-download-action--primary:hover,
body.account.downloadable-customer-products .digibuds-bas-download-action--primary:focus,
body.downloadable-customer-products .digibuds-bas-download-action--primary:hover,
body.downloadable-customer-products .digibuds-bas-download-action--primary:focus {
    background: #d00000;
    border-color: #d00000;
    color: #ffffff;
}

body.account.downloadable-customer-products .digibuds-bas-download-action--disabled,
body.downloadable-customer-products .digibuds-bas-download-action--disabled {
    background: #f5f5f5;
    border-color: #e1e1e1;
    color: #777777;
    cursor: default;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pager,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pager {
    align-items: center;
    display: grid !important;
    gap: 10px 14px;
    grid-template-columns: minmax(170px, 1fr) auto minmax(145px, 1fr);
    margin: 16px 0 0;
    position: static !important;
    width: 100%;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter {
    float: none !important;
    line-height: 1.3;
    margin: 0 !important;
    position: static !important;
    width: auto !important;
    z-index: auto !important;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount {
    color: #555555;
    font-size: 13px;
    font-weight: 700;
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    text-align: left !important;
    white-space: nowrap;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages {
    grid-column: 2;
    justify-self: center;
    text-align: center;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter {
    align-items: center;
    color: #555555;
    display: flex !important;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    grid-column: 3;
    justify-self: end;
    white-space: nowrap;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .items,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .items {
    align-items: center;
    display: flex !important;
    flex-wrap: nowrap;
    gap: 5px;
    letter-spacing: 0 !important;
    line-height: 1;
    white-space: nowrap;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .page,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .action,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter-options,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .page,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages .action,
body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter-options {
    border-radius: var(--bb-download-radius-sm);
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__back.actions-toolbar,
body.downloadable-customer-products .digibuds-bas-downloads-list__back.actions-toolbar {
    margin-top: 18px;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:visited,
body.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back,
body.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:visited {
    color: #555555;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:hover,
body.account.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:focus,
body.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:hover,
body.downloadable-customer-products .digibuds-bas-downloads-list__back .action.back:focus {
    color: #d00000;
    text-decoration: underline;
}

body.account.downloadable-customer-products .digibuds-bas-downloads-list__empty,
body.downloadable-customer-products .digibuds-bas-downloads-list__empty {
    border-radius: var(--bb-download-radius);
}

@media (max-width: 767px) {
    body.account.downloadable-customer-products .page-main,
    body.downloadable-customer-products .page-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.account.downloadable-customer-products .page-main > .page-title-wrapper .page-title,
    body.downloadable-customer-products .page-main > .page-title-wrapper .page-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__intro,
    body.downloadable-customer-products .digibuds-bas-downloads-list__intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table-wrapper,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table-wrapper {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        overflow: visible !important;
        width: 100%;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table {
        display: block !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        width: 100% !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table thead,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table thead {
        display: none;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody {
        box-sizing: border-box;
        display: grid !important;
        gap: 10px;
        max-width: 100%;
        width: 100%;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr {
        background: #ffffff;
        border: 1px solid #e2e2e2;
        border-radius: var(--bb-download-radius);
        box-shadow: 0 6px 16px rgba(0, 0, 0, .035);
        box-sizing: border-box;
        display: grid;
        gap: 9px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        max-width: 100%;
        padding: 12px;
        width: 100%;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:hover td,
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr:hover td,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td {
        background: transparent !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td {
        border: 0 !important;
        box-sizing: border-box;
        color: #171717;
        display: grid;
        gap: 2px;
        line-height: 1.25;
        max-width: 100%;
        min-width: 0;
        padding: 0 !important;
        width: auto !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td::before,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody td::before {
        color: #707070;
        content: attr(data-th);
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.1;
        text-transform: uppercase;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id {
        grid-column: 1;
        order: 1;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id::before,
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status::before,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.id::before,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status::before {
        display: none !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__order-link,
    body.downloadable-customer-products .digibuds-bas-downloads-list__order-link {
        font-size: 17px;
        line-height: 1.15;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status {
        align-self: start;
        grid-column: 2;
        justify-self: end;
        order: 2;
        width: auto !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.date,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.date {
        grid-column: 1;
        order: 3;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining {
        grid-column: 2;
        justify-self: end;
        order: 4;
        text-align: right;
        width: auto !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.title,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.title {
        background: #fafafa !important;
        border: 1px solid #ededed !important;
        grid-column: 1 / -1;
        order: 5;
        padding: 8px 9px !important;
        width: auto !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__product,
    body.downloadable-customer-products .digibuds-bas-downloads-list__product {
        font-size: 14px;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions {
        border-top: 1px solid #eeeeee !important;
        display: grid !important;
        gap: 7px;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
        order: 6;
        padding-top: 10px !important;
        width: auto !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions::before,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.actions::before {
        display: none !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-download-action,
    body.account.downloadable-customer-products .digibuds-bas-download-action:visited,
    body.downloadable-customer-products .digibuds-bas-download-action,
    body.downloadable-customer-products .digibuds-bas-download-action:visited {
        font-size: 12px;
        min-height: 38px;
        padding: 8px 9px;
        text-align: center;
        width: 100%;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pager,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pager {
        gap: 11px;
        grid-template-columns: 1fr;
        margin-top: 14px;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages,
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .pages,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter {
        grid-column: 1;
        justify-self: center;
        white-space: normal;
        width: 100% !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .toolbar-amount {
        text-align: center !important;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter,
    body.downloadable-customer-products .digibuds-bas-downloads-list__toolbar .limiter {
        justify-content: center;
    }
}

@media (max-width: 374px) {
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table tbody tr {
        grid-template-columns: 1fr;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status,
    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.remaining {
        grid-column: 1;
        justify-self: start;
        text-align: left;
    }

    body.account.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status::before,
    body.downloadable-customer-products .digibuds-bas-downloads-list__table .col.status::before {
        display: block !important;
    }
}

/* =========================================================
   BLACKBRIAR GIFT CARD ACCOUNT - 2026-06-07
   ========================================================= */
body.account.amgcard-account-index .page-main > .page-title-wrapper .page-title,
body.amgcard-account-index .page-main > .page-title-wrapper .page-title {
    color: #171717;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 18px;
}

body.account.amgcard-account-index .column.main,
body.amgcard-account-index .column.main {
    color: #171717;
}

body.account.amgcard-account-index .digibuds-bas-notice--giftcard,
body.amgcard-account-index .digibuds-bas-notice--giftcard,
body.account.amgcard-account-index .digibuds-bas-topic-help,
body.amgcard-account-index .digibuds-bas-topic-help,
body.account.amgcard-account-index .bb-giftcard-account,
body.amgcard-account-index .bb-giftcard-account {
    max-width: 1080px;
}

body.account.amgcard-account-index .digibuds-bas-notice--giftcard,
body.amgcard-account-index .digibuds-bas-notice--giftcard,
body.account.amgcard-account-index .digibuds-bas-topic-help,
body.amgcard-account-index .digibuds-bas-topic-help {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 14px;
    padding: 13px 14px;
}

body.account.amgcard-account-index .digibuds-bas-notice--giftcard p,
body.amgcard-account-index .digibuds-bas-notice--giftcard p {
    margin: 0;
}

body.account.amgcard-account-index .digibuds-bas-notice--giftcard p + p,
body.amgcard-account-index .digibuds-bas-notice--giftcard p + p {
    margin-top: 4px;
}

body.account.amgcard-account-index .digibuds-bas-topic-help,
body.amgcard-account-index .digibuds-bas-topic-help {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

body.account.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-support-box__title,
body.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-support-box__title {
    color: #171717;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

body.account.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button,
body.account.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button:visited,
body.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button,
body.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button:visited {
    background: #d00000;
    border-color: #d00000;
    border-radius: 4px;
    color: #ffffff;
    min-height: 34px;
    padding: 8px 12px;
}

body.account.amgcard-account-index .bb-giftcard-account,
body.amgcard-account-index .bb-giftcard-account {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

body.account.amgcard-account-index .bb-giftcard-panel,
body.amgcard-account-index .bb-giftcard-panel {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
    overflow: hidden;
}

body.account.amgcard-account-index .bb-giftcard-panel__header,
body.amgcard-account-index .bb-giftcard-panel__header {
    align-items: center;
    background: #f8f8f8;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

body.account.amgcard-account-index .bb-giftcard-panel__copy,
body.amgcard-account-index .bb-giftcard-panel__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

body.account.amgcard-account-index .bb-giftcard-panel__copy strong,
body.amgcard-account-index .bb-giftcard-panel__copy strong {
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

body.account.amgcard-account-index .bb-giftcard-panel__copy span,
body.amgcard-account-index .bb-giftcard-panel__copy span {
    color: #666666;
    font-size: 13px;
    line-height: 1.4;
}

body.account.amgcard-account-index .bb-giftcard-panel__body,
body.amgcard-account-index .bb-giftcard-panel__body {
    padding: 0;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table-wrapper,
body.amgcard-account-index .bb-giftcard-codes-list__table-wrapper {
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table,
body.amgcard-account-index .bb-giftcard-codes-list__table {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    min-width: 640px;
    table-layout: fixed;
    width: 100%;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .table-caption,
body.amgcard-account-index .bb-giftcard-codes-list__table .table-caption {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table thead th,
body.amgcard-account-index .bb-giftcard-codes-list__table thead th {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #4c4c4c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    padding: 11px 12px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody td,
body.amgcard-account-index .bb-giftcard-codes-list__table tbody td {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    color: #242424;
    font-size: 13px;
    line-height: 1.35;
    padding: 12px;
    vertical-align: middle;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:last-child td,
body.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:last-child td {
    border-bottom: 0;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:hover td,
body.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:hover td {
    background: #fcfcfc;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.code,
body.amgcard-account-index .bb-giftcard-codes-list__table .col.code {
    width: 190px;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.status,
body.amgcard-account-index .bb-giftcard-codes-list__table .col.status {
    width: 98px;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.balance,
body.amgcard-account-index .bb-giftcard-codes-list__table .col.balance {
    width: 116px;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date,
body.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date {
    width: 104px;
}

body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.actions,
body.amgcard-account-index .bb-giftcard-codes-list__table .col.actions {
    width: 96px;
}

body.account.amgcard-account-index .bb-giftcard-code,
body.amgcard-account-index .bb-giftcard-code {
    color: #171717;
    display: inline-block;
    font-family: inherit;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.account.amgcard-account-index .bb-giftcard-balance,
body.amgcard-account-index .bb-giftcard-balance {
    color: #171717;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

body.account.amgcard-account-index .bb-giftcard-expiry,
body.amgcard-account-index .bb-giftcard-expiry {
    color: #555555;
    font-weight: 700;
}

body.account.amgcard-account-index .bb-giftcard-status,
body.amgcard-account-index .bb-giftcard-status {
    align-items: center;
    background: #efefef;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    color: #454545;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.2;
    min-height: 20px;
    padding: 2px 7px;
    white-space: nowrap;
}

body.account.amgcard-account-index .bb-giftcard-status[data-status='Active'],
body.amgcard-account-index .bb-giftcard-status[data-status='Active'] {
    background: #e8f4ea;
    border-color: #bedec4;
    color: #215f31;
}

body.account.amgcard-account-index .bb-giftcard-status[data-status='Inactive'],
body.account.amgcard-account-index .bb-giftcard-status[data-status='Expired'],
body.amgcard-account-index .bb-giftcard-status[data-status='Inactive'],
body.amgcard-account-index .bb-giftcard-status[data-status='Expired'] {
    background: #f8e6e6;
    border-color: #ebbebe;
    color: #762828;
}

body.account.amgcard-account-index .bb-giftcard-action,
body.account.amgcard-account-index .bb-giftcard-action:visited,
body.amgcard-account-index .bb-giftcard-action,
body.amgcard-account-index .bb-giftcard-action:visited {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    box-shadow: none;
    color: #343434;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    line-height: 1.15;
    min-height: 34px;
    padding: 8px 11px;
    text-decoration: none;
    white-space: nowrap;
}

body.account.amgcard-account-index .bb-giftcard-action:hover,
body.account.amgcard-account-index .bb-giftcard-action:focus,
body.amgcard-account-index .bb-giftcard-action:hover,
body.amgcard-account-index .bb-giftcard-action:focus {
    background: #f7f7f7;
    border-color: #a8a8a8;
    color: #111111;
    text-decoration: none;
}

body.account.amgcard-account-index .bb-giftcard-action--primary,
body.account.amgcard-account-index .bb-giftcard-action--primary:visited,
body.amgcard-account-index .bb-giftcard-action--primary,
body.amgcard-account-index .bb-giftcard-action--primary:visited {
    background: #d00000;
    border-color: #d00000;
    box-shadow: 0 8px 18px rgba(208, 0, 0, .16);
    color: #ffffff;
    min-height: 40px;
}

body.account.amgcard-account-index .bb-giftcard-action--primary:hover,
body.account.amgcard-account-index .bb-giftcard-action--primary:focus,
body.amgcard-account-index .bb-giftcard-action--primary:hover,
body.amgcard-account-index .bb-giftcard-action--primary:focus {
    background: #a90000;
    border-color: #a90000;
    color: #ffffff;
}

body.account.amgcard-account-index .bb-giftcard-action--secondary,
body.amgcard-account-index .bb-giftcard-action--secondary {
    min-height: 28px;
    padding: 6px 9px;
}

body.account.amgcard-account-index .bb-giftcard-add-code,
body.amgcard-account-index .bb-giftcard-add-code {
    display: grid;
    gap: 14px;
    padding: 18px;
}

body.account.amgcard-account-index .bb-giftcard-add-code .fieldset,
body.amgcard-account-index .bb-giftcard-add-code .fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

body.account.amgcard-account-index .bb-giftcard-add-code__label,
body.amgcard-account-index .bb-giftcard-add-code__label {
    color: #171717;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px;
}

body.account.amgcard-account-index .bb-giftcard-add-code__input,
body.amgcard-account-index .bb-giftcard-add-code__input {
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    box-shadow: none;
    color: #171717;
    font-size: 14px;
    min-height: 40px;
    padding: 9px 11px;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}

body.account.amgcard-account-index .bb-giftcard-add-code__input:focus,
body.amgcard-account-index .bb-giftcard-add-code__input:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .1);
    outline: 0;
}

body.account.amgcard-account-index .bb-giftcard-add-code__actions.actions-toolbar,
body.amgcard-account-index .bb-giftcard-add-code__actions.actions-toolbar {
    margin: 0;
}

body.account.amgcard-account-index .bb-giftcard-add-code__actions .primary,
body.amgcard-account-index .bb-giftcard-add-code__actions .primary {
    float: none;
    margin: 0;
    width: 100%;
}

body.account.amgcard-account-index .bb-giftcard-add-code__actions .bb-giftcard-action,
body.amgcard-account-index .bb-giftcard-add-code__actions .bb-giftcard-action {
    width: 100%;
}

body.account.amgcard-account-index .bb-giftcard-empty,
body.amgcard-account-index .bb-giftcard-empty {
    display: grid;
    gap: 5px;
    padding: 20px;
}

body.account.amgcard-account-index .bb-giftcard-empty strong,
body.amgcard-account-index .bb-giftcard-empty strong {
    color: #171717;
    font-size: 15px;
    font-weight: 800;
}

body.account.amgcard-account-index .bb-giftcard-empty span,
body.amgcard-account-index .bb-giftcard-empty span {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

body.account.amgcard-account-index .amcardacc-messages-container,
body.amgcard-account-index .amcardacc-messages-container {
    margin: 0 0 12px;
}

@media (max-width: 960px) {
    body.account.amgcard-account-index .bb-giftcard-account,
    body.amgcard-account-index .bb-giftcard-account {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    body.account.amgcard-account-index .page-main,
    body.amgcard-account-index .page-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.account.amgcard-account-index .page-main > .page-title-wrapper .page-title,
    body.amgcard-account-index .page-main > .page-title-wrapper .page-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

    body.account.amgcard-account-index .digibuds-bas-topic-help,
    body.amgcard-account-index .digibuds-bas-topic-help,
    body.account.amgcard-account-index .bb-giftcard-panel__header,
    body.amgcard-account-index .bb-giftcard-panel__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 14px;
    }

    body.account.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button,
    body.amgcard-account-index .digibuds-bas-topic-help .digibuds-bas-button {
        width: 100%;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table-wrapper,
    body.amgcard-account-index .bb-giftcard-codes-list__table-wrapper {
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table,
    body.amgcard-account-index .bb-giftcard-codes-list__table {
        display: block;
        min-width: 0;
        table-layout: auto;
        width: 100%;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table thead,
    body.amgcard-account-index .bb-giftcard-codes-list__table thead {
        display: none;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody {
        display: grid;
        gap: 10px;
        padding: 12px;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody tr,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody tr {
        background: #ffffff;
        border: 1px solid #e2e2e2;
        border-radius: 4px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, .035);
        display: grid;
        gap: 9px 12px;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:hover td,
    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody td,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody tr:hover td,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody td {
        background: transparent !important;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody td,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody td {
        border: 0 !important;
        display: grid;
        gap: 2px;
        min-width: 0;
        padding: 0 !important;
        width: auto !important;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody td::before,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody td::before {
        color: #707070;
        content: attr(data-th);
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.1;
        text-transform: uppercase;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.code,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.code {
        grid-column: 1;
        order: 1;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.code::before,
    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.status::before,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.code::before,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.status::before {
        display: none !important;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.status,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.status {
        align-self: start;
        grid-column: 2;
        justify-self: end;
        order: 2;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.balance,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.balance {
        grid-column: 1;
        order: 3;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date {
        grid-column: 2;
        justify-self: end;
        order: 4;
        text-align: right;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.actions,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.actions {
        border-top: 1px solid #eeeeee !important;
        display: grid;
        grid-column: 1 / -1;
        order: 5;
        padding-top: 10px !important;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.actions::before,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.actions::before {
        display: none !important;
    }

    body.account.amgcard-account-index .bb-giftcard-action,
    body.amgcard-account-index .bb-giftcard-action {
        min-height: 38px;
        width: 100%;
    }

    body.account.amgcard-account-index .bb-giftcard-add-code,
    body.amgcard-account-index .bb-giftcard-add-code {
        padding: 14px;
    }
}

@media (max-width: 374px) {
    body.account.amgcard-account-index .bb-giftcard-codes-list__table tbody tr,
    body.amgcard-account-index .bb-giftcard-codes-list__table tbody tr {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.status,
    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.status,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.expired-date {
        grid-column: 1;
        justify-self: start;
        text-align: left;
    }

    body.account.amgcard-account-index .bb-giftcard-codes-list__table .col.status::before,
    body.amgcard-account-index .bb-giftcard-codes-list__table .col.status::before {
        display: block !important;
    }
}

/* =========================================================
   BLACKBRIAR GIFT CARD VISUAL CARDS - 2026-06-07
   ========================================================= */
body.account.amgcard-account-index .bb-giftcard-panel--codes,
body.amgcard-account-index .bb-giftcard-panel--codes {
    min-width: 0;
}

body.account.amgcard-account-index .bb-giftcard-card-grid,
body.amgcard-account-index .bb-giftcard-card-grid {
    padding: 14px;
}

body.account.amgcard-account-index .bb-giftcard-card-grid__items,
body.amgcard-account-index .bb-giftcard-card-grid__items {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

body.account.amgcard-account-index .bb-giftcard-card,
body.amgcard-account-index .bb-giftcard-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .035);
    display: grid;
    min-width: 0;
    overflow: hidden;
}

body.account.amgcard-account-index .bb-giftcard-card__media,
body.amgcard-account-index .bb-giftcard-card__media {
    background: linear-gradient(180deg, #fbfbfb 0%, #f1f1f1 100%);
    border-bottom: 1px solid #eeeeee;
    display: grid;
    gap: 10px;
    isolation: isolate;
    padding: 14px;
}

body.account.amgcard-account-index .bb-giftcard-card__image,
body.amgcard-account-index .bb-giftcard-card__image {
    aspect-ratio: 1 / 1;
    display: block;
    filter: brightness(.99) contrast(1.08) saturate(.96);
    height: auto;
    justify-self: center;
    max-width: 320px;
    mix-blend-mode: multiply;
    object-fit: contain;
    transform: translateZ(0) scale(1);
    transform-origin: center;
    transition: transform .22s ease, filter .22s ease;
    width: 100%;
    will-change: transform;
}

@media (min-width: 768px) {
    body.account.amgcard-account-index .bb-giftcard-card:hover .bb-giftcard-card__image,
    body.account.amgcard-account-index .bb-giftcard-card:focus-within .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card:hover .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card:focus-within .bb-giftcard-card__image {
        filter: brightness(1) contrast(1.1) saturate(.98);
        transform: translateZ(0) scale(1.045);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.account.amgcard-account-index .bb-giftcard-card__image,
    body.account.amgcard-account-index .bb-giftcard-card:hover .bb-giftcard-card__image,
    body.account.amgcard-account-index .bb-giftcard-card:focus-within .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card:hover .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card:focus-within .bb-giftcard-card__image {
        transition: none;
        transform: none;
    }
}


body.account.amgcard-account-index .bb-giftcard-card__code-wrap,
body.amgcard-account-index .bb-giftcard-card__code-wrap {
    background: #111111;
    border: 1px solid #111111;
    border-radius: 4px;
    color: #ffffff;
    display: grid;
    gap: 2px;
    padding: 9px 10px;
}

body.account.amgcard-account-index .bb-giftcard-card__code-wrap span,
body.amgcard-account-index .bb-giftcard-card__code-wrap span {
    color: rgba(255, 255, 255, .68);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

body.account.amgcard-account-index .bb-giftcard-card__code,
body.amgcard-account-index .bb-giftcard-card__code {
    color: #ffffff;
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

body.account.amgcard-account-index .bb-giftcard-card__body,
body.amgcard-account-index .bb-giftcard-card__body {
    display: grid;
    gap: 14px;
    padding: 14px;
}

body.account.amgcard-account-index .bb-giftcard-card__topline,
body.amgcard-account-index .bb-giftcard-card__topline {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

body.account.amgcard-account-index .bb-giftcard-card__remove,
body.amgcard-account-index .bb-giftcard-card__remove {
    flex: 0 0 auto;
}

body.account.amgcard-account-index .bb-giftcard-card__balance,
body.amgcard-account-index .bb-giftcard-card__balance {
    display: grid;
    gap: 4px;
}

body.account.amgcard-account-index .bb-giftcard-card__balance span,
body.amgcard-account-index .bb-giftcard-card__balance span {
    color: #666666;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

body.account.amgcard-account-index .bb-giftcard-card__balance strong,
body.amgcard-account-index .bb-giftcard-card__balance strong {
    color: #171717;
    font-size: 22px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1.15;
}

body.account.amgcard-account-index .bb-giftcard-card__details,
body.amgcard-account-index .bb-giftcard-card__details {
    border-top: 1px solid #eeeeee;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 12px 0 0;
}

body.account.amgcard-account-index .bb-giftcard-card__details div,
body.amgcard-account-index .bb-giftcard-card__details div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

body.account.amgcard-account-index .bb-giftcard-card__details dt,
body.amgcard-account-index .bb-giftcard-card__details dt {
    color: #707070;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

body.account.amgcard-account-index .bb-giftcard-card__details dd,
body.amgcard-account-index .bb-giftcard-card__details dd {
    color: #242424;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    body.account.amgcard-account-index .bb-giftcard-card-grid,
    body.amgcard-account-index .bb-giftcard-card-grid {
        padding: 12px;
    }

    body.account.amgcard-account-index .bb-giftcard-card-grid__items,
    body.amgcard-account-index .bb-giftcard-card-grid__items {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.amgcard-account-index .bb-giftcard-card__image,
    body.amgcard-account-index .bb-giftcard-card__image {
        max-width: 250px;
    }

    body.account.amgcard-account-index .bb-giftcard-card__remove,
    body.amgcard-account-index .bb-giftcard-card__remove {
        min-height: 32px;
        width: auto;
    }
}

@media (max-width: 374px) {
    body.account.amgcard-account-index .bb-giftcard-card__topline,
    body.amgcard-account-index .bb-giftcard-card__topline,
    body.account.amgcard-account-index .bb-giftcard-card__details,
    body.amgcard-account-index .bb-giftcard-card__details {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account.amgcard-account-index .bb-giftcard-card__topline,
    body.amgcard-account-index .bb-giftcard-card__topline {
        align-items: flex-start;
        display: grid;
    }
}

