@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;600;700;900&display=swap');

:root {
    --gold: #D4AF37;
    --gold-light: #F5D76E;
    --gold-dark: #9A7D0A;
    --black: #0A0A0A;
    --black-card: #111111;
    --black-elevated: #1A1A1A;
    --black-border: #2A2A2A;
    --white: #FFFFFF;
    --white-muted: #AAAAAA;
    --danger: #FF4444;
    --reserved: #FF8800;
}

/* ===== ASTRA OVERRIDES ===== */
body.single-bbr_raffle .site-header,
body.single-bbr_raffle #masthead,
body.post-type-archive-bbr_raffle .site-header,
body.post-type-archive-bbr_raffle #masthead {
    background: #0A0A0A !important;
    border-bottom: 1px solid #2A2A2A !important;
}
body.single-bbr_raffle #masthead a,
body.single-bbr_raffle .main-navigation a,
body.post-type-archive-bbr_raffle #masthead a,
body.post-type-archive-bbr_raffle .main-navigation a { color: #FFFFFF !important; }
body.single-bbr_raffle .site-title a,
body.post-type-archive-bbr_raffle .site-title a { color: var(--gold) !important; }
body.single-bbr_raffle,
body.post-type-archive-bbr_raffle {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}
body.single-bbr_raffle #page { display: block !important; flex-direction: unset !important; }
body.single-bbr_raffle .site-content,
body.single-bbr_raffle #content,
body.single-bbr_raffle .ast-container,
body.single-bbr_raffle .site-content .ast-container { padding: 0 !important; max-width: 100% !important; display: block !important; }
body.single-bbr_raffle .entry-header,
body.single-bbr_raffle .entry-meta,
body.single-bbr_raffle .entry-title { display: none !important; }
body.single-bbr_raffle #primary,
body.single-bbr_raffle .site-primary { width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; }
body.single-bbr_raffle .site-footer,
body.post-type-archive-bbr_raffle .site-footer { background: #0A0A0A !important; border-top: 1px solid #2A2A2A !important; color: #666 !important; }
body.single-bbr_raffle .site-footer a { color: var(--gold) !important; }

/* ===== GLOBAL ===== */
* { box-sizing: border-box; }
.bbr-wrap { max-width: 1360px; margin: 0 auto; padding: 0 20px; }

/* ===== NAV BAR ===== */
.bbr-nav-bar {
    background: var(--black-card);
    border-bottom: 2px solid var(--gold);
    padding: 12px 20px;
    min-height: 50px;
}

/* ===== INFO SIDEBAR ===== */
.bbr-info-panel { position: sticky; top: 20px; }
.bbr-hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    line-height: 0.95;
    color: var(--white);
    margin: 0 0 8px;
}
.bbr-hero-title span { color: var(--gold); display: block; }
.bbr-hero-prize {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--gold);
    letter-spacing: 2px;
    margin: 0;
}
.bbr-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.bbr-hero-meta--vertical { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bbr-hero-stat .value {
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
    color: var(--gold);
    display: block;
    line-height: 1;
}
.bbr-hero-stat .label { font-size: 10px; color: var(--white-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== COUNTDOWN ===== */
.bbr-info-col .bbr-countdown-wrap {
    border: none;
    background: transparent;
    padding: 0;
}
.bbr-countdown-wrap {
    background: var(--black-card);
    border: 1px solid var(--gold-dark);
    border-radius: 12px;
    padding: 15px 18px;
    text-align: center;
    min-width: 200px;
}
.bbr-countdown-label { font-size: 10px; color: var(--white-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.bbr-countdown { display: flex; gap: 6px; justify-content: center; }
.bbr-countdown-unit { text-align: center; }
.bbr-countdown-unit .num {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(20px, 2.5vw, 30px);
    color: var(--gold);
    line-height: 1;
    display: block;
    min-width: 36px;
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-radius: 6px;
    padding: 4px;
}
.bbr-countdown-unit .unit { font-size: 9px; color: var(--white-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; display: block; }

/* ===== LAYOUT ===== */
.bbr-raffle-layout {
    display: grid;
    grid-template-columns: 280px 1fr 330px;
    gap: 20px;
    padding: 25px 0;
}

/* ===== CARDS ===== */
.bbr-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}
.bbr-card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--black-border);
}

/* ===== PROGRESS ===== */
.bbr-progress-info { display: flex; justify-content: flex-start; margin-bottom: 8px; font-size: 13px; }
.bbr-progress-info .sold { color: var(--gold); font-weight: 700; }
.bbr-progress-info .remaining { color: var(--white-muted); }
.bbr-progress-bar { background: var(--black-elevated); border-radius: 50px; height: 10px; overflow: hidden; border: 1px solid var(--black-border); }
.bbr-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 50px;
    transition: width 0.5s ease;
    position: relative;
}
.bbr-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== NUMBER GRID ===== */
.bbr-grid-intro { font-size: 12px; color: var(--white-muted); margin-bottom: 12px; }
.bbr-number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
}
.bbr-number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 2px solid var(--black-border);
    background: var(--black-elevated);
    color: var(--white);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    padding: 0;
    width: 100%;
}
.bbr-number:hover:not(.sold):not(.reserved) {
    border-color: var(--gold);
    background: rgba(212,175,55,0.1);
    color: var(--gold);
    transform: scale(1.06);
    box-shadow: 0 0 10px rgba(212,175,55,0.2);
}
.bbr-number.selected {
    background: var(--gold);
    border-color: var(--gold-light);
    color: var(--black);
    transform: scale(1.06);
    box-shadow: 0 0 14px rgba(212,175,55,0.4);
}
.bbr-number.sold {
    background: var(--black);
    border-color: #1a1a1a;
    color: #2a2a2a;
    cursor: not-allowed;
    text-decoration: line-through;
}
.bbr-number.reserved {
    background: rgba(255,136,0,0.08);
    border-color: var(--reserved);
    color: var(--reserved);
    cursor: not-allowed;
}
.bbr-number.closed {
    background: #1a1a1a;
    border-color: #222;
    color: #333;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ===== SELECTION PANEL ===== */
.bbr-selection-panel { position: sticky; top: 20px; }
.bbr-selected-number {
    text-align: center;
    padding: 12px;
    background: var(--black-elevated);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--black-border);
}
.bbr-selected-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 8px 0;
}
.bbr-selected-pill {
    background: var(--gold);
    color: var(--black);
    font-family: 'Bebas Neue', cursive;
    font-size: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbr-selected-number .number-label { font-size: 11px; color: var(--white-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.bbr-selected-number .number-total { font-family: 'Bebas Neue', cursive; font-size: 22px; color: var(--gold); margin-top: 4px; }
.bbr-no-selection { text-align: center; color: var(--white-muted); font-size: 13px; padding: 15px; }

/* ===== BUTTONS ===== */
.bbr-btn {
    display: block;
    width: 100%;
    padding: 13px;
    font-family: 'Bebas Neue', cursive;
    font-size: 17px;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
}
.bbr-btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--black);
    box-shadow: 0 4px 18px rgba(212,175,55,0.25);
}
.bbr-btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,0.4); color: var(--black); }
.bbr-btn-primary:disabled { background: var(--black-elevated); color: #444; border: 1px solid var(--black-border); cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== TICKET DETAILS ===== */
.bbr-ticket-details { list-style: none; padding: 0; margin: 0 0 14px; }
.bbr-ticket-details li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--black-border); font-size: 13px; }
.bbr-ticket-details li:last-child { border-bottom: none; }
.bbr-ticket-details .detail-label { color: var(--white-muted); margin-right: 8px; }
.bbr-ticket-details .detail-value { color: var(--white); font-weight: 700; text-align: right; }
.bbr-ticket-details .detail-value.gold { color: var(--gold); }

/* ===== LIVE FEED ===== */
.bbr-feed-list { list-style: none; padding: 0; margin: 0; }
.bbr-feed-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--black-border); animation: feedIn 0.3s ease; }
.bbr-feed-item:last-child { border-bottom: none; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.bbr-feed-ball { width: 30px; height: 30px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', cursive; font-size: 13px; color: var(--black); flex-shrink: 0; }
.bbr-feed-text { flex: 1; font-size: 12px; }
.bbr-feed-text strong { color: var(--white); }
.bbr-feed-time { font-size: 10px; color: var(--white-muted); white-space: nowrap; }
.bbr-feed-empty { color: var(--white-muted); font-size: 13px; text-align: center; padding: 12px 0; }

/* ===== RESERVATION TIMER ===== */
.bbr-reservation-banner { background: rgba(255,136,0,0.08); border: 1px solid var(--reserved); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; display: none; text-align: center; font-size: 13px; color: var(--white); }
.bbr-reservation-banner.active { display: block; }
.bbr-reservation-timer { font-family: 'Bebas Neue', cursive; font-size: 20px; color: var(--reserved); }

/* ===== LEGEND ===== */
.bbr-legend { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.bbr-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--white-muted); }
.bbr-legend-dot { width: 14px; height: 14px; border-radius: 3px; border: 2px solid; }
.bbr-legend-dot.available { background: var(--black-elevated); border-color: var(--black-border); }
.bbr-legend-dot.selected { background: var(--gold); border-color: var(--gold-light); }
.bbr-legend-dot.sold { background: var(--black); border-color: #1a1a1a; }
.bbr-legend-dot.reserved { background: rgba(255,136,0,0.08); border-color: var(--reserved); }

/* ===== NOTIFICATIONS ===== */
.bbr-notification { position: fixed; top: 20px; right: 20px; background: var(--black-card); border: 1px solid var(--gold); border-radius: 10px; padding: 12px 16px; max-width: 290px; z-index: 9999; box-shadow: 0 8px 30px rgba(0,0,0,0.5); animation: slideIn 0.3s ease; font-size: 13px; color: var(--white); }
.bbr-notification.error { border-color: var(--danger); }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

/* ===== WINNERS ===== */
.bbr-winners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; padding: 25px 0; }
.bbr-winner-card { background: var(--black-card); border: 1px solid var(--gold-dark); border-radius: 12px; padding: 20px; text-align: center; }
.bbr-winner-ball { width: 64px; height: 64px; background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', cursive; font-size: 28px; color: var(--black); margin: 0 auto 12px; box-shadow: 0 0 18px rgba(212,175,55,0.25); }
.bbr-winner-name { font-family: 'Bebas Neue', cursive; font-size: 22px; color: var(--white); margin: 0 0 3px; }
.bbr-winner-prize { color: var(--gold); font-size: 18px; font-weight: 900; margin: 0 0 6px; }
.bbr-winner-raffle { color: var(--white-muted); font-size: 11px; }

/* ===== RAFFLE LISTING ===== */
.bbr-raffles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding: 30px 0; }
.bbr-raffle-card { background: var(--black-card); border: 1px solid var(--black-border); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; text-decoration: none; color: var(--white); display: block; }
.bbr-raffle-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(212,175,55,0.15); color: var(--white); text-decoration: none; }
.bbr-raffle-card-image { width: 100%; height: 180px; object-fit: cover; }
.bbr-raffle-card-image-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--black-elevated), #1a1400); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', cursive; font-size: 40px; color: var(--gold-dark); }
.bbr-raffle-card-body { padding: 18px; }
.bbr-raffle-card-title { font-family: 'Bebas Neue', cursive; font-size: 22px; color: var(--white); margin: 0 0 4px; }
.bbr-raffle-card-prize { color: var(--gold); font-size: 18px; font-weight: 900; margin: 0 0 12px; }
.bbr-raffle-card-btn { display: block; width: 100%; padding: 10px; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--black); font-family: 'Bebas Neue', cursive; font-size: 16px; letter-spacing: 2px; border: none; border-radius: 6px; text-align: center; margin-top: 12px; }

/* ===== MID-WIDTH — left col collapses to horizontal strip ===== */
@media (max-width: 1100px) {
    .bbr-raffle-layout { grid-template-columns: 1fr 330px; }
    .bbr-info-col { grid-column: 1 / -1; }
    .bbr-info-panel {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 16px;
    }
    .bbr-info-panel .bbr-card { margin-bottom: 0; }
    .bbr-hero-meta--vertical { grid-template-columns: 1fr 1fr; }
}

/* ===== TABLET ===== */
@media (max-width: 900px) {
    .bbr-raffle-layout { grid-template-columns: 1fr; }
    .bbr-selection-panel { position: static; }
    .bbr-info-panel { grid-template-columns: 1fr; }
    .bbr-countdown-wrap { min-width: unset; }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .bbr-hero-meta { gap: 10px; }
    .bbr-number-grid { grid-template-columns: repeat(6, 1fr); gap: 5px; }
    .bbr-number { font-size: 15px; }
    .bbr-wrap { padding: 0 10px; }
    .bbr-card { padding: 14px; }
    .bbr-notification { left: 10px; right: 10px; max-width: unset; }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 380px) {
    .bbr-number-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; }
    .bbr-number { font-size: 13px; }
}



/* ===== GLOBAL INPUTS — NO WHITE ANYWHERE ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
    background: var(--black-elevated) !important;
    background-color: var(--black-elevated) !important;
    border: 1px solid var(--black-border) !important;
    color: var(--white) !important;
    border-radius: 6px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(212,175,55,0.15) !important;
}

select option {
    background: var(--black-elevated) !important;
    color: var(--white) !important;
}

label {
    color: var(--white-muted) !important;
}

/* ===== GLOBAL LINKS ===== */
a { color: var(--gold) !important; }
a:hover { color: var(--gold-light) !important; }

/* ===== GLOBAL HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', cursive !important;
    color: var(--gold) !important;
    letter-spacing: 1px !important;
}

/* ===== GLOBAL BODY ===== */
body {
    background: var(--black) !important;
    background-color: var(--black) !important;
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif !important;
}

p { color: var(--white-muted) !important; }
strong, b { color: var(--white) !important; }

/* ===== HEADER ===== */
.site-header, #masthead {
    background: var(--black) !important;
    background-color: var(--black) !important;
    border-bottom: 1px solid var(--black-border) !important;
}

.site-title a, .ast-site-title a { color: var(--gold) !important; }
#masthead a, .main-navigation a, .ast-header-custom-item a { color: var(--white) !important; }
#masthead a:hover, .main-navigation a:hover { color: var(--gold) !important; }

/* ===== FOOTER ===== */
.site-footer,
.site-footer *,
#colophon,
#colophon *,
.ast-small-footer,
.ast-small-footer *,
.ast-footer-overlay,
.ast-footer-copyright,
footer,
footer * {
    background: #0A0A0A !important;
    background-color: #0A0A0A !important;
    color: #666 !important;
}

.site-footer,
#colophon,
footer {
    border-top: 1px solid #2A2A2A !important;
}

.site-footer a,
.site-footer * a,
#colophon a,
#colophon * a,
footer a,
footer * a,
.ast-footer-copyright a,
.ast-footer-copyright * a,
.ast-small-footer a,
.ast-small-footer * a {
    color: var(--gold) !important;
    text-decoration: underline !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
    cursor: pointer !important;
}

/* ===== HIDE ASTRA FOOTER ===== */
.site-footer,
#colophon,
.ast-small-footer,
.ast-footer-copyright {
    display: none !important;
}

/* ===== SITE FOOTER ===== */
.bbr-site-footer {
    background: #0A0A0A;
    border-top: 1px solid #2A2A2A;
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.bbr-footer-nav {
    padding: 0 0 12px;
}
.bbr-footer-nav a {
    color: var(--gold) !important;
    text-decoration: none !important;
    margin: 0 8px;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
}
.bbr-footer-nav a:hover {
    text-decoration: underline !important;
    color: var(--gold-light) !important;
}
.bbr-footer-sep {
    color: #444;
}
.bbr-footer-copyright {
    color: #666;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
}
.bbr-footer-copyright a {
    color: var(--gold) !important;
    text-decoration: underline !important;
}

/* ===== WOOCOMMERCE GLOBAL ===== */
.woocommerce,
.woocommerce-page,
.woocommerce *,
.woocommerce-page * {
    box-sizing: border-box !important;
}

.woocommerce table,
.woocommerce-page table {
    background: transparent !important;
    color: var(--white) !important;
}

.woocommerce table th,
.woocommerce-page table th {
    background: var(--black-elevated) !important;
    color: var(--gold) !important;
    font-family: 'Bebas Neue', cursive !important;
    letter-spacing: 1px !important;
    border-color: var(--black-border) !important;
}

.woocommerce table td,
.woocommerce-page table td {
    background: transparent !important;
    color: var(--white) !important;
    border-color: var(--black-border) !important;
}

/* ===== WOOCOMMERCE NOTICES ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--black-card) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
}

.woocommerce-error { border-color: var(--danger) !important; }

/* ===== WOOCOMMERCE BUTTONS ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)) !important;
    color: var(--black) !important;
    font-family: 'Bebas Neue', cursive !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(212,175,55,0.4) !important;
    color: var(--black) !important;
}

/* ===== CHECKOUT ===== */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    background: var(--black-card) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    color: var(--white) !important;
}

.woocommerce-checkout .woocommerce-info {
    background: var(--black-card) !important;
    border-top-color: var(--gold) !important;
    color: var(--white) !important;
}

#place_order {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)) !important;
    color: var(--black) !important;
    font-family: 'Bebas Neue', cursive !important;
    font-size: 22px !important;
    letter-spacing: 2px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px !important;
    width: 100% !important;
    cursor: pointer !important;
}

/* ===== PAYMENT ===== */
.woocommerce #payment,
.woocommerce #payment ul.payment_methods,
.woocommerce #payment div.payment_box {
    background: var(--black-card) !important;
    background-color: var(--black-card) !important;
    border-color: var(--black-border) !important;
    color: var(--white) !important;
}

.woocommerce #payment ul.payment_methods li {
    background: transparent !important;
    color: var(--white) !important;
}

.woocommerce #payment div.payment_box::before {
    border-bottom-color: var(--black-card) !important;
}

.woocommerce #payment ul.payment_methods label {
    color: var(--white) !important;
}

/* ===== ORDER CONFIRMATION ===== */
.woocommerce-order ul.order_details,
.woocommerce-order-details,
.woocommerce-customer-details,
section.woocommerce-order-details,
section.woocommerce-customer-details {
    background: var(--black-card) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    color: var(--white) !important;
}

.woocommerce-order ul.order_details li {
    border-right-color: var(--black-border) !important;
    color: var(--white-muted) !important;
}

.woocommerce-order ul.order_details li strong {
    color: var(--white) !important;
    display: block !important;
}

.woocommerce-order address {
    background: transparent !important;
    color: var(--white-muted) !important;
    border: none !important;
    padding: 16px !important;
}

h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
    background: var(--black-elevated) !important;
    color: var(--gold) !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    font-family: 'Bebas Neue', cursive !important;
    font-size: 20px !important;
    letter-spacing: 1px !important;
}

.woocommerce-order hr {
    border-color: var(--black-border) !important;
    background: var(--black-border) !important;
    height: 1px !important;
}

/* ===== MY ACCOUNT NAV ===== */
.woocommerce-account .woocommerce {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 30px auto !important;
    padding: 0 20px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 240px !important;
    flex-shrink: 0 !important;
    background: var(--black-card) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
    padding: 8px !important;
    list-style: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    margin-bottom: 2px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 11px 14px !important;
    color: var(--white-muted) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    background: transparent !important;
    background-color: transparent !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--black-elevated) !important;
    background-color: var(--black-elevated) !important;
    color: var(--white) !important;
    transform: translateX(4px) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(212,175,55,0.1) !important;
    background-color: rgba(212,175,55,0.1) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 !important;
    background: var(--black-card) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    color: var(--white) !important;
    min-height: 300px !important;
}

/* ===== LOGIN / REGISTER ===== */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: var(--black-card) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 16px !important;
    padding: 30px !important;
}

/* ===== COUPON ===== */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
    background: var(--black-card) !important;
    border-color: var(--black-border) !important;
    color: var(--white) !important;
}

/* ===== HR / DIVIDERS ===== */
hr {
    border-color: var(--black-border) !important;
    background: var(--black-border) !important;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

.site-header,
#masthead,
.ast-masthead-custom-spacing {
    display: none !important;
}

.woocommerce-account .woocommerce-Address-title,
.woocommerce-account .woocommerce-Address {
    background: var(--black-elevated) !important;
    border: 1px solid var(--black-border) !important;
    border-radius: 8px !important;
}

.woocommerce-account .woocommerce-Address-title h3 {
    background: transparent !important;
    color: var(--gold) !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--black-border) !important;
}

.woocommerce-account address,
.woocommerce-account .woocommerce-Address address {
    border: none !important;
    border-color: var(--black-border) !important;
    background: transparent !important;
    color: var(--white-muted) !important;
}

.woocommerce-account table,
.woocommerce-account table th,
.woocommerce-account table td {
    border-color: var(--black-border) !important;
}

/* ===== WooCommerce Block Cart & Checkout ===== */
.wc-block-cart .wc-block-components-product-image,
.wc-block-checkout .wc-block-components-product-image,
.wc-block-cart-items .wc-block-components-product-image,
.wc-block-cart-item__image,
.wc-block-components-order-summary-item__image,
.wc-block-cart .wc-block-components-product-image,
.wc-block-checkout .wc-block-components-product-image,
.wc-block-cart-items .wc-block-components-product-image,
.wc-block-cart-item__image,
.wc-block-components-order-summary-item__image,
.woocommerce-cart-form .product-thumbnail,
.woocommerce .shop_table .product-thumbnail,
.wc-block-cart .wc-block-cart-items__row img,
.wc-block-cart td.product-thumbnail,
table.shop_table .product-thumbnail {
    display: none !important;
}

/* Hide cross-sells / related products / "New In Store" on cart page */
.cross-sells,
.wc-block-cart .wp-block-woocommerce-cart-cross-sells-block,
.wc-block-cart .wp-block-woocommerce-cart-cross-sells-products-block,
.wc-block-cart .wc-block-cart__cross-sells,
.page-template-default.woocommerce-cart .wc-block-grid,
.page-template-default.woocommerce-cart .wp-block-woocommerce-product-new,
.woocommerce-cart .wp-block-woocommerce-product-new,
.woocommerce-cart .wc-block-grid {
    display: none !important;
}

.wc-block-cart .wc-block-components-button,
.wc-block-checkout .wc-block-components-button,
.wc-block-cart .wp-element-button,
.wc-block-checkout .wp-element-button,
.wp-block-button .wp-element-button,
.wc-block-grid .wp-element-button,
.wp-element-button.add_to_cart_button,
a.wp-element-button,
button.wp-element-button {
    background: var(--gold) !important;
    color: var(--black) !important;
    border: none !important;
    font-family: 'Bebas Neue', cursive !important;
    font-size: 1.2rem !important;
    letter-spacing: 1px !important;
    transition: background 0.3s ease !important;
}

.wc-block-cart .wc-block-components-button:hover,
.wc-block-checkout .wc-block-components-button:hover,
.wc-block-cart .wp-element-button:hover,
.wc-block-checkout .wp-element-button:hover,
.wp-block-button .wp-element-button:hover,
.wc-block-grid .wp-element-button:hover,
.wp-element-button.add_to_cart_button:hover,
a.wp-element-button:hover,
button.wp-element-button:hover {
    background: var(--gold-light) !important;
    color: var(--black) !important;
}

/* ===== HOMEPAGE ===== */
.bbr-homepage {
    background: var(--black);
    color: var(--white);
    padding: 20px 20px 0;
}

.bbr-hp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.bbr-hp-hero {
    background: linear-gradient(135deg, #0A0A0A 0%, #1a1400 50%, #0A0A0A 100%);
    border-bottom: 2px solid var(--gold);
    border-radius: 20px;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.bbr-hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.bbr-hp-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.bbr-hp-hero-tag {
    display: inline-block;
    background: rgba(212,175,55,0.1);
    border: 1px solid var(--gold-dark);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.bbr-hp-hero-title {
    font-family: 'Bebas Neue', cursive !important;
    font-size: clamp(48px, 7vw, 90px) !important;
    line-height: 0.9 !important;
    color: var(--white) !important;
    margin: 0 0 16px !important;
    letter-spacing: 2px !important;
}

.bbr-hp-hero-title span { color: var(--gold) !important; }

.bbr-hp-hero-sub {
    font-size: 15px;
    color: var(--white-muted);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 480px;
}

.bbr-hp-hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.bbr-hp-stat .val {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.bbr-hp-stat .lbl {
    font-size: 10px;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bbr-hp-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--black) !important;
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    letter-spacing: 3px;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 8px 30px rgba(212,175,55,0.3);
    transition: all 0.2s;
}

.bbr-hp-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 40px rgba(212,175,55,0.5) !important;
    color: var(--black) !important;
}

.bbr-hp-hero-image {
    background: rgba(17, 17, 17, 0.6);
    border-radius: 16px;
    overflow: hidden;
}

.bbr-hp-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(212,175,55,0.2));
}

/* SECTION TITLES */
.bbr-hp-section-title {
    font-family: 'Bebas Neue', cursive !important;
    font-size: clamp(32px, 4vw, 52px) !important;
    color: var(--white) !important;
    text-align: center;
    margin: 0 0 8px !important;
    letter-spacing: 2px !important;
}

.bbr-hp-section-sub {
    text-align: center;
    color: var(--white-muted);
    margin: 0 0 40px;
    font-size: 14px;
}

/* HOW IT WORKS */
.bbr-hp-how {
    padding: 80px 20px;
    background: var(--black-card);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.bbr-hp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.bbr-hp-step {
    text-align: center;
    padding: 28px 20px;
    background: var(--black-elevated);
    border: 1px solid var(--black-border);
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
}

.bbr-hp-step:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.1);
}

.bbr-hp-step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--black);
    margin: 0 auto 16px;
}

.bbr-hp-step h3 {
    font-family: 'Bebas Neue', cursive !important;
    font-size: 20px !important;
    color: var(--white) !important;
    margin: 0 0 10px !important;
    letter-spacing: 1px !important;
}

.bbr-hp-step p {
    font-size: 13px;
    color: var(--white-muted);
    line-height: 1.6;
    margin: 0;
}

/* RAFFLES GRID */
.bbr-hp-raffles {
    padding: 80px 20px;
    background: var(--black);
}

.bbr-hp-raffles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.bbr-hp-raffle-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.bbr-hp-raffle-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}

.bbr-hp-raffle-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bbr-hp-raffle-img-placeholder {
    background: linear-gradient(135deg, var(--black-elevated), #1a1400);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbr-hp-raffle-img-placeholder span {
    font-family: 'Bebas Neue', cursive;
    font-size: 56px;
    color: var(--gold-dark);
    opacity: 0.5;
}

/* Image overlay mode */
.bbr-hp-raffle-img-overlay {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bbr-hp-raffle-img-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.bbr-hp-raffle-img-overlay span {
    position: relative;
    z-index: 1;
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: var(--gold);
    padding-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.bbr-hp-raffle-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bbr-hp-raffle-prize {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.bbr-hp-raffle-title {
    font-family: 'Bebas Neue', cursive !important;
    font-size: 18px !important;
    color: var(--white-muted) !important;
    margin: 0 0 16px !important;
    letter-spacing: 0.5px !important;
}

.bbr-hp-raffle-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--black-border);
}

.bbr-hp-raffle-meta-item { text-align: center; flex: 1; }
.bbr-hp-raffle-meta-item .meta-val {
    font-family: 'Bebas Neue', cursive;
    font-size: 20px;
    color: var(--white);
    display: block;
    line-height: 1;
}
.bbr-hp-raffle-meta-item .meta-lbl {
    font-size: 10px;
    color: var(--white-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    display: block;
}

.bbr-hp-progress { margin-bottom: 14px; }
.bbr-hp-progress-bar {
    height: 6px;
    background: var(--black-elevated);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 6px;
}
.bbr-hp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 50px;
    transition: width 0.5s;
}
.bbr-hp-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}
.bbr-hp-progress-labels .sold { color: var(--gold); }
.bbr-hp-progress-labels .remaining { color: var(--white-muted); }

.bbr-hp-draw-date {
    font-size: 12px;
    margin-bottom: 16px;
    color: var(--white-muted);
    margin-top: auto;
}
.bbr-hp-raffle-card--completed .bbr-hp-draw-date {
    margin-top: auto;
}
.bbr-hp-draw-date .draw-label { margin-right: 6px; }
.bbr-hp-draw-date .draw-val { color: var(--white); font-weight: 700; }

.bbr-hp-enter-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--black) !important;
    font-family: 'Bebas Neue', cursive;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 18px rgba(212,175,55,0.25);
}

.bbr-hp-enter-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(212,175,55,0.4) !important;
}

/* Card footer — reserves space for "Watch the Automated Draw" link on all cards */
.bbr-hp-card-footer {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bbr-hp-auto-link {
    display: block;
    text-align: center;
    color: #D4AF37;
    font-size: 13px;
    text-decoration: none;
}
.bbr-hp-auto-link:hover {
    text-decoration: underline;
}

/* COMPLETED RAFFLES */
.bbr-hp-completed {
    padding: 60px 0 40px;
}
.bbr-hp-completed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 24px;
}
.bbr-hp-raffle-card--completed {
    border-color: var(--black-border);
    opacity: 0.85;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.bbr-hp-raffle-card--completed .bbr-hp-raffle-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bbr-hp-raffle-card--completed:hover {
    opacity: 1;
}
.bbr-hp-completed-winner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--black-elevated);
    border-radius: 8px;
    margin-bottom: 14px;
}
.bbr-hp-completed-winner-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}
.bbr-hp-completed-winner-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    flex: 1;
}
.bbr-hp-completed-winner-num {
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    color: var(--gold);
}
.bbr-hp-results-btn {
    background: transparent !important;
    border: 2px solid var(--gold) !important;
    color: var(--gold) !important;
}
.bbr-hp-results-btn:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
}

/* WINNERS */
.bbr-hp-winners {
    padding: 80px 20px;
    background: var(--black-card);
    border-top: 1px solid var(--black-border);
    border-bottom: 1px solid var(--black-border);
}

.bbr-hp-winners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bbr-hp-winner-card {
    background: var(--black-elevated);
    border: 1px solid var(--gold-dark);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.bbr-hp-winner-ball {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: var(--black);
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.bbr-hp-winner-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 4px;
}

.bbr-hp-winner-prize {
    font-size: 20px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 6px;
}

.bbr-hp-winner-raffle {
    font-size: 12px;
    color: var(--white-muted);
    margin-bottom: 4px;
}

.bbr-hp-winner-date {
    font-size: 11px;
    color: #444;
}

/* TRUST */
.bbr-hp-trust {
    padding: 80px 20px;
    background: var(--black);
}

.bbr-hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bbr-hp-trust-item {
    text-align: center;
    padding: 24px;
}

.bbr-hp-trust-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.bbr-hp-trust-item h4 {
    font-family: 'Bebas Neue', cursive !important;
    font-size: 18px !important;
    color: var(--white) !important;
    margin: 0 0 8px !important;
    letter-spacing: 1px !important;
}

.bbr-hp-trust-item p {
    font-size: 13px;
    color: var(--white-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .bbr-hp-steps { grid-template-columns: repeat(2, 1fr); }
    .bbr-hp-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .bbr-hp-winners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .bbr-hp-hero-inner { grid-template-columns: 1fr; }
    .bbr-hp-hero-image { display: none; }
    .bbr-hp-hero { padding: 40px 20px; min-height: auto; border-radius: 12px; }
    .bbr-hp-steps { grid-template-columns: 1fr; }
    .bbr-hp-raffles-grid { grid-template-columns: 1fr; }
    .bbr-hp-completed-grid { grid-template-columns: 1fr; }
    .bbr-hp-winners-grid { grid-template-columns: 1fr; }
    .bbr-hp-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .bbr-hp-how, .bbr-hp-raffles, .bbr-hp-winners, .bbr-hp-trust { padding: 50px 16px; }
}

@media (max-width: 480px) {
    .bbr-hp-trust-grid { grid-template-columns: 1fr; }
    .bbr-hp-hero-stats { gap: 14px; }
    .bbr-hp-cta { display: block; text-align: center; }
}

/* Body background is set dynamically via PHP in bigboss-raffle.php */

body::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(10,10,10,0.88) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

body > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .bbr-raffle-hero {
        min-height: 200px !important;
        background-size: contain !important;
        background-position: right top !important;
    }

    .bbr-raffle-hero-content {
        background: rgba(10,10,10,0.85) !important;
        padding: 20px !important;
        width: 100% !important;
    }

    .bbr-raffle-title {
        font-size: 28px !important;
    }

    .bbr-raffle-prize-value {
        font-size: 22px !important;
    }

    .bbr-raffle-meta {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .bbr-raffle-meta-item {
        flex: 1 1 40% !important;
    }

    .bbr-number-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 6px !important;
    }

    .bbr-number-btn {
        font-size: 13px !important;
        padding: 8px 4px !important;
    }
}

@media (max-width: 768px) {
    .bbr-raffle-main {
        display: flex !important;
        flex-direction: column !important;
    }

    .bbr-ticket-sales { order: 1 !important; }
    .bbr-number-selection { order: 2 !important; }
    .bbr-selection-panel { order: 3 !important; }
    .bbr-draw-info { order: 4 !important; }
    .bbr-how-draw-works { order: 5 !important; }
}

@media (max-width: 768px) {
    .bbr-raffle-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .bbr-main-col {
        display: contents !important;
    }

    .bbr-main-col .bbr-card:nth-child(1) { order: 1 !important; }
    .bbr-main-col .bbr-card:nth-child(2) { order: 2 !important; }
    .bbr-side-col                         { order: 3 !important; }
    .bbr-draw-method                      { order: 4 !important; }

    .bbr-number-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 6px !important;
    }

    .bbr-number {
        font-size: 13px !important;
        padding: 8px 4px !important;
    }

    .bbr-hero-inner {
        flex-direction: column !important;
    }

    .bbr-hero-meta {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .bbr-hero-stat {
        flex: 1 1 40% !important;
    }

    .bbr-wrap {
        padding: 10px !important;
    }
}

@media (max-width: 768px) {
    .bbr-side-col {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: var(--black-card) !important;
        border-top: 2px solid var(--gold) !important;
        padding: 12px 16px !important;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.6) !important;
    }

    .bbr-selection-panel .bbr-card {
        display: none !important;
    }

    .bbr-selection-panel .bbr-card:first-child {
        display: block !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .bbr-selection-panel .bbr-card:first-child .bbr-card-title,
    .bbr-selection-panel .bbr-card:first-child .bbr-ticket-details,
    .bbr-selection-panel .bbr-card:first-child p {
        display: none !important;
    }

    .bbr-selection-panel .bbr-card:first-child #bbr-selected-display {
        display: none !important;
    }

    #bbr-checkout-btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 18px !important;
        margin: 0 !important;
    }

    /* Push page content up so button doesn't cover numbers */
    .bbr-wrap {
        padding-bottom: 80px !important;
    }
}



@media (max-width: 768px) {
    .bbr-raffle-layout { grid-template-columns: 1fr !important; }
    .bbr-side-col { position: fixed !important; bottom: 0 !important; left: 0 !important; right: 0 !important; z-index: 999 !important; background: var(--black-card) !important; border-top: 2px solid var(--gold) !important; padding: 12px 16px !important; }
    .bbr-selection-panel .bbr-card { display: none !important; }
    .bbr-selection-panel .bbr-card:first-child { display: block !important; background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; }
    .bbr-selection-panel .bbr-card:first-child .bbr-card-title,
    .bbr-selection-panel .bbr-card:first-child .bbr-ticket-details,
    .bbr-selection-panel .bbr-card:first-child #bbr-selected-display,
    .bbr-selection-panel .bbr-card:first-child p { display: none !important; }
    #bbr-checkout-btn { width: 100% !important; padding: 16px !important; font-size: 18px !important; }
    .bbr-wrap { padding-bottom: 90px !important; }
    .bbr-number-grid { grid-template-columns: repeat(8, 1fr) !important; gap: 4px !important; }
    .bbr-number { font-size: 12px !important; }
    .woocommerce-account .woocommerce { flex-direction: column !important; }
    .woocommerce-account .woocommerce-MyAccount-navigation { width: 100% !important; }
    .bbr-hero-mascot { display: none; }
}