body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f4f6fa;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.funeralcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
    box-sizing: border-box;
}
.funeralheader {
    background-color: #ffffff;
    border-bottom: 2px solid #1e88e5;
    position: sticky;
    top: 0;
    z-index: 999;
}
.funeralheader .funeralinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 56px;
}
.funerallogo img {
    height: 24px;
    vertical-align: middle;
}
.funeralnav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.funeralnav li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s;
}
.funeralnav li a:hover, .funeralnav li a.funeralactive {
    color: #1e88e5;
    border-bottom: 2px solid #1e88e5;
    padding-bottom: 16px;
}
.funeralnoticebar {
    background-color: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 10px 15px;
    margin: 10px auto 20px;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
}
.funeralnoticebar::before {
    content: "公告";
    background-color: #1e88e5;
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 2px;
    margin-right: 10px;
}
.funeralsectitle {
    font-size: 14px;
    font-weight: bold;
    color: #111;
    margin: 25px 0 12px;
    border-left: 3px solid #1e88e5;
    padding-left: 10px;
    text-transform: uppercase;
}
.funeralgridone {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.funeraloneleft, .funeraloneright {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
}
.funeralonegrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.funeralcardone {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
}
.funeralcardone:hover {
    border-color: #1e88e5;
}
.funeralcardone img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.funeralinfoone {
    overflow: hidden;
}
.funeraltitleone {
    font-size: 12px;
    color: #333;
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.funeralpriceone {
    color: #1e88e5;
    font-weight: bold;
    font-size: 11px;
}
.funeralrankitem {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.funeralrankitem:last-child {
    border-bottom: none;
}
.funeralranknum {
    background: #1e88e5;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    margin-right: 8px;
}
.funeralranktext {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.funeralgridmain {
    display: grid;
    grid-template-columns: 2.8fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.funeralleftcol, .funeralrightcol {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
}
.funeraltablehead {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f7f9fa;
    border-bottom: 1px solid #e3e4e6;
    font-size: 11px;
    color: #888;
    font-weight: bold;
    margin-bottom: 10px;
}
.funeraltablerow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px dashed #f0f0f0;
}
.funeraltablerow:last-child {
    border-bottom: none;
}
.funeraltableleft {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}
.funeraltableleft img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.funeraltablename {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.funeraltablename:hover {
    color: #1e88e5;
}
.funeraltableright {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.funeraltableprice {
    color: #1e88e5;
    font-weight: bold;
    font-size: 13px;
}
.funeraltablebtn {
    background: #1e88e5;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
    text-decoration: none;
}
.funeralrightblock {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}
.funeraltaggrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.funeraltagpill {
    background: #f7f9fa;
    color: #666;
    font-size: 11px;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #f0f0f0;
    text-align: center;
}
.funeraltagpill:hover {
    border-color: #1e88e5;
    color: #1e88e5;
    background: #fff;
}
.funeralgridbottom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}
.funeralcardbottom {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    padding: 10px;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
.funeralcardbottom img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 6px;
}
.funeraltitlebottom {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.funeralpricebottom {
    color: #1e88e5;
    font-weight: bold;
    font-size: 11px;
    margin-top: 4px;
}
.funeraldetailwrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.funeralcard {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 20px;
}
.funeralprodtitle {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 12px;
}
.funeralmeta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #888;
    border-bottom: 1px dashed #e3e4e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.funeralfield {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.funeralfield label {
    width: 100px;
    font-size: 13px;
    color: #555;
}
.funeralfield input, .funeralfield select {
    flex: 1;
    height: 38px;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 0 10px;
    outline: none;
    box-sizing: border-box;
}
.funeralfield input:focus {
    border-color: #1e88e5;
}
.funeralbuybtn {
    width: 100%;
    height: 44px;
    background: #1e88e5;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.funeralbuybtn:hover {
    background: #0076db;
}
.funeralfooter {
    background: #1a1a1a;
    border-top: 3px solid #1e88e5;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}
.funeralfooterlinks {
    margin-bottom: 12px;
}
.funeralfooterlinks a {
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    margin: 0 10px;
}
.funeralfooterlinks a:hover {
    color: #ffffff;
}
.funeralcopyright {
    color: #777;
    font-size: 11px;
}
.funeralorderbox {
    background: #ffffff;
    border: 1px solid #e3e4e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
}
.funeralkami {
    color: #2fba2f;
    font-weight: bold;
}
@media (max-width: 768px) {
    .funeralgridone { grid-template-columns: 1fr; }
    .funeralgridmain { grid-template-columns: 1fr; }
    .funeralgridbottom { grid-template-columns: repeat(3, 1fr); }
    .funeraldetailwrap { grid-template-columns: 1fr; }
}