:root {
    --bg:#0b0d12;
    --surf:#121620;
    --surf2:#171c27;
    --border:rgba(255,255,255,.11);
    --border2:rgba(255,255,255,.22);
    --red:#f4b942;
    --red2:#d99b24;
    --teal:#f4b942;
    --teal2:#d99b24;
    --amber:#f4b942;
    --amber2:#d99b24;
    --gold:#f4b942;
    --gold2:#d99b24;
    --ink:#f6f3ea;
    --muted:#9ba5b5;
    --body:#0b0d12;
    --dark:#080a0e;
    --green:#3ddc97;
    --shadow:0 10px 30px rgba(0,0,0,.22);
    --shadow-md:0 18px 48px rgba(0,0,0,.3);
    --shadow-lg:0 28px 80px rgba(0,0,0,.42);
    --glow:0 0 0 2px rgba(244,185,66,.12),0 10px 30px rgba(0,0,0,.3);
}

body { background:#0b0d12;color:#f6f3ea; }
.util-bar { background:#080a0e;border-color:#252b38; }
#mainNav { background:rgba(11,13,18,.94)!important;border-bottom:1px solid rgba(255,255,255,.09)!important;backdrop-filter:blur(18px); }
.nav-link.nav-active { color:#f4b942!important; }
.nav-link.nav-inactive:hover { color:#fff!important; }
.card { background:#121620;border:1px solid #252b38;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.14); }
.card:hover { border-color:#4b5568;box-shadow:0 22px 55px rgba(0,0,0,.3); }
.btn-buy,.btn-primary { background:#f4b942!important;color:#16120a!important; }
.btn-buy:hover,.btn-primary:hover { background:#ffd36f!important; }
.btn-outline { border-color:#556176!important;color:#f6f3ea!important; }
.btn-outline:hover { border-color:#f4b942!important;color:#f4b942!important; }
.pg-header { background:#0f131b!important;border-color:#252b38!important; }
.pg-title { color:#f6f3ea!important; }
.form-card { background:#121620!important;border-color:#252b38!important; }
input,select,textarea { color-scheme:dark; }

/* Authentication: white fields, strong black entries, white labels. */
.auth-contrast .input-field,
.auth-contrast input,
.auth-contrast select,
.auth-contrast textarea {
    background:#fff!important;
    color:#000!important;
    font-weight:800!important;
    border-color:#cbd0d8!important;
    color-scheme:light;
    -webkit-text-fill-color:#000!important;
    opacity:1!important;
}
.auth-contrast .input-field::placeholder,
.auth-contrast input::placeholder,
.auth-contrast textarea::placeholder {
    color:#1f2937!important;
    -webkit-text-fill-color:#1f2937!important;
    font-weight:700!important;
    opacity:1!important;
}
.auth-contrast select option { background:#fff!important;color:#000!important;font-weight:700!important; }
.auth-contrast label,
.auth-contrast [style*="color:var(--muted)"] { color:#fff!important; }
.auth-contrast .form-card i[style*="color:var(--muted)"] { color:#000!important; }
.hm-h2 { color:#f6f3ea!important; }
.hm-viewall { color:#f4b942!important; }
.hm-trust-strip,.hm-brands-strip { background:#0f131b!important;border-color:#252b38!important; }
.hm-trust-badge { border-color:#252b38!important; }
.hm-trust-badge:hover { background:#171c27!important; }
.hm-alert-sec { background:#171c27!important;border-color:#252b38!important; }
.hm-alert-form input { background:#0b0d12!important;border-color:#343c4b!important;color:#fff!important; }
.hm-why-c,.hm-testi-summary,.hm-testi-c { background:#121620!important;border-color:#252b38!important; }
.hm-why-c:hover,.hm-testi-c:hover { border-color:rgba(244,185,66,.55)!important; }
.hm-why-ico,.hm-trust-ico { background:rgba(244,185,66,.11)!important; }
.hm-secure-sec { background:#080a0e!important; }
.hm-secure-card { background:#121620!important;border-color:#252b38!important; }
.hiw-card,.ab-pillar-card,.ab-value-card { background:#121620!important;border-color:#252b38!important; }
.hiw-num { background:#0b0d12!important;border-color:#343c4b!important; }
.hiw-timeline:before { background:#343c4b!important; }
footer { --red:#f4b942!important;background:#080a0e!important;border-color:rgba(244,185,66,.22)!important; }
footer .ft-main i { color:#f4b942!important; }

/* High-contrast text for the white information cards shown on the homepage. */
.hm-steps { background:#f6f3ea!important;border-color:#d7d0c3!important; }
.hm-step { background:#fff!important;border-color:#ddd7cc!important; }
.hm-step h3,.hm-step [style*="color:var(--ink)"] { color:#11151c!important; }
.hm-step p,.hm-step [style*="color:var(--muted)"] { color:#4f5968!important; }
.hm-step-num { color:#b77a08!important;opacity:1!important; }
.hm-why-head ~ div[data-reveal] > div[style*="background:#FFFFFF"] { background:#fff!important;border-color:#ddd7cc!important; }
.hm-why-head ~ div[data-reveal] > div[style*="background:#FFFFFF"] h3 { color:#11151c!important; }
.hm-why-head ~ div[data-reveal] > div[style*="background:#FFFFFF"] p { color:#4f5968!important; }

/* Homepage hero matching the Kentucky Online Auction reference. */
.hm-hero { min-height:620px;background:#090c12!important;border-bottom:1px solid #252b38!important;isolation:isolate; }
.hm-hero-bg { inset:0!important;z-index:-1!important;background:linear-gradient(90deg,rgba(5,7,10,.91) 2%,rgba(5,7,10,.62) 43%,rgba(5,7,10,.12) 82%),linear-gradient(0deg,rgba(5,7,10,.48),transparent 58%)!important; }
.koa-slides { position:absolute;inset:0;z-index:-2;overflow:hidden; }
.koa-slide { position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transform:scale(1);animation:koaCycle 18s infinite ease-in-out; }
.koa-slide:nth-child(1) { background-image:url('../images/hero-bid-buy-sunrise-v3.webp'); }
.koa-slide:nth-child(2) { background-image:url('../images/hero-bid-buy-country-v3.webp');animation-delay:6s; }
.koa-slide:nth-child(3) { background-image:url('../images/hero-bid-buy-evening-v3.webp');animation-delay:12s; }
@keyframes koaCycle { 0%{opacity:1;transform:scale(1)} 28%{opacity:1} 34%{opacity:0;transform:scale(1.045)} 100%{opacity:0;transform:scale(1.045)} }
.hm-hero-inner { min-height:620px;grid-template-columns:minmax(0,1fr) 360px!important;padding:78px 0 72px!important;align-items:center!important; }
.hm-hero-cards { display:none!important; }
.hm-search-card { background:rgba(18,22,32,.9)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 24px 70px rgba(0,0,0,.45)!important;backdrop-filter:blur(16px); }
.hm-tab-row,.hm-sf input,.hm-sf select { background:#0b0d12!important;color:#f6f3ea!important;border-color:#2f3747!important; }
.hm-tab.active { background:#f4b942!important;color:#16120a!important; }
.hm-price-val { color:#f6f3ea!important; }
.koa-kicker { display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid rgba(244,185,66,.55);border-radius:4px;background:rgba(10,12,17,.55);color:#f4b942;font-size:.76rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px; }
.koa-title { max-width:800px!important;font-size:clamp(3rem,6.4vw,6.8rem)!important;color:#fff!important;text-shadow:0 5px 25px rgba(0,0,0,.55); }
.koa-title span { display:block; }
.koa-title .koa-gold { color:#f4b942; }
.koa-intro { max-width:610px!important;color:#c9d0da!important;font-size:1.02rem!important; }
.koa-notice { display:flex;align-items:flex-start;gap:10px;max-width:610px;margin-top:22px;padding:12px 14px;border:1px solid rgba(244,185,66,.42);background:rgba(8,10,14,.68);border-radius:7px;color:#f6f3ea;font-size:12px;line-height:1.55; }
.koa-notice i { color:#f4b942;margin-top:3px; }

/* Homepage sections: dark catalog, cream process and gold call to action. */
body .hm-sec[style*="background:#FFFFFF"],body .hm-sec-sm[style*="background:#FFFFFF"] { background:#0b0d12!important; }
body .hm-sec[style*="background:#F5F5F3"],body .hm-sec-sm[style*="background:#F5F5F3"] { background:#0f131b!important; }
body section[style*="background:#0A0A0A"] { background:#080a0e!important; }

/* Six newest products: three cards per row on desktop. */
.koa-home-products { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch; }
.koa-home-product { display:flex;min-width:0; }
.koa-home-product > .card { display:flex!important;flex-direction:column!important;width:100%;height:100%;overflow:hidden;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease; }
.koa-home-product .card-img-wrap { height:auto;min-height:0;border-radius:12px 12px 0 0!important; }
.koa-home-product .card-img-wrap > a,.koa-home-product .card-img-wrap picture { display:block;height:100%; }
.koa-home-product .card-img-wrap img { display:block;width:100%;height:220px!important;min-height:0;object-fit:cover;transition:transform .45s ease; }
.koa-home-product .card:hover .card-img-wrap img { transform:scale(1.035); }
.koa-home-product .card:hover { transform:translateY(-3px); }
.koa-home-product .product-card-content { min-width:0; }
.koa-home-product .product-card-title { min-height:2.8em; }
.koa-home-product .product-card-actions { width:100%; }
.koa-home-product .product-card-auction { transition:border-color .18s ease,background .18s ease; }
.koa-home-product .product-card-auction:hover { border-color:rgba(244,185,66,.48)!important; }
.koa-home-product .product-card-countdown { gap:10px; }
.koa-home-product .product-card-countdown .countdown { text-align:right;white-space:nowrap; }

/* Compact six-card laptop row. Essential auction information stays visible. */
@media(min-width:900px) {
    .koa-home-product .card-img-wrap img { height:132px!important; }
    .koa-home-product .product-card-content { padding:10px!important; }
    .koa-home-product .product-card-content > div:first-child { font-size:8px!important;margin-bottom:4px!important; }
    .koa-home-product .product-card-title { font-size:12px!important;line-height:1.35!important;min-height:2.7em;margin-bottom:8px!important; }
    .koa-home-product .product-card-specs { display:none!important; }
    .koa-home-product .product-card-auction { padding:8px!important; }
    .koa-home-product .product-card-auction [style*="font-size:24px"] { font-size:18px!important; }
    .koa-home-product .product-card-auction [style*="justify-content:space-between"] { gap:5px; }
    .koa-home-product .product-card-countdown { flex-direction:column;align-items:flex-start!important;gap:2px;padding:6px 7px!important; }
    .koa-home-product .product-card-countdown .countdown { font-size:11px!important;text-align:left;white-space:normal;line-height:1.2; }
    .koa-home-product .product-card-buy-strip { display:none!important; }
    .koa-home-product .card-overlay { display:none!important; }
}
@media(min-width:1280px) {
    .koa-home-product .card-img-wrap img { height:150px!important; }
    .koa-home-product .product-card-content { padding:12px!important; }
    .koa-home-product .product-card-title { font-size:13px!important; }
    .koa-home-product .product-card-auction [style*="font-size:24px"] { font-size:20px!important; }
}
.inventory-products { align-items:stretch;gap:20px!important; }
.inventory-product { display:flex;min-width:0; }
.inventory-product > .card { width:100%;height:100%;overflow:hidden; }
.inventory-product .card-img-wrap img { display:block;width:100%;height:205px!important;object-fit:cover; }
.inventory-product .product-card-title { min-height:2.8em; }
.inventory-product .product-card-countdown { gap:10px; }
.inventory-product .product-card-countdown .countdown { text-align:right;white-space:nowrap; }

@media(max-width:1099px) {
    .hm-hero-inner { grid-template-columns:1fr!important;min-height:650px;padding:68px 0!important; }
    .hm-search-card { max-width:620px; }
}
@media(max-width:899px) {
    .koa-home-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
    .hm-hero { min-height:680px; }
    .hm-hero-inner { min-height:680px;padding:52px 0!important; }
    .koa-title { font-size:clamp(2.65rem,14vw,4.3rem)!important; }
    .koa-kicker { font-size:.62rem;letter-spacing:.12em; }
    .koa-home-products { grid-template-columns:1fr;gap:18px; }
    .koa-home-product .card { border-radius:14px; }
    .koa-home-product .card-img-wrap img { height:auto!important;aspect-ratio:16/10; }
    .koa-home-product .product-card-content { padding:16px!important; }
    .koa-home-product .product-card-title { font-size:16px!important;line-height:1.38!important;min-height:auto;margin-bottom:12px!important; }
    .koa-home-product .product-card-specs { gap:6px!important;margin-bottom:14px!important; }
    .koa-home-product .product-card-specs span { font-size:12px!important;padding:5px 10px!important; }
    .koa-home-product .product-card-auction { padding:13px!important; }
    .koa-home-product .product-card-auction [style*="font-size:24px"] { font-size:26px!important; }
    .koa-home-product .product-card-countdown { padding:10px 12px!important; }
    .koa-home-product .product-card-countdown .countdown { font-size:13px!important; }
    .koa-home-product .product-card-buy-strip { padding:11px 12px!important; }
    .koa-home-product .card-overlay { display:none!important; }
    .inventory-products { grid-template-columns:1fr!important;gap:18px!important; }
    .inventory-product .card { border-radius:14px; }
    .inventory-product .card-img-wrap img { height:auto!important;aspect-ratio:16/10; }
    .inventory-product .product-card-content { padding:16px!important; }
    .inventory-product .product-card-title { font-size:16px!important;line-height:1.38!important;min-height:auto;margin-bottom:12px!important; }
    .inventory-product .product-card-specs span { font-size:12px!important;padding:5px 10px!important; }
    .inventory-product .product-card-auction { padding:13px!important; }
    .inventory-product .product-card-countdown { padding:10px 12px!important; }
    .inventory-product .product-card-buy-strip { padding:11px 12px!important; }
    .inventory-product .card-overlay { display:none!important; }
}
@media(prefers-reduced-motion:reduce) {
    .koa-slide { animation:none;opacity:0; }
    .koa-slide:first-child { opacity:1; }
}
