:root {
    --green: #0e6b3a;
    --green-dark: #0a4d2a;
    --yellow: #f2c200;
    --black: #14151a;
    --grey-bg: #f2f3f2;
    --grey-border: #d9dcd9;
    --text: #1c1e1c;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; }
ul { padding-left: 1.2em; }

/* ---------------- buttons ---------------- */
.btn {
    display: inline-block;
    padding: .65em 1.4em;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: .95rem;
    text-align: center;
}
.btn-outline { border-color: #111; color: #111; background: #fff; }
.btn-outline:hover { background: #111; color: #fff; }
.btn-yellow { border-color: var(--yellow); color: #111; background: #fff; }
.btn-yellow:hover { background: var(--yellow); }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: #111; }
.btn-outline-yellow { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn-outline-yellow:hover { background: var(--yellow); color: #111; }
.btn-block { display: block; width: 100%; }

/* ---------------- header ---------------- */
.site-header { border-bottom: 1px solid var(--grey-border); position: sticky; top: 0; background: #fff; z-index: 50; }
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; padding: .8rem 1.5rem; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--green); display: inline-flex; }
.logo img { display: block; height: 34px; width: auto; }
.logo span { color: var(--black); }
.logo-footer { color: #fff; }
.logo-footer span { color: var(--yellow); }
.main-nav { display: flex; align-items: center; gap: 1.3rem; flex: 1; flex-wrap: wrap; }
.main-nav a { font-weight: 600; font-size: .92rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { border-color: var(--green); color: var(--green); }
.nav-auth { display: flex; gap: .6rem; }
.nav-auth-mobile { display: none; }
.hamburger { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 900px) {
    .hamburger { display: block; order: 2; }
    .nav-auth { display: none; }
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        order: 3;
        padding-top: .5rem;
    }
    .main-nav.open { display: flex; }
    .nav-auth-mobile { display: flex; gap: .6rem; margin-top: .8rem; }
    .header-inner { flex-wrap: wrap; }
}

/* ---------------- page banner ---------------- */
.page-banner { background: var(--green); color: #fff; padding: 1.6rem 1.5rem; }
.page-banner h1 { font-size: 1.6rem; }
.page-banner p { margin: 0; opacity: .9; }

/* ---------------- flash ---------------- */
.flash { padding: .8rem 1.5rem; font-weight: 600; }
.flash-success { background: #e3f6e9; color: #0a4d2a; }
.flash-error { background: #fdeaea; color: #9c1c1c; }
.flash-info { background: #eef5ff; color: #1c3f9c; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--black); color: #fff; padding: 2.5rem 1.5rem 1.2rem; margin-top: 2rem; }
.footer-top { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-socials { display: flex; gap: .9rem; font-size: 1.1rem; }
.footer-socials a { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; }
.footer-buttons { max-width: 1400px; margin: 1.3rem auto; display: flex; gap: .8rem; }
.footer-columns { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-top: 1rem; border-top: 1px solid #333; }
.footer-columns h4 { color: #fff; border-bottom: 2px solid var(--yellow); display: inline-block; padding-bottom: .3rem; }
.footer-columns a { display: block; color: #ddd; padding: .25rem 0; }
.footer-columns a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1400px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid #333; font-size: .85rem; color: #999; }
@media (max-width: 800px) { .footer-columns { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- home hero ---------------- */
.hero-black { background: #0c0c0c; color: #fff; text-align: center; padding: 3rem 1.5rem; }
.hero-black .stamp { display: inline-block; border: 3px solid #fff; padding: .6rem 1.2rem; font-weight: 900; font-size: 1.8rem; transform: rotate(-3deg); }
.hero-black h2 { color: var(--yellow); font-size: 1.8rem; margin-top: 1.2rem; }
.hero-black p { font-size: 1.3rem; margin: .5rem 0 1.2rem; }
.hero-app-row { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.search-bar-band { background: var(--green); padding: 1.5rem; }
.search-bar-inner { max-width: 1400px; margin: 0 auto; }
.search-bar-inner h3 { color: #fff; }
.search-form { display: flex; gap: .6rem; margin-top: .6rem; }
.search-form input[type=text] { flex: 1; padding: .7rem; border-radius: 4px; border: none; }
.search-form button { background: var(--yellow); border: 2px solid #111; border-radius: 4px; padding: 0 1.2rem; cursor: pointer; }

.sponsor-row { display: flex; gap: 2.5rem; align-items: center; justify-content: center; flex-wrap: wrap; padding: 1.2rem; background: #fff; font-weight: 700; color: #888; }

.section { max-width: 1400px; margin: 0 auto; padding: 1.8rem 1.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.carousel .vehicle-card { min-width: 260px; scroll-snap-align: start; flex: 0 0 auto; }
.carousel-next { position: absolute; right: -6px; top: 45%; background: #fff; border: 1px solid var(--grey-border); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; }

.cta-band { background: var(--green); color: #fff; padding: 2rem 1.5rem; text-align: center; }
.cta-band .btn { margin: 0 .3rem; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split .cta-dark { background: #0c0c0c; color: #fff; padding: 2rem; }
.cta-split .cta-yellow { background: var(--yellow); padding: 2rem; }
@media (max-width: 800px) { .cta-split { grid-template-columns: 1fr; } }

/* ---------------- vehicle card ---------------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.vehicle-card { border: 1px solid var(--grey-border); border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.vehicle-card-media { position: relative; display: block; }
.vehicle-card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.badge { position: absolute; top: 8px; left: 8px; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 3px; color: #fff; }
.badge-expiring, .badge-countdown { background: var(--green); }
.badge-coming-soon { background: var(--green); }
.badge-live { background: #222; }
.badge-sold { background: #c0392b; font-size: .8rem; letter-spacing: .06em; }
.sold-card .vehicle-card-media img { filter: saturate(.85); }
.card-icons { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: .3rem; align-items: flex-end; }
.card-icons span, .card-icons button { background: rgba(255,255,255,.9); border: none; border-radius: 12px; padding: .15rem .5rem; font-size: .75rem; display: flex; align-items: center; gap: .2rem; cursor: pointer; }
.icon-heart.active { color: #c0392b; font-weight: 700; }
.vehicle-card-body { padding: .8rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.vehicle-title { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.vehicle-note { font-size: .8rem; color: #666; margin: 0; }
.vehicle-bid-row { display: flex; justify-content: space-between; font-size: .85rem; }
.vehicle-bid-row strong { color: var(--green); font-size: 1.05rem; }
.vehicle-meta { display: flex; justify-content: space-between; font-size: .75rem; color: #666; }
.vehicle-badges { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .2rem; }
.pill { font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: 3px; }
.pill-starter { background: var(--yellow); color: #111; }
.pill-reserve { background: #fdf0d5; color: #8a5a00; }
.pill-deal { background: #14603a; color: #fff; }
.pill-hot { background: #c0392b; color: #fff; }

/* ---------------- auth pages ---------------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; }
.auth-form-col { padding: 2.5rem; }
.auth-image-col { background-size: cover; background-position: center; position: relative; color: #fff; }
.auth-image-col .overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row.single { grid-template-columns: 1fr; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=password], .form-row input[type=tel] {
    padding: .75rem; border: 1px solid #888; border-radius: 4px; width: 100%; font-size: .95rem;
}
.checkbox-row { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .7rem; font-size: .9rem; }
@media (max-width: 800px) { .auth-wrap, .form-row { grid-template-columns: 1fr; } .auth-image-col { display: none; } }

/* ---------------- search page ---------------- */
.search-controls { background: var(--grey-bg); padding: 1.5rem; }
.category-pills { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.category-pills a { padding: .4rem 1rem; border-radius: 16px; background: #111; color: #fff; font-size: .82rem; font-weight: 600; }
.category-pills a.active { background: var(--green); }
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem 0; max-width: 1400px; margin: 0 auto; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin: 1.5rem 0; }
.pagination a, .pagination span { padding: .4rem .75rem; border-radius: 4px; border: 1px solid var(--grey-border); font-size: .85rem; }
.pagination .current { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }

/* ---------------- product detail page (PDP) ---------------- */
.spec-list { list-style: none; padding: 0; margin: 1rem 0; }
.spec-list li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--grey-border); font-size: .9rem; }

.pdp-banner { background: var(--green); color: #fff; }
.pdp-banner-inner { max-width: 1400px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.pdp-banner h1 { font-size: 1.5rem; margin: 0; }
.pdp-banner-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: .4rem; font-size: .9rem; opacity: .95; }
.pdp-banner-meta i { font-style: normal; }
.pdp-heart { background: rgba(255,255,255,.15); border: none; color: #fff; border-radius: 20px; padding: .5rem 1rem; cursor: pointer; font-size: 1rem; white-space: nowrap; }
.pdp-heart.active { color: #ffd0d0; }

.pdp-grid { max-width: 1400px; margin: 0 auto; padding: 1.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.2rem; align-items: start; }

.pdp-viewer { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-border); background: #eee; }
.pdp-hero { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.product-360 { position: relative; cursor: grab; user-select: none; }
.product-360.dragging { cursor: grabbing; }
.product-360-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; pointer-events: none; }
.pdp-360-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(20,21,26,.75); color: #fff; font-weight: 700; padding: .8rem 1rem; border-radius: 50%; font-size: .8rem; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.pdp-360-badge i { font-style: normal; font-size: 1rem; }
.product-360-hint { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); color: #fff; font-size: .75rem; padding: .3rem .7rem; border-radius: 12px; pointer-events: none; }
.pdp-zoom-controls { position: absolute; top: 10px; left: 10px; display: flex; gap: .4rem; }
.pdp-zoom-controls button { background: rgba(20,21,26,.8); color: #fff; border: none; border-radius: 6px; width: 38px; height: 34px; cursor: pointer; font-size: .85rem; display: flex; align-items: center; justify-content: center; line-height: 1; }
.pdp-zoom-controls button:hover { background: var(--green); }
.pdp-zoom-controls sup { font-size: .7em; }
.pdp-viewer .product-360-frame img, .pdp-viewer .pdp-hero { transition: transform .2s; }
.pdp-media-controls { position: absolute; bottom: 10px; right: 10px; display: flex; gap: .5rem; }
.pdp-media-btn { background: rgba(20,21,26,.8); color: #fff; border: none; border-radius: 6px; padding: .5rem .7rem; cursor: pointer; font-size: 1rem; display: flex; align-items: center; gap: .3rem; }
.pdp-media-btn i { font-style: normal; }
.pdp-media-btn:hover { background: var(--green); }
.pdp-gallery-btn span { font-weight: 700; font-size: .85rem; }

.pdp-card { border: 1px solid var(--grey-border); border-radius: 8px; overflow: hidden; background: #fff; }
.pdp-card-head { background: var(--yellow); font-weight: 700; padding: .7rem 1rem; }
.pdp-card-head-auction { display: flex; justify-content: space-between; align-items: center; }
.pdp-card-head-auction i { font-style: normal; }
.pdp-card-body { padding: 1rem; }
.pdp-detail-list { list-style: none; padding: 0; margin: 0; }
.pdp-detail-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--grey-border); font-size: .9rem; }
.pdp-detail-list li:last-child { border-bottom: none; }
.pdp-detail-list li span:first-child { color: #555; font-weight: 600; }
.retail-pill { display: inline-flex; align-items: center; background: var(--grey-bg); border: 1px solid var(--grey-border); border-radius: 20px; padding: .5rem .9rem; font-size: .88rem; margin-bottom: .8rem; }

.pdp-bid-figures { display: flex; gap: .6rem; }
.pdp-bid-box { flex: 1; border: 1px solid var(--grey-border); border-radius: 8px; padding: .7rem; text-align: center; }
.pdp-bid-box .detail { font-size: .78rem; color: #666; }
.pdp-bid-amount { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.pdp-bid-amount.muted { color: #999; }
.pdp-increment { font-size: .78rem; color: #666; margin-top: .2rem; }
.pdp-progress { background: #e5e7eb; border-radius: 20px; overflow: hidden; margin: 1rem 0 .4rem; height: 26px; }
.pdp-progress-bar { background: #9aa0a6; color: #fff; height: 100%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; min-width: 90px; transition: width .4s; }
.pdp-progress-bar.approved { background: var(--green); }
.pdp-hint { font-size: .82rem; color: #555; margin: .2rem 0 0; }
.pdp-bid-form input[type=number] { width: 100%; padding: .7rem; border: 1px solid #888; border-radius: 4px; margin-bottom: .5rem; font-size: 1rem; }
.pdp-auth-btns { display: flex; gap: .5rem; }
.pdp-auth-btns .btn { flex: 1; }
.text-center { text-align: center; }
.pdp-card-body hr { border: none; border-top: 1px solid var(--grey-border); margin: 1rem 0; }

@media (max-width: 950px) {
    .pdp-grid { grid-template-columns: 1fr; }
    /* Photos first, then bidding, then details */
    .pdp-media-col { order: 0; }
    .pdp-card-auction { order: 1; }
    .pdp-card-details { order: 2; }
    .pdp-banner h1 { font-size: 1.2rem; }
}

/* ---------------- bid calculator + lightbox modals ---------------- */
.pdp-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 1rem; }
.pdp-modal[hidden] { display: none; }
.pdp-modal-box { background: #fff; border-radius: 8px; width: 100%; max-width: 470px; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
.pdp-modal-head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--grey-border); font-weight: 700; }
.pdp-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.pdp-modal-body { padding: 1rem; overflow-y: auto; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: .3rem 0; font-size: .92rem; }
.calc-row span:first-child { font-weight: 700; }
.calc-bid-row { padding: .5rem 0 .8rem; }
.calc-bid-row input { width: 140px; padding: .5rem; border: 1px solid #888; border-radius: 4px; text-align: right; font-size: 1rem; }
.calc-total { font-weight: 800; }
.calc-total span { color: var(--text); }
.calc-info { font-size: .88rem; color: #444; text-align: center; margin: 0 0 .6rem; }
.calc-i { color: var(--green); font-weight: 700; }
.calc-note { font-size: .85rem; color: #444; text-align: center; margin: .9rem 0 .5rem; }
.pdp-modal-body hr { border: none; border-top: 1px solid var(--grey-border); margin: .55rem 0; }
.pdp-modal-foot { padding: .8rem 1rem; border-top: 1px solid var(--grey-border); display: flex; justify-content: flex-end; }

.pdp-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 300; display: flex; flex-direction: column; }
.pdp-lightbox[hidden] { display: none; }
.pdp-lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; color: #fff; }
.pdp-lightbox-counter { font-size: .9rem; }
.pdp-lightbox-actions button { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; margin-left: 1rem; }
.pdp-lightbox-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding: 0 1rem; }
.pdp-lightbox-stage img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.pdp-lightbox-caption { color: #fff; margin-top: .8rem; font-size: .95rem; }
.pdp-lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; font-size: 2.2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; z-index: 2; }
.pdp-lightbox-arrow:hover { background: rgba(255,255,255,.3); }
.pdp-lightbox-arrow.prev { left: 12px; }
.pdp-lightbox-arrow.next { right: 12px; }
.pdp-lightbox-grid { position: absolute; inset: 60px 0 0; background: rgba(0,0,0,.96); overflow-y: auto; padding: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.pdp-lightbox-grid[hidden] { display: none; }
.pdp-lightbox-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; cursor: pointer; }
@media (max-width: 600px) {
    .pdp-lightbox-arrow { width: 42px; height: 42px; font-size: 1.7rem; }
    .pdp-lightbox-stage img { max-height: calc(100vh - 130px); }
}

/* ---------------- contact / branches ---------------- */
.contact-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.5rem; background: var(--grey-bg); }
.contact-top-card { background: #fff; border: 1px solid var(--grey-border); border-radius: 6px; padding: 1rem; }
.province-block { padding: 1.2rem 1.5rem; }
.province-block:nth-child(odd) { background: var(--grey-bg); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: .8rem; }
.branch-card { border: 1px solid var(--grey-border); border-radius: 6px; overflow: hidden; }
.branch-card-head { background: var(--green); color: #fff; font-weight: 700; padding: .6rem .9rem; }
.branch-card-body { padding: .9rem; font-size: .85rem; }
@media (max-width: 800px) { .contact-top { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-page { background: var(--green); color: #fff; padding: 2rem 1.5rem; }
.faq-page h1 { color: var(--yellow); }
.faq-item { border: 1px solid rgba(255,255,255,.4); border-radius: 4px; margin-bottom: .6rem; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1rem; cursor: pointer; font-weight: 700; }
.faq-answer { display: none; padding: 0 1rem 1rem; white-space: pre-line; line-height: 1.5; font-size: .92rem; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ---------------- terms ---------------- */
.terms-page { background: var(--green); color: #fff; padding: 2rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.terms-page h2 { color: var(--yellow); margin-top: 1.5rem; }
.terms-page a { text-decoration: underline; color: #fff; }
.terms-page ol { padding-left: 1.4em; }
.terms-page li { margin-bottom: .4rem; }

/* ---------------- our services ---------------- */
.services-page { max-width: 1000px; margin: 0 auto; padding: 1.5rem; }
.services-page .intro-box, .service-block { background: #fff; border: 1px solid var(--grey-border); border-radius: 6px; padding: 1.3rem; margin-bottom: 1.2rem; }
.service-block h3 { color: var(--green); }
.why-list { list-style: none; padding: 0; }
.why-list li { padding: .35rem 0; }
.why-list li::before { content: "\2713  "; color: var(--green); font-weight: 700; }
.services-cta { background: var(--green); color: #fff; border-radius: 6px; padding: 1.5rem; text-align: center; }
.services-cta .contacts { display: flex; justify-content: center; gap: 3rem; margin: 1rem 0; flex-wrap: wrap; }
.services-cta .contacts strong { color: var(--yellow); }

/* ---------------- taxis / generic hero ---------------- */
.taxi-hero { display: flex; align-items: center; justify-content: center; gap: 2rem; padding: 2rem 1.5rem; flex-wrap: wrap; text-align: center; }
.taxi-heart { font-size: 3rem; color: var(--green); }

/* ---------------- generic form page ---------------- */
.form-page { max-width: 600px; margin: 0 auto; padding: 2rem 1.5rem; }
.form-page input, .form-page textarea { width: 100%; padding: .75rem; border: 1px solid #888; border-radius: 4px; margin-bottom: 1rem; font-size: .95rem; font-family: inherit; }

/* ---------------- admin ---------------- */
.admin-shell { display: flex; min-height: 100vh; align-items: stretch; }
.admin-sidebar { width: 220px; flex: 0 0 220px; background: var(--black); color: #fff; padding: 1.5rem 1.2rem; display: flex; flex-direction: column; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.admin-sidebar nav a { color: #ccc; padding: .6rem .7rem; border-radius: 4px; font-weight: 600; font-size: .9rem; }
.admin-sidebar nav a:hover { background: #222; color: #fff; }
.admin-sidebar nav a.active { background: var(--green); color: #fff; }
.admin-sidebar-footer { display: flex; flex-direction: column; gap: .3rem; border-top: 1px solid #333; padding-top: 1rem; }
.admin-sidebar-footer a { color: #999; font-size: .85rem; padding: .3rem 0; }
.admin-main { flex: 1; padding: 1.8rem; background: var(--grey-bg); min-width: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--grey-border); border-radius: 6px; padding: 1.1rem; }
.stat-card .num { font-size: 1.8rem; font-weight: 800; color: var(--green); }
.stat-card .label { font-size: .82rem; color: #666; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--grey-border); border-radius: 6px; overflow: hidden; }
.admin-table th, .admin-table td { padding: .6rem .8rem; text-align: left; border-bottom: 1px solid var(--grey-border); font-size: .88rem; }
.admin-table th { background: #f5f6f5; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.admin-card { background: #fff; border: 1px solid var(--grey-border); border-radius: 6px; padding: 1.2rem; margin-bottom: 1.2rem; }
.status-tag { font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 10px; text-transform: uppercase; color: #fff; }
.status-pending { background: #f9a825; }
.status-approved, .status-accepted { background: var(--green); }
.status-rejected { background: #c0392b; }
.status-reviewing { background: #1565c0; }
/* testimonials */
.testimonial-summary { display: flex; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--grey-border); border-radius: 8px; padding: 1.2rem; margin-bottom: 1.5rem; max-width: 420px; }
.ts-score { font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1; }
.ts-score span { font-size: 1.1rem; color: #999; }
.ts-stars { color: var(--yellow); font-size: 1.05rem; letter-spacing: 1px; }
.ts-stars span { color: #d9dcd9; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.testimonial-card { background: #fff; border: 1px solid var(--grey-border); border-radius: 8px; padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.ts-content { margin: 0; line-height: 1.6; font-size: .93rem; color: #333; flex: 1; }
.ts-author { display: flex; align-items: center; gap: .7rem; border-top: 1px solid var(--grey-border); padding-top: .8rem; font-size: .9rem; }
.ts-author img, .ts-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.ts-avatar { background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* email centre */
.ec-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 1000px) { .ec-grid { grid-template-columns: 1fr; } }
.ec-label { display: block; font-weight: 600; font-size: .8rem; margin: .9rem 0 .3rem; color: #555; }
.ec-input { width: 100%; padding: .6rem; border: 1px solid #888; border-radius: 4px; font-size: .9rem; font-family: inherit; margin-bottom: .3rem; }
.ec-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ec-actions { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.wysiwyg-toolbar { display: flex; flex-wrap: wrap; gap: .25rem; background: #f5f6f5; border: 1px solid var(--grey-border); border-bottom: none; border-radius: 5px 5px 0 0; padding: .4rem; }
.wysiwyg-toolbar button { min-width: 32px; height: 30px; border: 1px solid transparent; background: #fff; border-radius: 4px; cursor: pointer; font-size: .82rem; }
.wysiwyg-toolbar button:hover { border-color: var(--green); color: var(--green); }
.wysiwyg-toolbar .sep { width: 1px; background: var(--grey-border); margin: 2px 3px; }
.wysiwyg-toolbar input[type=color] { width: 34px; height: 30px; padding: 1px; border: 1px solid var(--grey-border); border-radius: 4px; background: #fff; }
#editor { min-height: 300px; max-height: 480px; overflow-y: auto; border: 1px solid var(--grey-border); border-radius: 0 0 5px 5px; padding: 1rem; background: #fff; font-size: .9rem; line-height: 1.6; }
#editor:focus { outline: none; border-color: var(--green); }
.placeholders { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.ph-btn { font-size: .72rem; padding: .25rem .6rem; background: #eef5ee; color: #0a4d2a; border: 1px solid #cfe3d5; border-radius: 20px; cursor: pointer; font-family: monospace; }
.ph-btn:hover { background: var(--green); color: #fff; }
.ec-hint { font-size: .78rem; color: #777; margin: .25rem 0 0; }
.pw-meter { height: 6px; background: var(--grey-border); border-radius: 3px; overflow: hidden; margin-top: .4rem; }
.pw-meter-bar { height: 100%; width: 0; transition: width .2s, background .2s; }
.pw-meter-bar.weak { background: #c0392b; }
.pw-meter-bar.fair { background: #f9a825; }
.pw-meter-bar.strong { background: var(--green); }
.admin-sidebar-footer a.active { color: #fff; }

.rcp-quick { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .6rem; }
.user-list { max-height: 300px; overflow-y: auto; border: 1px solid var(--grey-border); border-radius: 5px; }
.user-row { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-bottom: 1px solid #f0f1f0; font-size: .85rem; cursor: pointer; }
.user-row:hover { background: #fafbfa; }

/* bulk action bar */
.bulk-bar { background: #fff; border: 1px solid var(--grey-border); border-left: 4px solid var(--grey-border); border-radius: 6px; padding: .9rem 1rem; margin-bottom: 1rem; opacity: .55; }
.bulk-bar.active { border-left-color: var(--green); opacity: 1; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.bulk-bar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.bulk-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; }
.bulk-actions label { font-size: .8rem; font-weight: 600; color: #555; display: flex; flex-direction: column; gap: .25rem; }
.bulk-actions select, .bulk-actions input[type=text], .bulk-actions input[type=number], .bulk-actions input[type=datetime-local] { padding: .45rem; border: 1px solid #888; border-radius: 4px; font-weight: 400; }
.bulk-opts { display: flex; gap: .8rem; flex-wrap: wrap; align-items: flex-end; background: var(--grey-bg); padding: .7rem; border-radius: 5px; }
.bulk-opts[hidden] { display: none; }
.bulk-check { flex-direction: row !important; align-items: center; }
.bulk-danger { background: #fdeaea; }
.bulk-warn { font-size: .78rem; color: #9c1c1c; align-self: center; }

.image-manager-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; }
.image-manager-item { border: 1px solid var(--grey-border); border-radius: 6px; overflow: hidden; background: #fff; }
.image-manager-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-manager-item .meta { padding: .4rem .5rem; font-size: .75rem; display: flex; justify-content: space-between; align-items: center; }

/* ---------------- live auctions ---------------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; max-width: 1400px; margin: 0 auto; padding: 1.5rem; }
.event-card { border: 1px solid var(--grey-border); border-radius: 6px; overflow: hidden; }
.event-card-head { background: var(--yellow); padding: .6rem .9rem; display: flex; justify-content: space-between; font-weight: 700; }
.event-card-body { padding: .9rem; font-size: .88rem; }
.event-card-body .tag { display: inline-block; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 3px; margin-bottom: .5rem; }
.event-card-body ul { list-style: none; padding: 0; margin: 0 0 .6rem; }
.event-card-body li { display: flex; justify-content: space-between; padding: .15rem 0; }
