:root {
    --bg: #0b0b0b;
    --surface: #141414;
    --fg: #fafafa;
    --muted: #a3a3a3;
    --border: #262626;
    --accent: #ffffff;
    --accent-fg: #0b0b0b;
    --radius: 10px;
    --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a {
    color: inherit;
}

.wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--muted);
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn:hover {
    opacity: 0.88;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-fg);
}

.btn-ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--border);
}

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-fg);
    font-size: 0.8rem;
    font-weight: 800;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--fg);
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 68vh;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.hero-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.hero-overlay {
    position: relative;
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0 0 0.5rem;
}

.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin: 0 0 0.5rem;
    max-width: 32rem;
}

.hero-sub {
    color: #e5e5e5;
    margin: 0 0 1.5rem;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-tag {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--accent);
    color: var(--accent-fg);
    padding: 0.4rem 1rem;
    border-radius: var(--radius);
}

/* Sections */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}

.two-col {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 760px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.highlight-list {
    padding-left: 1.2rem;
    color: var(--fg);
}

.highlight-list li {
    margin-bottom: 0.4rem;
}

.quick-facts dl {
    margin: 0;
}

.quick-facts dl div {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.quick-facts dl div:last-child {
    border-bottom: none;
}

.quick-facts dt {
    color: var(--muted);
}

.quick-facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

/* Specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.specs-table tr:not(:last-child) th,
.specs-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
    text-align: left;
    padding: 0.85rem 1.25rem;
}

.specs-table th {
    color: var(--muted);
    font-weight: 500;
    width: 40%;
}

.specs-table td {
    font-weight: 600;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: none;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    line-height: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact form */
.seller-note p {
    margin: 0.3rem 0;
    color: var(--fg);
}

.contact-form .form-row {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--fg);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.form-status {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.form-status.success {
    color: #4ade80;
}

/* Footer */
.site-footer {
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-inner p {
    margin: 0;
    font-size: 0.85rem;
}

.admin-link {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: none;
}

.admin-link:hover {
    color: var(--fg);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 2rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--fg);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* Admin placeholder page */
.admin-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.admin-gate {
    max-width: 26rem;
    text-align: center;
}

.admin-gate .btn {
    margin-top: 1rem;
}
