:root{
    --navy:#10243c;
    --gold:#d8b66b;
    --paper:#f5f6f8;
    --text:#17283d;
}
*{box-sizing:border-box}
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:var(--paper);
    line-height:1.55;
}
a{color:inherit;text-decoration:none}
header{
    background:var(--navy);
    color:white;
    border-bottom:1px solid #ffffff25;
}
.header-inner{
    max-width:1240px;
    margin:auto;
    padding:16px 24px;
    display:flex;
    align-items:center;
    gap:22px;
}
.brand{
    font-size:25px;
    font-weight:900;
    letter-spacing:1px;
}
.brand span{color:var(--gold)}
.tagline{font-size:13px;color:#d5dce5}
.home{margin-left:auto;font-size:14px}
.container{
    max-width:1240px;
    margin:auto;
    padding:24px;
}
.hero{
    background:var(--navy);
    color:white;
    padding:34px 0 42px;
}
.eyebrow{
    color:var(--gold);
    font-size:12px;
    font-weight:bold;
    letter-spacing:2px;
}
h1{
    font-size:clamp(30px,5vw,50px);
    margin:12px 0;
    line-height:1.15;
}
.hero p{color:#dbe2ec}
.search{
    display:grid;
    grid-template-columns:2fr 1fr auto;
    gap:10px;
    margin-top:28px;
}
input,select,button{
    padding:15px;
    border:1px solid #d5dce4;
    border-radius:7px;
    font:inherit;
    min-width:0;
}
button{
    background:var(--gold);
    color:var(--navy);
    font-weight:bold;
    cursor:pointer;
    border-color:var(--gold);
}
.preview-note{
    font-size:12px;
    color:#657183;
    margin-bottom:24px;
}
h2{font-size:23px;margin:16px 0}
.categories{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-bottom:38px;
}
.categories a{
    background:white;
    border:1px solid #dce1e8;
    border-radius:9px;
    padding:20px 12px;
    text-align:center;
    font-size:14px;
    font-weight:bold;
}
.categories a:hover{
    border-color:var(--gold);
    color:#88651e;
}
.section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.section-heading span{
    color:#69778a;
    font-size:13px;
}
.listing-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.listing{
    background:white;
    border:1px solid #dce1e8;
    border-radius:12px;
    overflow:hidden;
}
.listing-cover{
    aspect-ratio:4/3;
    display:grid;
    place-items:center;
    background:#e6eaf0;
    color:#526278;
    font-size:13px;
}
.listing-content{padding:18px}
.category{
    font-size:11px;
    text-transform:uppercase;
    color:#66768a;
}
.listing h3{
    font-size:17px;
    overflow-wrap:anywhere;
    margin:8px 0;
}
.price{
    font-size:18px;
    font-weight:bold;
    color:#82611e;
}
.listing p{
    color:#566579;
    font-size:13px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    overflow-wrap:anywhere;
}
.empty{
    background:white;
    border:1px solid #dce1e8;
    border-radius:12px;
    padding:55px 20px;
    text-align:center;
}
.empty-icon{font-size:40px;color:#b89549}
.empty a{color:#82611e;font-weight:bold}
.pagination{
    display:flex;
    justify-content:center;
    gap:24px;
    margin:30px 0;
}
footer{
    margin-top:45px;
    padding:35px 24px;
    background:var(--navy);
    color:white;
    text-align:center;
}
footer strong{color:var(--gold)}
footer p{font-size:13px;color:#d5dce5}
@media(max-width:850px){
    .listing-grid,.categories{
        grid-template-columns:repeat(2,1fr)
    }
}
@media(max-width:600px){
    .container{padding:18px}
    .tagline{display:none}
    .search{grid-template-columns:1fr}
    .hero{padding:20px 0}
    .listing-grid{gap:10px}
    .listing-content{padding:12px}
    .categories a{padding:16px 8px}
    .section-heading h2{font-size:19px}
}


/* OFWZ FINAL-B-R4 CATEGORY ICONS */

.categories a {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height:126px;
    padding:20px 12px;
    background:#10243c;
    color:#ffffff;
    border:1px solid #10243c;
    border-radius:10px;
    transition:background .15s,border-color .15s;
}

.categories .category-icon {
    display:block;
    width:34px;
    height:34px;
    flex-shrink:0;
    color:#d8b66b;
}

.categories .category-label {
    display:block;
    font-size:14px;
    line-height:1.4;
    font-weight:600;
}

.categories a:hover,
.categories a:focus-visible {
    background:#193651;
    border-color:#d8b66b;
    color:#ffffff;
}

.categories a:focus-visible {
    outline:2px solid #b89549;
    outline-offset:3px;
}

@media(max-width:600px) {
    .categories a {
        min-height:108px;
        padding:15px 8px;
        gap:9px;
    }

    .categories .category-icon {
        width:29px;
        height:29px;
    }

    .categories .category-label {
        font-size:12px;
    }
}

