/* =========================================================
   SEIZEBID — PROFESSIONAL PUBLIC LISTINGS
   Auctions / Vehicles / Properties
========================================================= */

.public-listings-page {
    margin: 0;
    min-height: 100vh;
    background: #f6f7f9;
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   HEADER
========================================================= */

.public-listings-page header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8eaee;
    position: relative;
    z-index: 20;
}


.public-listings-page header .container {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 76px;
    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


.public-listings-page .logo {
    color: #172033;
    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.8px;
}


.public-listings-page nav {
    display: flex;
    align-items: center;
    gap: 25px;
}


.public-listings-page nav a {
    color: #596273;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}


.public-listings-page nav a:hover {
    color: #172033;
}


.public-listings-page nav a.active {
    color: #172033;
    font-weight: 800;
}


.public-listings-page nav .login-button {
    padding: 11px 17px;
    border-radius: 7px;
    background: #172033;
    color: #ffffff;
    font-weight: 800;
}


.public-listings-page nav .login-button:hover {
    background: #27344b;
    color: #ffffff;
}


/* =========================================================
   PAGE HERO
========================================================= */

.public-page-header {
    max-width: 1240px;
    margin: 0 auto;
    padding: 68px 28px 34px;
}


.public-page-header .eyebrow {
    display: inline-block;
    margin-bottom: 13px;

    color: #7c8696;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


.public-page-header h1 {
    margin: 0;

    color: #172033;

    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}


.public-page-header p {
    max-width: 650px;
    margin: 18px 0 0;

    color: #697486;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TOOLBAR
========================================================= */

.public-toolbar {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.public-search {
    width: min(540px, 100%);
    height: 48px;

    padding: 0 17px;

    border: 1px solid #dfe3e8;
    border-radius: 8px;

    background: #ffffff;

    color: #172033;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    box-sizing: border-box;

    box-shadow:
        0 2px 8px rgba(20, 30, 50, 0.03);
}


.public-search::placeholder {
    color: #9aa2ae;
}


.public-search:focus {
    border-color: #172033;

    box-shadow:
        0 0 0 3px rgba(23, 32, 51, 0.06);
}


.public-count {
    color: #7d8795;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   AUCTION GRID
========================================================= */

.public-listings {
    max-width: 1240px;
    margin: 0 auto;

    padding: 0 28px 90px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;
}


/* =========================================================
   AUCTION CARD
========================================================= */

.public-auction-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e8ed;
    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(20, 30, 50, 0.05);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.public-auction-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 38px rgba(20, 30, 50, 0.11);
}


/* =========================================================
   IMAGE
========================================================= */

.public-card-image {
    position: relative;

    width: 100%;
    height: 255px;

    overflow: hidden;

    background: #e9edf1;
}


.public-auction-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


.public-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #eef1f4,
            #dfe4e9
        );

    color: #7c8795;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   STATUS BADGE
========================================================= */

.public-status {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 10px;

    border-radius: 5px;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 0.8px;
    text-transform: uppercase;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.12);
}


.status-upcoming {
    background: #ffffff;
    color: #172033;
}


.status-live {
    background: #172033;
    color: #ffffff;
}


.status-sold {
    background: #e7f3ea;
    color: #347047;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.public-card-content {
    padding: 21px 21px 20px;
}


.public-category {
    margin-bottom: 8px;

    color: #8a94a3;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;
}


.public-card-content h3 {
    min-height: 48px;

    margin: 0;

    color: #172033;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.4;
    letter-spacing: -0.25px;
}


.public-location {
    margin-top: 9px;

    color: #7b8593;

    font-size: 11px;
}


/* =========================================================
   DETAILS
========================================================= */

.public-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 17px;
}


.public-details span {
    display: inline-flex;
    align-items: center;

    min-height: 26px;

    padding: 0 9px;

    border-radius: 5px;

    background: #f4f5f7;

    color: #697383;

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.public-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;
    padding-top: 17px;

    border-top: 1px solid #edf0f3;
}


.public-price small {
    display: block;

    margin-bottom: 5px;

    color: #929aa7;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.public-price strong {
    display: block;

    color: #172033;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -0.5px;
}


.public-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 15px;

    border-radius: 6px;

    background: #172033;
    color: #ffffff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.public-view-button:hover {
    background: #2a3850;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.public-empty {
    grid-column: 1 / -1;

    padding: 90px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e5e8ed;
    border-radius: 12px;
}


.public-empty-icon {
    margin-bottom: 18px;

    font-size: 42px;
}


.public-empty h3 {
    margin: 0;

    color: #172033;

    font-size: 21px;
}


.public-empty p {
    max-width: 450px;

    margin: 10px auto 22px;

    color: #7b8593;

    font-size: 13px;
    line-height: 1.6;
}


.public-empty a {
    display: inline-flex;
    align-items: center;

    min-height: 40px;

    padding: 0 17px;

    border-radius: 6px;

    background: #172033;
    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   FOOTER
========================================================= */

.public-listings-page footer {
    background: #172033;
    color: #ffffff;
}


.public-listings-page footer .container {
    max-width: 1240px;
    margin: 0 auto;

    padding: 30px 28px;
}


.public-listings-page footer p {
    margin: 0;

    color: #aeb6c3;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .public-listings-page header .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .public-listings-page nav {
        gap: 15px;
    }


    .public-listings-page nav a {
        font-size: 11px;
    }


    .public-listings {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .public-listings-page header .container {
        min-height: auto;

        padding-top: 18px;
        padding-bottom: 18px;

        flex-direction: column;
        align-items: flex-start;
    }


    .public-listings-page nav {
        width: 100%;

        display: flex;

        gap: 12px;

        overflow-x: auto;

        padding-bottom: 3px;
    }


    .public-listings-page nav a {
        flex-shrink: 0;
    }


    .public-page-header {
        padding:
            48px 18px 28px;
    }


    .public-page-header h1 {
        font-size: 36px;
    }


    .public-page-header p {
        font-size: 14px;
    }


    .public-toolbar {
        padding:
            0 18px 25px;

        flex-direction: column;
        align-items: stretch;
    }


    .public-search {
        width: 100%;
    }


    .public-count {
        text-align: left;
    }


    .public-listings {
        grid-template-columns: 1fr;

        padding:
            0 18px 60px;

        gap: 20px;
    }


    .public-card-image {
        height: 240px;
    }


    .public-card-content {
        padding: 19px;
    }


    .public-card-content h3 {
        min-height: auto;
    }


    .public-card-footer {
        align-items: center;
    }


    .public-price strong {
        font-size: 19px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .public-page-header h1 {
        font-size: 31px;
    }


    .public-card-image {
        height: 220px;
    }


    .public-card-footer {
        flex-direction: column;
        align-items: stretch;
    }


    .public-view-button {
        width: 100%;
    }

}