/**
 * Bunches Florist — Additions / Gift Add-ons Page Styles
 * File: additions-page.css
 *
 * HOW TO USE:
 *   Option A (recommended): Enqueue via functions.php (see functions-snippet.php)
 *   Option B: Paste into your child theme's style.css
 *   Option C: Paste into Appearance → Customize → Additional CSS (for quick testing)
 *
 * Designed for WooCommerce + any theme (Divi / Elementor / Storefront etc.)
 * All selectors are scoped to #bunches-additions-root to avoid conflicts.
 */

/* ─────────────────────────────────────────────────────────────
   IMPORTS & CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */

#bunches-additions-root {
    --brand-primary:   #c94a26;
    --brand-light:     #ffffff;
    --brand-dark:      #8B2F13;
    --green:           #1D9E75;
    --green-light:     #EAF3DE;
    --text-primary:    #1C1917;
    --text-secondary:  #6B7280;
    --text-muted:      #9CA3AF;
    --surface:         #FFFFFF;
    --surface-alt:     #F9F8F6;
    --border:          rgba(0,0,0,0.09);
    --border-hover:    rgba(0,0,0,0.18);
    --radius-sm:       8px;
    --radius-md:       12px;
    --radius-lg:       16px;
    --radius-xl:       24px;
    --shadow-card:     0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.10), 0 12px 32px rgba(0,0,0,0.07);
    --font-display:    'Playfair Display', Georgia, serif;
    --font-body:       'DM Sans', sans-serif;
    --transition:      all 0.2s ease;

    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--surface-alt);
    -webkit-font-smoothing: antialiased;
}

/* Override theme styles that may bleed in */
#bunches-additions-root *,
#bunches-additions-root *::before,
#bunches-additions-root *::after {
    box-sizing: border-box;
}

#bunches-additions-root a {
    text-decoration: none;
    color: inherit;
}

#bunches-additions-root ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#bunches-additions-root h1,
#bunches-additions-root h2,
#bunches-additions-root h3 {
    margin: 0;
    line-height: 1.2;
}

#bunches-additions-root button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
    color: #a52a2a;
    border: solid 2px #d4d3d3;
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.ba-hero {
    background: linear-gradient(135deg, #E6E8D6 0%, #E6E8D6 50%, #E6E8D6 100%);
    border-bottom: 1px solid var(--border);
    padding: 20px 14px;
    text-align: center;
}

.ba-hero__inner {
    max-width: 600px;
    margin: 0 auto;
}

.ba-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    background: var(--brand-light);
    border: 1px solid rgba(201,74,38,0.15);
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: 10px;
}

.ba-hero__title {
    font-size: clamp(28px, 5vw, 40px);
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.ba-hero__sub {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Progress bar */
.ba-progress {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 20px;
}

@media (max-width: 480px) {
    .ba-progress {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 12px;
    }

    .ba-progress__step {
        font-size: 11px;
        padding-right: 10px;
    }

    .ba-progress__line {
        display: none; /* hide lines on mobile */
    }
}

.ba-progress__step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.ba-progress__step--active {
    color: var(--brand-primary);
    font-weight: 500;
}

.ba-progress__step--done {
    color: var(--green);
    font-weight: 500;
}

.ba-progress__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface-alt);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.ba-progress__step--active .ba-progress__icon {
    background: var(--brand-light);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.ba-progress__step--done .ba-progress__icon {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green);
}

.ba-progress__line {
    width: 32px;
    height: 1px;
    background: var(--border);
    margin: 0 8px;
    flex-shrink: 0;
}

.ba-progress__line--done {
    background: var(--green);
}

/* ─────────────────────────────────────────────────────────────
   MAIN LAYOUT
───────────────────────────────────────────────────────────── */
.ba-main {
    padding: 32px 20px 120px; /* bottom padding for mobile bar */
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ba-main {
        padding: 20px 16px 100px;
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .ba-main {
        padding: 16px 12px 100px;
        width: 100%;
        overflow: hidden;
    }
}

.ba-main__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 1024px) {
    .ba-main__inner {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ba-main__inner {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .ba-sidebar {
        display: none !important; /* hidden on mobile — mobile bar takes over */
    }
}

/* Shop container - products area */
.ba-shop {
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ba-shop {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

/* ─────────────────────────────────────────────────────────────
   CATEGORY TABS
───────────────────────────────────────────────────────────── */
.ba-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
    margin-bottom: 24px;
    width: 100%;
    flex-wrap: nowrap;
}

.ba-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .ba-tabs {
        scrollbar-width: auto;
        -ms-overflow-style: auto;
        width: calc(100vw - 40px);
        padding-bottom: 8px;
    }

    .ba-tabs::-webkit-scrollbar {
        display: block;
        height: 8px;
    }

    .ba-tabs::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: 4px;
    }

    .ba-tabs::-webkit-scrollbar-track {
        background: transparent;
    }
}

.ba-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px 12px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    white-space: nowrap;
    min-width: 100px;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-body);
}

.ba-tab:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
    background-color: #FEF1EA !important;
}

.ba-tab--active {
    background: var(--tab-color, #FAECE7);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background-color: #FEF1EA !important;
}

.ba-tab--active .ba-tab__label {
    color: var(--text-primary);
    font-weight: 500;
}

.ba-tab__emoji {
    font-size: 30px;
    line-height: 1;
}

.ba-tab__label {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    line-height: 1.25;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100px;
    white-space: pre-line;
}

.ba-tab__count {
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(0,0,0,0.06);
    border-radius: 100px;
    padding: 1px 6px;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT PANELS
───────────────────────────────────────────────────────────── */
.ba-panel {
    display: none;
    animation: ba-fadein 0.25s ease;
    width: 100%;
    overflow: visible;
}

.ba-panel--active {
    display: block;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ba-panel {
        width: 100%;
        max-width: 100%;
    }

    .ba-panel--active {
        width: 100%;
        max-width: 100%;
    }
}

@keyframes ba-fadein {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ba-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ba-panel__title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ba-panel__meta {
    font-size: 13px;
    color: var(--text-muted);
}

.ba-panel__empty {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 0;
    font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────
   PRODUCT GRID & CARDS
───────────────────────────────────────────────────────────── */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    width: 100%;
    overflow: visible;
}

@media (max-width: 1024px) {
    .ba-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .ba-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: calc(100vw - 40px);
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .ba-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: calc(100vw - 32px);
        overflow: hidden;
    }
}

.ba-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    width: 100%;
    cursor: pointer;
}

.ba-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.ba-card:focus-visible {
    outline: 3px solid rgba(201, 74, 38, 0.45);
    outline-offset: 3px;
}

.ba-card--added {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-light), var(--shadow-card);
}

.ba-card--oos {
    opacity: 0.55;
    pointer-events: none;
}

.ba-card__img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--card-color, #F3F4F6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    transition: background 0.2s;
}

.ba-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ba-card:hover .ba-card__img {
    transform: scale(1.04);
}

.ba-card__fallback-emoji {
    font-size: 44px;
    line-height: 1;
    opacity: 0.7;
}

/* Added badge overlay */
.ba-card__added-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ba-card--added .ba-card__added-badge {
    opacity: 1;
    transform: scale(1);
}

.ba-card__oos-badge {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Card body */
.ba-card__body {
    padding: 10px 12px 12px;
}

@media (max-width: 480px) {
    .ba-card__body {
        padding: 8px 10px 10px;
    }
}

.ba-card__name {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 8px;
    /* clamp to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ba-card__name:hover {
    color: var(--brand-primary);
}

.ba-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.ba-card__price {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.ba-card__price .woocommerce-Price-amount {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary) !important;
}

.ba-card__oos-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* Add / remove button */
.ba-card__btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
    font-family: var(--font-body);
}

.ba-card__btn:hover {
    border-color: var(--brand-primary);
    background: var(--brand-light);
    color: var(--brand-primary);
    transform: scale(1.05);
}

.ba-card__btn--added {
    border-color: var(--green);
    background: var(--green-light);
    color: var(--green);
}

.ba-card__btn-plus {
    font-size: 18px;
    line-height: 1;
    transition: var(--transition);
}

.ba-card__btn-check {
    font-size: 13px;
    position: absolute;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ba-card__btn--added .ba-card__btn-plus {
    opacity: 0;
    transform: scale(0);
}

.ba-card__btn--added .ba-card__btn-check {
    opacity: 1;
    transform: scale(1);
}

/* ─────────────────────────────────────────────────────────────
   SIDEBAR CART
───────────────────────────────────────────────────────────── */
.ba-sidebar {
    position: sticky;
}

.ba-cart {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

.ba-cart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.ba-cart__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
}

.ba-cart__badge {
    min-width: 24px;
    height: 24px;
    border-radius: 100px;
    background: var(--brand-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    transition: var(--transition);
}

.ba-cart__badge--zero {
    background: var(--surface-alt);
    color: var(--text-muted);
}

/* Cart list */
.ba-cart__list {
    min-height: 60px;
    margin-bottom: 12px;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.ba-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.ba-cart__empty-icon {
    font-size: 28px;
    opacity: 0.5;
}

.ba-cart__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    animation: ba-fadein 0.2s ease;
}

.ba-cart__item:last-child {
    border-bottom: none;
}

.ba-cart__item-emoji {
    font-size: 18px;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-cart__item-info {
    flex: 1;
    min-width: 0;
}

.ba-cart__item-name {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ba-cart__item-price {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.ba-cart__item-remove {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
    transition: var(--transition);
    padding: 0;
}

.ba-cart__item-remove:hover {
    color: var(--brand-primary);
    background: var(--brand-light);
}

/* Total row */
.ba-cart__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 16px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}

.ba-cart__total-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

.ba-cart__total-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Action buttons */
.ba-cart__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ba-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-md);
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.ba-btn--primary {
    background: var(--brand-primary);
    color: #fff;
    width: 100%;
}

.ba-btn--primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201,74,38,0.35);
}

.ba-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    font-size: 13px;
    width: 100%;
}

.ba-btn--ghost:hover {
    background: var(--surface-alt);
    color: var(--text-primary);
}

.ba-btn__arrow {
    transition: transform 0.2s;
}

.ba-btn--primary:hover .ba-btn__arrow {
    transform: translateX(3px);
}

.ba-cart__note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE STICKY BAR
───────────────────────────────────────────────────────────── */
.ba-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 14px 16px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.ba-mobile-bar--visible {
    transform: translateY(0);
}

.ba-mobile-bar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.ba-mobile-bar__summary {
    margin-bottom: 10px;
}

.ba-mobile-bar__actions {
    display: flex;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
}

.ba-mobile-bar__actions .ba-mobile-bar__btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
}

@media (max-width: 768px) {
    .ba-mobile-bar {
        display: block;
    }

    .ba-main {
        padding-bottom: 140px;
    }
}

.ba-mobile-bar__info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.ba-mobile-bar__count,
.ba-mobile-bar__total {
    display: inline-block;
    white-space: nowrap;
}

.ba-mobile-bar__count {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.ba-mobile-bar__total {
    font-size: 12px;
    color: var(--text-secondary);
}

.ba-mobile-bar__btn {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.ba-mobile-bar__btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.ba-mobile-bar__btn:hover {
    background: var(--brand-dark);
    color: #fff;
}

.ba-mobile-bar__btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.ba-mobile-bar__btn.ba-btn--loading,
.ba-btn.ba-btn--loading {
    cursor: wait;
}

.ba-mobile-bar__btn.ba-btn--loading::after,
.ba-btn.ba-btn--loading::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    border-radius: 50%;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    animation: ba-spin 0.8s linear infinite;
}

.ba-mobile-bar__btn--ghost.ba-btn--loading::after {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.7);
}

@keyframes ba-spin {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

.ba-mobile-bar__btn--ghost:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────────
   UTILITY / OVERRIDES
───────────────────────────────────────────────────────────── */

/* Hide WooCommerce notices that may appear on this page */
#bunches-additions-root .woocommerce-notices-wrapper { display: none; }

/* Ensure theme doesn't add extra padding inside the hero */
.ba-hero .entry-content,
.ba-main .entry-content { padding: 0; margin: 0; }


.page-template-page-additions .page-header h1{
    display:none;
}

/* ─────────────────────────────────────────────────────────────
   ERROR MESSAGE BANNER
───────────────────────────────────────────────────────────── */

.ba-error-message {
    background: #FEE2E2;
    border: 1.5px solid #FCA5A5;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #7F1D1D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    animation: ba-slidein 0.3s ease;
}

.ba-error-message strong {
    font-weight: 600;
}

.ba-error-close {
    background: none;
    border: none;
    color: #7F1D1D;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    flex-shrink: 0;
    transition: var(--transition);
}

.ba-error-close:hover {
    color: #991B1B;
}

@keyframes ba-slidein {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
