/* BigCoupons modern app UI */
:root {
    --bc-ink: #172033;
    --bc-muted: #647084;
    --bc-line: #e7ebf2;
    --bc-bg: #f5f7fb;
    --bc-card: #ffffff;
    --bc-blue: #2563eb;
    --bc-orange: #ff7600;
    --bc-orange-dark: #df6200;
    --bc-green: #0d9488;
    --bc-shadow: 0 18px 50px rgba(23, 32, 51, .10);
    --bc-soft-shadow: 0 12px 30px rgba(23, 32, 51, .07);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    color: var(--bc-ink);
    background: var(--bc-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-primary {
    background: var(--bc-orange) !important;
    border-color: var(--bc-orange) !important;
    color: #fff !important;
    font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--bc-orange-dark) !important;
    border-color: var(--bc-orange-dark) !important;
    box-shadow: 0 12px 24px rgba(255, 118, 0, .25);
}

.btn-outline-primary {
    color: var(--bc-orange) !important;
    border-color: rgba(255, 118, 0, .35) !important;
    font-weight: 800;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--bc-orange) !important;
    border-color: var(--bc-orange) !important;
}

.app-header {
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid rgba(231, 235, 242, .85);
    backdrop-filter: blur(18px);
}

.app-header .navbar {
    background: transparent;
}

.app-header .container {
    gap: 18px;
}

.app-logo {
    color: var(--bc-blue);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.app-logo span span {
    color: var(--bc-ink);
}

.app-logo-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--bc-orange), #ffc247);
    box-shadow: 0 10px 20px rgba(255, 118, 0, .25);
}

.app-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-ink);
    background: #f3f6fb;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
}

.app-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bc-muted);
    font-size: .95rem;
    font-weight: 850;
    border-radius: 999px;
    padding: .55rem .85rem !important;
}

.app-nav .nav-link i {
    font-size: .86rem;
}

.app-nav .nav-link:hover,
.app-nav .nav-link.active {
    color: var(--bc-ink);
    background: #f1f4f9;
}

.header-search {
    width: min(360px, 100%);
    height: 46px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 5px 5px 5px 14px;
    background: #f3f6fb;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.header-search:focus-within {
    background: #fff;
    border-color: rgba(37, 99, 235, .24);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .08);
}

.header-search i {
    color: var(--bc-muted);
    font-size: .9rem;
}

.header-search input {
    min-width: 0;
    height: 34px;
    color: var(--bc-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-weight: 750;
}

.header-search input::placeholder {
    color: #8a95a6;
}

.header-search button {
    height: 36px;
    padding: 0 14px;
    color: #fff;
    background: var(--bc-ink);
    border: 0;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 900;
}

.header-search button:hover {
    background: var(--bc-blue);
}

.app-login {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    color: var(--bc-ink) !important;
    font-weight: 850;
    text-decoration: none;
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-signup {
    height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px !important;
    border-radius: 999px !important;
}

.main-category-list {
    overflow: visible !important;
    min-width: 250px;
    padding: 10px;
    border: 1px solid var(--bc-line) !important;
    border-radius: 16px;
    box-shadow: var(--bc-shadow);
}

.sub-flyout-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    margin-top: -10px;
    padding: 10px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 16px;
    box-shadow: var(--bc-shadow);
    z-index: 9999;
}

.modern-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 10px;
    color: var(--bc-ink);
    font-weight: 780;
    padding: .64rem .78rem;
}

.modern-nav-item:hover {
    color: #fff !important;
    background: var(--bc-blue) !important;
}

.view-all-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--bc-blue);
    border-radius: 10px;
    font-weight: 900;
}

.user-trigger {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 10px 4px 5px;
    color: var(--bc-ink);
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(23, 32, 51, .05);
    font-weight: 850;
}

.user-trigger i {
    color: var(--bc-muted);
    font-size: .72rem;
}

.user-menu {
    min-width: 240px;
    padding: 8px;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
    box-shadow: var(--bc-shadow);
}

.user-menu-head {
    padding: 12px 14px;
    margin-bottom: 4px;
    background: #f7f9fd;
    border-radius: 14px;
}

.user-menu-head strong,
.user-menu-head small {
    display: block;
}

.user-menu-head small {
    color: var(--bc-muted);
}

.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 780;
}

@media (min-width: 992px) {
    .has-flyout {
        position: relative;
    }

    .has-flyout:hover > .sub-flyout-menu {
        display: block !important;
    }
}

.bc-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 34px;
    background:
        linear-gradient(115deg, #f7fbff 0%, #ffffff 48%, #fff6e9 100%);
}

.bc-hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -22% -8%;
    height: 280px;
    background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(255, 118, 0, .16), rgba(13, 148, 136, .12));
    filter: blur(65px);
    pointer-events: none;
}

.bc-hero .container,
.bc-section .container {
    position: relative;
    z-index: 1;
}

.bc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .8fr);
    gap: 44px;
    align-items: center;
}

.bc-kicker,
.bc-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bc-orange-dark);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bc-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bc-green);
    box-shadow: 0 0 0 6px rgba(13, 148, 136, .12);
}

.bc-hero h1 {
    max-width: 760px;
    margin: 18px 0 18px;
    color: #111827;
    font-size: clamp(2.55rem, 6vw, 5.6rem);
    font-weight: 950;
    line-height: .95;
    letter-spacing: 0;
}

.bc-hero-text {
    max-width: 640px;
    margin: 0 0 26px;
    color: var(--bc-muted);
    font-size: 1.12rem;
    line-height: 1.7;
}

.bc-command-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 22px;
    box-shadow: var(--bc-soft-shadow);
}

.bc-command-bar i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-blue);
    background: #edf4ff;
    border-radius: 15px;
}

.bc-command-bar input {
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    color: var(--bc-ink);
    font-weight: 700;
}

.bc-command-bar button {
    height: 48px;
    padding: 0 24px;
    color: #fff;
    background: var(--bc-orange);
    border: 0;
    border-radius: 15px;
    font-weight: 900;
}

.bc-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.bc-quick-actions a {
    padding: 9px 14px;
    color: var(--bc-muted);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--bc-line);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
}

.bc-quick-actions a:hover,
.bc-quick-actions a.active {
    color: #fff;
    background: var(--bc-ink);
    border-color: var(--bc-ink);
    transform: translateY(-2px);
}

.bc-live-panel {
    padding: 24px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 28px;
    box-shadow: var(--bc-shadow);
    backdrop-filter: blur(16px);
}

.bc-live-top,
.bc-mini-deal,
.bc-card-top,
.bc-section-head,
.bc-code-row {
    display: flex;
    align-items: center;
}

.bc-live-top {
    justify-content: space-between;
    margin-bottom: 20px;
}

.bc-live-top span,
.bc-savings-meter span,
.bc-mini-deal small,
.bc-card-top span,
.bc-card-top em,
.bc-store-chip small,
.bc-category-tile span {
    color: var(--bc-muted);
}

.bc-live-top strong {
    display: block;
    font-size: 1.15rem;
}

.bc-pulse-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bc-green);
    box-shadow: 0 0 0 8px rgba(13, 148, 136, .14);
    animation: bcPulse 1.7s infinite;
}

@keyframes bcPulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, .28); }
    70% { box-shadow: 0 0 0 16px rgba(13, 148, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

.bc-savings-meter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.bc-savings-meter > div {
    padding: 18px;
    background: #f7f9fd;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.bc-savings-meter strong {
    display: block;
    margin-top: 4px;
    font-size: 2rem;
    line-height: 1;
}

.bc-deal-stack {
    display: grid;
    gap: 12px;
}

.bc-mini-deal {
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.bc-mini-deal > span,
.bc-store-avatar,
.bc-store-chip > span {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--bc-blue), #0d9488);
    border-radius: 14px;
    font-weight: 950;
}

.bc-mini-deal div {
    min-width: 0;
    flex: 1;
}

.bc-mini-deal strong,
.bc-mini-deal small {
    display: block;
}

.bc-mini-deal small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-mini-deal .copy-btn {
    max-width: 92px;
    overflow: hidden;
    color: var(--bc-orange-dark);
    background: #fff4e8;
    border: 0;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 950;
    text-overflow: ellipsis;
}

.bc-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 42px;
}

.bc-stats-strip div {
    padding: 18px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(231, 235, 242, .9);
    border-radius: 20px;
}

.bc-stats-strip strong,
.bc-stats-strip span {
    display: block;
}

.bc-stats-strip strong {
    font-size: 1.55rem;
    font-weight: 950;
}

.bc-stats-strip span {
    color: var(--bc-muted);
    font-size: .9rem;
    font-weight: 700;
}

.bc-section {
    padding: 76px 0;
}

.bc-page-hero {
    padding: 64px 0 42px;
    background:
        linear-gradient(115deg, #f7fbff 0%, #ffffff 48%, #fff6e9 100%);
    border-bottom: 1px solid var(--bc-line);
}

.bc-page-hero h1 {
    max-width: 780px;
    margin: 10px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
}

.bc-page-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--bc-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.bc-list-toolbar {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) 150px auto;
    align-items: center;
    gap: 10px;
    max-width: 820px;
    margin-top: 24px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 22px;
    box-shadow: var(--bc-soft-shadow);
}

.bc-list-toolbar > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-blue);
    background: #edf4ff;
    border-radius: 14px;
}

.bc-list-toolbar input,
.bc-list-toolbar select {
    height: 44px;
    min-width: 0;
    color: var(--bc-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-weight: 760;
}

.bc-list-toolbar select {
    padding: 0 10px;
    background: #f3f6fb;
    border-radius: 14px;
}

.bc-list-toolbar button {
    height: 44px;
    padding: 0 18px;
    color: #fff;
    background: var(--bc-orange);
    border: 0;
    border-radius: 14px;
    font-weight: 950;
}

.bc-deals-section,
.bc-collections-section {
    background: #fff;
}

.bc-browse-section {
    background:
        linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.bc-section-head {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.bc-section-head.compact {
    margin-bottom: 16px;
}

.bc-section-head h2 {
    margin: 4px 0 0;
    font-size: clamp(1.85rem, 3vw, 3rem);
    font-weight: 950;
    letter-spacing: 0;
}

.bc-section-head a {
    color: var(--bc-blue);
    font-weight: 900;
}

.bc-filter-pills {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #f1f4f8;
    border: 1px solid var(--bc-line);
    border-radius: 999px;
}

.bc-filter-pills button {
    min-width: 82px;
    height: 38px;
    color: var(--bc-muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
}

.bc-filter-pills button.active {
    color: var(--bc-ink);
    background: #fff;
    box-shadow: 0 8px 18px rgba(23, 32, 51, .08);
}

.bc-deal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bc-deal-card {
    min-height: 252px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bc-deal-card:hover {
    border-color: rgba(255, 118, 0, .34);
    box-shadow: var(--bc-soft-shadow);
    transform: translateY(-5px);
}

.bc-card-top {
    gap: 12px;
}

.bc-card-top > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.bc-card-top strong,
.bc-card-top span {
    display: block;
}

.bc-card-top em {
    flex: 0 0 auto;
    font-size: .8rem;
    font-style: normal;
    font-weight: 800;
}

.bc-deal-card h3 {
    margin: 22px 0 auto;
    font-size: 1.2rem;
    font-weight: 950;
    line-height: 1.35;
}

.bc-code-row {
    gap: 10px;
    margin-top: 22px;
}

.bc-code {
    min-width: 0;
    flex: 1;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    color: var(--bc-ink);
    background: #fff7ec;
    border: 1px dashed rgba(255, 118, 0, .55);
    border-radius: 15px;
    font-weight: 950;
}

.bc-code span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-code.is-copied {
    color: #fff;
    background: var(--bc-green);
    border-color: var(--bc-green);
}

.bc-view-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #fff;
    background: var(--bc-ink);
    border-radius: 15px;
    font-weight: 900;
}

.bc-view-btn:hover {
    color: #fff;
    background: var(--bc-blue);
}

.bc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bc-store-cloud,
.bc-category-grid,
.bc-collection-grid {
    display: grid;
    gap: 14px;
}

.bc-store-cloud {
    grid-template-columns: repeat(2, 1fr);
}

.bc-store-chip {
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-areas:
        "avatar name"
        "avatar offers";
    column-gap: 12px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(23, 32, 51, .04);
}

.bc-store-chip:hover,
.bc-category-tile:hover,
.bc-collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-soft-shadow);
}

.bc-store-chip > span {
    grid-area: avatar;
}

.bc-store-chip strong {
    grid-area: name;
}

.bc-store-chip small {
    grid-area: offers;
    font-weight: 700;
}

.bc-category-grid {
    grid-template-columns: repeat(3, 1fr);
}

.bc-category-grid-wide {
    grid-template-columns: repeat(6, 1fr);
}

.bc-category-tile {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 20px;
    box-shadow: 0 10px 22px rgba(23, 32, 51, .04);
}

.bc-category-tile i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-blue);
    background: #edf4ff;
    border-radius: 14px;
    font-size: 1.1rem;
}

.bc-category-tile strong {
    margin-top: 12px;
}

.bc-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bc-directory-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 22px;
    box-shadow: 0 10px 22px rgba(23, 32, 51, .04);
}

.bc-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-soft-shadow);
}

.bc-directory-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-blue);
    background: #edf4ff;
    border-radius: 16px;
}

.bc-directory-card h3 {
    margin: 0 0 3px;
    font-size: 1.02rem;
    font-weight: 950;
}

.bc-directory-card p,
.bc-directory-card > span {
    margin: 0;
    color: var(--bc-muted);
    font-size: .9rem;
    font-weight: 750;
}

.bc-result-count {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    color: var(--bc-muted);
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 850;
}

.bc-store-search {
    grid-template-columns: auto minmax(160px, 1fr) auto auto;
}

.bc-store-search a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 14px;
    color: var(--bc-muted);
    background: #f5f2ed;
    border-radius: 14px;
    font-weight: 850;
}

.bc-store-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

.bc-store-feature-card,
.bc-store-directory-card {
    background: #fff;
    border: 1px solid var(--bc-line);
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bc-store-feature-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
}

.bc-store-feature-card:hover,
.bc-store-directory-card:hover {
    border-color: rgba(255, 118, 0, .45);
    box-shadow: var(--bc-soft-shadow);
    transform: translateY(-2px);
}

.bc-store-logo {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: var(--bc-ink);
    border-radius: 16px;
    font-weight: 900;
}

.bc-store-logo.large {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    font-size: 2rem;
}

.bc-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-store-logo span {
    color: #fff;
    font-size: 1.25rem;
}

.bc-store-feature-card h3,
.bc-store-directory-card h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 900;
}

.bc-store-feature-card p,
.bc-store-directory-card p {
    margin: 0;
    color: var(--bc-muted);
    font-size: .92rem;
    font-weight: 720;
}

.bc-store-feature-card > i {
    color: var(--bc-orange);
}

.bc-store-directory-head {
    margin-top: 4px;
}

.bc-store-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bc-store-directory-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
    padding: 18px;
    border-radius: 18px;
}

.bc-store-directory-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.bc-store-directory-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    color: var(--bc-ink);
    background: #fff8f1;
    border: 1px solid rgba(255, 118, 0, .32);
    border-radius: 12px;
    font-weight: 900;
}

.bc-store-directory-body a:hover {
    color: #fff;
    background: var(--bc-orange);
    border-color: var(--bc-orange);
}

.bc-store-detail-head {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bc-coupon-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 32px;
    align-items: center;
}

.bc-coupon-action-card,
.bc-detail-panel {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
    box-shadow: none;
}

.bc-coupon-action-card {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.bc-coupon-action-card > span {
    color: var(--bc-muted);
    font-size: .9rem;
    font-weight: 800;
}

.bc-coupon-action-card > strong {
    padding: 16px;
    overflow: hidden;
    color: var(--bc-ink);
    background: #fff8f1;
    border: 1px dashed rgba(255, 118, 0, .5);
    border-radius: 14px;
    font-size: 1.45rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bc-coupon-action-card .bc-code,
.bc-coupon-action-card .bc-view-btn {
    width: 100%;
}

.bc-coupon-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.bc-detail-panel {
    padding: 24px;
}

.bc-detail-panel h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    font-weight: 900;
}

.bc-detail-panel p {
    margin: 0;
    color: var(--bc-muted);
    line-height: 1.8;
}

.bc-detail-panel dl {
    display: grid;
    gap: 0;
    margin: 12px 0 0;
}

.bc-detail-panel dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bc-line);
}

.bc-detail-panel dl div:last-child {
    border-bottom: 0;
}

.bc-detail-panel dt {
    color: var(--bc-muted);
    font-weight: 800;
}

.bc-detail-panel dd {
    margin: 0;
    color: var(--bc-ink);
    font-weight: 900;
    text-align: right;
}

.auth-page {
    padding: 72px 0;
    background:
        linear-gradient(180deg, #fff 0%, var(--bc-bg) 100%);
    border-top: 1px solid var(--bc-line);
}

.auth-page.compact {
    min-height: 620px;
    display: flex;
    align-items: center;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 520px);
    gap: 48px;
    align-items: center;
}

.auth-copy h1 {
    max-width: 650px;
    margin: 12px 0 14px;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.auth-copy p {
    max-width: 520px;
    margin: 0;
    color: var(--bc-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.auth-points {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.auth-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bc-ink);
    font-weight: 850;
}

.auth-points i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bc-orange);
    border-radius: 8px;
    font-size: .78rem;
}

.auth-card {
    width: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(20, 20, 20, .06);
}

.auth-card.wide {
    max-width: 720px;
}

.auth-card.centered {
    max-width: 520px;
    margin: 0 auto;
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.auth-card-head h2 {
    margin: 0 0 3px;
    font-size: 1.55rem;
    font-weight: 900;
}

.auth-card-head p {
    margin: 0;
    color: var(--bc-muted);
}

.auth-alert {
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 12px;
    font-weight: 800;
}

.auth-alert.success {
    color: #7a3900;
    background: #fff3e8;
    border: 1px solid rgba(255, 118, 0, .25);
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.auth-form label {
    display: grid;
    gap: 8px;
}

.auth-form label > span {
    color: var(--bc-ink);
    font-size: .9rem;
    font-weight: 850;
}

.auth-form label > span em {
    color: var(--bc-muted);
    font-style: normal;
    font-weight: 700;
}

.auth-input {
    min-height: 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.auth-input:focus-within {
    border-color: rgba(255, 118, 0, .45);
    box-shadow: 0 0 0 .2rem rgba(255, 118, 0, .08);
}

.auth-input > i {
    color: var(--bc-muted);
}

.auth-input input,
.auth-input select {
    width: 100%;
    height: 46px;
    min-width: 0;
    color: var(--bc-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-weight: 750;
}

.auth-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-muted);
    background: #f5f2ed;
    border: 0;
    border-radius: 10px;
}

.auth-form small {
    color: #c2410c;
    font-weight: 750;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-row a,
.auth-switch a {
    color: var(--bc-orange);
    font-weight: 900;
}

.auth-check {
    display: inline-flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px !important;
    color: var(--bc-muted);
    font-weight: 750;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--bc-orange);
}

.auth-submit {
    height: 50px;
    color: #fff;
    background: var(--bc-orange);
    border: 0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 950;
}

.auth-submit:hover {
    background: var(--bc-orange-dark);
}

.auth-switch {
    margin: 0;
    color: var(--bc-muted);
    text-align: center;
    font-weight: 750;
}

.account-page {
    padding: 64px 0 72px;
    background: var(--bc-bg);
    border-top: 1px solid var(--bc-line);
}

.account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.account-hero h1 {
    max-width: 780px;
    margin: 10px 0 10px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.account-hero p {
    max-width: 640px;
    margin: 0;
    color: var(--bc-muted);
    line-height: 1.75;
}

.account-profile-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.account-avatar,
.account-token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bc-ink);
    font-weight: 900;
}

.account-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.2rem;
}

.account-profile-card strong,
.account-profile-card span {
    display: block;
}

.account-profile-card span {
    color: var(--bc-muted);
    font-size: .92rem;
}

.account-profile-card a {
    height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--bc-ink);
    background: #fff8f1;
    border: 1px solid rgba(255, 118, 0, .32);
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 900;
}

.account-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 18px;
}

.account-sidebar nav,
.account-progress,
.account-panel,
.account-stat-card {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
    box-shadow: none;
}

.account-sidebar nav {
    display: grid;
    gap: 4px;
    padding: 8px;
}

.account-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    color: var(--bc-muted);
    border-radius: 12px;
    font-weight: 850;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.active {
    color: var(--bc-ink);
    background: #f5f2ed;
}

.account-progress {
    padding: 16px;
}

.account-progress span,
.account-progress strong {
    display: block;
}

.account-progress span {
    color: var(--bc-muted);
    font-size: .86rem;
    font-weight: 800;
}

.account-progress strong {
    margin-top: 4px;
    font-size: 1.75rem;
    font-weight: 900;
}

.account-progress div {
    height: 8px;
    margin-top: 12px;
    overflow: hidden;
    background: #f1eee8;
    border-radius: 999px;
}

.account-progress i {
    display: block;
    height: 100%;
    background: var(--bc-orange);
    border-radius: inherit;
}

.account-content {
    display: grid;
    gap: 22px;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.account-stat-card {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.account-stat-card.highlight {
    color: #fff;
    background: var(--bc-ink);
    border-color: var(--bc-ink);
}

.account-stat-card span {
    color: var(--bc-muted);
    font-size: .88rem;
    font-weight: 850;
}

.account-stat-card.highlight span,
.account-stat-card.highlight small {
    color: rgba(255, 255, 255, .68);
}

.account-stat-card strong {
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1;
}

.account-stat-card small {
    color: var(--bc-muted);
    font-weight: 750;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 18px;
}

.account-panel {
    padding: 18px;
}

.account-panel.large {
    grid-row: span 2;
}

.account-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.account-panel-head h2 {
    margin: 4px 0 0;
    font-size: 1.25rem;
    font-weight: 900;
}

.account-panel-head a {
    color: var(--bc-orange);
    font-size: .9rem;
    font-weight: 900;
}

.account-list,
.account-actions,
.account-mini-list {
    display: grid;
    gap: 10px;
}

.account-list-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
}

.account-list-item:hover,
.account-actions a:hover,
.account-mini-list a:hover {
    border-color: rgba(255, 118, 0, .45);
    box-shadow: var(--bc-soft-shadow);
}

.account-token {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.account-list-item strong,
.account-list-item small {
    display: block;
}

.account-list-item small,
.account-list-item em {
    color: var(--bc-muted);
}

.account-list-item em {
    font-size: .84rem;
    font-style: normal;
    font-weight: 780;
    white-space: nowrap;
}

.account-actions a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
}

.account-actions i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-orange);
    background: #fff3e8;
    border-radius: 13px;
}

.account-actions strong,
.account-actions span {
    display: block;
}

.account-actions span {
    color: var(--bc-muted);
    font-size: .9rem;
}

.account-mini-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
}

.account-mini-list span,
.account-mini-list p {
    color: var(--bc-muted);
}

.account-mini-list p {
    margin: 0;
}

.account-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 44px 18px;
    color: var(--bc-muted);
    text-align: center;
    border: 1px dashed var(--bc-line);
    border-radius: 16px;
}

.account-empty i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-orange);
    background: #fff3e8;
    border-radius: 16px;
}

.account-empty strong {
    color: var(--bc-ink);
}

.account-simple-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.account-simple-head h1 {
    margin: 8px 0 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
}

.account-simple-head p {
    margin: 0;
    color: var(--bc-muted);
}

.account-simple-head > a {
    height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #fff;
    background: var(--bc-ink);
    border-radius: 12px;
    font-weight: 900;
}

.account-form-shell {
    display: grid;
    grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.account-form-card,
.account-form-note {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.account-form-note i {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-orange);
    background: #fff3e8;
    border-radius: 15px;
}

.account-form-note h2 {
    margin: 16px 0 8px;
    font-size: 1.25rem;
    font-weight: 900;
}

.account-form-note p {
    margin: 0;
    color: var(--bc-muted);
    line-height: 1.7;
}

.account-submit {
    width: min(240px, 100%);
}

.account-toggle-list {
    display: grid;
    gap: 12px;
}

.account-toggle-list label {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
}

.account-toggle-list strong,
.account-toggle-list span {
    display: block;
}

.account-toggle-list span {
    margin-top: 4px;
    color: var(--bc-muted);
}

.account-toggle-list input {
    width: 42px;
    height: 24px;
    accent-color: var(--bc-orange);
}

.account-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bc-faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.bc-faq-list article {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.bc-faq-list h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 900;
}

.bc-faq-list p {
    margin: 0;
    color: var(--bc-muted);
    line-height: 1.7;
}

.admin-page {
    color: #141414;
}

.admin-body {
    min-height: 100vh;
    margin: 0;
    color: #141414;
    background: #faf9f6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 18px;
    overflow-y: auto;
    color: #fff;
    background: #141414;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #fff;
}

.admin-brand:hover {
    color: #fff;
}

.admin-brand span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff7600;
    border-radius: 13px;
}

.admin-brand strong {
    font-size: 1.25rem;
    font-weight: 950;
}

.admin-nav {
    display: grid;
    gap: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 42px;
    padding: 0 12px;
    color: rgba(255, 255, 255, .72);
    border-radius: 12px;
    font-weight: 830;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #fff;
    background: #ff7600;
}

.admin-nav a i {
    width: 20px;
    text-align: center;
}

.admin-nav-label {
    margin: 18px 0 7px;
    color: rgba(255, 255, 255, .38);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.admin-sidebar-footer {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
}

.admin-sidebar-footer span {
    color: rgba(255, 255, 255, .68);
    font-size: .88rem;
    font-weight: 800;
}

.admin-sidebar-footer button {
    height: 38px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 11px;
    font-weight: 900;
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 28px;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid #e9e4dc;
    backdrop-filter: blur(16px);
}

.admin-topbar > div,
.admin-topbar-actions,
.admin-topbar-actions label,
.admin-user-pill {
    display: flex;
    align-items: center;
}

.admin-topbar > div {
    gap: 12px;
}

.admin-topbar strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.admin-menu-button {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    color: #141414;
    background: #f5f2ed;
    border: 1px solid #e9e4dc;
    border-radius: 12px;
}

.admin-topbar-actions {
    gap: 12px;
}

.admin-topbar-actions label {
    width: min(320px, 36vw);
    height: 42px;
    gap: 10px;
    padding: 0 14px;
    background: #f5f2ed;
    border: 1px solid transparent;
    border-radius: 999px;
}

.admin-topbar-actions input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-weight: 760;
}

.admin-topbar-actions > a {
    height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    color: #141414;
    background: #fff;
    border: 1px solid #e9e4dc;
    border-radius: 999px;
    font-weight: 900;
}

.admin-user-pill {
    gap: 9px;
    height: 42px;
    padding: 4px 12px 4px 5px;
    background: #fff;
    border: 1px solid #e9e4dc;
    border-radius: 999px;
}

.admin-user-pill span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #141414;
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
}

.admin-content {
    padding: 32px;
}

.admin-page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-label {
    color: #ff7600;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-page-head h1 {
    margin: 8px 0 8px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
}

.admin-page-head p {
    margin: 0;
    color: #6f6a64;
}

.admin-primary-action {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    color: #fff;
    background: #141414;
    border-radius: 12px;
    font-weight: 900;
}

/* ── Legacy stat grid (kept for reference) ── */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

/* ── Dashboard stat strip ── */
.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.dash-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e9e4dc;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
    position: relative;
    overflow: hidden;
}

.dash-stat-card:hover {
    border-color: #f97316;
    box-shadow: 0 4px 16px rgba(249,115,22,.1);
}

.dash-stat-card.dash-stat-alert {
    border-color: #fde68a;
    background: #fffbeb;
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 17px;
    flex-shrink: 0;
}

.dash-stat-card small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dash-stat-card strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #141414;
    line-height: 1.1;
    margin-top: 2px;
}

.dash-stat-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* ── Doughnut legend ── */
.dash-legend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.dash-legend-row span:first-child {
    flex-shrink: 0;
}

.dash-legend-row span:nth-child(2) {
    flex: 1;
    color: #475569;
}

.dash-legend-row strong {
    font-weight: 700;
    color: #141414;
}

.dash-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* ── Health cards ── */
.dash-health-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}

.dash-health-card.dash-health-alert {
    background: #fffbeb;
    border-color: #fde68a;
}

.dash-health-card > i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.dash-health-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #141414;
}

.dash-health-card span {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.admin-stat-card,
.admin-panel {
    background: #fff;
    border: 1px solid #e9e4dc;
    border-radius: 18px;
    box-shadow: none;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
}

.admin-stat-card > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7600;
    background: #fff3e8;
    border-radius: 14px;
}

.admin-stat-card small,
.admin-stat-card strong {
    display: block;
}

.admin-stat-card small {
    color: #6f6a64;
    font-weight: 850;
}

.admin-stat-card strong {
    font-size: 2rem;
    font-weight: 900;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 18px;
}

.admin-panel.large canvas {
    max-height: 320px;
}

.admin-panel {
    padding: 20px;
}

.admin-panel.full {
    grid-column: 1 / -1;
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.admin-panel-head h2 {
    margin: 4px 0 0;
    font-size: 1.3rem;
    font-weight: 900;
}

.admin-action-list,
.admin-note-grid {
    display: grid;
    gap: 12px;
}

.admin-action-list a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    color: #141414;
    border: 1px solid #e9e4dc;
    border-radius: 14px;
    font-weight: 850;
}

.admin-action-list i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7600;
    background: #fff3e8;
    border-radius: 13px;
}

.admin-note-grid {
    grid-template-columns: repeat(3, 1fr);
}

.admin-note-grid div {
    padding: 16px;
    border: 1px solid #e9e4dc;
    border-radius: 14px;
}

.admin-note-grid strong,
.admin-note-grid span {
    display: block;
}

.admin-note-grid span {
    margin-top: 5px;
    color: #6f6a64;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 20px;
}

.contact-card {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 18px;
}

.contact-card h2 {
    margin: 6px 0 16px;
    font-size: 1.5rem;
    font-weight: 900;
}

.contact-lines {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-lines div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
}

.contact-lines i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-orange);
    background: #fff3e8;
    border-radius: 12px;
}

.contact-card p,
.contact-lines span {
    color: var(--bc-muted);
    line-height: 1.7;
}

.contact-textarea {
    width: 100%;
    padding: 14px;
    color: var(--bc-ink);
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 12px;
    outline: 0;
    resize: vertical;
}

.contact-textarea:focus {
    border-color: rgba(255, 118, 0, .45);
    box-shadow: 0 0 0 .2rem rgba(255, 118, 0, .08);
}

.contact-submit {
    width: min(220px, 100%);
}

.bc-directory-card > span {
    padding: 7px 10px;
    background: #f3f6fb;
    border-radius: 999px;
    white-space: nowrap;
}

.bc-pagination {
    margin-top: 28px;
}

.bc-pagination .pagination {
    gap: 8px;
    justify-content: center;
}

.bc-pagination .page-link {
    color: var(--bc-ink);
    border: 1px solid var(--bc-line);
    border-radius: 12px;
    font-weight: 850;
}

.bc-pagination .active .page-link {
    color: #fff;
    background: var(--bc-orange);
    border-color: var(--bc-orange);
}

.bc-side-panel {
    position: sticky;
    top: 100px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 24px;
    box-shadow: var(--bc-soft-shadow);
}

.bc-side-panel h2 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 950;
}

.bc-side-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    color: var(--bc-ink);
    border-top: 1px solid var(--bc-line);
    font-weight: 850;
}

.bc-side-panel a:hover {
    color: var(--bc-blue);
}

.bc-side-panel p {
    margin: 0;
    color: var(--bc-muted);
}

.bc-deal-grid-two {
    grid-template-columns: repeat(2, 1fr);
}

.bc-empty-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 24px;
    box-shadow: 0 10px 22px rgba(23, 32, 51, .04);
}

.bc-empty-state i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-orange);
    background: #fff3e6;
    border-radius: 18px;
    font-size: 1.35rem;
}

.bc-empty-state h3 {
    margin: 16px 0 6px;
    font-weight: 950;
}

.bc-empty-state p {
    margin: 0;
    color: var(--bc-muted);
}

.bc-submit-section {
    color: #fff;
    background:
        linear-gradient(135deg, #141c2f 0%, #24345b 54%, #155e75 100%);
}

.bc-submit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
    gap: 34px;
    align-items: center;
}

.bc-submit-section .bc-label {
    color: #ffd29f;
}

.bc-submit-section h2 {
    max-width: 700px;
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
}

.bc-submit-section p {
    max-width: 560px;
    color: rgba(255, 255, 255, .72);
    font-size: 1.05rem;
}

.bc-check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.bc-check-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-weight: 800;
}

.bc-submit-card {
    padding: 22px;
    color: var(--bc-ink);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.bc-login-box {
    display: grid;
    gap: 12px;
    text-align: center;
}

.bc-login-box i {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--bc-orange);
    background: #fff3e6;
    border-radius: 18px;
    font-size: 1.35rem;
}

.bc-login-box h3 {
    margin: 0;
    font-weight: 950;
}

.bc-login-box p {
    margin: 0;
    color: var(--bc-muted);
}

.bc-submit-card form {
    display: grid;
    gap: 12px;
}

.bc-submit-card input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--bc-line);
    border-radius: 14px;
    outline: 0;
    font-weight: 700;
}

.bc-submit-card input:focus {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .08);
}

.bc-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    background: #f1f4f8;
    border-radius: 16px;
}

.bc-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bc-toggle label {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
}

.bc-toggle input:checked + label {
    background: #fff;
    box-shadow: 0 8px 18px rgba(23, 32, 51, .08);
}

.bc-collection-grid {
    grid-template-columns: repeat(3, 1fr);
}

.bc-collection-card {
    position: relative;
    min-height: 220px;
    padding: 22px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .95), rgba(13, 148, 136, .86)),
        #1f2937;
    border-radius: 24px;
}

.bc-collection-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 118, 0, .96), rgba(255, 190, 92, .88));
}

.bc-collection-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(23, 32, 51, .96), rgba(89, 103, 131, .88));
}

.bc-collection-card span {
    display: inline-flex;
    margin-bottom: 46px;
    font-weight: 950;
    opacity: .75;
}

.bc-collection-card h3 {
    font-weight: 950;
}

.bc-collection-card p {
    max-width: 300px;
    color: rgba(255, 255, 255, .78);
}

.bc-collection-card i {
    position: absolute;
    right: 22px;
    bottom: 22px;
}

.app-footer {
    position: relative;
    overflow: hidden;
    padding: 68px 0 28px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 8%, rgba(255, 118, 0, .24), transparent 32%),
        linear-gradient(145deg, #0d1424 0%, #111b2f 52%, #172033 100%);
}

.app-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 80%);
    pointer-events: none;
}

.app-footer .container {
    position: relative;
    z-index: 1;
}

.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    gap: 26px;
    align-items: center;
    padding: 26px;
    margin-bottom: 54px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
}

.footer-cta span {
    color: #ffd29f;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-cta h2 {
    max-width: 640px;
    margin: 6px 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.65rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
}

.footer-cta p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.7;
}

.footer-newsletter {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 7px 7px 7px 18px;
    background: #fff;
    border-radius: 999px;
}

.footer-newsletter i {
    color: var(--bc-orange);
}

.footer-newsletter input {
    min-width: 0;
    height: 42px;
    color: var(--bc-ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-weight: 760;
}

.footer-newsletter button {
    height: 44px;
    padding: 0 18px;
    color: #fff;
    background: var(--bc-orange);
    border: 0;
    border-radius: 999px;
    font-weight: 950;
}

.footer-newsletter button:hover {
    background: var(--bc-orange-dark);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 54px;
    align-items: start;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo strong {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -.03em;
}

.footer-logo strong span {
    color: #91b5ff;
}

.footer-brand p {
    max-width: 390px;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .66);
    line-height: 1.75;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
}

.footer-socials a:hover {
    color: #fff;
    background: var(--bc-orange);
    border-color: var(--bc-orange);
    transform: translateY(-3px);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-links-grid h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-links-grid a {
    display: table;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .64);
    font-weight: 750;
}

.footer-links-grid a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 26px;
    margin-top: 44px;
    color: rgba(255, 255, 255, .54);
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .92rem;
    font-weight: 700;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .62);
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 1199.98px) {
    .bc-deal-grid,
    .bc-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .header-search {
        width: 100%;
    }

    .app-header .navbar-collapse {
        padding-top: 16px;
    }

    .app-nav {
        gap: 4px;
    }

    .app-nav .nav-link {
        width: 100%;
    }

    .app-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .app-login,
    .app-signup,
    .user-trigger {
        width: 100%;
        justify-content: center;
    }

    .sub-flyout-menu {
        position: static;
        display: none;
        margin: 6px 0 0;
        padding-left: 1rem;
        background: #f7f9fd;
        box-shadow: none;
    }

    .sub-flyout-menu.show-mobile {
        display: block;
    }

    .bc-hero {
        padding-top: 48px;
    }

    .bc-hero-grid,
    .bc-submit-grid,
    .bc-split {
        grid-template-columns: 1fr;
    }

    .bc-live-panel {
        max-width: 620px;
    }

    .bc-stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-category-grid-wide,
    .bc-directory-grid,
    .bc-store-feature-grid,
    .bc-store-directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bc-deal-grid-two {
        grid-template-columns: 1fr;
    }

    .bc-side-panel {
        position: static;
    }

    .footer-cta,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .auth-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .auth-copy h1 {
        max-width: 720px;
    }

    .account-hero,
    .account-layout,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-sidebar nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .bc-hero {
        padding-top: 34px;
    }

    .bc-command-bar {
        grid-template-columns: auto 1fr;
    }

    .bc-command-bar button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bc-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .bc-filter-pills,
    .bc-filter-pills button {
        width: 100%;
    }

    .bc-deal-grid,
    .bc-store-cloud,
    .bc-collection-grid {
        grid-template-columns: 1fr;
    }

    .bc-section {
        padding: 52px 0;
    }

    .footer-cta {
        padding: 22px;
        border-radius: 22px;
    }

    .footer-newsletter {
        grid-template-columns: auto 1fr;
        border-radius: 20px;
    }

    .footer-newsletter button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .bc-list-toolbar {
        grid-template-columns: auto 1fr;
    }

    .bc-list-toolbar select,
    .bc-list-toolbar button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bc-store-search {
        grid-template-columns: auto 1fr;
    }

    .bc-store-search button,
    .bc-store-search a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bc-store-detail-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-page {
        padding: 46px 0;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 22px;
        border-radius: 18px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-page {
        padding: 44px 0 52px;
    }

    .account-profile-card,
    .account-stat-grid,
    .account-sidebar nav,
    .account-cards-grid,
    .admin-stat-grid,
    .dash-stat-grid,
    .admin-note-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dash-row {
        grid-template-columns: 1fr !important;
    }

    .account-list-item {
        grid-template-columns: 44px 1fr;
    }

    .account-list-item em {
        grid-column: 2;
    }

    .account-simple-head,
    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-form-shell {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .bc-hero h1 {
        font-size: 2.55rem;
    }

    .bc-live-panel,
    .bc-submit-card,
    .bc-deal-card {
        border-radius: 20px;
    }

    .bc-stats-strip,
    .bc-savings-meter,
    .bc-category-grid,
    .bc-category-grid-wide,
    .bc-directory-grid,
    .bc-store-feature-grid,
    .bc-store-directory-grid,
    .dash-stat-grid {
        grid-template-columns: 1fr;
    }

    .bc-card-top {
        align-items: flex-start;
    }

    .bc-card-top em {
        display: none;
    }
}

/* Minimal orange / black / white refinement */
:root {
    --bc-ink: #141414;
    --bc-muted: #6f6a64;
    --bc-line: #e9e4dc;
    --bc-bg: #faf9f6;
    --bc-card: #ffffff;
    --bc-blue: #141414;
    --bc-orange: #ff7600;
    --bc-orange-dark: #db6100;
    --bc-green: #ff7600;
    --bc-shadow: 0 18px 42px rgba(20, 20, 20, .08);
    --bc-soft-shadow: 0 10px 26px rgba(20, 20, 20, .06);
}

body {
    background: var(--bc-bg);
}

.app-header {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--bc-line);
}

.app-logo {
    color: var(--bc-ink);
}

.app-logo-mark,
.bc-mini-deal > span,
.bc-store-avatar,
.bc-store-chip > span {
    background: var(--bc-ink);
    box-shadow: none;
}

.app-nav .nav-link.active,
.app-nav .nav-link:hover {
    background: #f4f1ec;
}

.header-search,
.app-menu-toggle {
    background: #f5f2ed;
}

.header-search:focus-within {
    border-color: rgba(255, 118, 0, .28);
    box-shadow: 0 0 0 .2rem rgba(255, 118, 0, .08);
}

.header-search button,
.bc-view-btn {
    background: var(--bc-ink);
}

.header-search button:hover,
.bc-view-btn:hover {
    background: var(--bc-orange);
}

.modern-nav-item:hover {
    background: var(--bc-ink) !important;
}

.view-all-btn,
.bc-section-head a,
.bc-directory-card:hover,
.bc-side-panel a:hover {
    color: var(--bc-orange);
}

.bc-home-minimal {
    padding: 84px 0 44px;
    background: #fff;
    border-bottom: 1px solid var(--bc-line);
}

.bc-home-minimal::before,
.bc-page-hero::before {
    display: none;
}

.bc-home-minimal .bc-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
    gap: 56px;
}

.bc-kicker,
.bc-label {
    color: var(--bc-orange);
    letter-spacing: .06em;
}

.bc-kicker span {
    background: var(--bc-orange);
    box-shadow: 0 0 0 5px rgba(255, 118, 0, .12);
}

.bc-hero h1 {
    max-width: 820px;
    font-size: clamp(2.7rem, 6vw, 5.25rem);
    font-weight: 900;
    line-height: 1;
}

.bc-hero-text {
    max-width: 590px;
    color: var(--bc-muted);
}

.bc-command-bar,
.bc-live-panel,
.bc-deal-card,
.bc-store-chip,
.bc-category-tile,
.bc-submit-card,
.bc-collection-card,
.bc-stats-strip div {
    background: #fff;
    border: 1px solid var(--bc-line);
    box-shadow: none;
}

.bc-command-bar {
    max-width: 650px;
    border-radius: 16px;
}

.bc-command-bar i {
    color: var(--bc-orange);
    background: #fff3e8;
    border-radius: 12px;
}

.bc-command-bar button {
    background: var(--bc-ink);
    border-radius: 12px;
}

.bc-command-bar button:hover {
    background: var(--bc-orange);
}

.bc-quick-actions a {
    background: #fff;
    border-color: var(--bc-line);
    border-radius: 10px;
}

.bc-quick-actions a.active,
.bc-quick-actions a:hover {
    color: #fff;
    background: var(--bc-ink);
    border-color: var(--bc-ink);
    transform: none;
}

.bc-clean-panel {
    border-radius: 18px;
}

.bc-live-top a {
    color: var(--bc-orange);
    font-size: .9rem;
    font-weight: 850;
}

.bc-mini-deal {
    border-radius: 14px;
}

.bc-mini-deal .copy-btn {
    color: var(--bc-ink);
    background: #f5f2ed;
    border: 1px solid var(--bc-line);
}

.bc-stats-strip {
    margin-top: 34px;
}

.bc-stats-strip div {
    border-radius: 14px;
}

.bc-section {
    padding: 68px 0;
}

.bc-deals-section,
.bc-collections-section,
.bc-browse-section {
    background: var(--bc-bg);
}

.bc-section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 880;
}

.bc-filter-pills {
    background: #f1eee8;
    border-color: var(--bc-line);
    border-radius: 12px;
}

.bc-filter-pills button {
    border-radius: 9px;
}

.bc-filter-pills button.active {
    box-shadow: none;
}

.bc-deal-card {
    min-height: 232px;
    border-radius: 16px;
}

.bc-deal-card:hover,
.bc-store-chip:hover,
.bc-category-tile:hover,
.bc-collection-card:hover,
.bc-directory-card:hover {
    border-color: rgba(255, 118, 0, .45);
    box-shadow: var(--bc-soft-shadow);
    transform: translateY(-2px);
}

.bc-code {
    color: var(--bc-ink);
    background: #fff8f1;
    border-color: rgba(255, 118, 0, .5);
    border-radius: 12px;
}

.bc-code.is-copied {
    background: var(--bc-orange);
    border-color: var(--bc-orange);
}

.bc-category-tile i,
.bc-directory-icon,
.bc-list-toolbar > i {
    color: var(--bc-orange);
    background: #fff3e8;
}

.bc-submit-section {
    color: #fff;
    background: var(--bc-ink);
}

.bc-submit-section .bc-label {
    color: #ffb06f;
}

.bc-submit-section p {
    color: rgba(255, 255, 255, .68);
}

.bc-check-list span {
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    border-radius: 10px;
}

.bc-login-box i {
    color: var(--bc-orange);
    background: #fff3e8;
}

.bc-toggle {
    background: #f5f2ed;
    border-radius: 12px;
}

.bc-toggle label,
.bc-toggle input:checked + label {
    border-radius: 9px;
}

.bc-submit-card input {
    border-radius: 10px;
}

.bc-submit-card input:focus {
    border-color: rgba(255, 118, 0, .4);
    box-shadow: 0 0 0 .2rem rgba(255, 118, 0, .08);
}

.bc-collection-card {
    min-height: 190px;
    color: var(--bc-ink);
    border-radius: 16px;
}

.bc-collection-card,
.bc-collection-card:nth-child(2),
.bc-collection-card:nth-child(3) {
    background: #fff;
}

.bc-collection-card span {
    margin-bottom: 38px;
    color: var(--bc-orange);
    opacity: 1;
}

.bc-collection-card p {
    color: var(--bc-muted);
}

.app-footer {
    background: var(--bc-ink);
}

.app-footer::before {
    opacity: .35;
}

.footer-logo strong span {
    color: var(--bc-orange);
}

@media (max-width: 991.98px) {
    .bc-home-minimal .bc-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin workspace polish */
.admin-body {
    background: #faf9f6;
}

.admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
    color: #141414;
    background: #f3f1ec;
    border-right: 1px solid #e6e0d7;
}

.admin-brand,
.admin-brand:hover {
    color: #141414;
}

.admin-brand span {
    color: #fff;
    background: #141414;
    border-radius: 12px;
}

.admin-nav a {
    color: #5f5a53;
    border: 1px solid transparent;
    border-radius: 10px;
}

.admin-nav a:hover {
    color: #141414;
    background: #fff;
    border-color: #e6e0d7;
}

.admin-nav a.active {
    color: #fff;
    background: #141414;
    border-color: #141414;
}

.admin-nav a.active i {
    color: #ff7600;
}

.admin-nav-label {
    color: #9a9288;
}

.admin-sidebar-footer {
    background: #fff;
    border-color: #e6e0d7;
}

.admin-sidebar-footer span {
    color: #6f6a64;
}

.admin-sidebar-footer button {
    color: #141414;
    background: #faf9f6;
    border-color: #e6e0d7;
}

.admin-sidebar-footer button:hover {
    color: #fff;
    background: #141414;
}

.admin-main {
    background:
        linear-gradient(#faf9f6 0 0) padding-box,
        repeating-linear-gradient(0deg, rgba(20, 20, 20, .025) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(90deg, rgba(20, 20, 20, .02) 0 1px, transparent 1px 34px);
}

.admin-topbar {
    min-height: 72px;
    background: rgba(250, 249, 246, .92);
    border-bottom-color: #e6e0d7;
}

.admin-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 42px 34px 60px;
}

.admin-page-head {
    align-items: center;
    padding: 0 0 20px;
    border-bottom: 1px solid #e6e0d7;
}

.admin-page-head h1 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: 0;
}

.admin-primary-action:hover {
    color: #fff;
    background: #ff7600;
}

.admin-secondary-action {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    color: #141414;
    background: #fff;
    border: 1px solid #e6e0d7;
    border-radius: 12px;
    font-weight: 900;
}

.admin-secondary-action:hover {
    color: #fff;
    background: #141414;
    border-color: #141414;
}

.admin-stat-card,
.admin-panel {
    background: rgba(255, 255, 255, .86);
    border-color: #e6e0d7;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(20, 20, 20, .04);
}

.admin-stat-card {
    padding: 16px;
}

.admin-stat-card > span,
.admin-action-list i {
    color: #ff7600;
    background: #fff4ea;
    border-radius: 10px;
}

.admin-stat-card strong {
    font-size: 1.8rem;
}

.admin-panel.large canvas {
    max-height: 260px;
}

.admin-action-list a {
    color: #141414;
    background: #faf9f6;
    border-color: #ebe5dd;
}

.admin-action-list a:hover {
    background: #141414;
    color: #fff;
    border-color: #141414;
}

.admin-note-grid div {
    background: #faf9f6;
}

.admin-table-panel {
    padding: 0;
    overflow: hidden;
}

.admin-table-panel .admin-panel-head {
    align-items: center;
    margin: 0;
    padding: 20px 22px;
    border-bottom: 1px solid #e6e0d7;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th,
.admin-table td {
    padding: 16px 18px;
    vertical-align: middle;
    border-bottom: 1px solid #eee8df;
}

.admin-table th {
    color: #6f6a64;
    background: #fbfaf7;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-table tbody tr {
    transition: background .18s ease;
}

.admin-table tbody tr:hover {
    background: #fffaf5;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table code {
    color: #141414;
    background: #f3f1ec;
    border: 1px solid #e6e0d7;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: .86rem;
}

.admin-id {
    color: #8b8378;
    font-size: .86rem;
    font-weight: 900;
}

.admin-record {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-record span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #141414;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 950;
}

.admin-record strong {
    font-weight: 900;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: #141414;
    background: #fff4ea;
    border: 1px solid #ffd7b8;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 900;
}

.admin-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.admin-icon-action {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #141414;
    background: #fff;
    border: 1px solid #e6e0d7;
    border-radius: 10px;
}

.admin-icon-action:hover {
    color: #fff;
    background: #141414;
    border-color: #141414;
}

/* ── Bulk action bar ── */
.admin-bulk-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-bulk-count {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.admin-bulk-form {
    display: flex;
    align-items: center;
}

.admin-bulk-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}

.admin-bulk-delete:hover {
    background: #fee2e2;
    border-color: #dc2626;
}

.admin-icon-action.danger {
    color: #dc3545;
}

.admin-icon-action.danger:hover {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.admin-empty-state {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 44px 18px;
    color: #6f6a64;
    text-align: center;
}

.admin-empty-state i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff7600;
    background: #fff4ea;
    border-radius: 14px;
}

.admin-empty-state strong {
    color: #141414;
    font-size: 1.05rem;
    font-weight: 950;
}

.admin-form-panel {
    max-width: 880px;
    padding: 24px;
}

.admin-form {
    display: grid;
    gap: 20px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-field {
    display: grid;
    gap: 8px;
}

.admin-field label {
    color: #141414;
    font-size: .88rem;
    font-weight: 900;
}

.admin-field input,
.admin-field select,
.admin-field textarea,
.admin-body .form-control,
.admin-body .form-select {
    width: 100%;
    min-height: 46px;
    color: #141414;
    background: #fff;
    border: 1px solid #ded8cf;
    border-radius: 12px;
    outline: 0;
    padding: 0 14px;
    font-weight: 760;
}

.admin-field textarea,
.admin-body textarea.form-control {
    min-height: 120px;
    padding-top: 12px;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus,
.admin-body .form-control:focus,
.admin-body .form-select:focus {
    border-color: rgba(255, 118, 0, .5);
    box-shadow: 0 0 0 .2rem rgba(255, 118, 0, .1);
}

.admin-field small {
    color: #8b8378;
    line-height: 1.5;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #eee8df;
}

.admin-form-actions a,
.admin-form-actions button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 900;
}

.admin-form-actions a {
    color: #6f6a64;
    background: #f3f1ec;
    border: 1px solid #e6e0d7;
}

.admin-form-actions a:hover {
    color: #141414;
    background: #fff;
}

.admin-form-actions button {
    color: #fff;
    background: #ff7600;
    border: 1px solid #ff7600;
}

.admin-form-actions button:hover {
    background: #141414;
    border-color: #141414;
}

.admin-body .card {
    background: rgba(255, 255, 255, .86);
    border: 1px solid #e6e0d7;
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(20, 20, 20, .04);
}

.admin-body .card-header {
    background: #fff;
    border-bottom: 1px solid #e6e0d7;
}

.admin-body .table {
    margin-bottom: 0;
}

.admin-body .table > :not(caption) > * > * {
    padding: 14px 16px;
    border-bottom-color: #eee8df;
}

.admin-body .table thead th {
    color: #6f6a64;
    background: #fbfaf7;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.admin-body .btn {
    border-radius: 10px;
    font-weight: 900;
}

.admin-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

@media (max-width: 1240px) {
    .admin-shell {
        grid-template-columns: 232px minmax(0, 1fr);
    }

    .admin-sidebar {
        padding: 14px;
    }

    .admin-brand strong {
        font-size: 1.08rem;
    }

    .admin-nav a {
        min-height: 40px;
        padding: 0 10px;
        font-size: .92rem;
    }

    .admin-content {
        padding: 30px 24px 48px;
    }

    .admin-page-head h1 {
        font-size: clamp(1.9rem, 3vw, 2.45rem);
        line-height: 1.04;
    }

    .admin-table {
        min-width: 640px;
    }

    .admin-table th,
    .admin-table td {
        padding: 13px 14px;
    }
}

.admin-overlay {
    display: none;
}

@media (max-width: 1100px) {
    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        width: min(300px, 86vw);
        transform: translateX(-100%);
        transition: transform .2s ease;
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-overlay {
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(20, 20, 20, .35);
    }

    .admin-overlay.show {
        display: block;
    }

    .admin-menu-button {
        display: inline-flex;
    }

    .admin-topbar {
        padding: 0 18px;
    }

    .admin-topbar-actions label {
        display: none;
    }

    .admin-page-head,
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-head-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .admin-content {
        padding: 26px 16px 44px;
    }

    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .admin-topbar-actions > a {
        display: none;
    }

    .admin-primary-action {
        width: 100%;
        justify-content: center;
    }

    .admin-secondary-action,
    .admin-form-actions a,
    .admin-form-actions button {
        width: 100%;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-table {
        min-width: 560px;
    }

    .admin-table-panel .admin-panel-head {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .admin-bulk-bar {
        width: 100%;
        justify-content: space-between;
    }

    .admin-bulk-form {
        flex: 1;
        justify-content: flex-end;
    }

    .admin-bulk-delete {
        padding: 9px 14px;
    }

    .admin-record span {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }
}

@media (max-width: 575.98px) {
    .admin-table {
        min-width: 420px;
    }

    .admin-table th,
    .admin-table td {
        padding: 12px 10px;
    }

    /* Hide Store and Expires columns — show only Coupon, Code, Status, Actions */
    .col-hide-sm {
        display: none;
    }

    .admin-bulk-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .admin-bulk-count {
        font-size: 13px;
    }

    .admin-bulk-form {
        justify-content: stretch;
    }

    .admin-bulk-delete {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 14px;
    }

    .admin-head-actions {
        flex-direction: column;
    }

    .admin-head-actions .admin-secondary-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 399.98px) {
    .admin-table {
        min-width: 320px;
    }

    /* Also hide Code column on very small screens */
    .col-hide-xs {
        display: none;
    }

    .admin-record span {
        display: none;
    }
}
