* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f4f6f9;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
.agreecontainer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 15px;
}
.agreeheader {
    background: #ffffff;
    border-bottom: 2px solid #ff4757;
}
.agreetopbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}
.agreelogo img {
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
}
.agreesearchinput {
    height: 38px;
    width: 280px;
    padding: 0 12px;
    border: 2px solid #ff4757;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 13px;
}
.agreesearchbtn {
    height: 38px;
    padding: 0 20px;
    background: #ff4757;
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.agreenavbar {
    background: #ff4757;
}
.agreenav {
    display: flex;
    align-items: center;
}
.agreenavlink {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    padding: 14px 18px;
    transition: background 0.2s;
}
.agreenavlink:hover, .agreenavlink.active {
    background: #ff2e44;
}
.agreeiconbar {
    background: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 12px 0;
    margin-bottom: 20px;
}
.agreeicongrid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    text-align: center;
}
.agreeiconimg {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto 5px;
    display: block;
}
.agreenotice {
    background: #ffffff;
    border-left: 4px solid #ff4757;
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 4px;
    color: #555555;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(255,71,87,0.06);
}
.agreeherogrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}
.agreeheromain {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.agreeheroimgbox {
    width: 100%;
    height: 200px;
    background: #ffeef0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.agreeheroimg {
    max-height: 160px;
    max-width: 85%;
    object-fit: contain;
}
.agreebox {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    padding: 15px;
    margin-bottom: 20px;
}
.agreeboxtitle {
    font-size: 16px;
    font-weight: 700;
    color: #ff4757;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4757;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.agreelayout2col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}
.agreegrid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.agreegrid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}
.agreecard {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    padding: 12px;
    text-align: center;
    transition: all 0.2s;
}
.agreecard:hover {
    border-color: #ff4757;
    box-shadow: 0 4px 12px rgba(255,71,87,0.12);
}
.agreecardimg {
    width: 100%;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
    border-radius: 10px;
}
.agreecardtitle {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.agreeprice {
    color: #ff4757;
    font-weight: 700;
}
.agreeautotag {
    font-size: 10px;
    background: #ffeef0;
    color: #ff4757;
    padding: 1px 5px;
    border-radius: 3px;
}
.agreerankitem {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #edf2f7;
    font-size: 13px;
}
.agreeranknum {
    width: 20px;
    height: 20px;
    background: #bdc3c7;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-right: 10px;
}
.agreeranknum.top3 {
    background: #ff4757;
}
.agreefooter {
    background: #1f2a38;
    color: #888888;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
}
.agreefooterlinks {
    margin-bottom: 10px;
}
.agreefooterlinks a {
    color: #cccccc;
}
.agreecardbox {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e1e8ed;
    padding: 25px;
    margin-bottom: 20px;
}
.agreeformgroup {
    margin-bottom: 15px;
}
.agreelabel {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333333;
}
.agreeinput {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    outline: none;
}
.agreebtn {
    display: inline-block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #ff4757;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.agreetabs {
    display: flex;
    border-bottom: 2px solid #eeeeee;
    margin-bottom: 20px;
}
.agreetabitem {
    padding: 10px 20px;
    font-weight: 600;
    color: #666666;
}
.agreetabitem.active {
    color: #ff4757;
    border-bottom: 2px solid #ff4757;
    margin-bottom: -2px;
}
@media (max-width: 992px) {
    .agreeherogrid {
        grid-template-columns: 1fr;
    }
    .agreelayout2col {
        grid-template-columns: 1fr;
    }
    .agreegrid3 {
        grid-template-columns: 1fr;
    }
    .agreegrid4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .agreeicongrid {
        grid-template-columns: repeat(4, 1fr);
    }
}
