/* Serendipity Theme: Layout 142 (Contour Map & Vintage Cartography Style) */
body { background: #f9f3eb; font-family: "Georgia", "Times New Roman", "PingFang SC", serif; color: #5c4033; margin: 0; padding: 0; }
.serendipity-layout { display: flex; flex-direction: column; min-height: 100vh; position: relative; }
.serendipity-head-wrap { border-bottom: 2px solid #5c4033; padding: 25px 0; background: #f9f3eb; }
.serendipity-brand-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.serendipity-logo img { max-height: 42px; display: block; filter: sepia(0.5) contrast(1.1) brightness(0.9); }
.serendipity-menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 30px; }
.serendipity-menu a { color: rgba(92, 64, 51, 0.8); text-decoration: none; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 4px; transition: all 0.2s; }
.serendipity-menu a:hover, .serendipity-menu .active { border-bottom: 2px solid #5c4033; color: #5c4033; font-weight: bold; }
.serendipity-columns { display: flex; gap: 24px; max-width: 1140px; margin: 30px auto; padding: 0 20px; box-sizing: border-box; width: 100%; flex-grow: 1; }
.serendipity-col-left { width: 25%; flex-shrink: 0; }
.serendipity-col-right { width: 75%; flex-grow: 1; min-width: 0; }
.serendipity-contour-panel { background: #faf6ea; border: 1px solid #c2b59b; padding: 25px; box-sizing: border-box; border-right: 2px dashed rgba(92, 64, 51, 0.25); position: relative; }
.serendipity-contour-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(92, 64, 51, 0.12); pointer-events: none; margin: 4px; border-right: none; }
.serendipity-map-pointer { width: 44px; height: 44px; border: 1px solid #5c4033; border-radius: 50%; margin: 25px auto 15px auto; position: relative; display: flex; align-items: center; justify-content: center; background: #f9f3eb; }
.serendipity-map-pointer::before { content: ""; width: 2px; height: 16px; background: #5c4033; position: absolute; top: 14px; }
.serendipity-map-pointer::after { content: ""; width: 16px; height: 2px; background: #5c4033; position: absolute; left: 14px; }
.serendipity-notice-pod { background: #faf6ea; border: 1px solid #c2b59b; padding: 20px 25px; margin-bottom: 30px; line-height: 1.7; font-size: 13.5px; color: #5c4033; position: relative; }
.serendipity-notice-pod::before { content: "测绘手札 // CARTOGRAPHY_LOG"; position: absolute; top: -10px; left: 20px; background: #f9f3eb; padding: 0 8px; font-size: 11px; font-weight: bold; color: #8c2d19; letter-spacing: 0.5px; }
.serendipity-section-title { font-size: 15px; font-weight: bold; color: #5c4033; margin: 0 0 20px 0; border-top: 1px solid #5c4033; border-bottom: 1px dashed #5c4033; padding: 10px 5px; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 1px; }
.serendipity-section-title i { margin-right: 10px; color: #8c2d19; }
.serendipity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.serendipity-elevation-card { background: #faf6ea; border: 1px solid #c2b59b; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; position: relative; }
.serendipity-elevation-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(92, 64, 51, 0.08); pointer-events: none; margin: 3px; }
.serendipity-elevation-card:hover { border-color: #8c2d19; transform: translateY(-2px); }
.serendipity-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.serendipity-card-title { font-size: 14px; font-weight: bold; color: #5c4033; line-height: 1.5; }
.serendipity-badge-auto { border: 1.5px solid #5c4033; color: #5c4033; background: rgba(92,64,51,0.03); padding: 1px 6px; font-size: 10.5px; font-weight: bold; }
.serendipity-badge-manual { border: 1px dashed #7f8c8d; color: #7f8c8d; background: transparent; padding: 1px 6px; font-size: 10.5px; }
.serendipity-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 15px; border-top: 1px dashed rgba(92, 64, 51, 0.15); padding-top: 15px; }
.serendipity-price-box { display: flex; flex-direction: column; }
.serendipity-qty-info { font-size: 11px; color: #7f8c8d; margin-bottom: 3px; }
.serendipity-price { font-size: 19px; font-weight: bold; color: #8c2d19; font-family: "Courier New", Courier, monospace; }
.serendipity-btn-action { background: transparent; color: #5c4033 !important; border: 1.5px solid #5c4033; padding: 7px 18px; font-size: 12px; font-weight: bold; cursor: pointer; transition: all 0.25s; text-decoration: none !important; display: inline-block; letter-spacing: 0.5px; }
.serendipity-btn-action:hover { background: #5c4033; color: #faf6ea !important; }
.serendipity-paper-panel { border: 1px solid #c2b59b; background: #faf6ea; padding: 35px; box-sizing: border-box; position: relative; border-radius: 0; }
.serendipity-paper-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(92, 64, 51, 0.08); pointer-events: none; margin: 4px; }
.layui-form-label { background: #fbf9f0 !important; border: 1.5px solid #c2b59b !important; border-right: none !important; color: #5c4033 !important; border-radius: 0 !important; font-weight: bold !important; }
.layui-input { border-radius: 0 !important; border: 1.5px solid #c2b59b !important; background: #ffffff !important; color: #5c4033 !important; }
.layui-input:focus { border-color: #8c2d19 !important; box-shadow: none !important; }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .serendipity-columns { flex-direction: column; padding: 0 15px; }
    .serendipity-col-left, .serendipity-col-right { width: 100%; }
    .serendipity-col-left { display: none; }
}
@media (max-width: 768px) {
    .serendipity-brand-nav { flex-direction: column; gap: 15px; padding: 0 10px; }
    .serendipity-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .serendipity-grid { grid-template-columns: 1fr; gap: 15px; }
}
