/* ==========================================================
   CDS Journey — Batch Detail visual match (Phase 19F)
   Namespaces: .rd-batch-detail / .rd-batch-hero / .rd-batch-purchase /
               .rd-batch-nav / .rd-batch-benefits / .rd-batch-overview /
               .rd-batch-subjects / .rd-batch-schedule / .rd-batch-faculty /
               .rd-batch-faqs / .rd-batch-testseries
   Navy / Olive / Gold — no lavender.
   ========================================================== */

.rd-batch-detail {
    --bd-navy: #1A2B4C;
    --bd-navy-deep: #142038;
    --bd-olive: #4B5320;
    --bd-gold: #D4AF37;
    --bd-gold-hover: #C49F28;
    --bd-ink: #1D1D1F;
    --bd-muted: #6C757D;
    --bd-border: #E9ECEF;
    --bd-surface: #FFFFFF;
    --bd-bg: #F8F9FB;
    --bd-soft: #EEF1F5;
    --bd-radius: 10px;
    --bd-max: 1200px;
    background: var(--bd-bg);
    color: var(--bd-ink);
    font-family: "Inter", system-ui, sans-serif;
}

.rd-batch-detail a:link,
.rd-batch-detail a:visited { text-decoration: none; }

.rd-batch-detail__vh {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.rd-batch-detail .rd-container {
    max-width: var(--bd-max);
}

/* —— Shared section chrome —— */
.rd-batch-detail__body {
    padding-block: 48px 64px;
}

.rd-batch-detail__head {
    margin-bottom: 24px;
}

.rd-batch-detail__head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 16px;
}

.rd-batch-detail__h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bd-navy);
}

.rd-batch-detail__lead {
    margin: 8px 0 0;
    max-width: 40rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--bd-muted);
}

.rd-batch-detail__text-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bd-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rd-batch-detail__text-link:hover { color: var(--bd-olive); }

/* —— Buttons —— */
.rd-batch-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.rd-batch-detail__btn--gold {
    background: var(--bd-gold);
    border-color: var(--bd-gold);
    color: var(--bd-navy-deep) !important;
}
.rd-batch-detail__btn--gold:hover {
    background: var(--bd-gold-hover);
    border-color: var(--bd-gold-hover);
    transform: translateY(-1px);
}

.rd-batch-detail__btn--cart,
.rd-batch-detail__btn--primary {
    background: var(--bd-navy);
    border-color: var(--bd-navy);
    color: #FFFFFF !important;
}
.rd-batch-detail__btn--cart:hover,
.rd-batch-detail__btn--primary:hover {
    background: var(--bd-navy-deep);
    transform: translateY(-1px);
}

.rd-batch-detail__btn--ghost {
    background: var(--bd-surface);
    border-color: var(--bd-navy);
    color: var(--bd-navy) !important;
}
.rd-batch-detail__btn--ghost:hover {
    background: var(--bd-navy);
    color: #FFFFFF !important;
}

.rd-batch-detail__btn--disabled,
.rd-batch-detail__btn:disabled {
    background: var(--bd-soft);
    border-color: var(--bd-border);
    color: var(--bd-muted) !important;
    cursor: not-allowed;
    transform: none;
}

.rd-batch-detail__btn:focus-visible {
    outline: 2px solid var(--bd-gold);
    outline-offset: 2px;
}

.rd-batch-detail__live-dot {
    width: 8px; height: 8px;
    border-radius: 999px;
    background: #2ecc71;
    animation: rd-bd-pulse 1.4s ease infinite;
}

@keyframes rd-bd-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.45); }
    70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.cart-cta-error {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: #9B2C2C;
}

/* —— Breadcrumb —— */
.rd-batch-hero__crumb {
    background: var(--bd-bg);
    border-bottom: 1px solid var(--bd-border);
    padding-block: 12px;
}

.rd-batch-hero__crumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0; padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--bd-muted);
}

.rd-batch-hero__crumb-list a {
    color: var(--bd-navy);
    font-weight: 500;
}
.rd-batch-hero__crumb-list a:hover { color: var(--bd-olive); }
.rd-batch-hero__crumb-list [aria-current="page"] {
    color: var(--bd-ink);
    font-weight: 600;
}

/* —— Hero —— */
.rd-batch-hero {
    position: relative;
    overflow: hidden;
    background: var(--bd-surface);
    border-bottom: 1px solid var(--bd-border);
}

.rd-batch-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rd-batch-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 30%;
    opacity: 0.88;
}

.rd-batch-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.96) 34%,
            rgba(255, 255, 255, 0.72) 52%,
            rgba(255, 255, 255, 0.28) 72%,
            rgba(26, 43, 76, 0.12) 100%),
        linear-gradient(180deg, rgba(26, 43, 76, 0.04), transparent 42%);
}

.rd-batch-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.78fr);
    gap: 28px 40px;
    align-items: start;
    padding-block: 40px 48px;
    min-height: 22rem;
}

.rd-batch-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.rd-batch-hero__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 12px;
    border-radius: 999px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rd-batch-hero__badge--exam {
    background: rgba(212, 175, 55, 0.22);
    color: #7A6418;
}

.rd-batch-hero__badge--live {
    background: var(--bd-surface);
    border: 1px solid rgba(75, 83, 32, 0.35);
    color: var(--bd-olive);
}

.rd-batch-hero__badge--upcoming {
    background: rgba(212, 175, 55, 0.14);
    color: #8A7020;
}

.rd-batch-hero__badge--closed {
    background: var(--bd-soft);
    color: var(--bd-muted);
}

.rd-batch-hero__title {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--bd-navy);
}

.rd-batch-hero__lead {
    margin: 0 0 28px;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #343A40;
}

.rd-batch-hero__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rd-batch-hero__meta li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.rd-batch-hero__meta-icon {
    flex-shrink: 0;
    color: var(--bd-gold);
    margin-top: 2px;
}

.rd-batch-hero__meta-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bd-muted);
}

.rd-batch-hero__meta-value {
    display: block;
    margin-top: 2px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bd-navy);
}

/* —— Purchase card —— */
.rd-batch-purchase {
    position: sticky;
    top: 88px;
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: 12px;
    padding: 24px 22px 20px;
    box-shadow: 0 12px 32px rgba(26, 43, 76, 0.1);
}

.rd-batch-purchase__price {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--bd-navy);
}

.rd-batch-purchase__gst {
    margin: 4px 0 20px;
    font-size: 0.84rem;
    color: var(--bd-muted);
}

.rd-batch-purchase__closed {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bd-muted);
}

.rd-batch-purchase__cta,
.rd-batch-purchase__cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rd-batch-purchase__trust {
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--bd-border);
    display: grid;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--bd-muted);
}

.rd-batch-purchase__trust-icon {
    display: inline-flex;
    width: 1rem;
    color: var(--bd-olive);
    font-weight: 700;
    margin-right: 4px;
}

.rd-batch-purchase__trust a {
    color: var(--bd-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* —— Section nav —— */
.rd-batch-nav {
    background: var(--bd-surface);
    border-bottom: 1px solid var(--bd-border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.rd-batch-nav__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.rd-batch-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bd-muted);
}

.rd-batch-nav__link:hover {
    color: var(--bd-navy);
    background: var(--bd-soft);
}

.rd-batch-nav__link.is-active {
    background: var(--bd-olive);
    color: #FFFFFF;
}

/* —— What You Get —— */
.rd-batch-benefits {
    margin-bottom: 64px;
}

.rd-batch-benefits__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.rd-batch-benefits__card {
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 18px 16px 20px;
    box-shadow: 0 2px 8px rgba(26, 43, 76, 0.03);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rd-batch-benefits__card:hover {
    border-color: #DDE2E6;
    box-shadow: 0 6px 16px rgba(26, 43, 76, 0.06);
}

.rd-batch-benefits__icon {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 14px;
    background: var(--bd-gold);
    border-radius: 2px;
}

.rd-batch-benefits__title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bd-navy);
    line-height: 1.3;
}

.rd-batch-benefits__copy {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--bd-muted);
}

/* —— About —— */
.rd-batch-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(14rem, 0.7fr);
    gap: 28px 36px;
    align-items: start;
    margin-bottom: 64px;
}

.rd-batch-overview__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #343A40;
    max-width: 42rem;
}

.rd-batch-overview__quote {
    margin: 0;
    padding: 28px 24px;
    background: var(--bd-navy);
    border-radius: 12px;
    color: var(--bd-gold);
    position: relative;
}

.rd-batch-overview__quote-mark {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.85;
    margin-bottom: 8px;
}

.rd-batch-overview__quote p {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    font-style: italic;
}

/* —— Subjects —— */
.rd-batch-subjects {
    margin-bottom: 64px;
}

.rd-batch-subjects__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rd-batch-subjects__card {
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 20px 18px 22px;
    box-shadow: 0 2px 8px rgba(26, 43, 76, 0.03);
}

.rd-batch-subjects__name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bd-navy);
}

.rd-batch-subjects__num {
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.75rem;
    color: var(--bd-olive);
}

.rd-batch-subjects__topics {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rd-batch-subjects__topics li {
    position: relative;
    padding: 6px 0 6px 18px;
    font-size: 0.9rem;
    color: var(--bd-muted);
    border-top: 1px solid var(--bd-border);
}

.rd-batch-subjects__topics li:first-child { border-top: 0; }

.rd-batch-subjects__topics li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--bd-gold);
}

/* —— Schedule —— */
.rd-batch-schedule {
    margin-bottom: 64px;
}

.rd-batch-schedule__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(12rem, 0.55fr);
    gap: 16px 20px;
    align-items: start;
}

.rd-batch-schedule__table-wrap {
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    overflow: hidden;
}

.rd-batch-schedule__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.rd-batch-schedule__table th,
.rd-batch-schedule__table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--bd-border);
}

.rd-batch-schedule__table th {
    background: var(--bd-soft);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bd-muted);
}

.rd-batch-schedule__table td {
    color: var(--bd-navy);
    font-weight: 500;
}

.rd-batch-schedule__note {
    margin: 0;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--bd-muted);
    border-top: 1px solid var(--bd-border);
}

.rd-batch-schedule__aside {
    background: var(--bd-navy);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.rd-batch-schedule__aside-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.25);
    border: 2px solid var(--bd-gold);
}

.rd-batch-schedule__aside-title {
    margin: 0 0 6px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bd-gold);
}

.rd-batch-schedule__aside-copy {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

/* —— Faculty —— */
.rd-batch-faculty {
    margin-bottom: 64px;
}

.rd-batch-faculty__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rd-batch-faculty__card {
    display: flex;
    gap: 14px;
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 18px 16px;
    box-shadow: 0 2px 8px rgba(26, 43, 76, 0.03);
}

.rd-batch-faculty__photo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bd-soft);
}

.rd-batch-faculty__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rd-batch-faculty__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bd-navy);
    background: rgba(26, 43, 76, 0.08);
}

.rd-batch-faculty__body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: var(--bd-navy);
}

.rd-batch-faculty__role {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--bd-olive);
}

.rd-batch-faculty__copy {
    margin: 6px 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--bd-muted);
}

/* —— FAQs —— */
.rd-batch-faqs {
    margin-bottom: 48px;
}

.rd-batch-faqs__list {
    display: grid;
    gap: 10px;
}

.rd-batch-faqs__item {
    background: var(--bd-surface);
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 0 16px;
}

.rd-batch-faqs__item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-weight: 600;
    color: var(--bd-navy);
}

.rd-batch-faqs__item summary::-webkit-details-marker { display: none; }

.rd-batch-faqs__item p {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--bd-muted);
}

/* —— Test Series —— */
.rd-batch-testseries {
    margin-top: 8px;
}

.rd-batch-testseries__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 24px 28px;
    background: var(--bd-soft);
    border: 1px solid var(--bd-border);
    border-radius: 12px;
}

.rd-batch-testseries__copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 1 1 18rem;
}

.rd-batch-testseries__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(75, 83, 32, 0.12);
    border: 2px solid var(--bd-olive);
}

.rd-batch-testseries__title {
    margin: 0 0 4px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bd-navy);
}

.rd-batch-testseries__text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--bd-muted);
}

.rd-batch-testseries__cta {
    width: auto;
    min-width: 12rem;
}

/* —— Responsive —— */
@media (max-width: 1199.98px) {
    .rd-batch-hero__grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
        gap: 24px;
        padding-block: 32px 36px;
    }

    .rd-batch-hero__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-batch-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rd-batch-subjects__grid,
    .rd-batch-faculty__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-batch-overview,
    .rd-batch-schedule__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .rd-batch-detail__body {
        padding-block: 36px 48px;
    }

    /* Mobile: image band first, then copy + purchase stack */
    .rd-batch-hero__media {
        position: relative;
        inset: auto;
        height: min(42vw, 220px);
        min-height: 168px;
    }

    .rd-batch-hero__img {
        opacity: 1;
        object-position: center 28%;
    }

    .rd-batch-hero__scrim {
        background: linear-gradient(
            180deg,
            rgba(26, 43, 76, 0.08) 0%,
            rgba(255, 255, 255, 0.15) 55%,
            rgba(255, 255, 255, 0.92) 100%
        );
    }

    .rd-batch-hero__grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-block: 20px 28px;
    }

    .rd-batch-purchase {
        position: static;
        order: 2;
        margin-top: 8px;
    }

    .rd-batch-hero__meta {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 4px;
    }

    .rd-batch-benefits,
    .rd-batch-overview,
    .rd-batch-subjects,
    .rd-batch-schedule,
    .rd-batch-faculty {
        margin-bottom: 40px;
    }

    .rd-batch-benefits__grid {
        grid-template-columns: 1fr 1fr;
    }

    .rd-batch-subjects__grid,
    .rd-batch-faculty__grid {
        grid-template-columns: 1fr;
    }

    .rd-batch-testseries__cta {
        width: 100%;
    }

    .rd-batch-schedule__table {
        font-size: 0.82rem;
    }

    .rd-batch-schedule__table th,
    .rd-batch-schedule__table td {
        padding: 12px;
    }
}

@media (max-width: 414px) {
    .rd-batch-benefits__grid {
        grid-template-columns: 1fr;
    }

    .rd-batch-hero__meta {
        grid-template-columns: 1fr;
    }

    .rd-batch-hero__title {
        font-size: 1.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rd-batch-detail__btn,
    .rd-batch-detail__live-dot,
    .rd-batch-benefits__card,
    .rd-batch-sticky__inner,
    .rd-batch-sticky__btn {
        transition: none;
        animation: none;
    }
}

/* —— Sticky current-batch purchase bar (Phase 19F.1) —— */
.rd-batch-detail {
    padding-bottom: 5.5rem;
}

.rd-batch-sticky.guest-cart-bar {
    transform: translateY(0);
    pointer-events: auto;
    background: #1A2B4C;
    color: #FFFFFF;
    z-index: 85;
}

.rd-batch-sticky.guest-cart-bar[hidden] {
    display: none !important;
}

.rd-batch-sticky__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    transition: opacity 220ms ease;
}

.rd-batch-sticky.is-updating .rd-batch-sticky__inner {
    opacity: 0.72;
}

.rd-batch-sticky__copy {
    min-width: 0;
    flex: 1 1 12rem;
}

.rd-batch-sticky__name {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    line-height: 1.25;
}

.rd-batch-sticky__meta {
    margin: 4px 0 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.rd-batch-sticky__price {
    margin: 4px 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: #D4AF37;
    font-variant-numeric: tabular-nums;
}

.rd-batch-sticky__gst {
    display: inline;
    margin-left: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.rd-batch-sticky__msg {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
}

.rd-batch-sticky__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: #4B5320;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.rd-batch-sticky__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rd-batch-sticky__cta-group {
    display: contents;
}

.rd-batch-sticky__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.rd-batch-sticky__btn--gold {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #1A2B4C !important;
}

.rd-batch-sticky__btn--gold:hover {
    background: #C49F28;
    border-color: #C49F28;
    color: #1A2B4C !important;
}

.rd-batch-sticky__btn--ghost {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #1A2B4C !important;
}

.rd-batch-sticky__btn--ghost:hover {
    background: #F4F6F9;
    color: #1A2B4C !important;
}

.rd-batch-sticky__btn--disabled,
.rd-batch-sticky__btn:disabled {
    background: rgba(255, 255, 255, 0.14);
    border-color: transparent;
    color: rgba(255, 255, 255, 0.72) !important;
    cursor: not-allowed;
}

.rd-batch-sticky__btn:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .rd-batch-detail {
        padding-bottom: 7.5rem;
    }

    .rd-batch-sticky__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .rd-batch-sticky__actions {
        width: 100%;
    }

    .rd-batch-sticky__btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .rd-batch-sticky__actions:has(> .rd-batch-sticky__btn:nth-child(2)),
    .rd-batch-sticky__actions:has(> a:nth-child(2)) {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rd-batch-sticky__gst {
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }
}

