/* ================================================
   MacCollys – Trusted eBay Seller badge
   Brand: macblue #2563eb, CTA gradient #4f9cff -> #1e5eff
================================================ */
.ebb { padding: 0.5rem 1.5rem 3rem; }
.ebb__inner { max-width: 72rem; margin: 0 auto; }
.ebb__card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    padding: 2rem; border-radius: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid #dbe5ff;
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(37,99,235,.18);
}
.ebb__card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, #e53238 0 25%, #0064d2 25% 50%, #f5af02 50% 75%, #86b817 75% 100%);
}
.ebb__eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    color: #2563eb; background: rgba(37,99,235,.1); padding: .3rem .75rem; border-radius: 9999px; margin-bottom: 1rem;
}
.ebb__eyebrow-icon svg { width: 14px; height: 14px; display: block; }
.ebb__title { font-size: 1.6rem; line-height: 1.25; font-weight: 800; color: #111827; margin-bottom: .75rem; }
.ebb__title-logo { display: inline-block; height: 1.55em; width: auto; vertical-align: -0.42em; margin-left: .1em; }
.ebb__lead { color: #4b5563; font-size: 1rem; line-height: 1.6; max-width: 34rem; margin-bottom: 1.5rem; }
.ebb__lead strong { color: #111827; }
.ebb__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ebb__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.25rem; border-radius: .6rem; font-weight: 600; font-size: .9rem;
    color: #fff; background: linear-gradient(180deg, #4f9cff, #1e5eff);
    box-shadow: 0 6px 16px -6px rgba(30,94,255,.6);
    transition: transform .15s ease, box-shadow .15s ease;
}
.ebb__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(30,94,255,.7); }
.ebb__btn:focus-visible, .ebb-compact:focus-visible { outline: 3px solid rgba(37,99,235,.45); outline-offset: 2px; }
.ebb__btn svg { width: 16px; height: 16px; }
.ebb__btn--ghost { color: #1f2937; background: #fff; border: 1px solid #d1d5db; box-shadow: none; }
.ebb__btn--ghost:hover { background: #f9fafb; box-shadow: none; }

.ebb__panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 1rem; padding: 1.5rem; }
.ebb__seller { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; border-bottom: 1px solid #f0f2f5; }
.ebb__avatar {
    width: 52px; height: 52px; flex-shrink: 0; border-radius: 9999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.35rem; color: #fff;
    background: linear-gradient(135deg, #4f9cff, #1e5eff);
}
.ebb__user { font-weight: 700; color: #111827; font-size: 1.05rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ebb__score { display: inline-flex; align-items: center; gap: .2rem; font-weight: 600; color: #374151; font-size: .9rem; }
.ebb-star { width: 15px; height: 15px; fill: #1bb5a5; display: inline-block; vertical-align: -2px; }
.ebb__sub { color: #6b7280; font-size: .85rem; margin-top: .2rem; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.ebb__pill { background: #ecfdf5; color: #047857; font-weight: 600; padding: .1rem .55rem; border-radius: 9999px; font-size: .75rem; }
.ebb__stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; margin: 1.1rem 0 0; }
.ebb__stat { background: #f8fafc; border: 1px solid #eef2f7; border-radius: .75rem; padding: .85rem 1rem; }
.ebb__stat dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; font-weight: 600; }
.ebb__stat dd { margin: .2rem 0 0; font-size: 1.45rem; font-weight: 800; color: #111827; letter-spacing: -.01em; }
.ebb__stat--long dd { font-size: 1.15rem; white-space: nowrap; }
.ebb__note { margin-top: 1rem; font-size: .75rem; color: #9ca3af; line-height: 1.5; }

@media (min-width: 900px) {
    .ebb__card { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 2.75rem; gap: 3rem; }
    .ebb__title { font-size: 2rem; }
}
@media (max-width: 480px) {
    .ebb { padding: .5rem 1rem 3rem; }
    .ebb__card { padding: 1.5rem 1.25rem; }
    .ebb__title { font-size: 1.35rem; }
    .ebb__btn { width: 100%; }
    .ebb__stat dd { font-size: 1.2rem; }
}

/* ---------- Compact footer badge (v3: wide, low strip) ----------
   1px border, small radius, 6–8px vertical padding.
   Spans the full footer content row (col-span-full) so items can
   spread out against the support column. Light: gray-200 border /
   gray-600 text. Dark (live): gray-700 border / gray-400 text.
*/
.ebb-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 14px;
    background: transparent;
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: .5rem;
    box-shadow: none;
    font-size: .75rem;
    line-height: 1.25;
    font-weight: 400;
    color: #4b5563; /* text-gray-600 */
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.ebb-compact:hover,
.ebb-compact:focus-visible {
    color: #111827;
    border-color: #9ca3af;
    background: rgba(17,24,39,.03);
    text-decoration: none;
    box-shadow: none;
}
.ebb-compact:focus-visible {
    outline: 2px solid rgba(37,99,235,.45);
    outline-offset: 2px;
}
.ebb-compact__main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem .15rem;
    min-width: 0;
    flex: 1 1 auto;
}
.ebb-compact__logo {
    height: 14px;
    width: auto;
    flex-shrink: 0;
    display: block;
}
.ebb-compact__item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: 0 .85rem;
    white-space: nowrap;
}
.ebb-compact__rule {
    width: 1px;
    height: .85em;
    background: #d1d5db;
    flex-shrink: 0;
    align-self: center;
}
.ebb-compact__check {
    color: #2563eb;
    display: inline-flex;
    flex-shrink: 0;
    line-height: 0;
}
.ebb-compact__check svg {
    width: 12px;
    height: 12px;
    display: block;
}
.ebb-compact__star {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #1bb5a5;
    line-height: 0;
}
.ebb-compact__star .ebb-star,
.ebb-compact__star svg {
    width: 11px;
    height: 11px;
    fill: #1bb5a5;
    display: block;
}
.ebb-compact__cta {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: .01em;
}
.ebb-compact:hover .ebb-compact__cta,
.ebb-compact:focus-visible .ebb-compact__cta {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .ebb-compact {
        align-items: flex-start;
        padding: 8px 12px;
    }
    .ebb-compact__rule { display: none; }
    .ebb-compact__item { padding: 0 .45rem 0 0; }
    .ebb-compact__main { gap: .35rem .65rem; }
    .ebb-compact__cta { margin-left: 0; }
}

@media (prefers-color-scheme: dark) {
    .ebb__card { background: linear-gradient(135deg, #111827 0%, #0f1a33 100%); border-color: #1f2a44; }
    .ebb__title, .ebb__lead strong, .ebb__user, .ebb__stat dd { color: #f9fafb; }
    .ebb__lead { color: #cbd5e1; }
    .ebb__panel { background: #0b1220; border-color: #1f2937; }
    .ebb__seller { border-color: #1f2937; }
    .ebb__stat { background: #111827; border-color: #1f2937; }
    .ebb__score { color: #d1d5db; }
    .ebb__btn--ghost { background: #111827; color: #e5e7eb; border-color: #374151; }
    .ebb-compact {
        color: #9ca3af;
        border-color: #374151; /* gray-700 */
        background: transparent;
    }
    .ebb-compact:hover,
    .ebb-compact:focus-visible {
        color: #e5e7eb;
        border-color: #6b7280;
        background: rgba(255,255,255,.04);
    }
    .ebb-compact__rule { background: #4b5563; }
}

/* ---------- Footer layout (v4): centered links, tighter spacing ----------
   Brand stays top-left, support top-right. Links are a centered row.
   Tight gaps so the eBay strip sits close under the links.
*/
.ebb-footer-inner {
    padding-top: 1.5rem;
    padding-bottom: 1.15rem;
}
.ebb-footer-top {
    gap: 0.75rem 2rem;
}
.ebb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem 1.5rem;
    margin: 0.65rem 0;
    text-align: center;
}
.ebb-footer-links a {
    padding: 0;
}

@media (max-width: 639px) {
    .ebb-footer-inner {
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }
    .ebb-footer-top { gap: 1rem; }
    .ebb-footer-links {
        margin: 0.85rem 0 0.7rem;
        gap: 0.35rem 1.15rem;
    }
}
