html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2d3748;
    font-size: 13px;
}

* {
    box-sizing: border-box;
}

a {
    color: #2d3748;
    text-decoration: none;
}

.remainheader {
    background: #0056b3;
    border-bottom: 3px solid #004085;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.remainheaderinner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remainlogo img {
    max-height: 40px;
    vertical-align: middle;
}

.remainnav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.remainnav a {
    font-weight: bold;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.remainnav a:hover, .remainnav .active {
    background: #004085;
}

.remainwrap {
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 10px;
}

.remaincard {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.remaincardtitle {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0056b3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #004085;
}

.remainimg {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
    border-radius: 4px;
}

.remaingrid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.remaingriditem {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}

.remaingriditem:hover {
    transform: translateY(-2px);
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0,86,179,0.1);
}

.remaingriditemtitle {
    font-size: 12px;
    font-weight: bold;
    margin: 6px 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remainprice {
    color: #e53e3e;
    font-weight: bold;
}

.remainbtn {
    display: inline-block;
    background: #0056b3;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.remainbtn:hover {
    background: #004085;
}

.remainpill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    margin: 2px;
}

.remaindatebox {
    background: #0056b3;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
}

.remainfooter {
    background: #1a202c;
    color: #ffffff;
    padding: 25px 0;
    text-align: center;
    margin-top: 30px;
}

.remainfooternav a {
    margin: 0 10px;
    color: #cbd5e0;
    font-size: 12px;
}

.remaincopyright {
    color: #cbd5e0;
    font-size: 12px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .remaingrid4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .remaingrid4 { grid-template-columns: repeat(1, 1fr); }
    .remainheaderinner { flex-direction: column; gap: 10px; }
}
