/* Soliloquy Theme: Layout 222 (Bookbinding Spine & Vintage Linen Style) */
body { background: #e0d3c0; font-family: "Garamond", "Georgia", "Times New Roman", serif; color: #1a1a1a; margin: 0; padding: 0; }
.soliloquy-layout { display: flex; flex-direction: column; min-height: 100vh; position: relative; }
.soliloquy-head-wrap { border-bottom: 2px solid #1a1a1a; padding: 25px 0; background: #e0d3c0; }
.soliloquy-brand-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.soliloquy-logo img { max-height: 42px; display: block; filter: grayscale(1) contrast(1.2) brightness(0.9); }
.soliloquy-menu { display: flex; list-style: none; padding: 0; margin: 0; gap: 30px; }
.soliloquy-menu a { color: rgba(26, 26, 26, 0.7); text-decoration: none; font-size: 14px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 4px; transition: all 0.2s; }
.soliloquy-menu a:hover, .soliloquy-menu .active { border-bottom: 2px solid #1a1a1a; color: #1a1a1a; font-weight: bold; }
.soliloquy-columns { display: flex; gap: 24px; max-width: 1140px; margin: 30px auto; padding: 0 20px; box-sizing: border-box; width: 100%; flex-grow: 1; }
.soliloquy-col-left { width: 25%; flex-shrink: 0; }
.soliloquy-col-right { width: 75%; flex-grow: 1; min-width: 0; }
.soliloquy-spine-panel { background: #d3c4b1; border: 1.5px solid #1a1a1a; padding: 25px; box-sizing: border-box; border-right: 4px double #1a1a1a; position: relative; }
.soliloquy-spine-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(26, 26, 26, 0.12); pointer-events: none; margin: 4px; border-right: none; }
.soliloquy-stitch-line { width: 100%; height: 2px; border-top: 1px dashed #1a1a1a; margin: 25px 0; }
.soliloquy-notice-pod { background: #fffef9; border: 1px solid #1a1a1a; padding: 20px 25px; margin-bottom: 30px; line-height: 1.7; font-size: 13.5px; color: #1a1a1a; position: relative; }
.soliloquy-notice-pod::before { content: "书签备忘 // BOOKMARK"; position: absolute; top: -10px; left: 20px; background: #e0d3c0; padding: 0 8px; font-size: 11px; font-weight: bold; color: #8b5a2b; letter-spacing: 0.5px; }
.soliloquy-section-title { font-size: 15px; font-weight: bold; color: #1a1a1a; margin: 0 0 20px 0; border-top: 1px solid #1a1a1a; border-bottom: 1px dashed #1a1a1a; padding: 10px 5px; display: flex; align-items: center; text-transform: uppercase; letter-spacing: 1px; }
.soliloquy-section-title i { margin-right: 10px; color: #8b5a2b; }
.soliloquy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.soliloquy-page-card { background: #fffef9; border: 1px solid #1a1a1a; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; position: relative; transition: all 0.25s ease-in-out; }
.soliloquy-page-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(26, 26, 26, 0.08); pointer-events: none; margin: 3px; }
.soliloquy-page-card:hover { border-color: #8b5a2b; transform: translateY(-2px); }
.soliloquy-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.soliloquy-card-title { font-size: 14px; font-weight: bold; color: #1a1a1a; line-height: 1.5; }
.soliloquy-badge-auto { border: 1px solid #1a1a1a; color: #1a1a1a; background: rgba(26,26,26,0.03); padding: 1px 6px; font-size: 10.5px; font-weight: bold; }
.soliloquy-badge-manual { border: 1px dashed #7f8c8d; color: #7f8c8d; background: transparent; padding: 1px 6px; font-size: 10.5px; }
.soliloquy-card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 15px; border-top: 1px dashed rgba(26, 26, 26, 0.15); padding-top: 15px; }
.soliloquy-price-box { display: flex; flex-direction: column; }
.soliloquy-qty-info { font-size: 11px; color: #7f8c8d; margin-bottom: 3px; }
.soliloquy-price { font-size: 19px; font-weight: bold; color: #1a1a1a; font-family: monospace; }
.soliloquy-btn-action { background: transparent; color: #1a1a1a !important; border: 1.5px solid #1a1a1a; 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; }
.soliloquy-btn-action:hover { background: #1a1a1a; color: #fffef9 !important; }
.soliloquy-paper-panel { border: 1px solid #1a1a1a; background: #fffef9; padding: 35px; box-sizing: border-box; position: relative; }
.soliloquy-paper-panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 1px dashed rgba(26, 26, 26, 0.08); pointer-events: none; margin: 4px; }
.layui-form-label { background: #fdfaf2 !important; border: 1.5px solid #1a1a1a !important; border-right: none !important; color: #1a1a1a !important; border-radius: 0 !important; font-weight: bold !important; }
.layui-input { border-radius: 0 !important; border: 1.5px solid #1a1a1a !important; background: #ffffff !important; color: #1a1a1a !important; }
.layui-input:focus { border-color: #8b5a2b !important; box-shadow: none !important; }

/* Mobile Adaptations */
@media (max-width: 992px) {
    .soliloquy-columns { flex-direction: column; padding: 0 15px; }
    .soliloquy-col-left, .soliloquy-col-right { width: 100%; }
    .soliloquy-col-left { display: none; }
}
@media (max-width: 768px) {
    .soliloquy-brand-nav { flex-direction: column; gap: 15px; padding: 0 10px; }
    .soliloquy-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .soliloquy-grid { grid-template-columns: 1fr; gap: 15px; }
}
