/*
 * AMCO Marketplace Light UI - v0.3.121
 * Plugin-owned frontend presentation layer. No Astra Pro dependency.
 * The original dark interface remains underneath and is restored when the
 * user selects Dark from the AMCO theme control.
 */

body.amco-as-marketplace-ui {
    --amco-ui-bg: #f4f7fb;
    --amco-ui-panel: #ffffff;
    --amco-ui-panel-soft: #f8fafc;
    --amco-ui-navy: #071a36;
    --amco-ui-navy-2: #0b2447;
    --amco-ui-text: #10213b;
    --amco-ui-muted: #66748a;
    --amco-ui-border: #dce4ee;
    --amco-ui-blue: #315df5;
    --amco-ui-blue-dark: #2047db;
    --amco-ui-green: #169b55;
    --amco-ui-red: #ef4444;
    --amco-ui-orange: #f59e0b;
    --amco-ui-shadow: 0 10px 30px rgba(18, 42, 75, .08);
    --amco-ui-shadow-soft: 0 5px 18px rgba(18, 42, 75, .06);
}

body.amco-as-marketplace-ui.amco-theme-light-active {
    background: var(--amco-ui-bg) !important;
    color: var(--amco-ui-text) !important;
}

body.amco-as-marketplace-ui.amco-theme-light-active .site-content,
body.amco-as-marketplace-ui.amco-theme-light-active .site-main,
body.amco-as-marketplace-ui.amco-theme-light-active .entry-content,
body.amco-as-marketplace-ui.amco-theme-light-active main {
    background-color: var(--amco-ui-bg) !important;
}

body.amco-as-marketplace-ui.amco-theme-light-active .amco-auction-wrap {
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 28px 18px 54px !important;
    color: var(--amco-ui-text) !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Auction overview header */
body.amco-theme-light-active .amco-marketplace-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 22px;
    padding: 6px 4px 16px;
    border-bottom: 1px solid #e5ebf2;
}
body.amco-theme-light-active .amco-marketplace-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
body.amco-theme-light-active .amco-marketplace-hero-mark {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border: 2px solid var(--amco-ui-navy);
    border-radius: 50%;
    color: var(--amco-ui-navy);
    background: #fff;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.03em;
}
body.amco-theme-light-active .amco-marketplace-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
body.amco-theme-light-active .amco-marketplace-title-row h1 {
    margin: 0;
    color: var(--amco-ui-navy) !important;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -.035em;
}
body.amco-theme-light-active .amco-marketplace-hero-copy p {
    margin: 8px 0 0;
    color: var(--amco-ui-muted) !important;
    font-size: 15px;
}
body.amco-theme-light-active .amco-marketplace-live-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(22,163,74,.18);
}
body.amco-theme-light-active .amco-marketplace-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}
body.amco-theme-light-active .amco-marketplace-stat {
    min-width: 76px;
    padding-left: 16px;
    border-left: 1px solid #dde5ef;
    text-align: center;
}
body.amco-theme-light-active .amco-marketplace-stat strong {
    display: block;
    color: var(--amco-ui-navy) !important;
    font-size: 21px;
    line-height: 1;
    font-weight: 950;
}
body.amco-theme-light-active .amco-marketplace-stat span {
    display: block;
    margin-top: 5px;
    color: var(--amco-ui-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}
body.amco-theme-light-active .amco-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid #d5dfeb;
    border-radius: 999px;
    background: #fff;
    color: var(--amco-ui-navy);
    box-shadow: var(--amco-ui-shadow-soft);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}
body.amco-theme-light-active .amco-theme-toggle-sun {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #dce9ff;
    color: #1f5fe0;
}
body.amco-theme-light-active .amco-theme-toggle-moon { color: #607087; }
body.amco-theme-light-active .amco-public-account-cta { margin: 0 !important; }
body.amco-theme-light-active .amco-public-account-button-secondary {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    border: 1px solid #cbd7e6 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--amco-ui-navy) !important;
    box-shadow: var(--amco-ui-shadow-soft) !important;
}

/* Registration / deposit */
body.amco-theme-light-active .amco-event-registration-box,
body.amco-theme-light-active .amco-registration-approved-box.amco-continuous-registration-approved {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 14px 0 28px !important;
    padding: 23px 26px !important;
    border-radius: 14px !important;
    background: #fff !important;
    border: 1px solid #78c995 !important;
    box-shadow: var(--amco-ui-shadow) !important;
    color: var(--amco-ui-text) !important;
}
body.amco-theme-light-active .amco-event-registration-box h3,
body.amco-theme-light-active .amco-event-registration-box h4,
body.amco-theme-light-active .amco-event-registration-box strong,
body.amco-theme-light-active .amco-registration-approved-box h3,
body.amco-theme-light-active .amco-registration-approved-box strong,
body.amco-theme-light-active .amco-continuous-registration-item strong {
    color: var(--amco-ui-navy) !important;
}
body.amco-theme-light-active .amco-event-registration-box p,
body.amco-theme-light-active .amco-event-registration-box label,
body.amco-theme-light-active .amco-registration-approved-box.amco-continuous-registration-approved p,
body.amco-theme-light-active .amco-registration-approved-box.amco-continuous-registration-approved label,
body.amco-theme-light-active .amco-settlement-help,
body.amco-theme-light-active .amco-deposit-upgrade-note {
    color: #42536a !important;
}
body.amco-theme-light-active .amco-continuous-registration-item span,
body.amco-theme-light-active .amco-deposit-upgrade-summary strong {
    color: #728098 !important;
}
body.amco-theme-light-active .amco-deposit-refundable-notice {
    background: #effaf3 !important;
    border-color: #c7ead3 !important;
    color: #274d36 !important;
}
body.amco-theme-light-active .amco-continuous-registration-toggle {
    background: #f7f9fc !important;
    border-color: #d7e0eb !important;
    color: #33455f !important;
}
body.amco-theme-light-active .amco-continuous-registration-toggle:hover {
    background: #edf3ff !important;
    border-color: #9bb7ff !important;
    color: #2047db !important;
}
body.amco-theme-light-active .amco-continuous-registration-toggle .amco-toggle-icon {
    background: #e8eef6 !important;
}
body.amco-theme-light-active .amco-deposit-upgrade-box,
body.amco-theme-light-active .amco-settlement-form,
body.amco-theme-light-active .amco-deposit-payment-box {
    background: #f8fafc !important;
    border-color: #dce4ee !important;
    color: var(--amco-ui-text) !important;
}
body.amco-theme-light-active .amco-deposit-upgrade-pending {
    background: #fffbeb !important;
    border-color: #f3ce69 !important;
}
body.amco-theme-light-active .amco-deposit-upgrade-summary span {
    background: #fff !important;
    color: var(--amco-ui-text) !important;
    border: 1px solid #e2e8f0;
}
body.amco-theme-light-active .amco-settlement-choice,
body.amco-theme-light-active .amco-settlement-choice small,
body.amco-theme-light-active .amco-refund-pending-box,
body.amco-theme-light-active .amco-refund-pending-box span {
    color: #42536a !important;
}
body.amco-theme-light-active .amco-deposit-payment-box input,
body.amco-theme-light-active .amco-deposit-payment-box select,
body.amco-theme-light-active .amco-deposit-payment-box textarea,
body.amco-theme-light-active .amco-event-registration-form input,
body.amco-theme-light-active .amco-event-registration-form select,
body.amco-theme-light-active .amco-event-registration-form textarea {
    background: #fff !important;
    color: var(--amco-ui-text) !important;
    border-color: #ccd7e4 !important;
}
body.amco-theme-light-active .amco-deposit-tier-option { color: var(--amco-ui-text) !important; }
body.amco-theme-light-active .amco-deposit-tier-cap { color: #b56b00 !important; }
body.amco-theme-light-active .amco-terms-check {
    background: #f8fafc !important;
    border-color: #dce4ee !important;
    color: #2b3e58 !important;
}

/* Featured / closing soon */
body.amco-theme-light-active .amco-catalogue-carousel-section {
    margin: 18px 0 24px !important;
    padding: 20px 18px 16px;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--amco-ui-shadow);
}
body.amco-theme-light-active .amco-catalogue-carousel-heading { margin-bottom: 13px !important; }
body.amco-theme-light-active .amco-carousel-heading-copy h3 {
    position: relative;
    margin: 0 !important;
    padding-left: 31px;
    color: var(--amco-ui-navy) !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    letter-spacing: -.02em;
}
body.amco-theme-light-active .amco-carousel-heading-copy h3 em {
    color: var(--amco-ui-red);
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
}
body.amco-theme-light-active .amco-carousel-heading-copy p {
    margin: 3px 0 0 31px;
    color: var(--amco-ui-muted);
    font-size: 12px;
}
body.amco-theme-light-active .amco-carousel-heading-featured h3::before,
body.amco-theme-light-active .amco-carousel-heading-closing_soon h3::before {
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 23px;
    line-height: 1;
}
body.amco-theme-light-active .amco-carousel-heading-featured h3::before { content: "★"; color: #f7b923; }
body.amco-theme-light-active .amco-carousel-heading-closing_soon h3::before { content: "◷"; color: var(--amco-ui-red); }
body.amco-theme-light-active .amco-carousel-arrow {
    width: 36px !important;
    height: 36px !important;
    background: #fff !important;
    color: #243752 !important;
    border-color: #d6e0ec !important;
    box-shadow: 0 3px 10px rgba(18,42,75,.06);
}
body.amco-theme-light-active .amco-carousel-arrow:hover { background: #eef4ff !important; border-color: #9ab6ff !important; }
body.amco-theme-light-active .amco-catalogue-carousel-track {
    grid-auto-columns: minmax(205px, 245px) !important;
    gap: 14px !important;
    scrollbar-color: #b8c3d1 transparent;
}
body.amco-theme-light-active .amco-catalogue-carousel-item {
    position: relative;
    background: #fff !important;
    color: var(--amco-ui-text) !important;
    border-color: #dce4ee !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 13px rgba(18,42,75,.05);
}
body.amco-theme-light-active .amco-catalogue-carousel-item:hover {
    border-color: #9db5f8 !important;
    box-shadow: 0 9px 22px rgba(37,79,170,.11);
}
body.amco-theme-light-active .amco-carousel-image-wrap {
    position: relative;
    background: #edf1f5 !important;
}
body.amco-theme-light-active .amco-carousel-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0,0,0,.12);
}
body.amco-theme-light-active .amco-carousel-badge-featured { background: #315df5; }
body.amco-theme-light-active .amco-carousel-badge-closing { background: #f04444; }
body.amco-theme-light-active .amco-carousel-title,
body.amco-theme-light-active .amco-carousel-current-bid { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-carousel-current-bid-label { color: #718096 !important; }

/* Filter + search toolbar */
body.amco-theme-light-active .amco-marketplace-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
    align-items: start;
    gap: 18px;
    margin: 14px 0 10px;
}
body.amco-theme-light-active .amco-catalogue-filter-shell { margin: 0 !important; }
body.amco-theme-light-active .amco-catalogue-filter-bar { gap: 9px !important; }
body.amco-theme-light-active .amco-catalogue-filter-button,
body.amco-theme-light-active button.amco-catalogue-filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px !important;
    border: 1px solid #d4deea !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #253a56 !important;
    box-shadow: 0 3px 9px rgba(18,42,75,.04);
    font-size: 13px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}
body.amco-theme-light-active .amco-catalogue-filter-button:hover,
body.amco-theme-light-active .amco-catalogue-filter-button.is-active {
    background: var(--amco-ui-blue) !important;
    border-color: var(--amco-ui-blue) !important;
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(49,93,245,.18);
}
body.amco-theme-light-active .amco-category-filter-panel {
    margin-top: 10px !important;
    padding: 12px !important;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    box-shadow: var(--amco-ui-shadow-soft);
}
body.amco-theme-light-active .amco-category-chip {
    background: #f6f8fb !important;
    color: #2b405e !important;
    border-color: #dce4ee !important;
}
body.amco-theme-light-active .amco-category-chip:hover,
body.amco-theme-light-active .amco-category-chip.is-active {
    background: #e9f0ff !important;
    color: #2047db !important;
    border-color: #9db7ff !important;
}
body.amco-theme-light-active .amco-catalogue-lot-search {
    position: relative;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    min-width: 0;
}
body.amco-theme-light-active .amco-catalogue-lot-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 9px 45px 9px 14px;
    border-radius: 10px;
    border: 1px solid #d2dce8;
    background: #fff;
    color: var(--amco-ui-text);
    font: inherit;
    outline: none;
    box-shadow: 0 3px 9px rgba(18,42,75,.04);
}
body.amco-theme-light-active .amco-catalogue-lot-search input[type="search"]:focus {
    border-color: #8ba9fa;
    box-shadow: 0 0 0 3px rgba(49,93,245,.10);
}
body.amco-theme-light-active .amco-catalogue-search-button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #1d3150;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
body.amco-theme-light-active .amco-catalogue-search-reset {
    margin-left: 8px;
    color: #54667e !important;
    font-size: 12px;
    font-weight: 800;
}
body.amco-theme-light-active .amco-catalogue-download-wrap { margin: 8px 0 14px !important; }
body.amco-theme-light-active .amco-catalogue-download-button {
    background: transparent !important;
    color: #315df5 !important;
    border-color: #cbd7e6 !important;
}
body.amco-theme-light-active .amco-catalogue-page-summary {
    margin: 16px 0 10px !important;
    color: #52657e !important;
    font-weight: 750;
}

/* Main catalogue cards - functionality unchanged, presentation lightened */
body.amco-theme-light-active .amco-lot-card {
    background: #fff !important;
    border-color: #dce4ee !important;
    box-shadow: var(--amco-ui-shadow-soft) !important;
    color: var(--amco-ui-text) !important;
}
body.amco-theme-light-active .amco-lot-card:hover { border-color: #b7c8df !important; }
body.amco-theme-light-active .amco-lot-image-wrap {
    background: #eef2f6 !important;
    border-color: #e0e7ef !important;
}
body.amco-theme-light-active .amco-lot-no-image { color: #8390a3 !important; }
body.amco-theme-light-active .amco-lot-number {
    background: #15243d !important;
    color: #fff !important;
}
body.amco-theme-light-active .amco-lot-title,
body.amco-theme-light-active .amco-lot-meta strong,
body.amco-theme-light-active .amco-card-current-bidder {
    color: var(--amco-ui-navy) !important;
}
body.amco-theme-light-active .amco-lot-meta,
body.amco-theme-light-active .amco-lot-meta span {
    color: #65748a !important;
}
body.amco-theme-light-active .amco-card-current-bid {
    color: var(--amco-ui-navy) !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-card-closing-time { color: #d13b3b !important; }
body.amco-theme-light-active .amco-watchlist-button {
    background: #fff !important;
    border-color: #ccd7e4 !important;
    color: #31455f !important;
}
body.amco-theme-light-active .amco-watchlist-button:hover,
body.amco-theme-light-active .amco-watchlist-button.is-active {
    background: #edf2ff !important;
    border-color: #829ef5 !important;
    color: #2047db !important;
}
body.amco-theme-light-active .amco-countdown {
    background: #f2f6ff !important;
    border-color: #d3def8 !important;
    color: var(--amco-ui-navy) !important;
}
body.amco-theme-light-active .amco-countdown .amco-time-value { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-countdown .amco-time-label { color: #687993 !important; }
body.amco-theme-light-active .amco-countdown .amco-time-divider { background: #ccd7e7 !important; }
body.amco-theme-light-active .amco-quick-bid-box {
    background: #f7f9fc !important;
    border-color: #dce4ee !important;
    color: var(--amco-ui-text) !important;
    box-shadow: none !important;
}
body.amco-theme-light-active .amco-quick-bid-title { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-card-auto-bid-max {
    background: #eef3fb !important;
    border-color: #d6e0ec !important;
    color: #5c6d84 !important;
}
body.amco-theme-light-active .amco-card-auto-bid-max strong { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-quick-bid-form select {
    background: #fff !important;
    color: var(--amco-ui-navy) !important;
    border-color: #cdd8e5 !important;
}
body.amco-theme-light-active .amco-lot-button {
    background: var(--amco-ui-blue) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(49,93,245,.16);
}
body.amco-theme-light-active .amco-lot-status-sold { background: #ecf9f0 !important; border-color: #acdcbc !important; }
body.amco-theme-light-active .amco-lot-status-unsold { background: #fff2f2 !important; border-color: #f4c4c4 !important; }
body.amco-theme-light-active .amco-lot-status-title,
body.amco-theme-light-active .amco-lot-status-sub,
body.amco-theme-light-active .amco-lot-status-winner { color: #263b56 !important; }
body.amco-theme-light-active .amco-quantity-lot-inline-summary,
body.amco-theme-light-active .amco-quantity-lot-heading,
body.amco-theme-light-active .amco-quantity-price-label { color: #ad6b00 !important; }
body.amco-theme-light-active .amco-quantity-lot-inline-summary strong { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-quantity-lot-panel {
    background: #fff9e9 !important;
    border-color: #f0d78d !important;
    color: #3c4859 !important;
}
body.amco-theme-light-active .amco-quantity-lot-note { color: #5d6878 !important; }

/* Pagination */
body.amco-theme-light-active .amco-lot-pagination .page-numbers {
    background: #fff !important;
    border-color: #d4deea !important;
    color: #324863 !important;
}
body.amco-theme-light-active .amco-lot-pagination a.page-numbers:hover,
body.amco-theme-light-active .amco-lot-pagination .page-numbers.current {
    background: var(--amco-ui-blue) !important;
    border-color: var(--amco-ui-blue) !important;
    color: #fff !important;
}

/* Modals */
body.amco-theme-light-active .amco-modal-box,
body.amco-theme-light-active .amco-quick-modal-box,
body.amco-theme-light-active .amco-lot-info-box {
    background: #fff !important;
    border-color: #dce4ee !important;
    color: var(--amco-ui-text) !important;
    box-shadow: 0 24px 65px rgba(8,29,61,.22) !important;
}
body.amco-theme-light-active .amco-modal-box h3,
body.amco-theme-light-active .amco-quick-modal-box h3,
body.amco-theme-light-active .amco-lot-info-box h2,
body.amco-theme-light-active .amco-lot-info-box h3,
body.amco-theme-light-active .amco-lot-info-box strong { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-modal-warning,
body.amco-theme-light-active .amco-quick-modal-warning { color: #a86400 !important; }
body.amco-theme-light-active .amco-quick-cancel-button,
body.amco-theme-light-active .amco-modal-cancel {
    background: #eef2f6 !important;
    color: #34465d !important;
    border-color: #d5dee9 !important;
}

/* Bottom marketplace benefits / Sell With Us strip */
body.amco-theme-light-active .amco-marketplace-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 20px;
    align-items: center;
    margin: 34px 0 4px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(105deg, #071a36, #0b2447);
    color: #fff;
    box-shadow: 0 14px 30px rgba(7,26,54,.15);
}
body.amco-theme-light-active .amco-marketplace-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
body.amco-theme-light-active .amco-marketplace-benefit-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    color: #66a0ff;
}
body.amco-theme-light-active .amco-marketplace-benefit-icon svg,
body.amco-theme-light-active .amco-marketplace-sell-cta svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
body.amco-theme-light-active .amco-marketplace-benefit strong,
body.amco-theme-light-active .amco-marketplace-benefit small { display: block; }
body.amco-theme-light-active .amco-marketplace-benefit strong { color: #fff !important; font-size: 12px; font-weight: 900; }
body.amco-theme-light-active .amco-marketplace-benefit small { margin-top: 2px; color: #c8d4e6; font-size: 10px; line-height: 1.25; }
body.amco-theme-light-active .amco-marketplace-sell-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3565ff, #4c5df5);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(49,93,245,.28);
    white-space: nowrap;
}
body.amco-theme-light-active .amco-marketplace-sell-cta span { width: 22px; height: 22px; }

/* Sell With Us - light content, dark brand hero/CTA */
body.amco-theme-light-active .amco-sell-page {
    color: var(--amco-ui-text) !important;
    --sell-card: #ffffff !important;
    --sell-line: #dce4ee !important;
    --sell-muted: #68778c !important;
}
body.amco-theme-light-active .amco-sell-type-grid article,
body.amco-theme-light-active .amco-sell-benefit-grid article,
body.amco-theme-light-active .amco-sell-route-grid article,
body.amco-theme-light-active .amco-sell-faq details,
body.amco-theme-light-active .amco-sell-form-card {
    background: #fff !important;
    border-color: #dce4ee !important;
    color: var(--amco-ui-text) !important;
    box-shadow: var(--amco-ui-shadow-soft);
}
body.amco-theme-light-active .amco-sell-section h2,
body.amco-theme-light-active .amco-sell-type-grid h3,
body.amco-theme-light-active .amco-sell-benefit-grid h3,
body.amco-theme-light-active .amco-sell-route-grid h3,
body.amco-theme-light-active .amco-sell-faq summary,
body.amco-theme-light-active .amco-sell-form label > span { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-sell-section p,
body.amco-theme-light-active .amco-sell-type-grid p,
body.amco-theme-light-active .amco-sell-benefit-grid p,
body.amco-theme-light-active .amco-sell-route-grid p,
body.amco-theme-light-active .amco-sell-faq details p { color: #66758a !important; }
body.amco-theme-light-active .amco-sell-process-section,
body.amco-theme-light-active .amco-sell-form-section,
body.amco-theme-light-active .amco-sell-fees {
    background: #fff !important;
    border-color: #dce4ee !important;
    box-shadow: var(--amco-ui-shadow);
}
body.amco-theme-light-active .amco-sell-form input[type=text],
body.amco-theme-light-active .amco-sell-form input[type=tel],
body.amco-theme-light-active .amco-sell-form input[type=email],
body.amco-theme-light-active .amco-sell-form input[type=number],
body.amco-theme-light-active .amco-sell-form select,
body.amco-theme-light-active .amco-sell-form textarea,
body.amco-theme-light-active .amco-sell-file,
body.amco-theme-light-active .amco-sell-checkboxes label {
    background: #f8fafc !important;
    border-color: #d5dfe9 !important;
    color: var(--amco-ui-text) !important;
}
body.amco-theme-light-active .amco-sell-form select option { background: #fff !important; color: var(--amco-ui-text) !important; }

/* Account / My Auctions pages */
body.amco-theme-light-active .amco-account-box,
body.amco-theme-light-active .amco-account-card,
body.amco-theme-light-active .amco-my-auctions-row {
    background: #fff !important;
    border-color: #dce4ee !important;
    color: var(--amco-ui-text) !important;
    box-shadow: var(--amco-ui-shadow-soft);
}
body.amco-theme-light-active .amco-account-box h1,
body.amco-theme-light-active .amco-account-box h2,
body.amco-theme-light-active .amco-account-box h3,
body.amco-theme-light-active .amco-account-card strong,
body.amco-theme-light-active .amco-my-auctions-row strong { color: var(--amco-ui-navy) !important; }
body.amco-theme-light-active .amco-account-help,
body.amco-theme-light-active .amco-account-small,
body.amco-theme-light-active .amco-account-box p { color: #627187 !important; }
body.amco-theme-light-active .amco-account-form input,
body.amco-theme-light-active .amco-account-form select,
body.amco-theme-light-active .amco-account-form textarea,
body.amco-theme-light-active .amco-my-auctions-event-filter select {
    background: #fff !important;
    color: var(--amco-ui-text) !important;
    border-color: #cdd8e5 !important;
}

@media (max-width: 1050px) {
    body.amco-theme-light-active .amco-marketplace-hero { align-items: flex-start; flex-direction: column; }
    body.amco-theme-light-active .amco-marketplace-hero-actions { width: 100%; justify-content: flex-start; }
    body.amco-theme-light-active .amco-marketplace-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.amco-theme-light-active .amco-marketplace-sell-cta { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    body.amco-theme-light-active .amco-auction-wrap { padding: 16px 10px 36px !important; }
    body.amco-theme-light-active .amco-marketplace-hero-main { align-items: flex-start; }
    body.amco-theme-light-active .amco-marketplace-hero-mark { width: 48px; height: 48px; flex-basis: 48px; font-size: 12px; }
    body.amco-theme-light-active .amco-marketplace-title-row h1 { font-size: 29px; }
    body.amco-theme-light-active .amco-marketplace-stat { padding-left: 0; padding-right: 14px; border-left: 0; border-right: 1px solid #dde5ef; }
    body.amco-theme-light-active .amco-marketplace-toolbar { grid-template-columns: 1fr; gap: 10px; }
    body.amco-theme-light-active .amco-catalogue-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body.amco-theme-light-active .amco-catalogue-carousel-section { padding: 16px 12px 12px; }
    body.amco-theme-light-active .amco-catalogue-carousel-track { grid-auto-columns: minmax(180px, 74vw) !important; }
    body.amco-theme-light-active .amco-continuous-registration-grid { grid-template-columns: 1fr 1fr !important; }
    body.amco-theme-light-active .amco-continuous-registration-item:last-child { grid-column: 1 / -1; }
    body.amco-theme-light-active .amco-marketplace-benefits { grid-template-columns: 1fr; gap: 14px; }
    body.amco-theme-light-active .amco-marketplace-sell-cta { grid-column: auto; }
}

/* Minimal styling for plugin-owned elements when the optional legacy Dark theme is selected. */
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero {
    display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 20px;padding:10px 0 18px;border-bottom:1px solid rgba(255,255,255,.1);color:#fff;
}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero-main,
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-title-row,
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero-actions {display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero-mark {width:54px;height:54px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;font-weight:950;font-size:13px}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-title-row h1 {margin:0;color:#fff;font-size:34px;font-weight:950}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero-copy p {margin:6px 0 0;color:#b8c3d4}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-live-badge {padding:6px 10px;border-radius:999px;background:#16a34a;color:#fff;font-size:12px;font-weight:900}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-stat {text-align:center;padding-left:14px;border-left:1px solid rgba(255,255,255,.13)}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-stat strong {display:block;color:#fff;font-size:20px}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-stat span {display:block;color:#9eabc0;font-size:10px;text-transform:uppercase;font-weight:800}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-theme-toggle {display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:#111827;color:#fff;font-weight:850;cursor:pointer}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-theme-toggle-sun {color:#facc15}.amco-theme-toggle-moon{color:#93a4bd}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-toolbar {display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,310px);gap:18px;align-items:start;margin:14px 0}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-catalogue-lot-search {position:relative;display:flex;align-items:center;margin:0}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-catalogue-lot-search input[type=search] {width:100%;height:42px;padding:9px 44px 9px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:#111827;color:#fff}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-catalogue-search-button {position:absolute;right:4px;top:4px;width:34px;height:34px;border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-catalogue-search-reset {margin-left:8px;color:#cbd5e1!important;font-size:12px}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-carousel-heading-copy p {margin:3px 0 0;color:#9ca3af;font-size:12px}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-carousel-badge {position:absolute;top:8px;left:8px;padding:4px 7px;border-radius:999px;background:#315df5;color:#fff;font-size:10px;font-weight:900;text-transform:uppercase}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-carousel-badge-closing {background:#ef4444}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-carousel-image-wrap {position:relative}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-benefits {display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:18px;align-items:center;margin:34px 0 4px;padding:18px 20px;border-radius:14px;background:#071a36;color:#fff}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-benefit {display:flex;align-items:center;gap:10px}.amco-marketplace-benefit-icon{width:30px;height:30px;color:#66a0ff}.amco-marketplace-benefit-icon svg,.amco-marketplace-sell-cta svg{width:100%;height:100%;fill:currentColor}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-benefit strong,body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-benefit small{display:block;color:#fff}.amco-marketplace-benefit small{font-size:10px;opacity:.72}
body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-sell-cta {display:inline-flex;align-items:center;gap:8px;padding:12px 17px;border-radius:10px;background:#315df5;color:#fff!important;text-decoration:none!important;font-weight:900}.amco-marketplace-sell-cta span{width:21px;height:21px}
@media(max-width:800px){body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-hero{align-items:flex-start;flex-direction:column}body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-toolbar{grid-template-columns:1fr}body.amco-as-marketplace-ui:not(.amco-theme-light-active) .amco-marketplace-benefits{grid-template-columns:1fr}}

/* v0.3.122 - exact mockup-style marketplace refinement */
body.amco-theme-light-active .amco-auction-wrap {
    max-width: 1340px !important;
    padding-top: 18px !important;
}
body.amco-theme-light-active .amco-marketplace-hero {
    background: transparent;
    margin-bottom: 18px;
    padding: 0 6px 18px;
    border-bottom: 0;
}
body.amco-theme-light-active .amco-marketplace-hero-mark {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    font-size: 16px;
    border-width: 3px;
    box-shadow: inset 0 0 0 4px #f2f6fb;
}
body.amco-theme-light-active .amco-marketplace-title-row h1 {
    font-size: clamp(34px, 4.2vw, 46px);
}
body.amco-theme-light-active .amco-marketplace-hero-copy p {
    color: #3f5169 !important;
    font-size: 20px;
    line-height: 1.35;
}
body.amco-theme-light-active .amco-marketplace-live-badge {
    background: #58a33f;
    border-radius: 10px;
    padding: 10px 14px;
    text-transform: uppercase;
    letter-spacing: .02em;
}
body.amco-theme-light-active .amco-marketplace-stat {
    min-width: 92px;
}
body.amco-theme-light-active .amco-marketplace-stat strong {
    font-size: 34px;
    letter-spacing: -.03em;
}
body.amco-theme-light-active .amco-marketplace-stat span {
    margin-top: 8px;
    font-size: 12px;
}
body.amco-theme-light-active .amco-theme-toggle {
    padding: 6px 8px 6px 12px;
    gap: 10px;
}
body.amco-theme-light-active .amco-theme-toggle-label {
    font-size: 14px;
}
body.amco-theme-light-active .amco-public-account-button-secondary {
    background: linear-gradient(180deg, #0f2144 0%, #09162f 100%) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.08) !important;
    min-height: 46px !important;
    padding: 10px 20px !important;
}

body.amco-theme-light-active .amco-event-registration-box,
body.amco-theme-light-active .amco-registration-approved-box.amco-continuous-registration-approved {
    padding: 28px 28px !important;
    border-radius: 18px !important;
    border-width: 2px !important;
}
body.amco-theme-light-active .amco-deposit-refundable-notice {
    border-radius: 14px !important;
}

body.amco-theme-light-active .amco-catalogue-carousel-section {
    margin: 18px 0 26px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.amco-theme-light-active .amco-catalogue-carousel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px !important;
}
body.amco-theme-light-active .amco-carousel-heading-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
body.amco-theme-light-active .amco-carousel-view-all {
    color: #5671b7 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
}
body.amco-theme-light-active .amco-carousel-view-all:hover { color: var(--amco-ui-blue) !important; }
body.amco-theme-light-active .amco-catalogue-carousel-track {
    grid-auto-columns: minmax(220px, 1fr) !important;
    grid-auto-flow: column !important;
    overflow-x: auto;
    padding-bottom: 6px;
}
body.amco-theme-light-active .amco-catalogue-carousel-item {
    border-radius: 16px !important;
    border: 1px solid #dde5ef !important;
    box-shadow: 0 4px 15px rgba(17,35,68,.07) !important;
    overflow: hidden;
}
body.amco-theme-light-active .amco-carousel-image-wrap {
    aspect-ratio: 1/1;
}
body.amco-theme-light-active .amco-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.amco-theme-light-active .amco-carousel-copy {
    padding: 12px 14px 16px !important;
}
body.amco-theme-light-active .amco-carousel-title {
    display: block;
    min-height: 52px;
    font-size: 14px !important;
    line-height: 1.25;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-carousel-current-bid-label {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 700;
}
body.amco-theme-light-active .amco-carousel-current-bid {
    display: block;
    margin-top: 3px;
    font-size: 18px !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-carousel-badge {
    border-radius: 10px;
    font-size: 12px;
    padding: 7px 9px;
    text-transform: none;
}
body.amco-theme-light-active .amco-carousel-badge-closing {
    background: linear-gradient(180deg, #ffb347 0%, #ff9d19 100%);
}

body.amco-theme-light-active .amco-marketplace-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px 0 14px;
}
body.amco-theme-light-active .amco-catalogue-filter-bar {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px !important;
}
body.amco-theme-light-active .amco-catalogue-filter-button,
body.amco-theme-light-active button.amco-catalogue-filter-button {
    min-height: 46px;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-catalogue-lot-search {
    max-width: 420px;
}
body.amco-theme-light-active .amco-catalogue-page-summary,
body.amco-theme-light-active .amco-catalogue-download-wrap {
    display: none !important;
}

body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}
body.amco-theme-light-active .amco-lot-card.amco-lot-card-market {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px !important;
    border-radius: 18px !important;
    border: 1px solid #dbe4ee !important;
    box-shadow: 0 5px 20px rgba(15,31,60,.07) !important;
    overflow: hidden;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-number {
    background: #0c1630 !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-watchlist-button,
body.amco-theme-light-active .amco-lot-card-market .amco-watchlist-card-button {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-watchlist-button .amco-watchlist-button-label,
body.amco-theme-light-active .amco-lot-card-market .amco-watchlist-card-button .amco-watchlist-button-label {
    display: none !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid #e4eaf1 !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 2px 2px !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-title {
    margin: 0 0 10px !important;
    min-height: 56px;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-card-quantity-summary-slot {
    min-height: 0;
    margin-bottom: 10px;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-meta {
    margin: 0;
}
body.amco-theme-light-active .amco-lot-card-market .amco-card-current-bid-line {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
body.amco-theme-light-active .amco-lot-card-market .amco-card-current-bid-line span {
    color: #74829a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-card-current-bid {
    color: #10213b !important;
    font-size: 18px !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-inline-countdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #ea544f;
    font-size: 15px;
    font-weight: 800;
}
body.amco-theme-light-active .amco-inline-countdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ef4444;
    font-size: 16px;
}
body.amco-theme-light-active .amco-inline-countdown.is-ending,
body.amco-theme-light-active .amco-inline-countdown.is-critical,
body.amco-theme-light-active .amco-inline-countdown-text {
    color: #ef4444;
}
body.amco-theme-light-active .amco-extension-notice-inline {
    margin-top: 8px;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    background: #fff8e5 !important;
    color: #9a6200 !important;
    border: 1px solid #f0d58b !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-button {
    margin-top: auto !important;
    min-height: 42px;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-lot-card-market .amco-bid-state-overlay {
    left: 10px;
    top: 10px;
    border-radius: 999px;
}
body.amco-theme-light-active .amco-lot-card-market .amco-card-status-wrap {
    margin-bottom: 14px;
}
body.amco-theme-light-active .amco-lot-card-market .amco-lot-status {
    border-radius: 12px;
    padding: 10px 12px;
}

@media (max-width: 1100px) {
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    }
}
@media (max-width: 860px) {
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
    body.amco-theme-light-active .amco-catalogue-carousel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    body.amco-theme-light-active .amco-carousel-heading-actions {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 580px) {
    body.amco-theme-light-active .amco-marketplace-hero-copy p {
        font-size: 16px;
    }
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid {
        grid-template-columns: 1fr !important;
    }
    body.amco-theme-light-active .amco-catalogue-filter-bar {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    body.amco-theme-light-active .amco-catalogue-lot-search {
        max-width: none;
    }
}

/* v0.3.123 - full mockup layout correction */
body.amco-as-marketplace-ui #masthead,
body.amco-as-marketplace-ui .site-header,
body.amco-as-marketplace-ui .ast-above-header-wrap,
body.amco-as-marketplace-ui .ast-primary-header-bar,
body.amco-as-marketplace-ui .ast-below-header-wrap,
body.amco-as-marketplace-ui .ast-mobile-header-wrap,
body.amco-as-marketplace-ui .entry-header,
body.amco-as-marketplace-ui .page-header {
    display: none !important;
}
body.amco-as-marketplace-ui.amco-theme-light-active .site-content,
body.amco-as-marketplace-ui.amco-theme-light-active .ast-container,
body.amco-as-marketplace-ui.amco-theme-light-active .content-area,
body.amco-as-marketplace-ui.amco-theme-light-active .site-main,
body.amco-as-marketplace-ui.amco-theme-light-active article,
body.amco-as-marketplace-ui.amco-theme-light-active .entry-content {
    max-width: none !important;
}
body.amco-as-marketplace-ui.amco-theme-light-active .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.amco-as-marketplace-ui.amco-theme-light-active .entry-content > .wp-block-group,
body.amco-as-marketplace-ui.amco-theme-light-active .entry-content > .elementor,
body.amco-as-marketplace-ui.amco-theme-light-active .entry-content > div {
    max-width: none !important;
}

body.amco-as-marketplace-ui .amco-marketplace-site-header {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -18px;
    margin-bottom: 28px;
    background: linear-gradient(100deg, #081a35 0%, #07172f 100%);
    color: #fff;
    box-shadow: 0 5px 16px rgba(9,26,54,.15);
    position: relative;
    z-index: 50;
}
body.amco-as-marketplace-ui .amco-marketplace-header-inner {
    max-width: 1340px;
    min-height: 78px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 28px;
}
body.amco-as-marketplace-ui .amco-marketplace-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    text-decoration: none !important;
    min-width: 180px;
}
body.amco-as-marketplace-ui .amco-marketplace-brand-image {
    display: block;
    width: auto;
    max-width: 190px;
    height: 54px;
    object-fit: contain;
    filter: none !important;
    background: transparent !important;
}
body.amco-as-marketplace-ui .amco-marketplace-brand-fallback .amco-brand-gavel {
    width: 45px;
    height: 45px;
    color: #fff;
}
body.amco-as-marketplace-ui .amco-marketplace-brand-fallback svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}
body.amco-as-marketplace-ui .amco-brand-copy strong,
body.amco-as-marketplace-ui .amco-brand-copy small { display:block; color:#fff !important; }
body.amco-as-marketplace-ui .amco-brand-copy strong { font-size:25px; line-height:1; letter-spacing:.04em; }
body.amco-as-marketplace-ui .amco-brand-copy small { font-size:11px; margin-top:4px; letter-spacing:.12em; }
body.amco-as-marketplace-ui .amco-marketplace-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    min-width: 0;
}
body.amco-as-marketplace-ui .amco-marketplace-nav a {
    position: relative;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    opacity: .92;
}
body.amco-as-marketplace-ui .amco-marketplace-nav a:hover,
body.amco-as-marketplace-ui .amco-marketplace-nav a.is-active { opacity: 1; }
body.amco-as-marketplace-ui .amco-marketplace-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;
    height: 3px;
    border-radius: 999px;
    background: #3c68ff;
}
body.amco-as-marketplace-ui .amco-marketplace-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
body.amco-as-marketplace-ui .amco-marketplace-header-search {
    position: relative;
    width: 230px;
    margin: 0;
}
body.amco-as-marketplace-ui .amco-marketplace-header-search input[type=search] {
    width: 100%;
    height: 42px;
    padding: 9px 40px 9px 15px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: 0;
    font-size: 12px;
}
body.amco-as-marketplace-ui .amco-marketplace-header-search input[type=search]::placeholder { color: #aab7cb; }
body.amco-as-marketplace-ui .amco-marketplace-header-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 21px;
    cursor: pointer;
}
body.amco-as-marketplace-ui .amco-header-theme-toggle {
    min-height: 42px !important;
    background: #fff !important;
    color: #142644 !important;
}
body.amco-as-marketplace-ui .amco-marketplace-account-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
body.amco-as-marketplace-ui .amco-marketplace-account-button span { font-size: 8px; color:#d7e2f3; }

/* Header/hero proportions matching the approved mockup */
body.amco-theme-light-active .amco-marketplace-hero {
    padding: 0 0 22px !important;
    margin-bottom: 20px !important;
}
body.amco-theme-light-active .amco-marketplace-hero-actions.amco-marketplace-hero-stats {
    flex-wrap: nowrap;
}
body.amco-theme-light-active .amco-marketplace-hero-copy p {
    font-size: 14px !important;
    margin-top: 6px !important;
}
body.amco-theme-light-active .amco-marketplace-stat strong { font-size: 28px !important; }

/* Carousels: never let one item stretch to full width */
body.amco-theme-light-active .amco-catalogue-carousel-track {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 42px) / 4) !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity;
}
body.amco-theme-light-active .amco-catalogue-carousel-item {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: start;
}
body.amco-theme-light-active .amco-carousel-image-wrap {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
}
body.amco-theme-light-active .amco-carousel-image-wrap img,
body.amco-theme-light-active .amco-carousel-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}
body.amco-theme-light-active .amco-carousel-title { min-height: 46px !important; }

/* Filters and search on one line, as in the mockup */
body.amco-theme-light-active .amco-marketplace-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(240px,320px) !important;
    align-items: start !important;
    gap: 18px !important;
}
body.amco-theme-light-active .amco-catalogue-lot-search { max-width: none !important; width:100%; }

/* Compact marketplace lot cards. Override every legacy desktop image rule. */
body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 16px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card.amco-lot-card-market {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 10px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-image-wrap,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-image-wrap.amco-lot-has-no-image,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market:has(.amco-quantity-lot-panel) .amco-lot-image-wrap,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market:has(.amco-quantity-lot-panel) .amco-lot-image-wrap.amco-lot-has-no-image {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    align-self: auto !important;
    overflow: hidden !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-image-wrap img,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-image-wrap picture,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-body {
    min-height: 180px !important;
    height: auto !important;
    padding: 11px 2px 2px !important;
    gap: 0 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-title {
    min-height: 42px !important;
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-current-bid-by,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-current-bidder { display:none !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-status-wrap:empty { display:none !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-button,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-card-button {
    font-size: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-button::before,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-card-button::before {
    content: '♡';
    font-size: 20px;
    line-height: 1;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-button.is-active::before,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-watchlist-card-button.is-active::before {
    content: '♥';
    color: #315df5;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-current-bid { font-size: 17px !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-inline-countdown-wrap { margin-top: 10px !important; font-size: 13px !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-button {
    min-height: 38px !important;
    margin-top: 12px !important;
    padding: 8px 10px !important;
}

/* Light marketplace bidding panel inside View Lot modal */
body.amco-theme-light-active .amco-market-modal-bid-panel {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #d9e3ee;
    border-radius: 14px;
    background: #f8fafc;
}
body.amco-theme-light-active .amco-market-modal-bid-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e1e8f0;
}
body.amco-theme-light-active .amco-market-modal-bid-summary span { color:#68778d !important; font-size:13px; font-weight:800; }
body.amco-theme-light-active .amco-market-modal-bid-summary strong { color:#0e203b !important; font-size:23px; font-weight:950; }
body.amco-theme-light-active .amco-market-modal-quick-bid { margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; }
body.amco-theme-light-active .amco-market-modal-quick-bid .amco-quick-bid-form {
    display:grid !important;
    grid-template-columns:minmax(150px,1fr) auto !important;
    gap:10px !important;
}
body.amco-theme-light-active .amco-market-modal-quick-bid select { min-height:44px !important; }
body.amco-theme-light-active .amco-market-modal-quick-bid .amco-quick-bid-actions { display:flex !important; gap:8px !important; }
body.amco-theme-light-active .amco-market-modal-quick-bid button { min-height:44px !important; }
body.amco-theme-light-active .amco-market-modal-login-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
body.amco-theme-light-active .amco-market-modal-login-actions .amco-lot-button { width:auto !important; min-width:160px; }
body.amco-theme-light-active .amco-market-modal-login-link { color:#315df5 !important; font-weight:800; }
body.amco-theme-light-active .amco-market-modal-closed { color:#8b4b00; font-weight:850; }

@media (max-width: 1180px) {
    body.amco-as-marketplace-ui .amco-marketplace-header-inner { grid-template-columns: auto 1fr; }
    body.amco-as-marketplace-ui .amco-marketplace-nav { display:none; }
    body.amco-as-marketplace-ui .amco-marketplace-header-actions { justify-content:flex-end; }
}
@media (max-width: 940px) {
    body.amco-theme-light-active .amco-catalogue-carousel-track { grid-auto-columns: calc((100% - 28px) / 3) !important; }
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 760px) {
    body.amco-as-marketplace-ui .amco-marketplace-site-header { margin-top:-16px; }
    body.amco-as-marketplace-ui .amco-marketplace-header-inner { min-height:68px; grid-template-columns:1fr auto; gap:12px; }
    body.amco-as-marketplace-ui .amco-marketplace-brand { min-width:0; }
    body.amco-as-marketplace-ui .amco-marketplace-brand-image { max-width:145px; height:44px; }
    body.amco-as-marketplace-ui .amco-marketplace-header-search { display:none; }
    body.amco-as-marketplace-ui .amco-marketplace-account-button { padding:8px 12px; }
    body.amco-theme-light-active .amco-marketplace-toolbar { grid-template-columns:1fr !important; }
    body.amco-theme-light-active .amco-catalogue-carousel-track { grid-auto-columns: calc((100% - 14px) / 2) !important; }
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
    body.amco-as-marketplace-ui .amco-header-theme-toggle .amco-theme-toggle-label,
    body.amco-as-marketplace-ui .amco-header-theme-toggle .amco-theme-toggle-moon { display:none; }
    body.amco-as-marketplace-ui .amco-header-theme-toggle { width:40px; padding:6px !important; }
    body.amco-as-marketplace-ui .amco-marketplace-account-button span { display:none; }
    body.amco-theme-light-active .amco-catalogue-carousel-track { grid-auto-columns: 78% !important; }
    body.amco-theme-light-active #amco-catalogue-grid.amco-lot-grid { grid-template-columns:1fr !important; }
    body.amco-theme-light-active .amco-market-modal-quick-bid .amco-quick-bid-form { grid-template-columns:1fr !important; }
}

/* v0.3.124 - separate bid popup, exact countdown and light auction events */
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-market-card-countdown {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    margin: 12px 0 0 !important;
    padding: 8px !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown .amco-time-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    padding: 2px 0 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown .amco-time-divider { display: none !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown .amco-time-value {
    color: #0d1e38 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown .amco-time-label {
    margin-top: 4px !important;
    color: #7a8799 !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown.is-ending,
body.amco-theme-light-active #amco-catalogue-grid .amco-market-card-countdown.is-critical {
    border-color: #f2b0ad !important;
    background: #fff7f6 !important;
}
body.amco-theme-light-active .amco-card-exact-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    color: #6e7c90;
    font-size: 10px;
}
body.amco-theme-light-active .amco-card-exact-close strong {
    color: #33445d !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    text-align: right;
}
body.amco-theme-light-active .amco-lot-card-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    width: 100% !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions .amco-lot-button {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    text-align: center !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-place-bid-trigger {
    border: 1px solid #315df5 !important;
    background: #315df5 !important;
    color: #fff !important;
    cursor: pointer !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-place-bid-trigger:hover { background: #244bd4 !important; }
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-view-button {
    border: 1px solid #ccd7e5 !important;
    background: #fff !important;
    color: #173052 !important;
    box-shadow: none !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-view-button:hover {
    border-color: #91a8ca !important;
    background: #f7f9fc !important;
}

/* Dedicated bid popup */
.amco-place-bid-popup { position: fixed; inset: 0; z-index: 100010; }
.amco-place-bid-overlay { position: absolute; inset: 0; background: rgba(4,14,31,.72); backdrop-filter: blur(3px); }
.amco-place-bid-box {
    position: relative;
    width: min(94vw, 620px);
    max-height: calc(100% - 48px);
    overflow-y: auto;
    margin: 24px auto;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #d9e2ed;
    box-shadow: 0 28px 80px rgba(4,14,31,.35);
}
.amco-place-bid-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #315df5;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.amco-place-bid-loading { padding: 48px 20px; text-align: center; color: #65748a; font-weight: 750; }
.amco-place-bid-header { padding: 2px 50px 15px 0; border-bottom: 1px solid #e6ebf1; }
.amco-place-bid-lot { display: inline-block; margin-bottom: 8px; padding: 6px 10px; border-radius: 7px; background: #315df5; color: #fff; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.amco-place-bid-header h2 { margin: 0 !important; color: #0b1c37 !important; font-size: 23px !important; line-height: 1.2 !important; font-weight: 950 !important; }
body.amco-theme-light-active .amco-place-bid-box .amco-market-modal-bid-panel { margin: 16px 0 0 !important; padding: 0 !important; border: 0 !important; background: #fff !important; }
body.amco-theme-light-active .amco-place-bid-box .amco-market-modal-bid-summary { padding: 13px 0 15px !important; }
body.amco-theme-light-active .amco-place-bid-box .amco-market-modal-quick-bid {
    margin-top: 12px !important;
    padding: 15px !important;
    border-radius: 12px !important;
    background: #f5f8fc !important;
    border: 1px solid #dfe6ef !important;
}
body.amco-theme-light-active .amco-place-bid-box .amco-quick-bid-title { color: #10213b !important; font-size: 14px !important; }
body.amco-theme-light-active .amco-place-bid-box .amco-quick-bid-form select { min-height: 46px !important; border-radius: 9px !important; }
body.amco-theme-light-active .amco-place-bid-box .amco-quick-bid-button,
body.amco-theme-light-active .amco-place-bid-box .amco-quick-auto-bid-button { min-height: 46px !important; border-radius: 9px !important; padding: 8px 16px !important; }
body.amco-place-bid-open { overflow: hidden !important; }

/* View Lot is information only and follows the light marketplace palette. */
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-box {
    background: #fff !important;
    color: #10213b !important;
    border: 1px solid #d9e2ed !important;
    box-shadow: 0 28px 80px rgba(4,14,31,.35) !important;
}
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-title,
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-meta strong,
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-description h3 { color: #10213b !important; }
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-meta > div,
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-description { background: #f8fafc !important; border-color: #dfe6ef !important; }
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-meta span,
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-description p { color: #56667c !important; }
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-main-image { background: #f1f4f8 !important; border-color: #dfe6ef !important; }
body.amco-theme-light-active .amco-lot-info-popup .amco-lot-info-sale-notice { background: #fff9eb !important; border-color: #e9c76e !important; color: #7b5300 !important; }

/* Auction Events marketplace rebuild */
body.amco-theme-light-active .amco-auction-events-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 54px !important;
    background: #f4f7fb !important;
    color: #10213b !important;
}
body.amco-theme-light-active .amco-auction-events-content {
    width: min(1340px, calc(100% - 36px));
    margin: 0 auto;
}
body.amco-theme-light-active .amco-auction-events-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 28px;
}
body.amco-theme-light-active .amco-events-eyebrow { color: #315df5; font-size: 11px; font-weight: 950; letter-spacing: .12em; }
body.amco-theme-light-active .amco-auction-events-title {
    margin: 5px 0 5px !important;
    color: #0b1d38 !important;
    font-size: clamp(30px,4vw,44px) !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: -.035em;
}
body.amco-theme-light-active .amco-auction-events-heading p { margin: 0; color: #68778b !important; }
body.amco-theme-light-active .amco-auction-events-content > .amco-public-account-cta { display: none !important; }
body.amco-theme-light-active .amco-auction-events-section { margin: 0 0 34px !important; }
body.amco-theme-light-active .amco-auction-events-section-title {
    margin: 0 0 14px !important;
    color: #10213b !important;
    font-size: 20px !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-auction-events-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 560px)) !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 20px !important;
}
body.amco-theme-light-active .amco-auction-event-card {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    border: 1px solid #dce4ee !important;
    border-radius: 17px !important;
    background: #fff !important;
    color: #10213b !important;
    box-shadow: 0 7px 24px rgba(17,35,68,.07) !important;
}
body.amco-theme-light-active .amco-auction-event-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 15px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #eaf0f7 !important;
}
body.amco-theme-light-active .amco-auction-event-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}
body.amco-theme-light-active .amco-auction-event-name {
    margin: 0 4px 12px !important;
    color: #0b1d38 !important;
    font-size: 21px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-auction-event-meta {
    display: grid !important;
    gap: 7px !important;
    margin: 0 4px 14px !important;
    color: #5e6f85 !important;
    font-size: 13px !important;
}
body.amco-theme-light-active .amco-auction-event-meta strong { color: #213754 !important; }
body.amco-theme-light-active .amco-auction-event-badge {
    justify-self: start;
    margin-top: 4px;
    padding: 6px 9px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    text-transform: uppercase;
}
body.amco-theme-light-active .amco-auction-event-badge-live { background: #e8f7ed !important; color: #168343 !important; border: 1px solid #b9e1c6 !important; }
body.amco-theme-light-active .amco-auction-event-badge-scheduled { background: #eef3ff !important; color: #315df5 !important; border: 1px solid #c9d6ff !important; }
body.amco-theme-light-active .amco-auction-event-badge-past { background: #f1f3f6 !important; color: #667085 !important; border: 1px solid #d9dee6 !important; }
body.amco-theme-light-active .amco-auction-event-notes { margin: 0 4px 14px !important; color: #5e6f85 !important; }
body.amco-theme-light-active .amco-auction-event-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 14px 4px 4px !important;
}
body.amco-theme-light-active .amco-auction-event-button {
    width: 100% !important;
    min-height: 43px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    background: #315df5 !important;
    border: 1px solid #315df5 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active .amco-auction-event-register-button { background: #fff !important; color: #173052 !important; border-color: #ccd7e5 !important; }
body.amco-theme-light-active .amco-auction-event-catalogue { margin: 0 4px !important; }

@media (max-width: 620px) {
    .amco-place-bid-box { width: calc(100% - 20px); max-height: calc(100% - 20px); margin: 10px auto; padding: 18px; border-radius: 14px; }
    body.amco-theme-light-active .amco-place-bid-box .amco-market-modal-quick-bid .amco-quick-bid-form { grid-template-columns: 1fr !important; }
    body.amco-theme-light-active .amco-place-bid-box .amco-quick-bid-actions { display: grid !important; grid-template-columns: 1fr 1fr; }
    body.amco-theme-light-active .amco-auction-events-content { width: min(100% - 20px, 1340px); }
    body.amco-theme-light-active .amco-auction-events-grid { grid-template-columns: 1fr !important; }
    body.amco-theme-light-active .amco-auction-event-card { max-width: none !important; }
}

/* v0.3.125 - hard reset legacy catalogue card grid so new marketplace actions render */
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card.amco-lot-card-market .amco-lot-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template-areas: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 11px 2px 2px !important;
    gap: 0 !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-title,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-quantity-summary-slot,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-meta,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-status-wrap,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-countdown,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-exact-close,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-extension-notice,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions {
    grid-area: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    max-width: none !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-title {
    order: 1 !important;
    min-height: 42px !important;
    margin: 0 0 9px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-quantity-summary-slot {
    order: 2 !important;
    width: 100% !important;
    margin: 0 0 9px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-meta {
    order: 3 !important;
    width: 100% !important;
    margin: 0 0 9px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-status-wrap {
    order: 4 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-market-card-countdown,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-bidding-starts-countdown {
    order: 5 !important;
    width: 100% !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-card-exact-close {
    order: 6 !important;
    width: 100% !important;
    margin: 7px 0 0 !important;
    padding: 0 2px !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-extension-notice-inline {
    order: 7 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions {
    order: 8 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 12px 0 0 !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions > .amco-lot-button,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions > button.amco-lot-button,
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions > a.amco-lot-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    box-sizing: border-box !important;
    border-radius: 9px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions > .amco-place-bid-trigger {
    border: 1px solid #315df5 !important;
    background: #315df5 !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(49,93,245,.15) !important;
}
body.amco-theme-light-active #amco-catalogue-grid .amco-lot-card-market .amco-lot-card-actions > .amco-lot-view-button {
    border: 1px solid #cbd7e5 !important;
    background: #fff !important;
    color: #173052 !important;
    box-shadow: none !important;
}

/* v0.3.125 - Sell With Us uses the same light marketplace language throughout. */
body.amco-theme-light-active .amco-sell-page {
    --sell-bg: #f4f7fb !important;
    --sell-card: #ffffff !important;
    --sell-line: #dce4ee !important;
    --sell-muted: #66758a !important;
    color: #10213b !important;
}
body.amco-theme-light-active .amco-sell-hero {
    background: radial-gradient(circle at 88% 12%, rgba(49,93,245,.12), transparent 33%), linear-gradient(135deg,#ffffff,#f4f7ff) !important;
    border: 1px solid #cdd9f1 !important;
    box-shadow: 0 12px 32px rgba(18,42,75,.07) !important;
}
body.amco-theme-light-active .amco-sell-hero h1,
body.amco-theme-light-active .amco-sell-section-heading h2,
body.amco-theme-light-active .amco-sell-form-intro h2,
body.amco-theme-light-active .amco-sell-commercial h2,
body.amco-theme-light-active .amco-sell-fees h2,
body.amco-theme-light-active .amco-sell-final-cta h2,
body.amco-theme-light-active .amco-sell-type-card h3,
body.amco-theme-light-active .amco-sell-step h3,
body.amco-theme-light-active .amco-sell-benefit h3,
body.amco-theme-light-active .amco-sell-route-grid h3 {
    color: #10213b !important;
}
body.amco-theme-light-active .amco-sell-lead,
body.amco-theme-light-active .amco-sell-section-heading p,
body.amco-theme-light-active .amco-sell-form-intro p,
body.amco-theme-light-active .amco-sell-commercial p,
body.amco-theme-light-active .amco-sell-fees p,
body.amco-theme-light-active .amco-sell-final-cta p,
body.amco-theme-light-active .amco-sell-type-card p,
body.amco-theme-light-active .amco-sell-step p,
body.amco-theme-light-active .amco-sell-benefit p,
body.amco-theme-light-active .amco-sell-route-grid p {
    color: #66758a !important;
}
body.amco-theme-light-active .amco-sell-btn-secondary {
    background: #fff !important;
    color: #173052 !important;
    border-color: #cad6e5 !important;
}
body.amco-theme-light-active .amco-sell-pills span {
    background: #f5f8fc !important;
    color: #4f6077 !important;
    border-color: #dce4ee !important;
}
body.amco-theme-light-active .amco-sell-type-card,
body.amco-theme-light-active .amco-sell-benefit,
body.amco-theme-light-active .amco-sell-route-grid article,
body.amco-theme-light-active .amco-sell-faq details {
    background: #fff !important;
    border-color: #dce4ee !important;
    box-shadow: 0 5px 18px rgba(18,42,75,.05) !important;
}
body.amco-theme-light-active .amco-sell-process-section {
    background: #fff !important;
    border-color: #dce4ee !important;
    box-shadow: 0 8px 24px rgba(18,42,75,.06) !important;
}
body.amco-theme-light-active .amco-sell-step {
    background: #f8fafc !important;
    border-color: #dfe6ef !important;
}
body.amco-theme-light-active .amco-sell-form-section {
    background: #fff !important;
    border-color: #cfdcf1 !important;
    box-shadow: 0 9px 28px rgba(18,42,75,.07) !important;
}
body.amco-theme-light-active .amco-sell-form-points span {
    color: #43536a !important;
}
body.amco-theme-light-active .amco-sell-form-card {
    background: #f8fafc !important;
    border-color: #dce4ee !important;
    box-shadow: none !important;
}
body.amco-theme-light-active .amco-sell-form label > span {
    color: #263b56 !important;
}
body.amco-theme-light-active .amco-sell-money b {
    background: #eef3f8 !important;
    color: #33475f !important;
    border-color: #d5dfe9 !important;
}
body.amco-theme-light-active .amco-sell-form input[type=text],
body.amco-theme-light-active .amco-sell-form input[type=tel],
body.amco-theme-light-active .amco-sell-form input[type=email],
body.amco-theme-light-active .amco-sell-form input[type=number],
body.amco-theme-light-active .amco-sell-form select,
body.amco-theme-light-active .amco-sell-form textarea,
body.amco-theme-light-active .amco-sell-file,
body.amco-theme-light-active .amco-sell-checkboxes label {
    background: #fff !important;
    color: #10213b !important;
    border-color: #d3deea !important;
}
body.amco-theme-light-active .amco-sell-checkboxes small,
body.amco-theme-light-active .amco-sell-form label small {
    color: #748297 !important;
}
body.amco-theme-light-active .amco-sell-commercial {
    background: linear-gradient(135deg,#f6f8ff,#ffffff) !important;
    border-color: #cad8f4 !important;
    box-shadow: 0 8px 24px rgba(18,42,75,.06) !important;
}
body.amco-theme-light-active .amco-sell-commercial-tags span {
    background: #fff !important;
    border-color: #d7e0eb !important;
    color: #43546c !important;
}
body.amco-theme-light-active .amco-sell-route-badge {
    background: #edf2ff !important;
    color: #315df5 !important;
}
body.amco-theme-light-active .amco-sell-fees {
    background: #f3fbf6 !important;
    border-color: #b9e2c6 !important;
    box-shadow: 0 6px 20px rgba(19,104,57,.05) !important;
}
body.amco-theme-light-active .amco-sell-faq summary {
    color: #10213b !important;
}
body.amco-theme-light-active .amco-sell-faq details p {
    color: #66758a !important;
}
body.amco-theme-light-active .amco-sell-final-cta {
    background: radial-gradient(circle at right,rgba(49,93,245,.11),transparent 42%),#f7f9ff !important;
    border-color: #cdd9f2 !important;
    box-shadow: 0 8px 24px rgba(18,42,75,.06) !important;
}

/* v0.3.126 - site-wide marketplace shell and consistency pass */
body.amco-as-marketplace-ui {
    background: #eef3f8 !important;
}
body.amco-as-marketplace-ui .amco-marketplace-site-header.amco-marketplace-global-header {
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
}
body.amco-as-marketplace-ui .amco-marketplace-global-header + .site,
body.amco-as-marketplace-ui .amco-marketplace-global-header + #page {
    margin-top: 0 !important;
}
body.amco-as-marketplace-ui .site-content,
body.amco-as-marketplace-ui .site-main,
body.amco-as-marketplace-ui .content-area {
    background: #eef3f8 !important;
}

/* Native WordPress information pages use the same shell instead of reverting to Astra styling. */
body.amco-marketplace-static-page .site-content {
    padding: 30px 18px 60px !important;
}
body.amco-marketplace-static-page .ast-container,
body.amco-marketplace-static-page .content-area,
body.amco-marketplace-static-page .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.amco-marketplace-static-page article.page,
body.amco-marketplace-static-page article.type-page {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 30px clamp(20px, 4vw, 44px) !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 26px rgba(18,42,75,.06) !important;
}
body.amco-marketplace-static-page .entry-content {
    color: #42536a !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}
body.amco-marketplace-static-page .entry-content h1,
body.amco-marketplace-static-page .entry-content h2,
body.amco-marketplace-static-page .entry-content h3,
body.amco-marketplace-static-page .entry-content h4,
body.amco-marketplace-static-page .entry-content strong {
    color: #10213b !important;
}
body.amco-marketplace-static-page .entry-content h1 { font-size: clamp(30px, 4vw, 46px) !important; }
body.amco-marketplace-static-page .entry-content h2 { margin-top: 30px !important; font-size: 25px !important; }
body.amco-marketplace-static-page .entry-content a { color: #315df5 !important; }
body.amco-marketplace-static-page .entry-content .wp-block-button__link,
body.amco-marketplace-static-page .entry-content button,
body.amco-marketplace-static-page .entry-content input[type=submit] {
    background: #315df5 !important;
    color: #fff !important;
    border: 1px solid #315df5 !important;
    border-radius: 10px !important;
}
body.amco-marketplace-static-page .entry-content input,
body.amco-marketplace-static-page .entry-content select,
body.amco-marketplace-static-page .entry-content textarea {
    background: #fff !important;
    color: #10213b !important;
    border-color: #cfd9e5 !important;
}

/* Confirmation dialog: light marketplace modal, not the legacy dark dialog. */
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-overlay {
    background: rgba(8,18,36,.58) !important;
    backdrop-filter: blur(3px);
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-box {
    width: min(470px, calc(100% - 28px)) !important;
    max-width: 470px !important;
    margin: 12vh auto 0 !important;
    padding: 28px !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #10213b !important;
    border: 1px solid #d6e0eb !important;
    box-shadow: 0 24px 70px rgba(7,25,52,.28) !important;
    text-align: left !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-box h3 {
    margin: 0 0 18px !important;
    color: #10213b !important;
    font-size: 25px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    text-align: left !important;
}
body.amco-theme-light-active #amco-quick-modal-lot {
    margin: 0 0 10px !important;
    color: #52657e !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}
body.amco-theme-light-active #amco-quick-modal-amount {
    margin: 0 0 14px !important;
    padding: 14px 16px !important;
    border-radius: 11px !important;
    background: #f4f7fb !important;
    border: 1px solid #dce4ee !important;
    color: #10213b !important;
    font-size: 21px !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-warning {
    margin: 0 0 20px !important;
    padding: 11px 13px !important;
    border-radius: 10px !important;
    background: #fff8e8 !important;
    border: 1px solid #efd89b !important;
    color: #805b08 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-confirm-button,
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-cancel-button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-confirm-button {
    background: #315df5 !important;
    border: 1px solid #315df5 !important;
    color: #fff !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-cancel-button {
    background: #fff !important;
    border: 1px solid #cbd7e5 !important;
    color: #31465f !important;
}
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-success-icon { color: #169b55 !important; }
body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-success-text { color: #10213b !important; }

/* My Auctions and Watchlist share the compact marketplace catalogue grid. */
body.amco-theme-light-active .amco-my-auctions-box,
body.amco-theme-light-active .amco-watchlist-wrap {
    color: #10213b !important;
}
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-auction-notes p,
body.amco-theme-light-active .amco-watchlist-wrap .amco-auction-notes p { color: #5f7086 !important; }
body.amco-theme-light-active .amco-watchlist-grid.amco-lot-grid,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    align-items: stretch !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card.amco-lot-card-market,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card.amco-lot-card-market {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    padding: 12px !important;
    border-radius: 17px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    box-shadow: 0 5px 18px rgba(18,42,75,.055) !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-image-wrap,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-image-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    border-radius: 13px !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-image,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-body,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 11px 2px 2px !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    grid-template-areas: none !important;
    gap: 0 !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-title,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-title {
    order: 1 !important;
    min-height: 42px !important;
    margin: 0 0 9px !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-card-quantity-summary-slot,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-card-quantity-summary-slot { order: 2 !important; width:100% !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-meta,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-meta { order:3 !important; width:100% !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-card-status-wrap,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-card-status-wrap { order:4 !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-market-card-countdown,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-market-card-countdown { order:5 !important; width:100% !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-card-exact-close,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-card-exact-close { order:6 !important; width:100% !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-lot-card-actions,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-lot-card-actions {
    order: 8 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 12px 0 0 !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-actions > .amco-lot-button,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-actions > .amco-lot-button {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:42px !important;
    margin:0 !important;
    padding:9px 12px !important;
    border-radius:9px !important;
    text-decoration:none !important;
    font-weight:900 !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-place-bid-trigger,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-place-bid-trigger { background:#315df5 !important; border-color:#315df5 !important; color:#fff !important; }
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-view-button,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-view-button { background:#fff !important; border:1px solid #cbd7e5 !important; color:#173052 !important; }

/* Buttons should use one predictable marketplace system. */
body.amco-theme-light-active .amco-account-button,
body.amco-theme-light-active .amco-auction-event-button,
body.amco-theme-light-active .amco-lot-button,
body.amco-theme-light-active .amco-sell-btn-primary,
body.amco-theme-light-active .amco-sell-submit {
    text-decoration: none !important;
}

@media (max-width: 1050px) {
    body.amco-theme-light-active .amco-watchlist-grid.amco-lot-grid,
    body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 800px) {
    body.amco-theme-light-active .amco-watchlist-grid.amco-lot-grid,
    body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    body.amco-as-marketplace-ui .amco-marketplace-site-header.amco-marketplace-global-header { margin:0 !important; }
}
@media (max-width: 520px) {
    body.amco-theme-light-active .amco-watchlist-grid.amco-lot-grid,
    body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-grid { grid-template-columns:1fr !important; }
    body.amco-theme-light-active #amco-quick-bid-modal .amco-quick-modal-actions { grid-template-columns:1fr !important; }
}


/* v0.3.128 - preserve the real site logo and compact watchlist hearts everywhere. */
body.amco-as-marketplace-ui .amco-marketplace-brand,
body.amco-as-marketplace-ui .amco-marketplace-brand:hover,
body.amco-as-marketplace-ui .amco-marketplace-brand:focus {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.amco-as-marketplace-ui .amco-marketplace-brand-image {
    filter: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    opacity: 1 !important;
}

body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-button,
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-card-button,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-button,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-card-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ccd8e7 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-button::before,
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-card-button::before,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-button::before,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-card-button::before {
    content: '♡' !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #30455f !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-button.is-active,
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-card-button.is-active,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-button.is-active,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-card-button.is-active {
    background: #eef2ff !important;
    border-color: #8fa8ff !important;
}
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-button.is-active::before,
body.amco-theme-light-active .amco-watchlist-grid .amco-lot-card-market .amco-watchlist-card-button.is-active::before,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-button.is-active::before,
body.amco-theme-light-active .amco-my-auctions-embedded-watchlist .amco-lot-card-market .amco-watchlist-card-button.is-active::before {
    content: '♥' !important;
    color: #315df5 !important;
}

/* v0.3.129 - bid close control + static page inner-panel refinement */
body.amco-theme-light-active .amco-place-bid-box .amco-place-bid-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 0 2px !important;
    border: 1px solid #d3ddea !important;
    border-radius: 11px !important;
    background: #f5f7fb !important;
    color: #243a58 !important;
    box-shadow: none !important;
    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
body.amco-theme-light-active .amco-place-bid-box .amco-place-bid-close:hover,
body.amco-theme-light-active .amco-place-bid-box .amco-place-bid-close:focus-visible {
    border-color: #aebed2 !important;
    background: #eaf0f7 !important;
    color: #10213b !important;
    outline: none !important;
}

/* Give ordinary information pages a properly padded rounded inner reading panel. */
body.amco-marketplace-static-page article.page,
body.amco-marketplace-static-page article.type-page {
    padding: 24px !important;
}
body.amco-marketplace-static-page .entry-content {
    width: 100% !important;
    margin: 0 !important;
    padding: clamp(26px, 3.2vw, 42px) clamp(28px, 4vw, 48px) !important;
    box-sizing: border-box !important;
    background: #f3f6fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}
body.amco-marketplace-static-page .entry-content > :first-child {
    margin-top: 0 !important;
}
body.amco-marketplace-static-page .entry-content > :last-child {
    margin-bottom: 0 !important;
}
body.amco-marketplace-static-page .entry-content > .wp-block-group,
body.amco-marketplace-static-page .entry-content > .wp-block-columns,
body.amco-marketplace-static-page .entry-content > .elementor,
body.amco-marketplace-static-page .entry-content > div {
    border-radius: 14px !important;
}

@media (max-width: 640px) {
    body.amco-marketplace-static-page .site-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    body.amco-marketplace-static-page article.page,
    body.amco-marketplace-static-page article.type-page {
        padding: 12px !important;
        border-radius: 16px !important;
    }
    body.amco-marketplace-static-page .entry-content {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
}

/* v0.3.130 - permanent light theme + responsive mobile navigation */
body.amco-as-marketplace-ui .amco-header-theme-toggle,
body.amco-as-marketplace-ui .amco-theme-toggle {
    display: none !important;
}

body.amco-as-marketplace-ui .amco-mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
    box-shadow: none;
}
body.amco-as-marketplace-ui .amco-mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}
body.amco-as-marketplace-ui .amco-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.amco-as-marketplace-ui .amco-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
body.amco-as-marketplace-ui .amco-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
body.amco-as-marketplace-ui .amco-mobile-navigation[hidden] {
    display: none !important;
}
body.amco-as-marketplace-ui .amco-mobile-navigation {
    display: none;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.10);
    background: #07172f;
}
body.amco-as-marketplace-ui .amco-mobile-nav-links {
    max-width: 1340px;
    margin: 0 auto;
    padding: 10px 18px 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}
body.amco-as-marketplace-ui .amco-mobile-nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    background: transparent;
}
body.amco-as-marketplace-ui .amco-mobile-nav-links a:hover,
body.amco-as-marketplace-ui .amco-mobile-nav-links a.is-active {
    background: rgba(60,104,255,.16);
    color: #fff !important;
}
body.amco-as-marketplace-ui .amco-mobile-nav-links .amco-mobile-account-link {
    background: #315df5;
    justify-content: center;
}

@media (max-width: 1180px) {
    body.amco-as-marketplace-ui .amco-mobile-menu-toggle {
        display: inline-flex;
    }
    body.amco-as-marketplace-ui .amco-mobile-navigation:not([hidden]) {
        display: block;
    }
}

@media (max-width: 760px) {
    body.amco-as-marketplace-ui .amco-marketplace-header-inner {
        grid-template-columns: minmax(0,1fr) auto !important;
    }
    body.amco-as-marketplace-ui .amco-marketplace-header-actions {
        gap: 8px;
    }
    body.amco-as-marketplace-ui .amco-marketplace-header-actions > .amco-marketplace-account-button {
        display: none !important;
    }
    body.amco-as-marketplace-ui .amco-mobile-nav-links {
        grid-template-columns: 1fr;
    }
}

/* v0.3.131 - Sell With Us mobile shell hardening.
 * Some builder/mobile templates omit wp_body_open/body classes. These rules
 * intentionally key off the actual AMCO markup so the page cannot fall back
 * to the old Astra/dark presentation. */
body:has(.amco-sell-page) #masthead,
body:has(.amco-sell-page) > .site-header,
body:has(.amco-sell-page) .ast-above-header-wrap,
body:has(.amco-sell-page) .ast-primary-header-bar,
body:has(.amco-sell-page) .ast-below-header-wrap,
body:has(.amco-sell-page) .ast-mobile-header-wrap {
    display: none !important;
}

.amco-marketplace-global-header {
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 999 !important;
    background: linear-gradient(100deg,#081a35 0%,#07172f 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(9,26,54,.15) !important;
}
.amco-marketplace-global-header .amco-marketplace-header-inner {
    width: min(1340px, 100%) !important;
    min-height: 78px !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 28px !important;
}
.amco-marketplace-global-header .amco-marketplace-brand {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: 200px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.amco-marketplace-global-header .amco-marketplace-brand-image {
    display: block !important;
    width: auto !important;
    max-width: 190px !important;
    height: 54px !important;
    object-fit: contain !important;
    background: transparent !important;
    filter: none !important;
}
.amco-marketplace-global-header .amco-marketplace-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 23px !important;
}
.amco-marketplace-global-header .amco-marketplace-nav a,
.amco-marketplace-global-header .amco-mobile-nav-links a,
.amco-marketplace-global-header .amco-marketplace-account-button {
    color: #fff !important;
}

/* Direct light palette for Sell With Us, independent of body classes. */
.amco-sell-page {
    --sell-blue: #315df5 !important;
    --sell-bg: #eef3f8 !important;
    --sell-card: #ffffff !important;
    --sell-line: #dce4ee !important;
    --sell-muted: #66758a !important;
    --sell-green: #169b55 !important;
    color: #10213b !important;
    background: transparent !important;
}
.amco-sell-page .amco-sell-hero {
    background: radial-gradient(circle at 88% 12%,rgba(49,93,245,.12),transparent 33%),linear-gradient(135deg,#fff,#f4f7ff) !important;
    border-color: #cdd9f1 !important;
    box-shadow: 0 12px 32px rgba(18,42,75,.07) !important;
}
.amco-sell-page .amco-sell-hero h1,
.amco-sell-page .amco-sell-section-heading h2,
.amco-sell-page .amco-sell-form-intro h2,
.amco-sell-page .amco-sell-commercial h2,
.amco-sell-page .amco-sell-fees h2,
.amco-sell-page .amco-sell-final-cta h2,
.amco-sell-page .amco-sell-type-card h3,
.amco-sell-page .amco-sell-step h3,
.amco-sell-page .amco-sell-benefit h3,
.amco-sell-page .amco-sell-route-grid h3,
.amco-sell-page .amco-sell-faq summary,
.amco-sell-page .amco-sell-form label > span {
    color: #10213b !important;
}
.amco-sell-page .amco-sell-lead,
.amco-sell-page .amco-sell-section-heading p,
.amco-sell-page .amco-sell-form-intro p,
.amco-sell-page .amco-sell-commercial p,
.amco-sell-page .amco-sell-fees p,
.amco-sell-page .amco-sell-final-cta p,
.amco-sell-page .amco-sell-type-card p,
.amco-sell-page .amco-sell-step p,
.amco-sell-page .amco-sell-benefit p,
.amco-sell-page .amco-sell-route-grid p,
.amco-sell-page .amco-sell-faq details p {
    color: #66758a !important;
}
.amco-sell-page .amco-sell-btn-secondary {
    background: #fff !important;
    color: #173052 !important;
    border-color: #cad6e5 !important;
}
.amco-sell-page .amco-sell-pills span,
.amco-sell-page .amco-sell-commercial-tags span {
    background: #f7f9fc !important;
    color: #4f6077 !important;
    border-color: #dce4ee !important;
}
.amco-sell-page .amco-sell-type-card,
.amco-sell-page .amco-sell-benefit,
.amco-sell-page .amco-sell-route-grid article,
.amco-sell-page .amco-sell-faq details,
.amco-sell-page .amco-sell-process-section,
.amco-sell-page .amco-sell-form-section {
    background: #fff !important;
    border-color: #dce4ee !important;
    box-shadow: 0 6px 20px rgba(18,42,75,.055) !important;
}
.amco-sell-page .amco-sell-step,
.amco-sell-page .amco-sell-form-card {
    background: #f8fafc !important;
    border-color: #dce4ee !important;
}
.amco-sell-page .amco-sell-form-points span {
    color: #43536a !important;
}
.amco-sell-page .amco-sell-form input[type=text],
.amco-sell-page .amco-sell-form input[type=tel],
.amco-sell-page .amco-sell-form input[type=email],
.amco-sell-page .amco-sell-form input[type=number],
.amco-sell-page .amco-sell-form select,
.amco-sell-page .amco-sell-form textarea,
.amco-sell-page .amco-sell-file,
.amco-sell-page .amco-sell-checkboxes label {
    background: #fff !important;
    color: #10213b !important;
    border-color: #d3deea !important;
}
.amco-sell-page .amco-sell-money b {
    background: #eef3f8 !important;
    color: #33475f !important;
    border-color: #d5dfe9 !important;
}
.amco-sell-page .amco-sell-commercial {
    background: linear-gradient(135deg,#f6f8ff,#fff) !important;
    border-color: #cad8f4 !important;
    box-shadow: 0 8px 24px rgba(18,42,75,.06) !important;
}
.amco-sell-page .amco-sell-fees {
    background: #f3fbf6 !important;
    border-color: #b9e2c6 !important;
}
.amco-sell-page .amco-sell-final-cta {
    background: radial-gradient(circle at right,rgba(49,93,245,.11),transparent 42%),#f7f9ff !important;
    border-color: #cdd9f2 !important;
}

@media (max-width: 1180px) {
    .amco-marketplace-global-header .amco-marketplace-header-inner {
        grid-template-columns: minmax(0,1fr) auto !important;
    }
    .amco-marketplace-global-header .amco-marketplace-nav {
        display: none !important;
    }
    .amco-marketplace-global-header .amco-mobile-menu-toggle {
        display: inline-flex !important;
    }
}

@media (max-width: 760px) {
    .amco-marketplace-global-header {
        margin: 0 !important;
    }
    .amco-marketplace-global-header .amco-marketplace-header-inner {
        min-height: 66px !important;
        padding: 9px 14px !important;
        grid-template-columns: minmax(0,1fr) auto !important;
        gap: 12px !important;
    }
    .amco-marketplace-global-header .amco-marketplace-brand {
        justify-self: start !important;
        max-width: 155px !important;
    }
    .amco-marketplace-global-header .amco-marketplace-brand-image {
        width: auto !important;
        max-width: 150px !important;
        height: 46px !important;
    }
    .amco-marketplace-global-header .amco-marketplace-header-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
    }
    .amco-marketplace-global-header .amco-marketplace-header-search,
    .amco-marketplace-global-header .amco-marketplace-account-button {
        display: none !important;
    }
    .amco-marketplace-global-header .amco-mobile-menu-toggle {
        display: inline-flex !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        margin: 0 !important;
    }
    .amco-marketplace-global-header .amco-mobile-navigation:not([hidden]) {
        display: block !important;
    }

    .amco-sell-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 16px 14px 86px !important;
    }
    .amco-sell-page .amco-sell-hero {
        margin: 0 0 30px !important;
        padding: 28px 20px !important;
        border-radius: 18px !important;
    }
    .amco-sell-page .amco-sell-hero h1 {
        font-size: clamp(36px, 11vw, 48px) !important;
        line-height: 1.02 !important;
        margin-bottom: 18px !important;
    }
    .amco-sell-page .amco-sell-lead {
        font-size: 16px !important;
        line-height: 1.55 !important;
        margin-bottom: 22px !important;
    }
    .amco-sell-page .amco-sell-hero-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        margin-bottom: 18px !important;
    }
    .amco-sell-page .amco-sell-hero-actions .amco-sell-btn {
        width: 100% !important;
        min-height: 48px !important;
    }
    .amco-sell-page .amco-sell-pills {
        gap: 7px !important;
    }
    .amco-sell-page .amco-sell-pills span {
        padding: 6px 9px !important;
        font-size: 11px !important;
    }
    .amco-sell-page .amco-sell-section {
        margin: 30px 0 !important;
    }
    .amco-sell-page .amco-sell-section-heading {
        margin-bottom: 18px !important;
    }
    .amco-sell-page .amco-sell-section-heading h2,
    .amco-sell-page .amco-sell-form-intro h2,
    .amco-sell-page .amco-sell-commercial h2,
    .amco-sell-page .amco-sell-final-cta h2 {
        font-size: 29px !important;
        line-height: 1.08 !important;
    }
    .amco-sell-page .amco-sell-type-grid,
    .amco-sell-page .amco-sell-process-grid,
    .amco-sell-page .amco-sell-benefit-grid,
    .amco-sell-page .amco-sell-route-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .amco-sell-page .amco-sell-type-card {
        min-height: 0 !important;
        padding: 18px !important;
    }
    .amco-sell-page .amco-sell-process-section,
    .amco-sell-page .amco-sell-form-section,
    .amco-sell-page .amco-sell-commercial,
    .amco-sell-page .amco-sell-final-cta {
        padding: 20px !important;
        border-radius: 18px !important;
    }
    .amco-sell-page .amco-sell-form-section,
    .amco-sell-page .amco-sell-commercial {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .amco-sell-page .amco-sell-form-intro {
        position: static !important;
    }
    .amco-sell-page .amco-sell-form-card {
        padding: 16px !important;
        border-radius: 14px !important;
    }
    .amco-sell-page .amco-sell-form-grid {
        grid-template-columns: 1fr !important;
        gap: 13px !important;
    }
    .amco-sell-page .amco-sell-full {
        grid-column: auto !important;
    }
    .amco-sell-page .amco-sell-commercial .amco-sell-btn,
    .amco-sell-page .amco-sell-final-cta .amco-sell-btn {
        width: 100% !important;
    }
    .amco-sell-page .amco-sell-final-cta {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 18px !important;
    }
    .amco-sell-mobile-cta {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        min-height: 52px !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 26px rgba(28,57,138,.22) !important;
    }
}

/* v0.3.133 - compact Featured / Closing Soon strips */
body.amco-theme-light-active .amco-catalogue-carousel-section {
    margin: 14px 0 20px !important;
}
body.amco-theme-light-active .amco-catalogue-carousel-heading {
    margin-bottom: 10px !important;
}
body.amco-theme-light-active .amco-carousel-heading-copy h3 {
    font-size: 18px !important;
    padding-left: 26px !important;
}
body.amco-theme-light-active .amco-carousel-heading-featured h3::before,
body.amco-theme-light-active .amco-carousel-heading-closing_soon h3::before {
    font-size: 19px !important;
}
body.amco-theme-light-active .amco-catalogue-carousel-track {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 270px !important;
    grid-template-columns: none !important;
    justify-content: start !important;
    gap: 12px !important;
    overflow-x: auto !important;
    padding: 0 0 6px !important;
}
body.amco-theme-light-active .amco-catalogue-carousel-item {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    border-radius: 12px !important;
}
body.amco-theme-light-active .amco-carousel-image-wrap {
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
}
body.amco-theme-light-active .amco-carousel-copy {
    padding: 9px 11px 12px !important;
}
body.amco-theme-light-active .amco-carousel-title {
    min-height: 36px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
}
body.amco-theme-light-active .amco-carousel-current-bid-label {
    margin-top: 8px !important;
    font-size: 10.5px !important;
}
body.amco-theme-light-active .amco-carousel-current-bid {
    margin-top: 2px !important;
    font-size: 15px !important;
}
body.amco-theme-light-active .amco-carousel-badge {
    top: 7px !important;
    left: 7px !important;
    padding: 4px 7px !important;
    font-size: 9px !important;
    border-radius: 7px !important;
}
body.amco-theme-light-active .amco-carousel-arrow {
    width: 32px !important;
    height: 32px !important;
}
body.amco-theme-light-active .amco-carousel-view-all {
    font-size: 12px !important;
}

@media (max-width: 900px) {
    body.amco-theme-light-active .amco-catalogue-carousel-track {
        grid-auto-columns: 235px !important;
    }
    body.amco-theme-light-active .amco-catalogue-carousel-item {
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }
}

@media (max-width: 600px) {
    body.amco-theme-light-active .amco-catalogue-carousel-section {
        margin: 12px 0 18px !important;
    }
    body.amco-theme-light-active .amco-catalogue-carousel-track {
        grid-auto-columns: min(68vw, 225px) !important;
        gap: 10px !important;
    }
    body.amco-theme-light-active .amco-catalogue-carousel-item {
        width: min(68vw, 225px) !important;
        min-width: min(68vw, 225px) !important;
        max-width: min(68vw, 225px) !important;
    }
    body.amco-theme-light-active .amco-carousel-heading-actions {
        gap: 10px !important;
    }
    body.amco-theme-light-active .amco-carousel-view-all {
        font-size: 11px !important;
    }
}

/* v0.3.134 - centre catalogue carousels and filter/search controls */
body.amco-theme-light-active .amco-catalogue-carousel-section {
    width: calc(100% - 24px) !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.amco-theme-light-active .amco-catalogue-carousel-track {
    width: fit-content !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.amco-theme-light-active .amco-marketplace-toolbar {
    width: calc(100% - 24px) !important;
    max-width: 1400px !important;
    margin: 20px auto 16px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px 24px !important;
}
body.amco-theme-light-active .amco-catalogue-filter-shell {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}
body.amco-theme-light-active .amco-catalogue-filter-bar {
    justify-content: center !important;
}
body.amco-theme-light-active .amco-catalogue-lot-search {
    flex: 0 1 320px !important;
    width: 320px !important;
    max-width: 320px !important;
    min-width: 240px !important;
    margin: 0 !important;
}
body.amco-theme-light-active .amco-catalogue-lot-search input[type="search"] {
    height: 44px !important;
    padding-right: 46px !important;
}
body.amco-theme-light-active .amco-catalogue-search-button {
    top: 50% !important;
    right: 5px !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #10213b !important;
}
body.amco-theme-light-active .amco-catalogue-search-button svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}
body.amco-theme-light-active .amco-catalogue-search-button:hover {
    background: #eef3ff !important;
    color: #315df5 !important;
}
body.amco-theme-light-active .amco-category-filter-panel {
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 900px) {
    body.amco-theme-light-active .amco-marketplace-toolbar {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    body.amco-theme-light-active .amco-catalogue-filter-shell {
        width: 100% !important;
    }
    body.amco-theme-light-active .amco-catalogue-lot-search {
        flex-basis: auto !important;
        width: min(100%, 420px) !important;
        max-width: 420px !important;
        min-width: 0 !important;
    }
}

@media (max-width: 600px) {
    body.amco-theme-light-active .amco-catalogue-carousel-section,
    body.amco-theme-light-active .amco-marketplace-toolbar {
        width: calc(100% - 16px) !important;
    }
    body.amco-theme-light-active .amco-catalogue-filter-bar {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    body.amco-theme-light-active .amco-catalogue-filter-button,
    body.amco-theme-light-active button.amco-catalogue-filter-button {
        width: auto !important;
    }
    body.amco-theme-light-active .amco-catalogue-lot-search {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* v0.3.135 - fixed horizontal Auction Events cards */
body.amco-theme-light-active .amco-auction-events-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
}
body.amco-theme-light-active .amco-auction-event-card {
    display: grid !important;
    grid-template-columns: 38% minmax(0, 62%) !important;
    width: 100% !important;
    max-width: none !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 18px !important;
}
body.amco-theme-light-active .amco-auction-event-image {
    width: 100% !important;
    height: 276px !important;
    min-height: 276px !important;
    max-height: 276px !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    border-radius: 13px !important;
}
body.amco-theme-light-active .amco-auction-event-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
body.amco-theme-light-active .amco-auction-event-body {
    min-width: 0 !important;
    height: 276px !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 5px 8px 2px 22px !important;
    box-sizing: border-box !important;
}
body.amco-theme-light-active .amco-auction-event-summary {
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 190px !important;
    overflow: hidden !important;
    padding-right: 8px !important;
}
body.amco-theme-light-active .amco-auction-event-summary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 80%);
}
body.amco-theme-light-active .amco-auction-event-name {
    margin: 0 0 9px !important;
    font-size: 22px !important;
    line-height: 1.18 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
}
body.amco-theme-light-active .amco-auction-event-meta {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    column-gap: 20px !important;
    row-gap: 6px !important;
    margin: 0 0 9px !important;
    font-size: 12px !important;
}
body.amco-theme-light-active .amco-auction-event-notes {
    margin: 8px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}
body.amco-theme-light-active .amco-auction-event-notes p { margin: 0 0 5px !important; }
body.amco-theme-light-active .amco-auction-event-badge {
    margin-top: 2px !important;
    padding: 5px 8px !important;
}
body.amco-theme-light-active .amco-auction-event-footer {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-height: 48px !important;
    padding-top: 8px !important;
    border-top: 1px solid #edf1f5 !important;
}
body.amco-theme-light-active .amco-auction-event-more {
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #ccd7e5 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #173052 !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}
body.amco-theme-light-active .amco-auction-event-more[hidden] { display: none !important; }
body.amco-theme-light-active .amco-auction-event-catalogue {
    margin: 0 !important;
    flex: 0 0 auto !important;
}
body.amco-theme-light-active .amco-auction-event-catalogue .amco-catalogue-download-button {
    min-height: 40px !important;
    padding: 8px 13px !important;
    margin: 0 !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
}
body.amco-theme-light-active .amco-auction-event-actions {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}
body.amco-theme-light-active .amco-auction-event-button {
    width: auto !important;
    min-width: 126px !important;
    min-height: 40px !important;
    padding: 8px 16px !important;
    white-space: nowrap !important;
}

body.amco-event-more-open { overflow: hidden !important; }
.amco-event-more-modal[hidden] { display: none !important; }
.amco-event-more-modal {
    position: fixed;
    inset: 0;
    z-index: 1000002;
    display: grid;
    place-items: center;
    padding: 20px;
}
.amco-event-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,19,36,.64);
    backdrop-filter: blur(3px);
}
body.amco-theme-light-active .amco-event-more-dialog {
    position: relative;
    z-index: 1;
    width: min(700px, calc(100vw - 40px));
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    padding: 24px;
    border: 1px solid #dce4ee;
    border-radius: 18px;
    background: #fff;
    color: #10213b;
    box-shadow: 0 24px 70px rgba(8,29,61,.24);
}
body.amco-theme-light-active .amco-event-more-title {
    margin: 0 54px 18px 0 !important;
    color: #10213b !important;
    font-size: 25px !important;
    font-weight: 950 !important;
}
body.amco-theme-light-active .amco-event-more-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #d5dfeb;
    border-radius: 10px;
    background: #f8fafc;
    color: #173052;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
body.amco-theme-light-active .amco-event-more-content .amco-auction-event-name { display: none !important; }
body.amco-theme-light-active .amco-event-more-content .amco-auction-event-meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px 18px !important;
    margin: 0 0 18px !important;
    padding: 16px !important;
    border: 1px solid #dfe6ef !important;
    border-radius: 13px !important;
    background: #f8fafc !important;
}
body.amco-theme-light-active .amco-event-more-content .amco-auction-event-notes {
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid #dfe6ef !important;
    border-radius: 13px !important;
    background: #f8fafc !important;
    color: #52657e !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    body.amco-theme-light-active .amco-auction-event-card {
        grid-template-columns: 42% minmax(0,58%) !important;
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
    }
    body.amco-theme-light-active .amco-auction-event-image,
    body.amco-theme-light-active .amco-auction-event-body {
        height: 256px !important;
        min-height: 256px !important;
        max-height: 256px !important;
    }
    body.amco-theme-light-active .amco-auction-event-summary { max-height: 168px !important; }
    body.amco-theme-light-active .amco-auction-event-meta { grid-template-columns: 1fr !important; }
    body.amco-theme-light-active .amco-auction-event-catalogue { display: none !important; }
}

@media (max-width: 620px) {
    body.amco-theme-light-active .amco-auction-event-card {
        display: flex !important;
        flex-direction: column !important;
        height: 430px !important;
        min-height: 430px !important;
        max-height: 430px !important;
        padding: 10px !important;
    }
    body.amco-theme-light-active .amco-auction-event-image {
        flex: 0 0 178px !important;
        width: 100% !important;
        height: 178px !important;
        min-height: 178px !important;
        max-height: 178px !important;
    }
    body.amco-theme-light-active .amco-auction-event-body {
        flex: 1 1 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 13px 3px 1px !important;
    }
    body.amco-theme-light-active .amco-auction-event-summary { max-height: 150px !important; }
    body.amco-theme-light-active .amco-auction-event-name { font-size: 18px !important; }
    body.amco-theme-light-active .amco-auction-event-footer {
        min-height: 48px !important;
        gap: 6px !important;
    }
    body.amco-theme-light-active .amco-auction-event-button,
    body.amco-theme-light-active .amco-auction-event-more {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        padding-inline: 10px !important;
    }
    body.amco-theme-light-active .amco-auction-event-register-button { display: none !important; }
    body.amco-theme-light-active .amco-event-more-content .amco-auction-event-meta { grid-template-columns: 1fr !important; }
}
