/* Labored Marketplace — industrial / contractor accent (section-scoped) */
.mp-page {
    --mp-bg: #0f1419;
    --mp-surface: #161b22;
    --mp-line: #30363d;
    --mp-text: #f0f6fc;
    --mp-muted: #8b949e;
    --mp-accent: #00d4ff;
    --mp-warn: #fbbf24;
    --mp-ok: #4ade80;
}

.mp-hero {
    background: linear-gradient(135deg, #0b0f14 0%, #1a2332 55%, #0f1419 100%);
    border: 1px solid var(--mp-line);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.75rem;
    color: var(--mp-text);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.mp-hero h1 {
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.mp-hero p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 1.02rem;
    max-width: 52ch;
}

.mp-filters {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .mp-filters {
        grid-template-columns: 1fr repeat(3, minmax(0, 1fr)) auto;
        align-items: end;
    }
}

.mp-filters label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
}

.mp-filters input,
.mp-filters select {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.mp-btn-primary {
    background: linear-gradient(135deg, #00a8cc, #00d4ff);
    color: #041018;
}

.mp-btn-primary:hover {
    filter: brightness(1.05);
}

.mp-btn-dark {
    background: #21262d;
    color: var(--mp-text);
    border: 1px solid var(--mp-line);
}

.mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
}

.mp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.mp-card-img {
    aspect-ratio: 4/3;
    background: #0f1419;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-card-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.mp-card-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    text-decoration: none;
}

.mp-card-title:hover {
    color: #0369a1;
}

.mp-price {
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
}

.mp-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
}

.mp-muted {
    color: #64748b;
    font-size: 0.88rem;
}

.mp-empty {
    padding: 2rem;
    text-align: center;
    color: #64748b;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}

.mp-detail-layout {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .mp-detail-layout {
        grid-template-columns: 1fr 380px;
        align-items: start;
    }
}

.mp-gallery-main {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #0f1419;
    aspect-ratio: 4/3;
}

.mp-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.mp-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.mp-badge--accent {
    background: #ecfeff;
    color: #0e7490;
    border-color: #a5f3fc;
}

.mp-panel {
    background: var(--mp-surface);
    color: var(--mp-text);
    border: 1px solid var(--mp-line);
    border-radius: 14px;
    padding: 1.15rem;
}

.mp-panel h2 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.mp-panel .mp-price {
    color: var(--mp-accent);
    font-size: 1.35rem;
}

.mp-form label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0.75rem 0 0.35rem;
    color: #0f172a;
}

.mp-form input[type="text"],
.mp-form input[type="number"],
.mp-form input[type="email"],
.mp-form select,
.mp-form textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.mp-form textarea {
    min-height: 110px;
    resize: vertical;
}

.mp-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mp-alert--ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mp-alert--err {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 767px) {
    .mp-hero {
        padding: 1.5rem 1.1rem;
    }
}
