/* Bay9ja landing page - clean marketplace look */
:root {
    --ebay-blue: #0053da;
    --ebay-blue-hov: #004892;
    --ebay-search-blue: #3665f3;
    --ebay-search-blue-hov: #2f54d6;
    --ebay-ink: #111827;
    --ebay-muted: #6b7280;
    --ebay-border: #e5e7eb;
    --ebay-surface: #ffffff;
    --ebay-page-bg: #f7f7f7;
    --ebay-btn-radius: 9999px;
    --ebay-btn-min-h: 44px;
    --ebay-focus-ring: 0 0 0 3px rgba(54, 101, 243, 0.35);
    --ebay-search-bar-h: 42px;
}

.ebay-page {
    background: var(--ebay-page-bg);
}
body.bay9ja-ebay-storefront .ebay-page {
    background: #ffffff;
}

/* ========== Bay9ja unified buttons & controls ========== */
.ebay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: var(--ebay-btn-min-h);
    padding: 0.65rem 1.35rem;
    border-radius: var(--ebay-btn-radius);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.ebay-btn:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-btn--primary {
    background: var(--ebay-blue) !important;
    color: #fff !important;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 83, 218, 0.28);
}
.ebay-btn--primary:hover {
    background: var(--ebay-blue-hov) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 83, 218, 0.32);
}
.ebay-btn--secondary {
    background: var(--ebay-surface) !important;
    color: var(--ebay-ink) !important;
    border-color: #d1d5db;
}
.ebay-btn--secondary:hover {
    background: #f9fafb !important;
    color: var(--ebay-blue) !important;
    border-color: #c7d2fe;
}
.ebay-btn--on-dark {
    background: #fff !important;
    color: #00264d !important;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.ebay-btn--on-dark:hover {
    background: #f8faff !important;
    color: #001a33 !important;
    transform: translateY(-1px);
}
.ebay-btn--inverse {
    background: #fff !important;
    color: var(--ebay-ink) !important;
    border-color: rgba(255, 255, 255, 0.9);
}
.ebay-btn--inverse:hover {
    background: #f3f4f6 !important;
    color: #111 !important;
    transform: translateY(-1px);
}
.ebay-btn--dark {
    background: var(--ebay-ink) !important;
    color: #fff !important;
    border-color: var(--ebay-ink);
}
.ebay-btn--dark:hover {
    background: #000 !important;
    color: #fff !important;
}
.ebay-btn--block {
    width: 100%;
}

.ebay-menu-toggle {
    width: var(--ebay-btn-min-h);
    height: var(--ebay-btn-min-h);
    margin-right: 0.5rem;
    padding: 0;
    border: 1px solid var(--ebay-border);
    border-radius: 12px;
    background: var(--ebay-surface);
    color: var(--ebay-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.ebay-menu-toggle:hover {
    border-color: #c7d2fe;
    color: var(--ebay-blue);
}
.ebay-menu-toggle:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-menu-toggle i {
    font-size: 1.35rem;
    line-height: 1;
}

/* Mobile drawer — single Bay9ja flow (no legacy nav-user / admin menu list) */
.bay9ja-ebay-storefront .aiz-top-menu-sidebar .collapse-sidebar {
    background: var(--ebay-surface);
    padding: 0;
}
.bay9ja-ebay-storefront .ebay-mobile-drawer {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.bay9ja-ebay-storefront .ebay-mobile-drawer-header {
    display: flex;
    align-items: center;
    padding: 1rem 1rem 0;
}
.bay9ja-ebay-storefront .ebay-mobile-drawer-body {
    padding: 0.75rem 1rem 1.5rem;
}
.bay9ja-ebay-storefront .aiz-top-menu-sidebar .ebay-menu-close {
    width: var(--ebay-btn-min-h);
    height: var(--ebay-btn-min-h);
    border: 1px solid var(--ebay-border);
    border-radius: 12px;
    background: var(--ebay-surface);
    color: var(--ebay-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
}
.bay9ja-ebay-storefront .aiz-top-menu-sidebar .ebay-menu-close:hover {
    color: var(--ebay-blue);
    border-color: #c7d2fe;
}
.bay9ja-ebay-storefront .aiz-top-menu-sidebar .ebay-menu-close i {
    font-size: 1.25rem;
}
.bay9ja-ebay-storefront .ebay-mobile-auth-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ebay-muted);
}
.bay9ja-ebay-storefront .ebay-mobile-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.bay9ja-ebay-storefront .ebay-mobile-account-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--ebay-border);
    border-radius: 12px;
    background: #f9fafb;
    color: var(--ebay-ink);
    transition: border-color 0.18s ease, background 0.18s ease;
}
.bay9ja-ebay-storefront .ebay-mobile-account-card:hover {
    border-color: #c7d2fe;
    background: #eff6ff;
    color: var(--ebay-ink);
}
.bay9ja-ebay-storefront .ebay-mobile-account-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--ebay-border);
    background: #fff;
}
.bay9ja-ebay-storefront .ebay-mobile-account-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.bay9ja-ebay-storefront .ebay-mobile-account-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--ebay-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.bay9ja-ebay-storefront .ebay-mobile-account-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ebay-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bay9ja-ebay-storefront .ebay-mobile-account-chevron {
    font-size: 1.125rem;
    color: var(--ebay-muted);
}
.bay9ja-ebay-storefront .ebay-mobile-nav {
    padding: 0;
}
.bay9ja-ebay-storefront .ebay-mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.bay9ja-ebay-storefront .ebay-mobile-nav-grid .ebay-btn {
    font-size: 0.8125rem;
    padding: 0.55rem 0.65rem;
    min-height: 40px;
}
.bay9ja-ebay-storefront .ebay-mobile-menu-list {
    border-top: 1px solid var(--ebay-border);
    padding-top: 0.75rem;
}
.bay9ja-ebay-storefront .ebay-mobile-menu-link {
    display: block;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ebay-ink);
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
}
.bay9ja-ebay-storefront .ebay-mobile-menu-link:hover,
.bay9ja-ebay-storefront .ebay-mobile-menu-link.is-active {
    color: var(--ebay-blue);
    background: #eff6ff;
}
.bay9ja-ebay-storefront .aiz-top-menu-sidebar .nav-user-info {
    display: none !important;
}
.bay9ja-ebay-storefront .ebay-mobile-account-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.bay9ja-ebay-storefront .ebay-mobile-account-shop {
    font-size: 0.75rem;
    color: var(--ebay-muted);
}
.bay9ja-ebay-storefront .ebay-mobile-menu-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ebay-muted);
    padding: 0.35rem 0.75rem 0.15rem;
}

/* Account type badges (header + mobile) */
.ebay-account-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 0.35rem;
}
.ebay-account-badge--customer {
    background: #eff6ff;
    color: var(--ebay-blue);
}
.ebay-account-badge--seller {
    background: #ecfdf5;
    color: #047857;
}
.ebay-account-badge--admin {
    background: #f3f4f6;
    color: #374151;
}
.ebay-account-badge--guest {
    background: #f3f4f6;
    color: #6b7280;
}
.ebay-utility-guest {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}
.ebay-account-greeting {
    flex-shrink: 0;
}
.ebay-signin-split {
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.2rem;
}
.ebay-utility-guest .ebay-utility-signin-link {
    color: var(--ebay-search-blue, #3665f3) !important;
    font-weight: 400;
    text-decoration: underline;
}
.ebay-utility-guest .ebay-utility-signin-link:hover {
    color: var(--ebay-search-blue-hov, #2f54eb) !important;
}
.ebay-signin-or {
    color: #1f1f1f;
    margin: 0 0.1rem;
}
.ebay-signin-sep {
    margin: 0 0.35rem;
    color: #9ca3af;
}
.ebay-utility-signed-in .ebay-account-shop {
    font-size: 11px;
    margin-left: 0.35rem;
}
.ebay-utility-signed-in {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}
.ebay-hub-menu .ebay-hub-menu-label,
.dropdown-menu .ebay-hub-menu-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ebay-muted) !important;
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
}

/* Login portal: buyer vs seller */
.ebay-login-portal-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    background: #f3f4f6;
    border-radius: 12px;
}
.ebay-login-portal-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4b5563 !important;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.ebay-login-portal-tab:hover {
    color: var(--ebay-blue) !important;
}
.ebay-login-portal-tab.is-active {
    background: #fff;
    color: var(--ebay-blue) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.ebay-login-subtitle {
    font-size: 0.875rem;
    line-height: 1.4;
}

/* ========== Bay9ja Header (eBay shell) ========== */
.ebay-header {
    font-family: "Market Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #fff;
    box-shadow: none;
}
/* Header rows share the same 1300px grid as hero + homepage sections (no Bootstrap .container) */
.bay9ja-ebay-storefront .ebay-header .ebay-header-container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .bay9ja-ebay-storefront .ebay-header .ebay-header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 575.98px) {
    .bay9ja-ebay-storefront .ebay-header .ebay-header-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Shared with .ebay-home-shell — see hero section */
.ebay-utility-bar {
    background: #fff;
    font-size: 12px;
    color: #111;
    border-bottom: 1px solid #e5e5e5;
    padding: 6px 0;
}
.ebay-utility-row {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}
.ebay-utility-left,
.ebay-utility-right {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    line-height: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ebay-utility-left {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.ebay-utility-right {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-shrink: 0;
}
.ebay-utility-left > .list-inline-item,
.ebay-utility-right > .list-inline-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.ebay-utility-left .ebay-utility-extra:first-of-type {
    margin-left: 4px;
    padding-left: 14px;
    border-left: 1px solid #e5e5e5;
}
.ebay-utility-left .list-inline-item,
.ebay-utility-right .list-inline-item {
    margin: 0 !important;
}
.ebay-utility-right > .list-inline-item:last-child {
    margin-right: 0 !important;
}
.ebay-utility-left a,
.ebay-utility-right a {
    color: #191919 !important;
    text-decoration: none;
    font-weight: 400;
}
.ebay-utility-left a:hover,
.ebay-utility-right a:hover {
    color: var(--ebay-search-blue) !important;
    text-decoration: underline;
}
.ebay-utility-guest .ebay-utility-signin-link:hover {
    color: var(--ebay-search-blue-hov) !important;
}
.ebay-utility-right #cart_items > a {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.ebay-utility-right #cart_items > a > span {
    display: none !important;
}
.ebay-utility-right #cart_items > a > span:first-child {
    display: inline-flex !important;
    margin-right: 0 !important;
}
.ebay-utility-notification-panel {
    width: 280px;
    max-width: min(90vw, 280px);
    min-height: 0;
    padding: 10px 0;
}
.ebay-utility-notification-panel .dropdown-item {
    font-size: 14px;
    padding: 8px 14px;
}
.ebay-utility-notification-panel .ebay-utility-watch-message {
    font-size: 14px;
    line-height: 1.4;
    max-width: none;
    padding: 8px 14px;
    text-align: left;
}
.ebay-utility-chevron {
    font-size: 10px;
    margin-left: 4px;
    position: relative;
    top: -1px;
}
.ebay-utility-panel {
    border-radius: 24px;
    border: 1px solid #cfcfcf;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    padding: 18px 22px;
    margin-top: 8px;
    left: auto !important;
    right: 0 !important;
    top: calc(100% + 8px) !important;
    transform: none !important;
}
.ebay-utility-vendor-panel {
    width: 220px;
    max-width: min(92vw, 240px);
    padding: 8px 0;
}
.ebay-utility-vendor-panel .dropdown-item {
    font-size: 14px;
    line-height: 1.3;
    padding: 10px 20px;
    color: #191919;
}
.ebay-utility-vendor-panel .dropdown-item:hover {
    background: #f7f7f7;
    color: var(--ebay-blue, #0053da);
}
.ebay-utility-watch-panel {
    width: 360px;
    max-width: min(92vw, 360px);
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
}
.ebay-utility-my-panel {
    width: 280px;
    max-width: min(92vw, 280px);
    padding: 8px 0;
}
.ebay-utility-my-panel .dropdown-item {
    font-size: 14px;
    line-height: 1.3;
    padding: 8px 16px;
    color: #2f2f2f;
}
.ebay-utility-my-panel .dropdown-item:hover {
    background: transparent;
    color: #111;
    text-decoration: underline;
}
.ebay-utility-panel-title {
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #131722;
    letter-spacing: -0.02em;
}
.ebay-utility-panel-subtitle {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    color: #686b70;
    margin: 0 0 14px 0;
}
.ebay-utility-feature-item {
    font-size: 12px;
    font-weight: 600;
    color: #1f2328;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.25;
}
.ebay-utility-feature-icon {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #191d22;
    flex: 0 0 26px;
}
.ebay-utility-feature-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}
.ebay-utility-primary-btn,
.ebay-utility-secondary-btn {
    margin-bottom: 10px;
    font-size: 14px;
}
.ebay-utility-muted {
    font-size: 12px;
    color: #666b73;
    font-weight: 600;
    margin-top: 2px;
}
.ebay-utility-watch-message {
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
    max-width: 320px;
    color: #666a70;
    font-weight: 600;
}
.ebay-utility-watch-message a {
    color: #1f6feb !important;
    text-decoration: underline;
}
.dropdown-menu.ebay-utility-watch-panel,
.dropdown-menu.ebay-utility-my-panel {
    display: none;
}
.dropdown-menu.ebay-utility-watch-panel.show {
    display: flex;
}
.dropdown-menu.ebay-utility-my-panel.show {
    display: block;
}
/* ========== eBay-exact search header ========== */
.ebay-search-bar {
    background: #fff;
    position: relative;
    padding: 12px 0 10px !important;
    border-bottom: none;
}
.ebay-search-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.ebay-search-mobile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: var(--ebay-logo-h);
}
.ebay-search-mobile-head .ebay-menu-toggle {
    margin-right: 0;
}
.ebay-search-mobile-head .ebay-logo-link {
    flex: 1 1 auto;
    min-width: 0;
}
.ebay-search-row {
    min-height: var(--ebay-search-bar-h);
    justify-content: flex-start;
    width: 100%;
    gap: 16px;
    flex-wrap: nowrap;
}
.ebay-search-row > .ebay-search-wrap {
    flex: 1 1 auto;
    min-width: 0;
}
.ebay-header {
  --ebay-logo-h: 50px;
}
.ebay-brand-lockup {
    gap: 20px;
    margin-right: 6px;
    align-self: center;
    flex-shrink: 0;
}
.ebay-logo-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    height: var(--ebay-logo-h);
    text-decoration: none !important;
    line-height: 1;
}
.ebay-logo {
    height: var(--ebay-logo-h);
    width: calc(var(--ebay-logo-h) * 578 / 214);
    max-width: none;
    object-fit: contain;
    object-position: left center;
    display: block;
    flex-shrink: 0;
}
.ebay-footer-logo-img {
    height: 40px;
    max-width: 132px;
}
.ebay-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-family: "Market Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 2.125rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}
.ebay-wordmark-char--1 { color: #e53238; }
.ebay-wordmark-char--2 { color: #0064d2; }
.ebay-wordmark-char--3 { color: #f5af02; }
.ebay-wordmark-char--4 { color: #86b817; }
.ebay-wordmark-char--5 { color: #e53238; }
.ebay-wordmark-char--6 { color: #0064d2; }
.ebay-shop-category-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: #555555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}
.ebay-shop-category-trigger:hover,
.ebay-shop-category-trigger:focus {
    color: #191919;
    outline: none;
}
.ebay-shop-category-chevron {
    flex-shrink: 0;
    opacity: 0.85;
}
.ebay-dropdown-btn {
    background: var(--ebay-surface);
    border: 1px solid var(--ebay-border);
    border-radius: 12px;
    color: var(--ebay-ink);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.ebay-dropdown-btn:hover {
    color: var(--ebay-blue);
    border-color: #c7d2fe;
}
.ebay-dropdown-btn:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-search-form {
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.ebay-shop-category-menu {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
@media (min-width: 992px) {
    .ebay-shop-category-menu {
        min-width: 700px;
        max-width: 860px;
    }
}
.ebay-shop-category-menu-head {
    padding: 12px 16px;
    border-bottom: 1px solid #efefef;
}
.ebay-shop-category-menu-all {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}
.ebay-shop-category-menu-all:hover { color: var(--ebay-blue); }
.ebay-shop-category-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 4px 24px;
    padding: 14px 16px 16px;
}
.ebay-shop-category-menu-item {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    padding: 6px 0;
    text-decoration: none;
}
.ebay-shop-category-menu-item:hover { color: var(--ebay-blue); }
.ebay-search-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #000000;
    border-radius: 9999px;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--ebay-search-bar-h);
    background: #fff;
}
.ebay-search-keyword-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
}
.ebay-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 17px;
    color: #707070;
    pointer-events: none;
}
.ebay-search-input {
    border: none !important;
    padding: 0 44px 0 40px !important;
    font-size: 14px;
    line-height: 1.25;
    color: #191919;
    background: transparent !important;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: var(--ebay-search-bar-h);
    box-shadow: none !important;
}
.ebay-search-input::placeholder {
    color: #707070;
    opacity: 1;
}
.ebay-search-input:focus {
    outline: none;
    box-shadow: none !important;
}
.ebay-search-camera {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: none;
    background: transparent;
    color: #191919;
    cursor: pointer;
    border-radius: 50%;
}
.ebay-search-camera:hover {
    background: rgba(0, 0, 0, 0.04);
}
.ebay-search-camera:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-search-divider {
    width: 1px;
    height: 26px;
    background: #e5e5e5;
    margin: 0 10px 0 4px;
    flex-shrink: 0;
}
.ebay-category-select {
    border: none !important;
    padding: 0 28px 0 0 !important;
    font-size: 14px;
    color: #555555;
    background: transparent !important;
    max-width: 148px;
    min-width: 108px;
    height: calc(var(--ebay-search-bar-h) - 2px);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555555' d='M1 4l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 2px center !important;
    margin-right: 12px;
    flex-shrink: 0;
}
.ebay-category-select:focus {
    outline: none;
}
.ebay-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 78px;
    height: var(--ebay-search-bar-h);
    padding: 0 22px;
    border: none;
    border-radius: 9999px;
    background: var(--ebay-search-blue) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ebay-search-btn:hover,
.ebay-search-btn:focus {
    background: var(--ebay-search-blue-hov) !important;
    color: #ffffff !important;
    outline: none;
}
.ebay-advanced-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 2px;
    color: #707070;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}
.ebay-advanced-link:hover {
    color: #191919;
    text-decoration: underline !important;
}

@media (min-width: 992px) {
    .ebay-search-shell {
        display: block;
    }

    .ebay-search-bar {
        padding: 16px 0 !important;
    }

    .ebay-search-row {
        gap: 20px;
    }

    .ebay-brand-lockup {
        gap: 22px;
    }

    .ebay-search-row > .ebay-search-wrap {
        flex: 1 1 0;
        max-width: none;
    }

    .ebay-search-form {
        gap: 12px;
    }

    .ebay-header {
        --ebay-logo-h: 56px;
    }

    .ebay-wordmark {
        font-size: 2.25rem;
    }

    .ebay-search-input {
        font-size: 14px;
    }

    .ebay-category-select {
        max-width: 156px;
        font-size: 14px;
    }

    .ebay-search-btn {
        min-width: 84px;
        font-size: 14px;
    }
}
.ebay-primary-nav {
    background: #fff;
    border-top: none;
    border-bottom: none;
    padding: 6px 0 14px;
}
.ebay-nav-list,
.ebay-nav-single-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 20px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ebay-nav-list::-webkit-scrollbar,
.ebay-nav-single-line::-webkit-scrollbar {
    display: none;
}
.ebay-nav-list .list-inline-item,
.ebay-nav-single-line .list-inline-item {
    margin: 0 !important;
    flex-shrink: 0;
}
.ebay-nav-single-line .list-inline-item .ebay-nav-link,
.ebay-nav-list .ebay-nav-link {
    white-space: nowrap;
}
.ebay-nav-link {
    color: #191919;
    font-size: 13px;
    font-weight: 400;
    padding: 2px 0;
    display: inline-block;
    text-decoration: none;
    position: relative;
    line-height: 1.35;
}
.ebay-nav-link:hover {
    color: #191919;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ebay-nav-link-active {
    color: #191919 !important;
    font-weight: 400;
}
.ebay-nav-link-active::after {
    display: none;
}

/* Hero sits below category nav — eBay whitespace, no divider */
.bay9ja-ebay-storefront .ebay-hero-section {
    padding: 8px 0 20px !important;
    background: #fff;
}
/* Unified content width — hero, header, and every homepage section align */
.ebay-home-shell,
.ebay-hero-container,
.ebay-header .ebay-header-container {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ebay-home-shell,
    .ebay-hero-container,
    .ebay-header .ebay-header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 575.98px) {
    .ebay-home-shell,
    .ebay-hero-container,
    .ebay-header .ebay-header-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Homepage section headers — same left edge as header & hero */
.ebay-page .ebay-section-head,
.ebay-page .baylive-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}
.ebay-page .ebay-section-head.flex-wrap {
    flex-wrap: wrap;
}
.ebay-page .ebay-section-subtitle,
.ebay-page .baylive-subtitle {
    font-size: 13px;
    color: #767676;
    line-height: 1.4;
    margin: 0;
}
.ebay-page .ebay-home-shell > .d-flex.align-items-center.justify-content-between,
.ebay-page .ebay-home-shell > .d-flex.align-items-start.justify-content-between {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}
.ebay-page .ebay-home-shell > .d-flex.align-items-center.justify-content-between.mb-3,
.ebay-page .ebay-home-shell > .d-flex.align-items-start.justify-content-between.mb-3 {
    margin-bottom: 1rem !important;
}

/* Unified top-right section CTA links */
.ebay-section-top-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #111827 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    white-space: nowrap;
}
.ebay-section-top-link:hover {
    color: #000 !important;
    opacity: 0.85;
}

/* Bay9ja mega-menu dropdown */
.ebay-mega-menu { padding-top: 0; }
.ebay-mega-menu .ebay-header-container {
    max-width: 1300px;
}
.ebay-mega-menu-box {
    padding: 0;
    margin-top: -1px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    overflow: hidden;
    height: 300px;
}
.ebay-mega-menu-inner {
    display: grid !important;
    grid-template-columns: minmax(300px, 39%) minmax(0, 61%);
    padding: 12px 14px;
    gap: 12px;
    height: 300px;
    align-items: stretch;
    min-width: 0;
}
.ebay-mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(148px, 1fr));
    gap: 14px 20px;
    min-height: 0;
    min-width: 0;
    align-content: start;
}
.ebay-mega-menu-col { min-width: 0; }
.ebay-mega-menu-col ul {
    margin: 0;
    padding: 0;
    min-height: 0;
    max-height: 248px;
    overflow: hidden;
}
.ebay-mega-menu-heading {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.35rem 0;
}
.ebay-mega-menu-divider {
    height: 1px;
    background: #e5e5e5;
    margin-bottom: 0.45rem;
}
.ebay-mega-menu-link {
    display: block;
    font-size: 13px;
    color: #252525;
    padding: 0.24rem 0;
    text-decoration: none;
    line-height: 1.25;
}
.ebay-mega-menu-link:hover { color: var(--ebay-blue); }
.ebay-mega-menu-promo {
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 0;
    height: 100%;
    gap: 8px;
    border: none;
    min-width: 0;
    overflow: hidden;
}
.ebay-mega-menu-promo-copy {
    flex: 0 0 36%;
    max-width: 36%;
    padding: 8px 12px 8px 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}
.ebay-mega-menu-promo-title {
    font-size: 32px;
    line-height: 1.05;
    font-weight: 700;
    color: #061826;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}
.ebay-mega-menu-promo-subtitle {
    font-size: 13px;
    color: #3b4a57;
    line-height: 1.35;
    margin: 0 0 14px 0;
    max-height: 56px;
    overflow: hidden;
}
.ebay-mega-menu-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    background: transparent !important;
    color: #061826 !important;
    border: 1.5px solid #061826;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    white-space: nowrap;
}
.ebay-mega-menu-shop-btn:hover {
    background: rgba(6, 24, 38, 0.06) !important;
    color: #061826 !important;
}
/* eBay-style 3 overlapping product cards on the promo banner */
.ebay-mega-menu-promo-cards {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    height: 100%;
    min-height: 0;
    overflow: visible;
}
.ebay-mega-menu-promo-card {
    position: absolute;
    top: 50%;
    width: 38%;
    max-width: 168px;
    aspect-ratio: 1 / 1;
    transform-origin: center center;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-mega-menu-promo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    background: #fff;
}
.ebay-mega-menu-promo-card:hover {
    z-index: 4 !important;
}
.ebay-mega-menu-promo-card:hover img {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}
.ebay-mega-menu-promo-card-1 {
    left: 0;
    transform: translateY(-50%) rotate(9deg);
    z-index: 1;
}
.ebay-mega-menu-promo-card-2 {
    left: 30%;
    transform: translateY(-52%) rotate(-8deg);
    z-index: 2;
}
.ebay-mega-menu-promo-card-3 {
    left: 58%;
    transform: translateY(-48%) rotate(7deg);
    z-index: 3;
}
.ebay-mega-menu-promo-card-1:hover { transform: translateY(-52%) rotate(9deg) scale(1.02); }
.ebay-mega-menu-promo-card-2:hover { transform: translateY(-54%) rotate(-8deg) scale(1.02); }
.ebay-mega-menu-promo-card-3:hover { transform: translateY(-50%) rotate(7deg) scale(1.02); }

/* Electronics promo (eBay solid blue banner) */
.ebay-mega-menu-promo-blue {
    background: #82d4fa !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-blue .ebay-mega-menu-promo-title {
    color: #061826;
}
.ebay-mega-menu-promo-blue .ebay-mega-menu-promo-subtitle {
    color: #1a3a4a;
}
.ebay-mega-menu-promo-blue .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #061826 !important;
    border: 1.5px solid #061826;
}
.ebay-mega-menu-promo-blue .ebay-mega-menu-shop-btn:hover {
    background: rgba(6, 24, 38, 0.08) !important;
}

/* Category-dependent premium banner themes */
.ebay-mega-menu-theme-1 { background: linear-gradient(135deg, #f3f7ff 0%, #dbeafe 100%); }
.ebay-mega-menu-theme-2 { background: linear-gradient(135deg, #f8f5ff 0%, #e9ddff 100%); }
.ebay-mega-menu-theme-3 { background: linear-gradient(135deg, #f3fff8 0%, #d6f5e5 100%); }
.ebay-mega-menu-theme-4 { background: linear-gradient(135deg, #fff8f2 0%, #ffe5d1 100%); }
.ebay-mega-menu-theme-5 { background: linear-gradient(135deg, #f2fcff 0%, #d9f3fa 100%); }
.ebay-mega-menu-theme-6 { background: linear-gradient(135deg, #fff7f7 0%, #ffe1e1 100%); }
.ebay-mega-menu-theme-7 { background: linear-gradient(135deg, #f5fff4 0%, #dcf7d9 100%); }
.ebay-mega-menu-theme-8 { background: linear-gradient(135deg, #f7f7ff 0%, #e5e5ff 100%); }
.ebay-mega-menu-theme-9 { background: linear-gradient(135deg, #fffaf0 0%, #ffe8c9 100%); }

/* Motors / parts promo (eBay dark banner) */
.ebay-mega-menu-promo-dark {
    background: #061826 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.ebay-mega-menu-promo-dark .ebay-mega-menu-promo-title {
    color: #ffffff;
}
.ebay-mega-menu-promo-dark .ebay-mega-menu-promo-subtitle {
    color: rgba(255, 255, 255, 0.82);
}
.ebay-mega-menu-promo-dark .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid #ffffff;
}
.ebay-mega-menu-promo-dark .ebay-mega-menu-shop-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Collectibles promo (eBay amber banner) */
.ebay-mega-menu-promo-amber {
    background: #f0ad2a !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-amber .ebay-mega-menu-promo-title {
    color: #3d2314;
}
.ebay-mega-menu-promo-amber .ebay-mega-menu-promo-subtitle {
    color: #5c3b1e;
}
.ebay-mega-menu-promo-amber .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #3d2314 !important;
    border: 1.5px solid #3d2314;
}
.ebay-mega-menu-promo-amber .ebay-mega-menu-shop-btn:hover {
    background: rgba(61, 35, 20, 0.08) !important;
    color: #3d2314 !important;
}

/* Industrial equipment promo (eBay orange banner) */
.ebay-mega-menu-promo-orange {
    background: #ff9900 !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-orange .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-orange .ebay-mega-menu-promo-subtitle {
    color: #3d2314;
}
.ebay-mega-menu-promo-orange .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-orange .ebay-mega-menu-shop-btn:hover {
    background: rgba(25, 25, 25, 0.08) !important;
    color: #191919 !important;
}

/* Industrial equipment promo (legacy slate banner) */
.ebay-mega-menu-promo-slate {
    background: #5b7c99 !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-slate .ebay-mega-menu-promo-title {
    color: #ffffff;
}
.ebay-mega-menu-promo-slate .ebay-mega-menu-promo-subtitle {
    color: #e2e8f0;
}
.ebay-mega-menu-promo-slate .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid #ffffff;
}
.ebay-mega-menu-promo-slate .ebay-mega-menu-shop-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Sell tab promo (eBay teal banner) */
.ebay-mega-menu-promo-teal {
    background: #2db5ad !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-teal .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-teal .ebay-mega-menu-promo-subtitle {
    color: #2d2d2d;
}
.ebay-mega-menu-promo-teal .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-teal .ebay-mega-menu-shop-btn:hover {
    background: rgba(25, 25, 25, 0.08) !important;
    color: #191919 !important;
}

/* Home and garden promo (eBay lime banner) */
.ebay-mega-menu-promo-lime {
    background: #a4f148 !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-lime .ebay-mega-menu-promo-title {
    color: #1e4620;
}
.ebay-mega-menu-promo-lime .ebay-mega-menu-promo-subtitle {
    color: #2d5a2e;
}
.ebay-mega-menu-promo-lime .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #1e4620 !important;
    border: 1.5px solid #1e4620;
}
.ebay-mega-menu-promo-lime .ebay-mega-menu-shop-btn:hover {
    background: rgba(30, 70, 32, 0.08) !important;
    color: #1e4620 !important;
}

/* Home and garden promo (legacy coral banner) */
.ebay-mega-menu-promo-coral {
    background: #ff6f4d !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-coral .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-coral .ebay-mega-menu-promo-subtitle {
    color: #3d2314;
}
.ebay-mega-menu-promo-coral .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-coral .ebay-mega-menu-shop-btn:hover {
    background: rgba(25, 25, 25, 0.08) !important;
    color: #191919 !important;
}

/* Health and beauty promo (eBay purple banner) */
.ebay-mega-menu-promo-purple {
    background: #7b61ff !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-purple .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-purple .ebay-mega-menu-promo-subtitle {
    color: #2a2040;
}
.ebay-mega-menu-promo-purple .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-purple .ebay-mega-menu-shop-btn:hover {
    background: rgba(25, 25, 25, 0.08) !important;
    color: #191919 !important;
}

/* Sport and leisure promo (eBay green banner) */
.ebay-mega-menu-promo-green {
    background: #93d650 !important;
    border-color: transparent !important;
}
.ebay-mega-menu-promo-green .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-green .ebay-mega-menu-promo-subtitle {
    color: #2d3b1f;
}
.ebay-mega-menu-promo-green .ebay-mega-menu-shop-btn {
    background: transparent !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-green .ebay-mega-menu-shop-btn:hover {
    background: rgba(25, 25, 25, 0.08) !important;
    color: #191919 !important;
}

/* Fashion promo (eBay light gray banner) */
.ebay-mega-menu-promo-light {
    background: #f1f1f1 !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}
.ebay-mega-menu-promo-light .ebay-mega-menu-promo-title {
    color: #191919;
}
.ebay-mega-menu-promo-light .ebay-mega-menu-promo-subtitle {
    color: #555555;
}
.ebay-mega-menu-promo-light .ebay-mega-menu-shop-btn {
    background: #ffffff !important;
    color: #191919 !important;
    border: 1.5px solid #191919;
}
.ebay-mega-menu-promo-light .ebay-mega-menu-shop-btn:hover {
    background: #f7f7f7 !important;
    color: #191919 !important;
}

@media (max-width: 1199px) {
    .ebay-mega-menu-inner {
        grid-template-columns: minmax(280px, 40%) minmax(0, 60%);
    }
    .ebay-mega-menu-promo-title { font-size: 28px; }
    .ebay-mega-menu-promo-copy {
        flex-basis: 38%;
        max-width: 38%;
    }
}
@media (max-width: 991px) {
    .ebay-mega-menu-box,
    .ebay-mega-menu-inner {
        min-height: 0;
        height: auto;
    }
    .ebay-mega-menu-inner {
        grid-template-columns: 1fr;
        height: auto;
    }
    .ebay-mega-menu-columns {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
    .ebay-mega-menu-col ul {
        min-height: 0;
        max-height: none;
        overflow: visible;
    }
    .ebay-mega-menu-promo {
        min-height: 220px;
    }
    .ebay-mega-menu-promo-copy {
        flex: 0 0 40%;
        max-width: 40%;
    }
    .ebay-mega-menu-promo-cards {
        flex: 1 1 auto;
        max-width: none;
        min-height: 180px;
    }
}

/* Hero — eBay Playbook banner asset 1740×600 (height = 34.48% of width); 16px radius */
.ebay-hero-section {
    --ebay-hero-max-w: 1300px;
    --ebay-hero-design-w: 1740;
    --ebay-hero-design-h: 600;
    --ebay-hero-ratio: 1740 / 600;
    --ebay-hero-h: calc(100% * var(--ebay-hero-design-h) / var(--ebay-hero-design-w));
    background: #fff;
    padding: 0.5rem 0 !important;
    min-height: 0;
}
.ebay-hero-section .ebay-hero-container {
    --ebay-hero-h: calc(100% * var(--ebay-hero-design-h) / var(--ebay-hero-design-w));
}
.ebay-hero-container .ebay-hero-carousel {
    width: 100%;
    aspect-ratio: var(--ebay-hero-ratio);
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 16px;
}
.ebay-hero-section .aiz-carousel,
.ebay-hero-carousel {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    min-height: 0;
    margin: 0;
}
.ebay-hero-carousel.slick-initialized .slick-list {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/* Only first slide before Slick init — do not force display:flex on all .carousel-box (stacks slides) */
.ebay-hero-carousel:not(.slick-initialized) > .carousel-box:not(:first-child) {
    display: none !important;
}
.ebay-hero-carousel:not(.slick-initialized) > .carousel-box:first-child,
.ebay-hero-carousel.slick-initialized .slick-slide .carousel-box {
    display: flex !important;
}
.ebay-hero-carousel .slick-list,
.ebay-hero-carousel .slick-track {
    min-height: 0;
}
.ebay-hero-carousel.slick-initialized .slick-list,
.ebay-hero-carousel.slick-initialized .slick-track {
    height: 100% !important;
    min-height: 100%;
}
.ebay-hero-carousel.slick-initialized .slick-slide {
    height: 100% !important;
    float: left;
    display: block !important;
}
.ebay-hero-carousel.slick-initialized .slick-slide > div {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: 100%;
}
.ebay-hero-carousel:not(.slick-initialized) > .carousel-box:first-child {
    height: 100%;
    min-height: 100%;
}
.ebay-hero-carousel:not(.slick-initialized) > .carousel-box:first-child,
.ebay-hero-carousel.slick-initialized .slick-slide .carousel-box {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.ebay-hero-carousel .ebay-hero-banner,
.ebay-hero-carousel .ebay-hero-banner.ebay-hero-cover {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: 100%;
    flex: none;
}
.ebay-hero-carousel .ebay-hero-banner.ebay-hero-promo {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    height: 100%;
}
.ebay-hero-carousel .ebay-hero-promo {
    box-sizing: border-box;
}

/* Homepage promo banners — same width × height footprint as hero carousel (1740×600) */
.ebay-live-promo-banner,
.ebay-seller-cta-banner,
.ebay-designer-banner,
.ebay-cars-banner {
    width: 100%;
    aspect-ratio: 1740 / 600;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Hero slider dots & arrows — overlaid on banner bottom (eBay style) */
.ebay-hero-carousel .slick-dots {
    position: absolute;
    bottom: 14px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    display: flex !important;
    align-items: center;
    gap: 6px;
    z-index: 4;
}
.ebay-hero-carousel .slick-dots li {
    width: 8px;
    height: 8px;
    margin: 0;
}
.ebay-hero-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
}
.ebay-hero-carousel .slick-dots li button:before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    opacity: 1;
    top: 0;
    left: 0;
}
.ebay-hero-carousel .slick-dots li.slick-active button:before {
    background: #fff;
    border-color: #fff;
    opacity: 1;
}
.ebay-hero-carousel.ebay-hero-dots--lime .slick-dots li button:before {
    border-color: rgba(255, 255, 255, 0.95);
    background: transparent;
}
.ebay-hero-carousel.ebay-hero-dots--lime .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--mint .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--warm .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--sunny .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--sky .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--coral .slick-dots li.slick-active button:before {
    background: #333605;
    border-color: #333605;
}
.ebay-hero-carousel.ebay-hero-dots--mint .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--warm .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--sunny .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--sky .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--coral .slick-dots li button:before {
    border-color: rgba(25, 25, 25, 0.35);
    background: transparent;
}
.ebay-hero-carousel.ebay-hero-dots--purple .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--navy .slick-dots li button:before,
.ebay-hero-carousel.ebay-hero-dots--bayblue .slick-dots li button:before {
    border-color: rgba(255, 255, 255, 0.9);
    background: transparent;
}
.ebay-hero-carousel.ebay-hero-dots--purple .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--navy .slick-dots li.slick-active button:before,
.ebay-hero-carousel.ebay-hero-dots--bayblue .slick-dots li.slick-active button:before {
    background: #fff;
    border-color: #fff;
}
.ebay-hero-carousel .slick-prev,
.ebay-hero-carousel .slick-next {
    top: auto !important;
    bottom: 8px !important;
    transform: none !important;
    background: #fff !important;
    color: #191919 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 4;
}
.ebay-hero-carousel .slick-prev:hover,
.ebay-hero-carousel .slick-next:hover {
    background: #f7f7f7 !important;
    color: #111 !important;
}
.ebay-hero-carousel .slick-prev {
    left: auto !important;
    right: 88px !important;
}
.ebay-hero-carousel .slick-next {
    right: 48px !important;
}
.ebay-hero-carousel .slick-prev:before,
.ebay-hero-carousel .slick-next:before {
    display: none;
}
.ebay-hero-carousel .slick-prev i,
.ebay-hero-carousel .slick-next i {
    font-size: 16px;
    line-height: 1;
    color: #191919;
}
.ebay-hero-autoplay-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: #191919;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.15s ease;
}
.ebay-hero-autoplay-toggle:hover {
    background: #f7f7f7;
}
.ebay-hero-autoplay-toggle:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-hero-autoplay-icon {
    display: block;
    width: 14px;
    height: 14px;
}
.ebay-hero-autoplay-toggle.is-playing .ebay-hero-autoplay-icon--play {
    display: none;
}
.ebay-hero-autoplay-toggle.is-paused .ebay-hero-autoplay-icon--pause {
    display: none;
}
.ebay-hero-banner {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    border-radius: 16px !important;
    overflow: hidden;
    box-sizing: border-box;
}
.ebay-hero-banner.ebay-hero-promo {
    overflow: hidden;
}

/* eBay-style photo cover hero — text overlay left, lifestyle bg */
.ebay-hero-cover {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #5c6b7a;
    background-image: var(--ebay-hero-cover-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.ebay-hero-cover-scrim {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.42) 34%,
        rgba(0, 0, 0, 0.12) 58%,
        rgba(0, 0, 0, 0) 78%
    );
    pointer-events: none;
}
.ebay-hero-cover--auction .ebay-hero-cover-scrim {
    background: linear-gradient(
        90deg,
        rgba(0, 28, 64, 0.78) 0%,
        rgba(0, 40, 90, 0.45) 38%,
        rgba(0, 0, 0, 0.08) 65%,
        transparent 82%
    );
}
.ebay-hero-cover--search .ebay-hero-cover-scrim {
    background: linear-gradient(
        90deg,
        rgba(20, 20, 20, 0.72) 0%,
        rgba(20, 20, 20, 0.38) 36%,
        rgba(0, 0, 0, 0.1) 62%,
        transparent 80%
    );
}
.ebay-hero-cover-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    max-width: 560px;
    padding: 1.75rem 2rem 2.75rem;
    box-sizing: border-box;
}
.ebay-hero-cover-title {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.ebay-hero-cover-sub {
    margin: 0 0 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.875rem, 1.2vw, 1.0625rem);
    font-weight: 400;
    line-height: 1.45;
    max-width: 28rem;
}
.ebay-hero-cta-pill--white {
    background: #ffffff !important;
    color: #191919 !important;
    border: 2px solid #ffffff !important;
    min-height: 44px;
    padding: 11px 28px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.ebay-hero-cta-pill--white:hover {
    background: #f7f7f7 !important;
    color: #111 !important;
    transform: translateY(-1px);
}
/* Direct solid color per slide (eBay promo palette) */
.ebay-hero-purple { background: #5c42f4 !important; }
.ebay-hero-lime { background: #d9e941 !important; }
.ebay-hero-mint { background: #dff5e4 !important; }
.ebay-hero-warm { background: #f5e6a8 !important; }
.ebay-hero-sunny {
    background: linear-gradient(135deg, #fff9c4 0%, #ffe082 55%, #ffd54f 100%) !important;
}
.ebay-hero-sky {
    background: linear-gradient(135deg, #e1f5fe 0%, #81d4fa 50%, #4fc3f7 100%) !important;
}
.ebay-hero-coral {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 45%, #ffab91 100%) !important;
}
.ebay-hero-olive { color: #333605 !important; }
.ebay-hero-muted { color: #444444 !important; }
.ebay-hero-navy { background: #003366 !important; }
/* Bay9ja wordmark blue (#0064d2) */
.ebay-hero-bayblue { background: #0064d2 !important; }
.ebay-hero-blue { background: #0063d1 !important; }
.ebay-hero-golden { background: #feba02 !important; }
.ebay-hero-image-slide {
    height: 100%;
    min-height: 0;
    background: #e5e5e5;
}
.ebay-hero-image-slide img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

/* Promo layout: left copy + CTA, right product row */
.ebay-hero-promo {
    display: flex !important;
    align-items: center;
    padding: 1.75rem 2rem 2.25rem;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    box-sizing: border-box;
}
.ebay-hero-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 1.25rem;
    min-height: 0;
}
.ebay-hero-promo-left {
    flex: 0 0 44%;
    max-width: 480px;
    z-index: 2;
}
.ebay-hero-headline {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}
@media (max-width: 991.98px) {
    .ebay-hero-headline--long {
        font-size: clamp(1.35rem, 3.8vw, 1.75rem);
        line-height: 1.2;
    }
}
.ebay-hero-dark { color: #061826 !important; }
.ebay-hero-white { color: #fff !important; }
.ebay-hero-subhead {
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 0.65rem;
    line-height: 1.45;
}
.ebay-hero-footnote {
    font-size: 0.75rem;
    margin-top: 1rem;
}
.ebay-page .ebay-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ebay-btn-min-h);
    padding: 0.65rem 1.35rem;
    border-radius: var(--ebay-btn-radius);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none !important;
    background: var(--ebay-blue) !important;
    color: #fff !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0, 83, 218, 0.28);
}
.ebay-page .ebay-hero-cta:hover {
    background: var(--ebay-blue-hov) !important;
    color: #fff !important;
}
.ebay-page .ebay-hero-btn {
    margin-top: 0.25rem;
    min-height: 40px;
    font-size: 0.9375rem;
}

/* Hero promo CTA pills — eBay-style contextual buttons */
.ebay-hero-cta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 26px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ebay-hero-cta-pill:hover {
    transform: translateY(-1px);
    text-decoration: none !important;
}
.ebay-hero-cta-pill--dark-green {
    background: #366736 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.ebay-hero-cta-pill--dark-green:hover {
    background: #2d552d !important;
    color: #fff !important;
}
.ebay-hero-cta-pill--ebay-dark {
    background: #3d4a2c !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.ebay-hero-cta-pill--ebay-dark:hover {
    background: #2f3a22 !important;
    color: #fff !important;
}
.ebay-hero-cta-pill--olive {
    background: #333605 !important;
    color: #d9e941 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.ebay-hero-cta-pill--olive:hover {
    background: #2a2d04 !important;
    color: #d9e941 !important;
}
.ebay-hero-cta-pill--lavender {
    background: #d4cbff !important;
    color: #3d2db8 !important;
    border: 2px solid #d4cbff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.ebay-hero-cta-pill--lavender:hover {
    background: #e8e2ff !important;
    color: #2f2299 !important;
}
.ebay-hero-cta-pill--search-blue {
    background: var(--ebay-search-blue) !important;
    color: #fff !important;
    border-color: transparent;
}
.ebay-hero-cta-pill--search-blue:hover {
    background: var(--ebay-search-blue-hov) !important;
    color: #fff !important;
}
.ebay-hero-cta-pill--solid-dark {
    background: #191919 !important;
    color: #fff !important;
    border-color: transparent;
}
.ebay-hero-cta-pill--solid-dark:hover {
    background: #000 !important;
    color: #fff !important;
}
/* Bay9ja wordmark yellow (#f5af02) */
.ebay-hero-cta-pill--bayyellow {
    background: #f5af02 !important;
    color: #1a1a1a !important;
    border: 2px solid #f5af02 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.ebay-hero-cta-pill--bayyellow:hover {
    background: #ffbe1a !important;
    color: #111 !important;
}
.ebay-hero-cta-pill--light {
    background: #f7f5ff !important;
    color: #191919 !important;
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.ebay-hero-cta-pill--light:hover {
    background: #fff !important;
    color: #111 !important;
}

.ebay-hero-cta-light {
    display: inline-block;
    background: #fff !important;
    color: #003366 !important;
    border: 1px solid #d7e3ff;
    padding: 0.5rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none !important;
}
.ebay-hero-cta-light:hover { background: #eef4ff !important; color: #003366 !important; border-color: #c7d8ff; }

/* Secondary inline CTA for dark hero slides */
.ebay-hero-cta-outline-light {
    display: inline-block;
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.45);
    padding: 0.45rem 1rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    margin-left: 0.5rem;
}
.ebay-hero-cta-outline-light:hover {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.7);
}

/* Inline pill CTA on light / lime hero slides (matches outline-light pattern for dark text) */
.ebay-hero-cta-outline-dark {
    display: inline-block;
    background: rgba(255,255,255,0.45) !important;
    color: #061826 !important;
    border: 1px solid rgba(6, 24, 38, 0.22);
    padding: 0.45rem 1rem;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    margin-left: 0.5rem;
    white-space: nowrap;
}
.ebay-hero-cta-outline-dark:hover {
    background: rgba(255,255,255,0.75) !important;
    color: #061826 !important;
    border-color: rgba(6, 24, 38, 0.35);
}

/* Right side: product cards/images */
.ebay-hero-promo-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}
.ebay-hero-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}
.ebay-hero-product:hover .ebay-hero-product-label { text-decoration: none !important; }
.ebay-hero-product-img {
    width: 128px;
    height: 160px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    margin-bottom: 0.5rem;
}
.ebay-hero-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebay-hero-product-label { font-size: 0.875rem; font-weight: 500; }

/* Tilted white cards (lime slide) */
.ebay-hero-cards-tilted {
    position: relative;
}
.ebay-hero-cards-tilted .ebay-hero-card {
    display: inline-block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(1) { transform: rotate(-8deg); }
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(2) { transform: rotate(4deg); }
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(3) { transform: rotate(12deg); }
.ebay-hero-card-inner {
    width: 128px;
    height: 128px;
    overflow: hidden;
}
.ebay-hero-card-inner img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 6px; box-sizing: border-box; }

/* Rotating product image cards (listing thumbnails cycle in-place) */
.ebay-hero-rotating-card {
    display: block;
    flex: 0 0 auto;
    text-decoration: none !important;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.ebay-hero-rotating-card-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ebay-hero-rotate-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.55s ease;
    pointer-events: none;
}
.ebay-hero-rotate-img.is-active {
    opacity: 1;
    z-index: 1;
}

/* Purple slide — 2×4 portrait collage (eBay global shipping) */
.ebay-hero-cards-collage {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 10px;
    align-content: end;
    align-self: center;
    width: 56%;
    max-width: 580px;
    min-width: 0;
    margin-left: auto;
    padding-top: 8px;
    overflow: visible;
}
.ebay-hero-cards-collage .ebay-hero-rotating-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.ebay-hero-cards-collage .ebay-hero-rotating-card-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
}
.ebay-hero-cards-collage .ebay-hero-collage-card--1,
.ebay-hero-cards-collage .ebay-hero-collage-card--2,
.ebay-hero-cards-collage .ebay-hero-collage-card--3,
.ebay-hero-cards-collage .ebay-hero-collage-card--4 {
    transform: translateY(-20px);
}
.ebay-hero-cards-collage .ebay-hero-collage-card--1 .ebay-hero-rotating-card-frame { background: #ffffff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--2 .ebay-hero-rotating-card-frame { background: #f5f0ff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--3 .ebay-hero-rotating-card-frame { background: #ffffff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--4 .ebay-hero-rotating-card-frame { background: #ebe3ff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--5 .ebay-hero-rotating-card-frame { background: #7b5cf0; }
.ebay-hero-cards-collage .ebay-hero-collage-card--6 .ebay-hero-rotating-card-frame { background: #ffffff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--7 .ebay-hero-rotating-card-frame { background: #e8dcff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--8 .ebay-hero-rotating-card-frame { background: #ffffff; }
.ebay-hero-cards-collage .ebay-hero-collage-card--5 .ebay-hero-rotate-img,
.ebay-hero-cards-collage .ebay-hero-collage-card--7 .ebay-hero-rotate-img {
    object-fit: contain;
    padding: 8%;
    box-sizing: border-box;
}

/* Lime slide — tilted white product cards */
.ebay-hero-cards-tilted {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    width: 50%;
    max-width: 440px;
    min-width: 0;
    margin-left: auto;
    padding-right: 0.5rem;
}
.ebay-hero-cards-tilted .ebay-hero-rotating-card {
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(51, 54, 5, 0.22);
    margin-left: -12px;
}
.ebay-hero-cards-tilted .ebay-hero-rotating-card:first-child {
    margin-left: 0;
}
.ebay-hero-rotating-card.ebay-hero-tilt-card--1 { transform: rotate(-9deg); z-index: 1; }
.ebay-hero-rotating-card.ebay-hero-tilt-card--2 { transform: rotate(5deg); z-index: 2; }
.ebay-hero-rotating-card.ebay-hero-tilt-card--3 { transform: rotate(11deg); z-index: 3; }
.ebay-hero-cards-tilted .ebay-hero-rotating-card-frame {
    width: 148px;
    height: 148px;
    background: #fff;
}

/* Product row on hero right (3-up, landscape tiles) */
.ebay-hero-cards-grid,
.ebay-hero-cards-stair {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    height: auto;
    margin-right: 0;
    max-width: min(500px, 55vw);
}
.ebay-hero-cards-stair .ebay-hero-stair-card .ebay-hero-rotating-card-frame {
    width: 132px;
    height: 118px;
}
.ebay-hero-cards-stair .ebay-hero-stair-card:nth-child(2) {
    transform: translateY(-4px);
}
.ebay-hero-cards-stair .ebay-hero-stair-card:nth-child(3) {
    transform: translateY(2px);
}
.ebay-hero-cards-stair--bayblue .ebay-hero-stair-card .ebay-hero-rotating-card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.ebay-hero-cards-stair--bayblue .ebay-hero-stair-card .ebay-hero-rotating-card-frame {
    background: #fff;
}
.ebay-hero-grid-card,
.ebay-hero-card-stair {
    display: block;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
    transform: none;
    margin-right: 0 !important;
    align-self: center !important;
}
.ebay-hero-cards-grid .ebay-hero-grid-card:nth-child(n + 4),
.ebay-hero-cards-stair .ebay-hero-card-stair:nth-child(n + 4) {
    display: none !important;
}
.ebay-hero-grid-card-inner,
.ebay-hero-cards-stair .ebay-hero-card-inner {
    width: 148px;
    height: 128px;
    aspect-ratio: auto;
    overflow: hidden;
}
.ebay-hero-grid-card-inner img,
.ebay-hero-cards-stair .ebay-hero-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Denim wash colors - dark, medium, light (navy slide) - product-style */
.ebay-hero-denim-dark {
    background: linear-gradient(160deg, #1e3a5f 0%, #0f1f33 50%, #162d4a 100%);
}
.ebay-hero-denim-medium {
    background: linear-gradient(160deg, #4a6fa5 0%, #2e4a6f 50%, #3d5a80 100%);
}
.ebay-hero-denim-light {
    background: linear-gradient(160deg, #89b4d6 0%, #6a9bc4 50%, #b8d4e8 100%);
}

/* Single featured image (blue slide) */
.ebay-hero-single-img .ebay-hero-featured-img {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.ebay-hero-single-img .ebay-hero-featured-img img {
    width: 260px;
    height: 180px;
    object-fit: cover;
}

/* Recommended for you sections - Bay9ja style (100% match) */
.ebay-recommended-section { background: #fff; }
.ebay-recommended-header { gap: 1rem; flex-wrap: wrap; }
.ebay-recommended-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}
.ebay-recommended-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
.ebay-recommended-seeall {
    font-size: 14px;
    color: #111;
    text-decoration: underline;
    flex-shrink: 0;
    white-space: nowrap;
}
.ebay-recommended-seeall:hover { color: var(--ebay-blue); text-decoration: underline; }
.ebay-recommended-carousel { position: relative; }
.ebay-rec-carousel .slick-arrow {
    background: #fff !important;
    color: #6c757d !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important;
    z-index: 2;
}
.ebay-rec-carousel .slick-arrow:hover { color: #111 !important; box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important; }
.ebay-rec-carousel.arrow-x-0 .slick-prev { left: 8px !important; }
.ebay-rec-carousel.arrow-x-0 .slick-next { right: 8px !important; }

/* Recommended product cards - square, rounded, minimal */
.ebay-rec-card {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.ebay-rec-card-img-wrap {
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 0.75rem;
}
.ebay-rec-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ebay-rec-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #111;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: color 0.2s, background 0.2s;
}
.ebay-rec-wishlist:hover { color: #e53935; background: #fff; }
.ebay-rec-wishlist i { font-weight: 400; }
.ebay-rec-title {
    font-size: 14px;
    color: #111;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.35rem;
}
.ebay-rec-title:hover { color: var(--ebay-blue); }
.ebay-rec-price {
    font-size: 14px;
    color: #111;
}

/* Section titles - match Seller spotlight/Fashion title style */
.ebay-section-title {
    color: #111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Shop now / CTA buttons - Bay9ja blue */
.ebay-shop-now-btn {
    background: #0654ba !important;
    border-color: #0654ba !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
}
.ebay-shop-now-btn:hover {
    background: #004892 !important;
    border-color: #004892 !important;
    color: #fff !important;
}

/* Category icons */
.ebay-categories-section {
    background: #fff;
}
.ebay-category-img {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    overflow: hidden;
}
.ebay-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebay-category-icon:hover .ebay-category-img {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.ebay-category-icon:hover span {
    color: #0654ba !important;
}

/* Product cards - Bay9ja-style white cards */
.ebay-product-card {
    border: 1px solid #e5e5e5;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.ebay-product-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-color: #d5d5d5;
}
.ebay-product-img-wrap {
    aspect-ratio: 1;
    min-height: 120px;
    background: #fff;
}
.ebay-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.5rem;
    box-sizing: border-box;
}
.ebay-product-img-wrap .img-fit.product-main-image,
.ebay-product-img-wrap .img-fit.product-hover-image {
    object-fit: contain !important;
    object-position: center;
}
.ebay-product-img-wrap .product-hover-image {
    opacity: 0;
    transition: opacity 0.2s;
}
.ebay-product-card:hover .product-hover-image {
    opacity: 1;
}
.ebay-wishlist-icon {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    transition: color 0.2s, background 0.2s;
}
.ebay-wishlist-icon:hover {
    color: #0654ba;
    background: #fff;
}
.ebay-product-name:hover {
    color: #0654ba !important;
}
.ebay-product-price .fw-700 {
    color: #0654ba;
}

/* Deals section - yellow accent */
.ebay-deals-section {
    background: #fff;
}

/* Featured categories - spring refresh style (square cards, light gray, product isolated) */
.ebay-featured-cats {
    background: #fff;
}
.ebay-featured-cats-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.ebay-featured-cats-carousel .slick-list { margin: 0 -8px; }
.ebay-featured-cat-card {
    text-align: center;
    transition: opacity 0.2s;
}
.ebay-featured-cat-card:hover {
    text-decoration: none;
    opacity: 0.9;
}
.ebay-featured-cat-img {
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.ebay-featured-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}
.ebay-featured-cat-label {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    display: block;
    line-height: 1.3;
}
.ebay-featured-cat-card:hover .ebay-featured-cat-label {
    color: var(--ebay-blue);
}

/* Promo banners */
.ebay-promo-banner .carousel-box {
    padding: 0 8px;
}
.ebay-promo-banner img {
    border-radius: 4px;
}

/* Best sellers */
.ebay-seller-card:hover {
    text-decoration: none;
    background: #f0f0f0 !important;
}
.ebay-seller-logo {
    width: 60px;
    height: 60px;
}

/* Bay9ja Footer */
.ebay-footer {
    background: #f7f7f7;
    color: #333;
}
.ebay-footer-main {
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}
.ebay-footer-title {
    color: #707070 !important;
    font-weight: 700 !important;
}
.ebay-footer-links li {
    margin-bottom: 0.5rem;
}
footer.ebay-footer .ebay-footer-links a,
.ebay-footer .ebay-footer-links a {
    color: #707070 !important;
    font-size: 13px;
    font-weight: 400 !important;
    text-decoration: none;
}
footer.ebay-footer .ebay-footer-links a:hover,
footer.ebay-footer .ebay-footer-links a:focus,
footer.ebay-footer .ebay-footer-links a:active,
footer.ebay-footer .ebay-footer-links a.active,
footer.ebay-footer .ebay-footer-links a:visited,
.ebay-footer .ebay-footer-links a:hover,
.ebay-footer .ebay-footer-links a:focus,
.ebay-footer .ebay-footer-links a:active,
.ebay-footer .ebay-footer-links a.active,
.ebay-footer .ebay-footer-links a:visited {
    color: #707070 !important;
    font-weight: 400 !important;
    text-decoration: underline;
}
.ebay-footer-bottom {
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
}
.ebay-footer,
.ebay-footer .text-secondary,
.ebay-footer .fs-13,
.ebay-footer-social a,
.ebay-footer-social a:hover {
    color: #707070 !important;
}
.ebay-footer-newsletter .btn-primary {
    background: #0654ba !important;
    border-color: #0654ba !important;
}

/* Bay9ja header mobile / tablet */
@media (max-width: 991.98px) {
    .ebay-utility-vendor-link {
        display: none !important;
    }
    .ebay-utility-extra {
        display: none !important;
    }
    .ebay-utility-bar {
        font-size: 11px;
    }
    .ebay-utility-bar .list-inline-item {
        font-size: 11px;
    }
    .ebay-utility-row {
        min-height: 28px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .ebay-utility-left,
    .ebay-utility-right {
        gap: 10px;
    }
    .ebay-utility-left .ebay-utility-extra:first-of-type {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    .ebay-utility-vendor-panel {
        width: min(92vw, 240px);
    }
    .ebay-utility-watch-panel { width: min(92vw, 340px); min-height: 0; padding: 16px 18px; }
    .ebay-utility-my-panel { width: min(92vw, 280px); }
    .ebay-utility-panel-title { font-size: 28px; }
    .ebay-utility-panel-subtitle { font-size: 14px; }
    .ebay-utility-feature-item { font-size: 12px; }
    .ebay-utility-feature-icon { width: 24px; height: 24px; flex-basis: 24px; }
    .ebay-utility-feature-icon svg { width: 22px; height: 22px; }
    .ebay-utility-primary-btn, .ebay-utility-secondary-btn { font-size: 13px; }
    .ebay-utility-muted { font-size: 12px; }
    .ebay-utility-watch-message { font-size: 17px; line-height: 1.35; }
    .ebay-shop-category-dropdown { display: none !important; }
    .ebay-shop-category-menu { min-width: 92vw; max-width: 92vw; }
    .ebay-shop-category-menu-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}
@media (max-width: 767.98px) {
    .ebay-utility-watchlist-link {
        display: none !important;
    }
    .ebay-utility-left,
    .ebay-utility-right {
        gap: 8px;
    }
    .ebay-utility-hub-link .dropdown-toggle {
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }
}
@media (max-width: 575.98px) {
    .ebay-utility-bar {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .ebay-utility-row {
        gap: 6px;
    }
    .ebay-utility-left,
    .ebay-utility-right {
        gap: 6px;
    }
    .ebay-account-greeting {
        display: none;
    }
    .ebay-utility-guest {
        gap: 0.2rem;
        font-size: 11px;
    }
    .ebay-utility-hub-link {
        display: none !important;
    }
    .ebay-utility-right .ebay-notification-item {
        margin-right: 0;
    }
    .ebay-header {
        --ebay-logo-h: 34px;
    }
    .ebay-wordmark { font-size: 1.625rem; }
}
@media (max-width: 991.98px) {
    .ebay-search-shell {
        gap: 12px;
    }
    .ebay-search-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .ebay-search-row > .ebay-search-wrap {
        flex: 1 1 100%;
        width: 100%;
    }
    .ebay-search-form {
        gap: 8px;
        width: 100%;
    }
    .ebay-search-btn {
        display: inline-flex !important;
        min-width: 72px;
    }
    .ebay-search-divider,
    .ebay-category-select,
    .ebay-advanced-link {
        display: none !important;
    }
}
@media (max-width: 767.98px) {
    .ebay-search-bar {
        padding: 10px 0 !important;
    }
    .ebay-search-input-group {
        min-height: 40px;
    }
    .ebay-search-input {
        font-size: 16px;
        height: 40px;
        padding-right: 40px !important;
    }
    .ebay-search-camera {
        right: 6px;
    }
    .ebay-header {
        --ebay-logo-h: 40px;
    }
    .ebay-wordmark {
        font-size: 1.75rem;
    }
}

/* Hero promo responsive — same 1740×600 ratio; min-height on narrow viewports */
@media (max-width: 991.98px) {
    .ebay-hero-container .ebay-hero-carousel {
        min-height: max(220px, calc((100vw - 24px) * 600 / 1740));
    }

    .ebay-hero-carousel.slick-initialized .slick-slide,
    .ebay-hero-carousel.slick-initialized .slick-slide > div {
        height: 100% !important;
    }

    .ebay-hero-carousel.slick-initialized .slick-list {
        height: 100% !important;
    }

    .ebay-hero-promo {
        padding: 1rem 1.1rem 2.4rem;
    }

    .ebay-hero-promo-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
    }

    .ebay-hero-promo-left {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 48%;
    }

    .ebay-hero-promo-right {
        flex: 0 1 auto;
        max-width: 52%;
    }

    .ebay-hero-headline {
        font-size: clamp(0.95rem, 2.8vw, 1.4rem);
    }

    .ebay-hero-subhead {
        font-size: clamp(0.6875rem, 1.9vw, 0.875rem);
        margin-bottom: 0.5rem;
    }

    .ebay-hero-cta-pill {
        min-height: 36px;
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .ebay-hero-footnote {
        display: none;
    }

    .ebay-hero-cards-tilted .ebay-hero-rotating-card-frame {
        width: clamp(72px, 16vw, 100px);
        height: clamp(72px, 16vw, 100px);
    }

    .ebay-hero-cards-stair .ebay-hero-stair-card .ebay-hero-rotating-card-frame {
        width: clamp(72px, 16vw, 104px);
        height: clamp(64px, 14vw, 92px);
    }

    .ebay-hero-cards-collage {
        width: 52%;
        gap: 5px;
    }

    .ebay-hero-cards-collage .ebay-hero-collage-card--1,
    .ebay-hero-cards-collage .ebay-hero-collage-card--2,
    .ebay-hero-cards-collage .ebay-hero-collage-card--3,
    .ebay-hero-cards-collage .ebay-hero-collage-card--4 {
        transform: translateY(-10px);
    }

    .ebay-hero-cards-collage .ebay-hero-rotating-card-frame {
        max-height: 72px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .ebay-hero-container .ebay-hero-carousel {
        min-height: max(260px, calc((100vw - 24px) * 600 / 1740));
    }

    .ebay-hero-cover-content {
        padding: 1.25rem 1.5rem 2.5rem;
        max-width: 52%;
    }
}

@media (min-width: 992px) {
    /* 1300px shell → 448px tall (eBay 1740×600 ratio) */
    .ebay-hero-container .ebay-hero-carousel {
        min-height: 448px;
    }

    .ebay-hero-carousel.slick-initialized .slick-list,
    .ebay-hero-carousel.slick-initialized .slick-track {
        height: 100% !important;
    }

    .ebay-hero-promo {
        padding: 2.25rem 2.5rem 2.5rem;
    }

    .ebay-hero-promo-left {
        flex: 0 0 46%;
        max-width: 540px;
    }

    .ebay-hero-headline {
        font-size: clamp(1.9rem, 2.5vw, 2.625rem);
        letter-spacing: -0.025em;
        line-height: 1.1;
        margin-bottom: 0.55rem;
    }

    .ebay-hero-subhead {
        font-size: 1.125rem;
        max-width: 26rem;
        margin-bottom: 1.15rem;
        line-height: 1.45;
    }

    .ebay-hero-footnote {
        display: block;
        font-size: 0.75rem;
    }

    .ebay-hero-cta-pill.ebay-hero-btn {
        min-height: 44px;
        padding: 11px 28px;
        font-size: 1rem;
    }

    .ebay-hero-cards-collage .ebay-hero-rotating-card-frame {
        max-height: 198px;
    }

    .ebay-hero-cards-tilted {
        max-width: 500px;
    }

    .ebay-hero-cards-tilted .ebay-hero-rotating-card-frame {
        width: 188px;
        height: 188px;
    }

    .ebay-hero-cards-stair .ebay-hero-stair-card .ebay-hero-rotating-card-frame {
        width: 200px;
        height: 172px;
    }
}

@media (max-width: 575.98px) {
    .ebay-hero-container .ebay-hero-carousel {
        min-height: max(200px, calc((100vw - 24px) * 600 / 1740));
    }

    .ebay-hero-cover-content {
        max-width: 72%;
        padding: 0.75rem 0.85rem 2.1rem;
    }

    .ebay-hero-cover-title {
        font-size: clamp(1rem, 4.2vw, 1.2rem);
    }

    .ebay-hero-cta-pill--white {
        min-height: 34px;
        padding: 7px 14px;
        font-size: 0.75rem;
    }

    .ebay-hero-carousel .slick-prev,
    .ebay-hero-carousel .slick-next,
    .ebay-hero-autoplay-toggle {
        width: 28px !important;
        height: 28px !important;
    }

    .ebay-hero-carousel .slick-prev {
        right: 72px !important;
    }

    .ebay-hero-carousel .slick-next {
        right: 40px !important;
    }

    .ebay-hero-autoplay-toggle {
        right: 6px;
        bottom: 6px;
    }
}

/* ========== Bay9ja Product Details Page ========== */
@media (min-width: 992px) {
    .ebay-product-layout .ebay-product-gallery {
        flex: 0 0 58%;
        max-width: 58%;
    }
    .ebay-product-layout .ebay-product-details {
        flex: 0 0 42%;
        max-width: 42%;
    }
}
@media (max-width: 991.98px) {
    .ebay-product-layout > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/* Bay9ja Action Buttons - stacked, pill shape */
.ebay-action-buttons .ebay-btn-primary,
.ebay-action-buttons .ebay-btn-outline {
    width: 100%;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9999px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.ebay-action-buttons .ebay-btn-primary {
    background: var(--ebay-blue) !important;
    border: none !important;
    color: #fff !important;
}
.ebay-action-buttons .ebay-btn-primary:hover {
    background: var(--ebay-blue-hov) !important;
    color: #fff !important;
}
.ebay-action-buttons .ebay-btn-outline {
    background: #fff !important;
    border: 2px solid var(--ebay-blue) !important;
    color: var(--ebay-blue) !important;
}
.ebay-action-buttons .ebay-btn-outline:hover {
    background: #f7f7f7 !important;
    color: var(--ebay-blue) !important;
    border-color: var(--ebay-blue) !important;
}
.ebay-action-buttons .ebay-btn-watchlist i {
    font-size: 16px;
}
.ebay-product-layout .ebay-product-details h1 {
    font-size: 1.5rem;
    font-weight: 700;
}
.ebay-product-layout .ebay-product-details .right-side-cws {
    justify-content: flex-start !important;
}
.ebay-product-layout #description {
    margin-top: 2rem;
}
.ebay-product-layout #description .border {
    border-color: #e5e5e5 !important;
    border-radius: 8px;
}
.ebay-product-details .right-side-cws .compare,
.ebay-product-details .right-side-cws .wishlist,
.ebay-product-details .right-side-cws .share {
    color: var(--ebay-blue);
}

/* Publishing sample triggers — Amazon-style pills below cover */
.publishing-sample-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 4px;
}

.publishing-sample-pill {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #888c8c;
    border-radius: 999px;
    background: #fff;
    color: #0f1111;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding: 9px 14px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.publishing-sample-pill:hover,
.publishing-sample-pill:focus {
    background: #f7fafa;
    border-color: #0f1111;
    color: #0f1111;
    outline: none;
}

.publishing-sample-pill--audio svg {
    flex-shrink: 0;
}

body.publishing-sample-modal-open .modal-backdrop.show {
    opacity: 0.72;
}

/* Read sample — Amazon Look Inside overlay */
.publishing-read-sample-modal {
    padding: 0 !important;
}

.publishing-read-sample-modal .modal-dialog {
    max-width: 100%;
    width: 100%;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.publishing-read-sample-content {
    border: none;
    border-radius: 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: "Amazon Ember", Arial, sans-serif;
}

.publishing-read-sample-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #0f1111;
    color: #fff;
    padding: 0 18px;
    min-height: 48px;
    font-size: 13px;
}

.publishing-read-sample-topbar-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.publishing-read-sample-topbar-label {
    font-weight: 700;
    white-space: nowrap;
}

.publishing-read-sample-format-btn {
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    background: transparent;
    color: #fff;
    cursor: default;
}

.publishing-read-sample-format-btn.is-active {
    background: #fff;
    color: #0f1111;
}

.publishing-read-sample-topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.publishing-read-sample-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.publishing-read-sample-share svg {
    flex-shrink: 0;
}

.publishing-read-sample-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 5px 12px;
    white-space: nowrap;
}

.publishing-read-sample-close-x {
    font-size: 20px;
    line-height: 1;
    font-weight: 300;
}

.publishing-read-sample-toolbar {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 2fr) minmax(120px, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #d5d9d9;
    background: #fff;
}

.publishing-read-sample-back {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #007185;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.publishing-read-sample-back-icon {
    flex-shrink: 0;
}

.publishing-read-sample-toolbar-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.publishing-read-sample-tool {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #0f1111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.publishing-read-sample-tool:hover {
    background: #f0f2f2;
}

.publishing-read-sample-aa {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.03em;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
}

.publishing-read-sample-toolbar-title {
    justify-self: center;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    color: #0f1111;
    text-align: center;
    line-height: 1.35;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.publishing-read-sample-body-wrap {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
    position: relative;
    overflow: auto;
}

.publishing-read-sample-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50vh;
    padding: 24px;
}

.publishing-read-sample-viewport {
    padding: 0 0 40px;
}

.publishing-read-sample-copyright {
    margin: 0;
    padding: 28px 20px 20px;
    text-align: center;
    font-size: 12px;
    color: #888c8c;
    font-weight: 400;
}

.publishing-read-sample-pages-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px 28px;
    min-height: 58vh;
}
.publishing-read-sample-pages-stack-wrap {
    flex: 1 1 auto;
    max-width: 640px;
    min-width: 0;
}
.publishing-read-sample-pages-stack {
    position: relative;
    min-height: 460px;
    margin: 0 auto;
}
.publishing-read-sample-page-sheet {
    background: #fff;
    border: 1px solid #d5d9d9;
    box-shadow: 0 14px 36px rgba(15, 17, 17, 0.14);
    border-radius: 2px;
    min-height: 440px;
    overflow: hidden;
}
.publishing-read-sample-page-sheet.is-front {
    position: relative;
    z-index: 2;
}
.publishing-read-sample-page-sheet.is-behind {
    position: absolute;
    top: 10px;
    left: 12px;
    right: -12px;
    bottom: -10px;
    z-index: 1;
    opacity: 0.55;
    transform: scale(0.985);
    pointer-events: none;
}
.publishing-read-sample-page-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    padding: 24px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.publishing-read-sample-page-image {
    display: block;
    width: min(100%, 320px);
    max-height: 400px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(15, 17, 17, 0.12);
}
.publishing-read-sample-page-text {
    padding: 36px 32px 40px;
    line-height: 1.75;
    color: #0f1111;
    text-align: left;
}
.publishing-read-sample-page-nav {
    width: 40px;
    height: 40px;
    border: 1px solid #d5d9d9;
    border-radius: 50%;
    background: #fff;
    color: #0f1111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.publishing-read-sample-page-nav:disabled {
    opacity: 0.35;
    cursor: default;
}
.publishing-read-sample-page-indicator {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #565959;
}
.publishing-read-sample-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: min(320px, calc(100% - 24px));
    background: #fff;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 17, 17, 0.14);
    padding: 12px;
}
.publishing-read-sample-panel--search {
    top: 56px;
    right: 56px;
}
.publishing-read-sample-panel--text {
    top: 56px;
    right: 12px;
}
.publishing-read-sample-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #0f1111;
}
.publishing-read-sample-panel-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #565959;
    cursor: pointer;
    padding: 0 4px;
}
.publishing-read-sample-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow: auto;
}
.publishing-read-sample-toc-item {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #007185;
    cursor: pointer;
}
.publishing-read-sample-toc-item:hover,
.publishing-read-sample-toc-item.is-active {
    background: #f0f2f2;
    color: #0f1111;
}
.publishing-read-sample-search-input {
    width: 100%;
    border: 1px solid #d5d9d9;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 14px;
}
.publishing-read-sample-search-meta {
    margin: 8px 0 0;
    font-size: 12px;
    color: #565959;
}
.publishing-read-sample-font-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.publishing-read-sample-font-opt {
    border: 1px solid #d5d9d9;
    border-radius: 6px;
    background: #fff;
    padding: 8px 6px;
    font-size: 13px;
    cursor: pointer;
}
.publishing-read-sample-font-opt.is-active {
    border-color: #007185;
    box-shadow: inset 0 0 0 1px #007185;
}
.publishing-read-sample-hit {
    background: #fff3bf;
    padding: 0 1px;
}
.publishing-read-sample-tool[aria-expanded="true"] {
    background: #f0f2f2;
}

.publishing-read-sample-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 120px);
    border: 0;
    background: #fff;
}

/* Audio sample — Audible-style player */
.publishing-audio-sample-dialog {
    max-width: 420px;
    width: calc(100vw - 24px);
}

.publishing-audio-sample-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 17, 17, 0.18);
}

.publishing-audio-sample-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 0;
}

.publishing-audio-sample-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.publishing-audio-sample-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #131921;
    cursor: pointer;
    padding: 4px;
}

.publishing-audio-sample-body {
    padding: 0 24px 28px;
    text-align: center;
}

.publishing-audio-sample-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 280px;
}

.publishing-audio-cover {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 17, 17, 0.15);
    margin: 0 auto 16px;
    display: block;
}

.publishing-audio-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    background: #ff6a00;
    color: #0f1111 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.publishing-audio-cta:hover {
    background: #fa8900;
    color: #0f1111 !important;
}

.publishing-audio-chapter {
    margin: 0 0 18px;
    font-size: 14px;
    color: #565959;
}

.publishing-audio-progress {
    height: 4px;
    background: #e3e6e6;
    border-radius: 999px;
    cursor: pointer;
    margin-bottom: 8px;
}

.publishing-audio-progress-fill {
    position: relative;
    height: 100%;
    width: 0;
    background: #ff6a00;
    border-radius: 999px;
    transition: width 0.08s linear;
}

.publishing-audio-progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff6a00;
    box-shadow: 0 0 0 2px #fff;
}

.publishing-audio-times {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #565959;
    margin-bottom: 18px;
}

.publishing-audio-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: 18px;
}

.publishing-audio-skip {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #131921;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.publishing-audio-skip-icon {
    font-size: 14px;
    line-height: 1;
}

.publishing-audio-play {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #131921;
    color: #fff;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(19, 25, 33, 0.28);
}

.publishing-audio-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 8px;
    text-align: center;
}

.publishing-audio-footer-item {
    border: 0;
    background: transparent;
    color: #565959;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 2px;
    cursor: pointer;
    min-width: 0;
}

.publishing-audio-volume-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0 8px;
}
.publishing-audio-volume-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #131921;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.publishing-audio-volume-slider {
    flex: 1 1 auto;
    accent-color: #ff6a00;
    cursor: pointer;
}
.publishing-audio-chapters-panel {
    margin-top: 8px;
    border: 1px solid #e3e6e6;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}
.publishing-audio-chapter-item {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e3e6e6;
    background: #fff;
    text-align: left;
    padding: 10px 12px;
    font-size: 13px;
    color: #0f1111;
    cursor: pointer;
}
.publishing-audio-chapter-item:last-child {
    border-bottom: 0;
}
.publishing-audio-chapter-item.is-active {
    background: #fff4e5;
    color: #c45500;
    font-weight: 600;
}
.publishing-audio-footer-item:disabled {
    opacity: 0.55;
    cursor: default;
}

.publishing-audio-footer-value,
.publishing-audio-footer-icon {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    color: #0f1111;
}

.publishing-audio-footer-label {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    color: #565959;
}

.publishing-audio-preview-note {
    font-size: 12px;
    color: #565959;
}

@media (max-width: 575.98px) {
    .publishing-sample-pill {
        flex: 1 1 100%;
    }

    .publishing-read-sample-topbar {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 10px;
    }

    .publishing-read-sample-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .publishing-read-sample-toolbar {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        padding: 12px 14px;
    }

    .publishing-read-sample-back {
        justify-self: center;
        order: 1;
    }

    .publishing-read-sample-toolbar-title {
        order: 2;
        white-space: normal;
        font-size: 14px;
    }

    .publishing-read-sample-toolbar-actions {
        justify-self: center;
        order: 3;
    }

    .publishing-audio-sample-dialog {
        max-width: 100%;
        margin: 0;
        min-height: 100vh;
        display: flex;
        align-items: stretch;
    }

    .publishing-audio-sample-content {
        min-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .publishing-audio-sample-body {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Publishing format selector — matches eBay PDP purchase flow */
.bay9ja-ebay-storefront .publishing-format-heading,
body.bay9ja-light-ui .publishing-format-heading {
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    margin: 0 0 8px;
}

.publishing-format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.publishing-format-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 76px;
    box-sizing: border-box;
}

.publishing-format-card:hover {
    border-color: #9ca3af;
    background: #fafafa;
}

.publishing-format-card.is-active {
    border-color: var(--ebay-blue, #0053da);
    background: #fff;
    box-shadow: 0 0 0 1px var(--ebay-blue, #0053da);
}

.publishing-format-card:focus {
    outline: none;
}

.publishing-format-card:focus-visible {
    border-color: var(--ebay-blue, #0053da);
    box-shadow: 0 0 0 3px rgba(0, 83, 218, 0.2);
}

.publishing-format-card .format-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.publishing-format-card .format-price {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-top: 4px;
}

.publishing-format-card .format-sub {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.3;
}

.publishing-format-offer {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f7f8fa;
    padding: 16px 18px;
}

.publishing-format-offer .deal-badge {
    display: inline-block;
    background: #cc0c39;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.publishing-format-offer-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.publishing-format-offer .offer-discount {
    font-size: 16px;
    line-height: 1;
}

.publishing-format-offer .offer-price {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.publishing-format-offer .offer-list {
    font-size: 13px;
    color: #6b7280;
}

.publishing-format-offer .offer-list del {
    color: #6b7280;
}

@media (max-width: 575.98px) {
    .publishing-format-grid {
        grid-template-columns: 1fr;
    }
}

/* Product page pricing area - eBay style */
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-pricing-label {
    color: #4b5563 !important;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-card {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-name {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-meta a {
    color: #111827;
    font-size: 13px;
    text-decoration: underline;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-message-btn {
    border: 1px solid #9ca3af;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 22px;
    line-height: 1;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-price-box {
    background: #f7f8fa !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    padding: 18px 20px !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-price-box h6 {
    font-size: 56px;
    line-height: 1.05;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: -0.02em;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-price-box h6 .opacity-70 {
    opacity: 1 !important;
    color: #6b7280 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-purchase-panel {
    border: 1px solid #d1d5db !important;
    border-style: solid !important;
    border-radius: 12px !important;
    padding: 18px 20px 20px !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-purchase-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-stock-block {
    flex: 1 1 auto;
    min-width: 0;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-block {
    flex: 0 0 auto;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-stock-meta .ebay-pdp-available-line {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--ebay-blue) !important;
    opacity: 1 !important;
    line-height: 1.3;
    margin-bottom: 4px !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-stock-meta .ebay-pdp-min-qty-line {
    font-size: 13px !important;
    color: #4b5563 !important;
    line-height: 1.35;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-row {
    align-items: center;
    justify-content: flex-end;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    color: #9ca3af !important;
    text-transform: uppercase;
    padding-right: 10px !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-action-buttons--with-meta {
    margin-top: 2px;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-purchase-panel #chosen_price {
    color: #111827 !important;
    font-size: 46px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}
.bay9ja-ebay-storefront .ebay-product-details #chosen_price_div {
    display: none !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-stock-meta p:first-child {
    color: var(--ebay-blue) !important;
    font-weight: 700 !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-row .pr-20px {
    padding-right: 12px !important;
    color: #6b7280 !important;
    font-weight: 600 !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-box {
    border: 1px solid #d1d5db !important;
    border-radius: 9999px !important;
    background: #fff;
    min-height: 40px;
    padding: 0 4px;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-box input {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    width: 52px !important;
    line-height: 1.1 !important;
}
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-box .inc-btn,
.bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-box .dec-btn {
    width: 34px !important;
    height: 40px !important;
}
@media (max-width: 575.98px) {
    .bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-purchase-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-qty-row {
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-seller-name {
        font-size: 18px;
    }
    .bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-price-box h6 {
        font-size: 40px;
    }
    .bay9ja-ebay-storefront .ebay-product-details .ebay-pdp-purchase-panel #chosen_price {
        font-size: 38px !important;
    }
}

/* Product page — Today's Deal (matches homepage section tone) */
.ebay-pdp-deal-banner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--ebay-blue, #0053da);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    gap: 0.5rem;
}
.ebay-pdp-deal-badge {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #191919;
    letter-spacing: -0.01em;
}
.ebay-pdp-deal-subtext {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6b7280;
}
@media (max-width: 575.98px) {
    .ebay-pdp-deal-banner {
        flex-direction: column;
        align-items: flex-start !important;
    }
}
.product-details-nav-tab .nav-link {
    color: #565656 !important;
}
.product-details-nav-tab .nav-link:hover {
    color: var(--ebay-blue) !important;
}

/* ========== Bay9ja About this item section ========== */
.ebay-about-item-box {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    overflow: hidden;
}
.ebay-about-item-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    background: #fff;
}
.ebay-about-item-tab {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ebay-blue);
    padding: 11px 14px 10px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #fff;
    background: #fff;
}
.ebay-about-item-topline {
    font-size: 12px;
    padding: 10px 20px 0;
}
.ebay-about-item-disclaimer {
    color: #6b6b6b;
}
.ebay-about-item-id {
    color: #6b6b6b;
}
.ebay-about-item-id strong {
    color: #000;
}
.ebay-about-item-meta {
    font-size: 12px;
    color: #707070;
    padding: 8px 20px 12px;
}
.ebay-about-item-body {
    padding: 24px 20px;
}
.ebay-about-item-section {
    margin-bottom: 24px;
}
.ebay-about-item-section:last-child {
    margin-bottom: 0;
}
.ebay-about-item-heading {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin: 0 0 18px 0;
    line-height: 1.1;
}
.ebay-about-item-row {
    display: flex;
    align-items: flex-start;
    padding: 7px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.ebay-about-item-row:last-child {
    border-bottom: none;
}
.ebay-about-item-label {
    color: #707070;
    flex: 0 0 38%;
    max-width: 230px;
}
.ebay-about-item-value {
    color: #191919;
    flex: 1;
    font-weight: 500;
}
.ebay-about-link {
    color: var(--ebay-blue);
    text-decoration: none;
}
.ebay-about-link:hover {
    color: var(--ebay-blue-hov);
    text-decoration: underline;
}
.ebay-about-item-description {
    font-size: 15px;
    color: #1f1f1f;
    line-height: 1.65;
    border-top: 1px solid #efefef;
    padding-top: 14px;
}
.ebay-about-item-description p {
    margin-bottom: 0.5em;
}
.ebay-about-item-description p:last-child {
    margin-bottom: 0;
}
.ebay-about-item-footer {
    margin-top: 16px;
}
.ebay-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid #d3d3d3;
    color: #000;
    transition: background 0.2s, border-color 0.2s;
}
.ebay-back-to-top:hover {
    background: #e8e8e8;
    border-color: #999;
    color: #000;
}
@media (max-width: 991px) {
    .ebay-about-item-heading {
        font-size: 28px;
    }
    .ebay-about-item-label {
        flex-basis: 42%;
    }
}

/* ========== Premium refinements - Bay9ja style polish ========== */
/* Same layout, colors, look & feel - elevated feel via typography, shadows, transitions */

.ebay-page {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero - refined depth and transitions */
.ebay-hero-banner {
    transition: box-shadow 0.3s ease;
}
.ebay-hero-banner:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.ebay-hero-promo {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.ebay-hero-headline {
    letter-spacing: -0.02em;
}
.ebay-hero-cta,
.ebay-hero-cta-light {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-hero-cta:hover,
.ebay-hero-cta-light:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hero product cards - subtle hover (compact banner) */
.ebay-hero-card,
.ebay-hero-card-stair,
.ebay-hero-grid-card,
.ebay-hero-featured-img {
    transition: box-shadow 0.2s ease;
}
.ebay-hero-card:hover,
.ebay-hero-card-stair:hover,
.ebay-hero-grid-card:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(1):hover { --tw: -8deg; }
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(2):hover { --tw: 4deg; }
.ebay-hero-cards-tilted .ebay-hero-card:nth-child(3):hover { --tw: 12deg; }
.ebay-hero-single-img .ebay-hero-featured-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.ebay-hero-product {
    transition: transform 0.2s ease;
}
.ebay-hero-product:hover {
    transform: translateY(-2px);
}
.ebay-hero-product-img {
    transition: box-shadow 0.25s ease;
}
.ebay-hero-product:hover .ebay-hero-product-img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Recommended sections - premium card polish */
.ebay-recommended-section {
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.ebay-rec-card {
    transition: transform 0.25s ease;
}
.ebay-rec-card:hover {
    transform: translateY(-2px);
}
.ebay-rec-card-img-wrap {
    transition: box-shadow 0.25s ease;
}
.ebay-rec-card:hover .ebay-rec-card-img-wrap {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.ebay-rec-title,
.ebay-rec-price {
    transition: color 0.2s ease;
}
.ebay-rec-carousel .slick-arrow {
    transition: box-shadow 0.2s ease, color 0.2s ease;
}

/* Product cards (listing grid) - premium hover */
.ebay-product-card {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.ebay-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.ebay-product-img-wrap img {
    transition: transform 0.4s ease;
}
.ebay-product-card:hover .ebay-product-img-wrap img {
    transform: scale(1.03);
}

/* Image slide (when using slider images) */
.ebay-hero-image-slide img {
    transition: transform 0.5s ease;
}
.ebay-hero-image-slide:hover img {
    transform: scale(1.02);
}

/* Categories & shop sections */
.ebay-categories-section,
.ebay-shop-section {
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Trust strip */
.ebay-trust-strip-section {
    background: #fff;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
.ebay-trust-strip-headline {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.ebay-trust-strip-subheadline {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px !important;
}
.ebay-trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.ebay-trust-item {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 14px 14px 12px;
    border-radius: 14px;
    border: 0;
    background: #fff;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.ebay-trust-item:hover {
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: none;
    text-decoration: none;
}
.ebay-trust-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #1242ad;
    background: #ecf2ff;
    font-size: 19px;
    line-height: 1;
    margin-bottom: 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.ebay-trust-item:hover .ebay-trust-icon {
    color: var(--ebay-blue);
    background: #e2ecff;
}
.ebay-trust-title {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}
.ebay-trust-text {
    display: block;
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.4;
    max-width: 210px;
}

/* Homepage platform story — align with ebay-home-shell (1300px) sections */
.ebay-platform-story {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 24px 0 22px;
}
.ebay-platform-story-body {
    font-size: 13px;
    color: #333;
    line-height: 1.85;
    max-width: none;
}
.ebay-platform-story-body p {
    margin: 0 0 7px;
}
.ebay-platform-story-body p:first-child {
    margin-bottom: 10px;
}
.ebay-platform-story-body p:last-child {
    margin-bottom: 0;
}
.ebay-platform-story-title {
    font-size: 24px;
    line-height: 1.35;
    color: #111;
    display: inline-block;
}
.ebay-trust-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ebay-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Live listings preview */
.ebay-live-listings-section {
    background: #fff;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}
.ebay-live-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ebay-live-tabs-wrap::-webkit-scrollbar {
    display: none;
}
.ebay-live-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: max-content;
}
.ebay-live-tab {
    border: 1px solid var(--ebay-border);
    background: var(--ebay-surface);
    color: #374151;
    border-radius: var(--ebay-btn-radius);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    min-height: 36px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.ebay-live-tab--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.2;
}
.ebay-live-tab:hover {
    border-color: #c7d2fe;
    color: var(--ebay-blue);
}
.ebay-live-tab:focus-visible {
    outline: none;
    box-shadow: var(--ebay-focus-ring);
}
.ebay-live-tab.is-active {
    background: var(--ebay-blue);
    color: #fff;
    border-color: var(--ebay-blue);
}
.ebay-live-tab.is-active:hover {
    color: #fff;
    background: var(--ebay-blue-hov);
    border-color: var(--ebay-blue-hov);
}
.ebay-live-card {
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-live-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.ebay-live-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ebay-live-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}
.ebay-live-card:hover .ebay-live-img-wrap img {
    transform: scale(1.04);
}
.ebay-live-view-details {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(17,24,39,0.78);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.ebay-live-card:hover .ebay-live-view-details {
    opacity: 1;
    transform: translateY(0);
}
.ebay-live-status-tag {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 8px;
    color: #fff;
}
.ebay-live-status-tag.is-auction {
    background: #dc2626;
}
.ebay-live-status-tag.is-buy {
    background: #059669;
}
.ebay-live-card-body {
    padding: 10px;
}
.ebay-live-title {
    min-height: 36px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 6px;
}
.ebay-live-price {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 3px;
}
.ebay-live-price span {
    color: var(--ebay-blue);
    font-size: 14px;
    font-weight: 700;
}
.ebay-live-urgency {
    font-size: 11px;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 16px;
    margin-bottom: 6px;
}
.ebay-live-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: #6b7280;
}
.ebay-live-trust i,
.ebay-live-location i {
    margin-right: 2px;
}
.ebay-live-trust {
    color: #047857;
    font-weight: 700;
}
.ebay-live-sticky-cta {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 13px;
    padding: 10px 20px;
    box-shadow: 0 10px 22px rgba(0, 83, 218, 0.35);
}

/* 48 Hours Ongoing Deals (Bay Live-like layout) */
.ebay-ongoing-drops-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.ebay-ongoing-drops-track-wrap {
    position: relative;
}
.ebay-ongoing-drops-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ebay-ongoing-drops-track::-webkit-scrollbar {
    display: none;
}
.ebay-ongoing-drops-card {
    flex: 0 0 195px;
    width: 195px;
    display: block;
}
.ebay-ongoing-drops-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f3f4f6;
}
.ebay-ongoing-drops-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebay-ongoing-drops-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 8px;
    background: #34c759;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.ebay-ongoing-drops-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}
.ebay-ongoing-drops-host {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ebay-ongoing-drops-body {
    padding-top: 8px;
}
.ebay-ongoing-drops-title {
    color: #111827;
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}
.ebay-featured-clean-meta {
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ebay-ongoing-bid-summary {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f1f3f6;
}
.ebay-ongoing-bid-line {
    font-size: 13px;
    color: #4b5563;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ebay-ongoing-bid-line strong {
    color: #dc2626;
    font-size: 14px;
    font-weight: 700;
}
.ebay-ongoing-bid-meta {
    margin-top: 4px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}
.ebay-ongoing-bidders {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.25;
}
.ebay-ongoing-bidders i {
    margin-top: 1px;
    flex-shrink: 0;
}
.ebay-ongoing-ending {
    color: #92400e;
    font-weight: 700;
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
}
.ebay-ongoing-seller {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
}
.ebay-ongoing-seller i {
    margin-right: 3px;
}
.ebay-ongoing-drops-arrow {
    position: absolute;
    top: calc(42% - 20px);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d7dce6;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
    align-items: center;
    justify-content: center;
    color: #111827;
    z-index: 2;
}
.ebay-ongoing-drops-arrow.prev { left: 4px; }
.ebay-ongoing-drops-arrow.next { right: 4px; }

/* Seller onboarding CTA */
.ebay-seller-cta-banner {
    background: linear-gradient(135deg, #0a6f5d 0%, #0f7f6a 100%);
    padding: clamp(16px, 4.5%, 40px) clamp(16px, 3%, 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2.5%, 24px);
}
.ebay-seller-cta-content {
    max-width: 560px;
}
.ebay-seller-cta-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1rem, 0.92rem + 1.1vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}
.ebay-seller-cta-btn {
    font-size: 14px;
}
.ebay-seller-cta-media {
    flex: 0 0 52%;
    max-width: 56%;
    height: 92%;
    align-self: center;
    min-width: 0;
}
.ebay-seller-cta-collage {
    display: grid;
    grid-template-columns: 0.82fr 1fr 0.72fr 0.88fr 0.68fr;
    grid-template-rows: 1fr 0.88fr 1fr;
    gap: clamp(5px, 1%, 9px);
    width: 100%;
    height: 100%;
    align-content: center;
}
.ebay-seller-cta-collage-card {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    text-decoration: none;
}
.ebay-seller-cta-collage-card--1 {
    grid-area: 1 / 1 / 4 / 2;
    z-index: 1;
    transform: translateY(-3%);
}
.ebay-seller-cta-collage-card--2 {
    grid-area: 1 / 2 / 2 / 4;
    z-index: 2;
}
.ebay-seller-cta-collage-card--3 {
    grid-area: 2 / 2 / 4 / 3;
    z-index: 1;
}
.ebay-seller-cta-collage-card--4 {
    grid-area: 1 / 3 / 4 / 5;
    z-index: 3;
}
.ebay-seller-cta-collage-card--5 {
    grid-area: 1 / 5 / 2 / 6;
    z-index: 4;
}
.ebay-seller-cta-collage-card--6 {
    grid-area: 2 / 5 / 4 / 6;
    z-index: 2;
    transform: translateY(2%);
}
.ebay-seller-cta-collage .ebay-hero-rotating-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.ebay-seller-cta-collage .ebay-hero-rotating-card-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.ebay-seller-cta-collage .ebay-hero-rotate-img {
    object-fit: cover;
}

@media (min-width: 1200px) {
    .ebay-ongoing-drops-card {
        flex: 0 0 calc((100% - 60px) / 6.5);
        width: calc((100% - 60px) / 6.5);
        min-width: 190px;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .ebay-ongoing-drops-card {
        flex: 0 0 calc((100% - 48px) / 5.5);
        width: calc((100% - 48px) / 5.5);
        min-width: 175px;
    }
}
@media (max-width: 575.98px) {
    .ebay-ongoing-drops-card {
        flex: 0 0 160px;
        width: 160px;
    }
    .ebay-seller-cta-banner {
        padding: clamp(12px, 3.5%, 20px) clamp(12px, 3%, 16px);
    }
}

/* Post-hero: "The future in your hands" — 7 equal category cards (eBay-style) */
.ebay-future-categories-section {
    border-bottom: 1px solid #eef1f6;
}
.ebay-future-categories-title {
    margin-bottom: 1rem;
}
.ebay-future-categories-track-wrap {
    margin: 0;
}
.ebay-future-categories-track {
    --ebay-future-card-size: 104px;
    --ebay-future-card-gap: 0.75rem;
    display: flex;
    gap: var(--ebay-future-card-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 8px;
    scrollbar-width: none;
}
.ebay-future-categories-track::-webkit-scrollbar {
    display: none;
}
.ebay-future-category-chip {
    flex: 0 0 var(--ebay-future-card-size);
    width: var(--ebay-future-card-size);
    min-width: 0;
    text-align: left;
    scroll-snap-align: start;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}
.ebay-future-category-chip:hover .ebay-future-category-label {
    color: var(--ebay-blue);
    text-decoration: underline;
}
.ebay-future-category-img {
    width: 100%;
    height: var(--ebay-future-card-size);
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ebay-future-category-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
}
.ebay-future-category-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #191919;
    line-height: 1.35;
    text-align: left;
}

/* Post-hero: "Shopping made easy" compact CTA strip (not hero-sized) */
.ebay-shopping-easy-cta,
.ebay-shopping-easy-banner {
    width: 100%;
    background: #f2f2f2;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
}
.ebay-shopping-easy-copy {
    flex: 1 1 auto;
    min-width: 0;
}
.ebay-shopping-easy-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}
.ebay-shopping-easy-sub {
    margin: 0;
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.45;
    max-width: 36rem;
}
.ebay-shopping-easy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 9999px;
    background: #191919 !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none !important;
    border: 2px solid #191919;
    transition: transform 0.15s ease, background 0.15s ease;
}
.ebay-shopping-easy-btn:hover {
    background: #000 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (min-width: 576px) {
    .ebay-future-categories-track {
        --ebay-future-card-size: 120px;
        --ebay-future-card-gap: 1rem;
    }
}

@media (min-width: 768px) {
    .ebay-future-categories-track {
        --ebay-future-card-size: 132px;
        --ebay-future-card-gap: 1.125rem;
    }
    .ebay-shopping-easy-cta,
    .ebay-shopping-easy-banner {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 992px) {
    .ebay-shopping-easy-cta,
    .ebay-shopping-easy-banner {
        padding: 24px 40px;
    }
    .ebay-future-categories-track {
        --ebay-future-card-gap: 1rem;
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: var(--ebay-future-card-gap);
        overflow-x: visible;
        scroll-snap-type: none;
        padding: 0;
    }
    .ebay-future-category-chip {
        flex: none;
        width: 100%;
    }
    .ebay-future-category-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    .ebay-future-category-label {
        font-size: 0.8125rem;
        min-height: 2.65em;
    }
}

@media (min-width: 1200px) {
    .ebay-future-categories-track {
        --ebay-future-card-gap: 1.25rem;
    }
    .ebay-future-category-label {
        font-size: 0.875rem;
    }
}

@media (max-width: 575px) {
    .ebay-shopping-easy-cta,
    .ebay-shopping-easy-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1rem;
    }
    .ebay-shopping-easy-btn {
        width: 100%;
        justify-content: center;
    }
    .ebay-future-categories-track {
        --ebay-future-card-size: 96px;
        --ebay-future-card-gap: 0.65rem;
    }
    .ebay-future-category-img {
        border-radius: 12px;
    }
    .ebay-future-category-label {
        font-size: 0.75rem;
    }
}

/* Visual categories section */
.ebay-visual-categories-section {
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
}
.ebay-vcat-card {
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-vcat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.ebay-vcat-media {
    aspect-ratio: 4 / 3;
    background: #f4f6fb;
    overflow: hidden;
}
.ebay-vcat-media img {
    transition: transform 0.35s ease;
}
.ebay-vcat-card:hover .ebay-vcat-media img {
    transform: scale(1.04);
}
.ebay-vcat-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a8a;
    font-size: 34px;
}
.ebay-vcat-body {
    padding: 10px;
}
.ebay-vcat-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}
.ebay-vcat-count {
    margin-top: 3px;
    font-size: 12px;
    color: #6b7280;
}

/* All categories page */
.ebay-categories-page {
    padding-bottom: 1rem;
}
.ebay-categories-hero {
    background: var(--ebay-surface);
    border-bottom: 1px solid var(--ebay-border);
}
.ebay-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--ebay-muted);
}
.ebay-breadcrumb a {
    color: var(--ebay-ink);
    font-weight: 600;
    text-decoration: none;
}
.ebay-breadcrumb a:hover {
    color: var(--ebay-blue);
    text-decoration: underline;
}
.ebay-breadcrumb-sep {
    color: #9ca3af;
}
.ebay-breadcrumb-current {
    color: var(--ebay-muted);
    font-weight: 500;
}
.ebay-categories-title {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    font-weight: 700;
    color: var(--ebay-ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ebay-categories-subtitle {
    font-size: 0.9375rem;
    color: var(--ebay-muted);
    max-width: 36rem;
}
.ebay-categories-directory {
    background: var(--ebay-page-bg);
}
.ebay-cat-group {
    background: var(--ebay-surface);
    border: 1px solid var(--ebay-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.ebay-cat-group-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid var(--ebay-border);
    color: var(--ebay-ink);
    transition: background 0.18s ease;
}
.ebay-cat-group-head:hover {
    background: #eff6ff;
    color: var(--ebay-ink);
}
.ebay-cat-group-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--ebay-border);
    background: #fff;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ebay-cat-group-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebay-cat-group-thumb i {
    font-size: 1.35rem;
    color: var(--ebay-blue);
}
.ebay-cat-group-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.ebay-cat-group-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.ebay-cat-group-meta {
    font-size: 0.75rem;
    color: var(--ebay-muted);
}
.ebay-cat-group-chevron {
    font-size: 1.125rem;
    color: var(--ebay-muted);
}
.ebay-cat-group-body {
    padding: 1rem;
}
.ebay-cat-column-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ebay-ink);
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.ebay-cat-column-title:hover {
    color: var(--ebay-blue);
}
.ebay-cat-link-list {
    list-style: none;
    padding: 0;
}
.ebay-cat-link-list.is-collapsed li:nth-child(n+7) {
    display: none;
}
.ebay-cat-link {
    display: block;
    padding: 0.2rem 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}
.ebay-cat-link:hover {
    color: var(--ebay-blue);
    text-decoration: underline;
}
.ebay-cat-more-btn {
    margin-top: 0.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ebay-blue);
    cursor: pointer;
}
.ebay-cat-more-btn:hover {
    text-decoration: underline;
}
.ebay-categories-empty {
    background: var(--ebay-surface);
    border: 1px solid var(--ebay-border);
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
}

/* All sellers page */
.ebay-sellers-page {
    padding-bottom: 1rem;
}
.ebay-sellers-hero {
    background: var(--ebay-surface);
    border-bottom: 1px solid var(--ebay-border);
}
.ebay-sellers-title {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    font-weight: 700;
    color: var(--ebay-ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ebay-sellers-subtitle {
    font-size: 0.9375rem;
    color: var(--ebay-muted);
    max-width: 40rem;
}
.ebay-seller-tile {
    background: var(--ebay-surface);
    border: 1px solid var(--ebay-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.ebay-seller-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #c7d7fe;
}
.ebay-seller-tile-link {
    padding: 1rem;
}
.ebay-seller-tile-logo-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    border: 1px solid var(--ebay-border);
    background: #fff;
    overflow: hidden;
}
.ebay-seller-tile-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ebay-seller-tile-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.ebay-seller-tile-badge--verified {
    color: #2563eb;
}
.ebay-seller-tile-body {
    text-align: center;
}
.ebay-seller-tile-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ebay-ink);
    margin: 0 0 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebay-seller-tile-reviews {
    font-size: 0.6875rem;
    color: var(--ebay-muted);
    margin-left: 0.15rem;
}
.ebay-seller-tile-cta {
    width: 100%;
    font-size: 0.75rem;
    min-height: 36px;
    padding: 0.35rem 0.75rem;
}
.ebay-sellers-empty {
    background: var(--ebay-surface);
    border: 1px solid var(--ebay-border);
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
}
.ebay-sellers-pagination .pagination {
    gap: 0.25rem;
}
.ebay-sellers-pagination .page-link {
    border-radius: 9999px;
    border-color: var(--ebay-border);
    color: var(--ebay-ink);
    font-weight: 600;
    font-size: 0.8125rem;
}
.ebay-sellers-pagination .page-item.active .page-link {
    background: var(--ebay-blue);
    border-color: var(--ebay-blue);
}

/* Featured products (enhanced trust/urgency cards) */
.ebay-featured-card {
    border: 1px solid #e6e9ef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.ebay-featured-img-wrap {
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
}
.ebay-featured-main-image {
    transition: transform 0.35s ease;
}
.ebay-featured-card:hover .ebay-featured-main-image {
    transform: scale(1.04);
}
.ebay-featured-badge-stack {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ebay-featured-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 160px;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}
.ebay-featured-badge.escrow {
    background: rgba(255,255,255,0.95);
    color: #1d4ed8;
}
.ebay-featured-badge.verified {
    background: #ecfdf5;
    color: #047857;
}
.ebay-featured-badge.auction {
    background: #fef2f2;
    color: #b91c1c;
}
.ebay-featured-top-flag {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    border-radius: 999px;
    padding: 3px 8px;
    background: #111827;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}
.ebay-featured-hover-cta {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%) translateY(6px);
    z-index: 2;
    background: rgba(17,24,39,0.9);
    color: #fff !important;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.ebay-featured-card:hover .ebay-featured-hover-cta {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Live auctions section */
.ebay-live-auctions-section {
    background: #fffaf5;
    border-top: 1px solid #ffe7d1;
    border-bottom: 1px solid #ffe7d1;
}
.ebay-auction-card {
    border: 1px solid #f3d9bf;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebay-auction-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.11);
}
.ebay-auction-media {
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    overflow: hidden;
}
.ebay-auction-media img {
    transition: transform 0.35s ease;
}
.ebay-auction-card:hover .ebay-auction-media img {
    transform: scale(1.05);
}
.ebay-auction-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #dc2626;
}
.ebay-auction-badge.ending {
    background: #f97316;
}
.ebay-auction-body {
    padding: 10px;
}
.ebay-auction-title {
    min-height: 36px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 6px;
}
.ebay-auction-price {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 4px;
}
.ebay-auction-price span {
    font-size: 14px;
    color: #dc2626;
    font-weight: 700;
}
.ebay-auction-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 6px;
}
.ebay-auction-timer {
    font-weight: 700;
    color: #92400e;
}
.ebay-auction-timer.is-hot {
    color: #dc2626;
}
.ebay-auction-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
}
.ebay-auction-trust {
    color: #047857;
    font-weight: 700;
}
.ebay-auction-location {
    color: #6b7280;
}
.ebay-auction-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
}
.ebay-auction-card:hover .ebay-auction-cta {
    background: #b91c1c;
}

/* Bay Live promo banner */
.ebay-live-promo-banner {
    background: linear-gradient(135deg, #4f2cff 0%, #3d20cf 100%);
    padding: clamp(14px, 3.5%, 32px) clamp(14px, 2.5%, 28px);
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
    gap: clamp(10px, 2%, 18px);
    align-items: center;
}
.ebay-live-promo-kicker {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.ebay-live-promo-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.35rem, 1rem + 2.2vw, 2.75rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 540px;
}
.ebay-live-promo-subtitle {
    margin: 0 0 12px;
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.875rem, 0.75rem + 0.9vw, 1.375rem);
    line-height: 1.25;
    font-weight: 500;
}
.ebay-live-promo-btn {
    font-size: 17px;
    padding: 0.7rem 1.35rem;
}
.ebay-live-promo-media {
    position: relative;
    height: 100%;
    min-height: 0;
    align-self: stretch;
}
.ebay-live-promo-spark {
    position: absolute;
    color: rgba(255,255,255,0.75);
    font-size: 32px;
    line-height: 1;
}
.ebay-live-promo-spark.spark-1 { left: 5%; top: 22%; }
.ebay-live-promo-spark.spark-2 { left: 8%; top: 52%; font-size: 30px; }
.ebay-live-promo-card {
    position: absolute;
    width: clamp(88px, 24%, 168px);
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.22);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.1);
}
.ebay-live-promo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.ebay-live-pill {
    position: absolute;
    left: 8px;
    top: 8px;
    border-radius: 999px;
    background: #2cd060;
    color: #063112;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 4px 8px;
}
.ebay-live-promo-card.c1 { left: 18%; top: 8%; transform: rotate(-8deg); }
.ebay-live-promo-card.c2 { left: 38%; top: 22%; z-index: 2; transform: rotate(9deg); }
.ebay-live-promo-card.c3 { left: 60%; top: 2%; transform: rotate(-5deg); }

/* Designer goods promo banner */
.ebay-designer-banner {
    border: 1px solid #e8eaee;
    background: #fff;
    padding: clamp(14px, 2.5%, 24px);
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: clamp(10px, 1.5%, 16px);
    align-items: stretch;
}
.ebay-designer-left {
    padding: 8px 8px 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ebay-designer-title {
    font-size: 46px;
    font-weight: 700;
    color: #111827;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}
.ebay-designer-subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6b7280;
}
.ebay-designer-btn,
.ebay-cars-banner-btn {
    width: fit-content;
    font-size: 12px;
    padding: 0.55rem 1rem;
    min-height: 40px;
}
.ebay-designer-right {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    min-height: 0;
}
.ebay-designer-main,
.ebay-designer-mini {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    background: #f3f4f6;
}
.ebay-designer-main {
    min-height: 0;
    height: 100%;
}
.ebay-designer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ebay-designer-mini {
    min-height: 0;
    height: 100%;
}
.ebay-designer-main img,
.ebay-designer-mini img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}
.ebay-designer-main:hover img,
.ebay-designer-mini:hover img {
    transform: scale(1.04);
}
.ebay-designer-mini-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Shop Cars banner */
.ebay-cars-banner {
    border: 1px solid #e8eaee;
    background: #fff;
    padding: clamp(14px, 2.5%, 24px);
    display: grid;
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    gap: clamp(10px, 1.5%, 16px);
    align-items: stretch;
}
.ebay-cars-banner-left {
    padding: 8px 8px 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ebay-cars-banner-title {
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}
.ebay-cars-banner-subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6b7280;
}
.ebay-cars-banner-right {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 12px;
    height: 100%;
    min-height: 0;
}
.ebay-cars-banner-main,
.ebay-cars-banner-mini {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    background: #f3f4f6;
}
.ebay-cars-banner-main {
    min-height: 0;
    height: 100%;
}
.ebay-cars-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ebay-cars-banner-mini {
    min-height: 0;
    height: 100%;
}
.ebay-cars-banner-main img,
.ebay-cars-banner-mini img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}
.ebay-cars-banner-main:hover img,
.ebay-cars-banner-mini:hover img {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .ebay-trust-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ebay-live-promo-banner {
        grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    }
    .ebay-live-promo-card.c1 { left: 12%; top: 8%; }
    .ebay-live-promo-card.c2 { left: 35%; top: 22%; }
    .ebay-live-promo-card.c3 { left: 58%; top: 4%; }
    .ebay-designer-banner {
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    }
    .ebay-cars-banner {
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    }
}
@media (max-width: 575.98px) {
    .ebay-trust-strip-headline {
        font-size: 18px;
        margin-bottom: 4px;
    }
    .ebay-trust-strip-subheadline {
        font-size: 12px;
        margin-bottom: 10px !important;
    }
    .ebay-trust-strip-grid {
        gap: 8px;
    }
    .ebay-trust-item {
        min-height: 112px;
        padding: 11px 10px 10px;
    }
    .ebay-trust-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    .ebay-trust-title {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .ebay-trust-text {
        font-size: 11px;
    }
    .ebay-trust-link {
        font-size: 11px;
        margin-top: 6px;
    }
    .ebay-live-promo-banner {
        padding: clamp(12px, 3%, 18px) clamp(12px, 2.5%, 16px);
        grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
    }
    .ebay-live-promo-kicker {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .ebay-live-promo-title {
        font-size: 29px;
        margin-bottom: 8px;
    }
    .ebay-live-promo-subtitle {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .ebay-live-promo-btn {
        font-size: 14px;
        padding: 8px 14px;
    }
    .ebay-live-promo-media {
        min-height: 170px;
    }
    .ebay-live-promo-card {
        width: 110px;
        border-radius: 10px;
    }
    .ebay-live-pill {
        font-size: 9px;
        padding: 3px 6px;
    }
    .ebay-live-promo-card.c1 { left: 4%; top: 14%; }
    .ebay-live-promo-card.c2 { left: 34%; top: 26%; }
    .ebay-live-promo-card.c3 { left: 63%; top: 10%; }
    .ebay-live-sticky-cta {
        bottom: 12px;
    }
    .ebay-designer-right {
        grid-template-columns: 1fr;
    }
    .ebay-designer-main {
        min-height: 210px;
    }
    .ebay-designer-mini {
        min-height: 110px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   KYC VERIFICATION BADGES — Tier 1 Silver / Tier 2 Gold / Tier 3 VIP
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Base badge chip ─────────────────────────────────────────────────── */
.kyc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
    vertical-align: middle;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}
.kyc-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.25) 0%, transparent 60%);
    pointer-events: none;
}
.kyc-badge .kyc-icon { font-size: 13px; line-height: 1; }

/* ── Tier 1 — Silver ─────────────────────────────────────────────────── */
.kyc-badge-silver {
    background: linear-gradient(135deg, #c8d6e0 0%, #8fa8bb 50%, #b0c4d4 100%);
    border-color: #7a9ab0;
    color: #1c3344;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    box-shadow: 0 1px 3px rgba(140,158,181,.5), inset 0 1px 0 rgba(255,255,255,.35);
}

/* ── Tier 2 — Gold ───────────────────────────────────────────────────── */
.kyc-badge-gold {
    background: linear-gradient(135deg, #f7d774 0%, #c9a430 50%, #e8c55a 100%);
    border-color: #a07c1a;
    color: #4a3000;
    text-shadow: 0 1px 0 rgba(255,255,255,.4);
    box-shadow: 0 1px 4px rgba(180,140,30,.5), inset 0 1px 0 rgba(255,255,255,.35);
}
.kyc-badge-gold::after {
    content: '';
    position: absolute;
    top: 0; left: -40%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
    animation: kyc-shine 3s infinite;
}

/* ── Tier 3 — VIP ────────────────────────────────────────────────────── */
.kyc-badge-vip {
    background: linear-gradient(135deg, #a855f7 0%, #6d28d9 50%, #9333ea 100%);
    border-color: #5b21b6;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
    box-shadow: 0 1px 6px rgba(109,40,217,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.kyc-badge-vip::after {
    content: '';
    position: absolute;
    top: 0; left: -40%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    animation: kyc-shine 2.5s infinite;
}

/* ── Shine keyframe ──────────────────────────────────────────────────── */
@keyframes kyc-shine {
    0%   { left: -40%; }
    60%  { left: 120%; }
    100% { left: 120%; }
}

/* ── Sizes ───────────────────────────────────────────────────────────── */
.kyc-badge-sm  { font-size: 10px; padding: 1px 6px; }
.kyc-badge-lg  { font-size: 13px; padding: 4px 12px; border-radius: 24px; }
.kyc-badge-xl  { font-size: 15px; padding: 6px 16px; border-radius: 28px; }

/* ── Unverified (Tier 0) ─────────────────────────────────────────────── */
.kyc-badge-unverified {
    background: #f1f1f1;
    border-color: #ccc;
    color: #888;
    font-weight: 600;
}

/* ── Seller card badge overlay ───────────────────────────────────────── */
.seller-kyc-overlay {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 2;
}

/* ── Profile page badge block ────────────────────────────────────────── */
.kyc-profile-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.06);
}
.kyc-profile-block .kyc-badge { font-size: 13px; padding: 4px 12px; }

/* ── VIP crown pulse ─────────────────────────────────────────────────── */
.kyc-badge-vip .kyc-icon {
    animation: crown-pulse 2s ease-in-out infinite;
}
@keyframes crown-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.15); }
}

/* ── Speed-first UI (body.bay9ja-light-ui) — flatter, calmer marketplace chrome ─ */
body.bay9ja-light-ui .ebay-page {
    background: #fafafa;
}

body.bay9ja-light-ui .ebay-hero-card,
body.bay9ja-light-ui .ebay-hero-card-stair,
body.bay9ja-light-ui .ebay-live-card,
body.bay9ja-light-ui .ebay-vcat-card,
body.bay9ja-light-ui .ebay-auction-card,
body.bay9ja-light-ui .ebay-product-card,
body.bay9ja-light-ui .ebay-rec-card,
body.bay9ja-light-ui .ebay-rec-card-img-wrap,
body.bay9ja-light-ui .ebay-ongoing-drops-card,
body.bay9ja-light-ui .ebay-designer-main,
body.bay9ja-light-ui .ebay-designer-mini,
body.bay9ja-light-ui .ebay-cars-banner-main,
body.bay9ja-light-ui .ebay-cars-banner-mini,
body.bay9ja-light-ui .ebay-featured-cat-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
}

body.bay9ja-light-ui .ebay-hero-card:hover,
body.bay9ja-light-ui .ebay-hero-card-stair:hover,
body.bay9ja-light-ui .ebay-live-card:hover,
body.bay9ja-light-ui .ebay-vcat-card:hover,
body.bay9ja-light-ui .ebay-auction-card:hover,
body.bay9ja-light-ui .ebay-product-card:hover,
body.bay9ja-light-ui .ebay-ongoing-drops-card:hover,
body.bay9ja-light-ui .ebay-designer-main:hover,
body.bay9ja-light-ui .ebay-designer-mini:hover,
body.bay9ja-light-ui .ebay-featured-cat-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

body.bay9ja-light-ui .ebay-rec-card:hover .ebay-rec-card-img-wrap {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Hero: smaller lift / shadow (keeps tilt angles via --tw) */
body.bay9ja-light-ui .ebay-hero-card:hover,
body.bay9ja-light-ui .ebay-hero-card-stair:hover {
    transform: translateY(-2px) rotate(var(--tw, 0deg)) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

body.bay9ja-light-ui .ebay-hero-single-img .ebay-hero-featured-img:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

body.bay9ja-light-ui .ebay-hero-cta:hover,
body.bay9ja-light-ui .ebay-hero-cta-light:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* ========== Mobile storefront — native width, no desktop sideways scroll ========== */
@media (max-width: 991.98px) {
    body.bay9ja-ebay-storefront .ebay-page,
    body.bay9ja-ebay-storefront .ebay-header {
        max-width: 100%;
    }

    body.bay9ja-ebay-storefront .ebay-page .container {
        max-width: 1300px;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .ebay-ongoing-drops-track-wrap,
    .fashion-live-track-wrap,
    .cars-live-track-wrap,
    .property-live-track-wrap,
    .baylive-track-wrap {
        max-width: 100%;
        overflow: hidden;
    }

    .ebay-live-tabs-wrap {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -4px;
        margin-right: -4px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .ebay-ongoing-drops-track,
    .fashion-live-track,
    .cars-live-track,
    .property-live-track,
    .baylive-track {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .ebay-live-tabs {
        min-width: max-content;
        width: auto;
    }

    .ebay-live-tab {
        font-size: 11px;
        padding: 7px 12px;
    }

    .ebay-search-wrap .typed-search-box {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .ebay-hero-headline,
    .ebay-live-promo-title,
    .ebay-designer-title,
    .ebay-cars-banner-title {
        font-size: clamp(1.35rem, 5vw, 2rem);
        line-height: 1.15;
    }

    .ebay-seller-cta-title {
        white-space: normal;
    }

    .ebay-seller-cta-banner {
        flex-direction: row;
        text-align: left;
    }

    .ebay-seller-cta-media {
        flex: 0 0 48%;
        max-width: 52%;
        height: 88%;
    }

    .ebay-seller-cta-collage {
        gap: 4px;
    }

    .ebay-about-item-heading {
        font-size: clamp(1.35rem, 5vw, 2rem);
    }

    .ebay-mega-menu-promo-title {
        font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    }
}

@media (max-width: 575.98px) {
    body.bay9ja-ebay-storefront .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ebay-ongoing-drops-card,
    .fashion-live-card,
    .cars-live-card,
    .property-live-card {
        flex: 0 0 72vw;
        width: 72vw;
        max-width: 280px;
        min-width: 0;
    }

    .ebay-trust-strip-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Category listing promos (eBay-style) ========== */
.ebay-cat-listing-page-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.ebay-cat-listing-promos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ebay-cat-listing-hero {
    position: relative;
    display: block;
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #e8eef5;
    color: #111827;
}

.ebay-cat-listing-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.ebay-cat-listing-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.08) 100%);
}

.ebay-cat-listing-hero__content {
    position: relative;
    z-index: 1;
    max-width: 52%;
    padding: clamp(1.25rem, 3vw, 2.5rem);
}

.ebay-cat-listing-hero__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.35rem;
    color: #111827;
}

.ebay-cat-listing-hero__subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    margin: 0 0 1rem;
    color: #374151;
}

.ebay-cat-listing-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.25rem;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
}

.ebay-cat-listing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ebay-cat-listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    border-radius: 16px;
    background: #f3f4f6;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ebay-cat-listing-card:hover {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    transform: translateY(-1px);
}

.ebay-cat-listing-card__body {
    padding: 1rem 1rem 0.5rem;
    flex: 1 1 auto;
}

.ebay-cat-listing-card__title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    max-width: 70%;
}

.ebay-cat-listing-card__arrow {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 1.25rem;
    line-height: 1;
    color: #111827;
}

.ebay-cat-listing-card__media {
    align-self: flex-end;
    width: 58%;
    max-height: 110px;
    margin-top: auto;
    padding-right: 0.5rem;
    padding-bottom: 0.25rem;
}

.ebay-cat-listing-card__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    object-position: bottom right;
}

@media (max-width: 991.98px) {
    .ebay-cat-listing-cards {
        grid-template-columns: 1fr;
    }

    .ebay-cat-listing-hero__content {
        max-width: 100%;
    }

    .ebay-cat-listing-card {
        min-height: 140px;
        flex-direction: row;
        align-items: stretch;
    }

    .ebay-cat-listing-card__body {
        flex: 1 1 50%;
        padding: 1rem;
    }

    .ebay-cat-listing-card__media {
        flex: 0 0 42%;
        width: 42%;
        max-height: none;
        padding: 0.5rem;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }
}

/* ========== Storefront light shell (product + home pages) ========== */
body.bay9ja-ebay-storefront,
body.bay9ja-light-ui.bay9ja-ebay-storefront {
    background: #f7f7f7 !important;
    color: #111827;
}

body.bay9ja-ebay-storefront .product-details,
body.bay9ja-ebay-storefront .product-details-page {
    background: transparent;
    color: #111827;
}

body.bay9ja-ebay-storefront .product-details .ebay-product-details,
body.bay9ja-ebay-storefront .product-details .ebay-product-gallery {
    background: transparent;
}

body.bay9ja-ebay-storefront .product-details-nav-tab .nav-tab-header {
    background: #ffffff !important;
}

/* ========== Bookstore live stream (Amazon Live-style) ========== */
.bookstore-live-stream-section {
    /* No section title — pad top like py-4 + ebay-section-head + title line */
    padding-top: calc(1.5rem + 1.5rem + 1rem) !important;
    padding-bottom: 1.5rem !important;
}
@media (max-width: 767.98px) {
    .bookstore-live-stream-section {
        padding-top: calc(1.25rem + 1.25rem + 0.75rem) !important;
    }
}
.bookstore-live-stream-grid {
    display: grid;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}
.bookstore-live-stream-video {
    display: block;
    color: inherit;
}
.bookstore-live-stream-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    aspect-ratio: 4 / 3;
    min-height: 300px;
}
.bookstore-live-stream-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.bookstore-live-stream-embed {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000;
}
.bookstore-live-stream-media.is-playing .bookstore-live-stream-watch {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.96);
}
.bookstore-live-stream-media.is-playing:hover .bookstore-live-stream-watch,
.bookstore-live-stream-media.is-playing.is-hovering .bookstore-live-stream-watch {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.bookstore-live-stream-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.bookstore-live-stream-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
}
.bookstore-live-stream-brand {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.bookstore-live-stream-watch {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.bookstore-live-stream-watch i {
    font-size: 16px;
}
.bookstore-live-stream-toolbar {
    position: absolute;
    left: 10px;
    bottom: 38px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.bookstore-live-stream-tool {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.bookstore-live-stream-tool i {
    font-size: 16px;
    line-height: 1;
}
.bookstore-live-stream-host {
    position: absolute;
    left: 10px;
    bottom: 74px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    font-size: 11px;
    max-width: calc(100% - 20px);
}
.bookstore-live-stream-host strong {
    font-size: 12px;
    font-weight: 700;
}
.bookstore-live-stream-caption-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 8px 10px 8px 72px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    min-height: 34px;
    display: flex;
    align-items: center;
}
.bookstore-live-stream-subtitle {
    font-size: 10px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bookstore-live-stream-products-wrap {
    min-width: 0;
    overflow: hidden;
}
.bookstore-live-stream-products {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: opacity 0.18s ease;
}
.bookstore-live-stream-products.is-rotating {
    opacity: 0.55;
}
.bookstore-live-stream-products::-webkit-scrollbar {
    display: none;
}
.bookstore-live-stream-product {
    flex: 0 0 150px;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.bookstore-live-stream-product:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.bookstore-live-stream-product.is-featured {
    border: 2px solid #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15);
}
.bookstore-live-stream-featured-label {
    font-size: 11px;
    font-weight: 700;
    color: #c2410c;
}
.bookstore-live-stream-product-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background: #f3f4f6;
}
.bookstore-live-stream-product-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 6px;
    box-sizing: border-box;
    display: block;
}
.bookstore-live-stream-product-title {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}
.bookstore-live-stream-product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}
.bookstore-live-stream-product-price {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.bookstore-live-stream-product-list {
    font-size: 12px;
    color: #6b7280;
    text-decoration: line-through;
}
@media (max-width: 991.98px) {
    .bookstore-live-stream-grid {
        grid-template-columns: 1fr;
    }
    .bookstore-live-stream-media {
        aspect-ratio: 16 / 10;
    }
    .bookstore-live-stream-host {
        bottom: 68px;
    }
}

/* ========== Popular authors & series ========== */
.bookstore-authors-section {
    padding-top: 18px !important;
    padding-bottom: 28px !important;
}
.bookstore-authors-title {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}
.bookstore-authors-track-wrap {
    position: relative;
}
.bookstore-authors-track {
    display: flex;
    gap: 28px;
    align-items: center;
    overflow-x: auto;
    padding: 8px 2px 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bookstore-authors-track::-webkit-scrollbar {
    display: none;
}
.bookstore-author-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    transition: opacity 0.15s ease;
}
.bookstore-author-chip:hover {
    opacity: 0.78;
    color: #111827;
}
.bookstore-author-chip-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
}
.bookstore-author-chip-name {
    font-size: clamp(0.95rem, 1.4vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", serif;
    text-transform: none;
}
.bookstore-author-chip:nth-child(even) .bookstore-author-chip-name {
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(0.82rem, 1.2vw, 1.05rem);
}

@media (max-width: 991.98px) {
    .bookstore-live-stream-grid {
        grid-template-columns: 1fr;
    }
    .bookstore-live-stream-media {
        min-height: 200px;
    }
    .bookstore-live-stream-product {
        flex: 0 0 140px;
        width: 140px;
    }
}
@media (max-width: 575.98px) {
    .bookstore-authors-track {
        gap: 18px;
    }
}
