* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #f5f0e6;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== Global Elements ===== */
button {
    transition: all 0.2s ease;
    font-family: 'Georgia', 'Times New Roman', serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color 0.2s ease;
    color: #8b0000;
}

a:hover {
    color: #b22222;
}

::selection {
    background: rgba(139, 0, 0, 0.2);
    color: #1a1a1a;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f0e6;
}

::-webkit-scrollbar-thumb {
    background: #c0b090;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* ===== Detail Page Shared Header ===== */
.detail-header {
    background: #f5f0e6;
    border-bottom: 3px double #1a1a1a;
    padding: 14px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 1px;
}

.brand-logo:hover {
    color: #8b0000;
}

.back-btn {
    color: #8b0000;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border: 1px solid #c0b090;
    transition: all 0.2s;
}

.back-btn:hover {
    background: #8b0000;
    color: white;
    border-color: #8b0000;
}

/* ===== Classified Ad ===== */
.classified-ad {
    border: 1px dashed #c0b090;
    background: rgba(255,255,240,0.4);
    padding: 12px;
    margin: 24px 0;
    text-align: center;
}

.classified-ad-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6a6a6a;
    margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .detail-header {
        padding: 10px 16px;
    }
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .brand-logo {
        font-size: 18px;
    }
}