/* ═══════════════════════════════════════════════════════════════
   PPN Markets — "Vibrant Bazaar" Design System
   สีสดใส ดึงดูด premium marketplace feel
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ── Market Brand Colors ── */
    --mk-primary: #FF6B35;
    --mk-primary-light: #FF8A5C;
    --mk-primary-dark: #E55A25;
    --mk-secondary: #004E98;
    --mk-secondary-light: #1A6FBF;
    --mk-accent: #FFC107;
    --mk-accent-light: #FFD54F;
    --mk-success: #00C853;
    --mk-danger: #FF1744;

    /* ── Gradients ── */
    --mk-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 50%, #FFC107 100%);
    --mk-gradient-cool: linear-gradient(135deg, #004E98 0%, #1A6FBF 50%, #00BCD4 100%);
    --mk-gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A25 30%, #004E98 100%);
    --mk-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,248,240,0.8) 100%);
    --mk-gradient-soft: linear-gradient(135deg, #FFF8F0 0%, #FFF3E8 50%, #FFFBF5 100%);

    /* ── Surface ── */
    --mk-bg: #FFFAF5;
    --mk-surface: #FFFFFF;
    --mk-surface-warm: #FFF8F0;
    --mk-border: rgba(255, 107, 53, 0.1);
    --mk-border-strong: rgba(255, 107, 53, 0.2);

    /* ── Shadow ── */
    --mk-shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
    --mk-shadow-md: 0 4px 20px rgba(255, 107, 53, 0.12);
    --mk-shadow-lg: 0 8px 32px rgba(255, 107, 53, 0.16);
    --mk-shadow-glow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

/* ═══ Market Layout ═══ */
.mk-page { background: var(--mk-bg); min-height: 100vh; }
.mk-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.mk-section { padding: 24px 0; }

/* ═══ Market Header / Hero ═══ */
.mk-hero {
    background: var(--mk-gradient-hero);
    padding: 32px 16px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mk-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,193,7,0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0,188,212,0.15) 0%, transparent 50%);
}
.mk-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.mk-hero h1 {
    font-family: 'Outfit', 'Noto Sans Thai', sans-serif;
    font-size: 2rem; font-weight: 800;
    margin: 0 0 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mk-hero p { opacity: 0.9; font-size: 1rem; margin: 0 0 20px; }

/* ═══ Search Bar ═══ */
.mk-search-wrap {
    display: flex; gap: 8px; max-width: 560px; margin: 0 auto;
}
.mk-search-input {
    flex: 1; padding: 12px 16px; border: none; border-radius: 12px;
    font-size: 15px; background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    outline: none; font-family: 'Noto Sans Thai', sans-serif;
}
.mk-search-input:focus { box-shadow: 0 4px 20px rgba(255,107,53,0.25); }
.mk-search-btn {
    padding: 12px 24px; border: none; border-radius: 12px;
    background: var(--mk-accent); color: #333; font-weight: 600;
    cursor: pointer; font-size: 15px; white-space: nowrap;
    transition: all 0.2s;
}
.mk-search-btn:hover { background: var(--mk-accent-light); transform: translateY(-1px); }

/* ═══ Topbar for Market pages ═══ */
.mk-topbar {
    background: white; border-bottom: 1px solid var(--mk-border);
    padding: 12px 16px; display: flex; align-items: center;
    justify-content: space-between; position: sticky; top: 0; z-index: 100;
    box-shadow: var(--mk-shadow-sm);
}
.mk-topbar-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--mk-primary);
    font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem;
}
.mk-topbar-brand img { width: 36px; height: 36px; border-radius: 8px; }
.mk-topbar-nav { display: flex; gap: 4px; align-items: center; }
.mk-topbar-nav a {
    padding: 8px 14px; border-radius: 8px; text-decoration: none;
    color: #555; font-size: 14px; font-weight: 500;
    transition: all 0.2s;
}
.mk-topbar-nav a:hover, .mk-topbar-nav a.active {
    background: var(--mk-primary); color: white;
}
.mk-topbar-right { display: flex; align-items: center; gap: 8px; }

/* ═══ Category Chips ═══ */
.mk-cats-section {
    position: relative;
    background: white;
    border-bottom: 1px solid var(--mk-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.mk-cats-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0 6px; font-size: 13px; color: #888;
}
.mk-cats-toggle {
    background: none; border: none; color: var(--mk-primary); cursor: pointer;
    font-size: 13px; font-weight: 500; padding: 4px 8px; border-radius: 6px;
    display: none; /* shown via JS when collapsed */
}
.mk-cats-toggle:hover { background: rgba(255,107,53,0.08); }

/* Desktop: wrap into rows */
.mk-cats {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 0 0 12px; position: relative;
    overflow: hidden;
    max-height: 88px; /* ~2 rows collapsed */
    transition: max-height 0.35s ease;
}
.mk-cats.expanded {
    max-height: 2000px; /* unlimited */
}
.mk-cat-chip {
    padding: 7px 14px; border-radius: 20px; white-space: nowrap;
    background: white; border: 1.5px solid #e8e8e8;
    cursor: pointer; font-size: 13px; font-weight: 500; color: #555;
    transition: all 0.2s; user-select: none;
    flex-shrink: 0;
}
.mk-cat-chip:hover {
    border-color: var(--mk-primary); color: var(--mk-primary);
    background: #FFF5F0;
}
.mk-cat-chip.active {
    background: var(--mk-primary); color: white; border-color: var(--mk-primary);
    box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}

/* Mobile: horizontal scroll strip */
@media (max-width: 768px) {
    .mk-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        max-height: none;
        padding: 0 0 12px;
        gap: 6px;
        /* Scroll padding so first/last chip aren't at edge */
        scroll-padding: 0 16px;
    }
    /* Hide scrollbar but keep functional */
    .mk-cats { scrollbar-width: none; -ms-overflow-style: none; }
    .mk-cats::-webkit-scrollbar { display: none; }

    .mk-cat-chip {
        padding: 6px 12px; font-size: 12px;
    }

    /* Fade edges to hint "there's more" */
    .mk-cats-scroll-wrap {
        position: relative;
    }
    .mk-cats-scroll-wrap::before,
    .mk-cats-scroll-wrap::after {
        content: '';
        position: absolute; top: 0; bottom: 0; width: 28px;
        z-index: 2; pointer-events: none;
        transition: opacity 0.2s;
    }
    .mk-cats-scroll-wrap::before {
        left: 0;
        background: linear-gradient(to right, white 0%, transparent 100%);
        opacity: 0; /* hidden when at start */
    }
    .mk-cats-scroll-wrap::after {
        right: 0;
        background: linear-gradient(to left, white 0%, transparent 100%);
    }
    .mk-cats-scroll-wrap.scrolled-start::before { opacity: 1; }
    .mk-cats-scroll-wrap.scrolled-end::after { opacity: 0; }

    /* Toggle not needed on mobile (horizontal scroll is natural) */
    .mk-cats-toggle { display: none !important; }
}

/* Desktop: show toggle when categories overflow 2 rows */
@media (min-width: 769px) {
    .mk-cats-toggle.visible { display: inline-block; }
    .mk-cats-scroll-wrap::before,
    .mk-cats-scroll-wrap::after { display: none; }
}

/* ═══ Product Grid ═══ */
.mk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px; padding: 8px 0;
}
@media (max-width: 480px) {
    .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ═══ Product Card ═══ */
.mk-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: var(--mk-shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer; text-decoration: none; color: inherit;
    display: block;
}
.mk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mk-shadow-lg);
}
.mk-card-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    background: #f5f5f5;
}
.mk-card-img-placeholder {
    width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #ffecd2, #fcb69f);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: rgba(255,255,255,0.7);
}
.mk-card-body { padding: 12px; }
.mk-card-name {
    font-size: 14px; font-weight: 600; color: #333;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.4; min-height: 2.8em; margin: 0 0 6px;
}
.mk-card-shop {
    font-size: 12px; color: #888; margin: 0 0 6px;
    display: flex; align-items: center; gap: 4px;
}
.mk-card-price {
    display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.mk-card-price .price-now {
    font-size: 18px; font-weight: 700; color: var(--mk-primary);
}
.mk-card-price .price-was {
    font-size: 13px; color: #999; text-decoration: line-through;
}
.mk-card-price .discount-badge {
    font-size: 11px; padding: 2px 6px; border-radius: 4px;
    background: #FFF0E5; color: var(--mk-primary); font-weight: 600;
}
.mk-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; font-size: 12px; color: #888;
}
.mk-card-rating { display: flex; align-items: center; gap: 2px; color: #FFC107; }
.mk-card-sold { color: #aaa; }

/* ═══ Shop Card ═══ */
.mk-shop-card {
    background: white; border-radius: 16px; padding: 20px;
    box-shadow: var(--mk-shadow-sm); display: flex; gap: 16px;
    align-items: center; transition: all 0.2s; cursor: pointer;
    text-decoration: none; color: inherit;
}
.mk-shop-card:hover { box-shadow: var(--mk-shadow-md); }
.mk-shop-logo {
    width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
    background: var(--mk-gradient); flex-shrink: 0;
}
.mk-shop-logo-placeholder {
    width: 64px; height: 64px; border-radius: 14px;
    background: var(--mk-gradient); display: flex; align-items: center;
    justify-content: center; font-size: 1.6rem; color: white; flex-shrink: 0;
}
.mk-shop-info { flex: 1; min-width: 0; }
.mk-shop-name { font-weight: 700; font-size: 16px; color: #333; margin: 0 0 4px; }
.mk-shop-desc {
    font-size: 13px; color: #777; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mk-shop-stats { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: #999; }

/* ═══ Buttons ═══ */
.mk-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 20px; border: none; border-radius: 10px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; text-decoration: none;
    font-family: 'Noto Sans Thai', 'Outfit', sans-serif;
}
.mk-btn-primary { background: var(--mk-primary); color: white; }
.mk-btn-primary:hover { background: var(--mk-primary-dark); transform: translateY(-1px); box-shadow: var(--mk-shadow-glow); }
.mk-btn-secondary { background: var(--mk-secondary); color: white; }
.mk-btn-secondary:hover { background: var(--mk-secondary-light); }
.mk-btn-outline { background: transparent; border: 2px solid var(--mk-primary); color: var(--mk-primary); }
.mk-btn-outline:hover { background: var(--mk-primary); color: white; }
.mk-btn-ghost { background: rgba(255,107,53,0.08); color: var(--mk-primary); }
.mk-btn-ghost:hover { background: rgba(255,107,53,0.15); }
.mk-btn-success { background: var(--mk-success); color: white; }
.mk-btn-danger { background: var(--mk-danger); color: white; }
.mk-btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.mk-btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.mk-btn-block { display: flex; width: 100%; }
.mk-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ═══ Forms ═══ */
.mk-form-group { margin-bottom: 16px; }
.mk-label {
    display: block; font-size: 13px; font-weight: 600;
    color: #555; margin-bottom: 6px;
}
.mk-input, .mk-textarea, .mk-select {
    width: 100%; padding: 10px 14px; border: 1.5px solid #e0e0e0;
    border-radius: 10px; font-size: 14px; background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Noto Sans Thai', sans-serif; box-sizing: border-box;
}
.mk-input:focus, .mk-textarea:focus, .mk-select:focus {
    border-color: var(--mk-primary); outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.mk-textarea { min-height: 80px; resize: vertical; }

/* ═══ Image Upload ═══ */
.mk-upload-zone {
    border: 2px dashed #ddd; border-radius: 14px; padding: 24px;
    text-align: center; cursor: pointer; transition: all 0.2s;
    background: #fafafa;
}
.mk-upload-zone:hover { border-color: var(--mk-primary); background: #FFF8F0; }
.mk-upload-zone.dragover { border-color: var(--mk-primary); background: rgba(255,107,53,0.05); }
.mk-upload-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mk-upload-thumb {
    width: 80px; height: 80px; border-radius: 8px; object-fit: cover;
    position: relative;
}
.mk-upload-thumb-wrap {
    position: relative; display: inline-block;
}
.mk-upload-thumb-del {
    position: absolute; top: -6px; right: -6px; width: 22px; height: 22px;
    border-radius: 50%; background: var(--mk-danger); color: white; border: none;
    font-size: 12px; cursor: pointer; display: flex; align-items: center;
    justify-content: center; line-height: 1;
}

/* ═══ Detail Page ═══ */
.mk-detail-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    max-width: 1000px; margin: 0 auto; padding: 24px 16px;
}
@media (max-width: 768px) {
    .mk-detail-wrap { grid-template-columns: 1fr; gap: 16px; }
}
.mk-detail-gallery {
    display: flex; flex-direction: column; gap: 8px;
}
.mk-detail-main-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    border-radius: 16px; background: #f5f5f5;
}
.mk-detail-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.mk-detail-thumb {
    width: 64px; height: 64px; border-radius: 8px; object-fit: cover;
    cursor: pointer; opacity: 0.6; transition: opacity 0.2s;
    border: 2px solid transparent;
}
.mk-detail-thumb:hover, .mk-detail-thumb.active { opacity: 1; border-color: var(--mk-primary); }

.mk-detail-info h1 { font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: #222; }
.mk-detail-price {
    font-size: 2rem; font-weight: 800; color: var(--mk-primary); margin: 0 0 4px;
}
.mk-detail-price-was { font-size: 1rem; color: #999; text-decoration: line-through; }
.mk-detail-desc { color: #555; line-height: 1.7; margin: 16px 0; white-space: pre-wrap; }
.mk-qty-wrap {
    display: flex; align-items: center; gap: 12px; margin: 16px 0;
}
.mk-qty-btn {
    width: 36px; height: 36px; border: 1.5px solid #ddd; border-radius: 8px;
    background: white; font-size: 18px; cursor: pointer; display: flex;
    align-items: center; justify-content: center; transition: all 0.15s;
}
.mk-qty-btn:hover { border-color: var(--mk-primary); color: var(--mk-primary); }
.mk-qty-val { font-size: 18px; font-weight: 600; min-width: 40px; text-align: center; }

/* ═══ Reviews ═══ */
.mk-review {
    padding: 16px 0; border-bottom: 1px solid #f0f0f0;
}
.mk-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mk-review-user { font-weight: 600; font-size: 14px; }
.mk-review-date { font-size: 12px; color: #999; }
.mk-review-stars { color: #FFC107; font-size: 14px; margin-bottom: 4px; }
.mk-review-text { font-size: 14px; color: #555; line-height: 1.5; }

/* ═══ Receipt ═══ */
.mk-receipt {
    max-width: 700px; margin: 24px auto; background: white;
    border-radius: 16px; padding: 32px; box-shadow: var(--mk-shadow-md);
}
.mk-receipt-header { text-align: center; margin-bottom: 24px; border-bottom: 2px solid #eee; padding-bottom: 16px; }
.mk-receipt-header h2 { font-size: 1.3rem; color: #333; margin: 0 0 4px; }
.mk-receipt-no { font-size: 14px; color: #888; }
.mk-receipt table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.mk-receipt th { text-align: left; padding: 8px 0; border-bottom: 1px solid #ddd; font-size: 13px; color: #888; }
.mk-receipt td { padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: 14px; }
.mk-receipt .receipt-total td { font-weight: 700; font-size: 16px; border-top: 2px solid #333; }

/* ═══ Empty State ═══ */
.mk-empty {
    text-align: center; padding: 60px 20px; color: #999;
}
.mk-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.mk-empty-text { font-size: 15px; }

/* ═══ Badge / Tag ═══ */
.mk-badge {
    display: inline-flex; padding: 3px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 600;
}
.mk-badge-success { background: #e8f5e9; color: #2e7d32; }
.mk-badge-warning { background: #fff3e0; color: #e65100; }
.mk-badge-danger { background: #ffebee; color: #c62828; }
.mk-badge-info { background: #e3f2fd; color: #1565c0; }
.mk-badge-neutral { background: #f5f5f5; color: #666; }

/* ═══ Tabs ═══ */
.mk-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 20px; }
.mk-tab {
    padding: 10px 20px; cursor: pointer; font-size: 14px; font-weight: 500;
    color: #888; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s;
}
.mk-tab:hover { color: var(--mk-primary); }
.mk-tab.active { color: var(--mk-primary); border-bottom-color: var(--mk-primary); font-weight: 600; }

/* ═══ Modal ═══ */
.mk-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 1000; display: none; align-items: center; justify-content: center;
    padding: 16px;
}
.mk-modal-overlay.active { display: flex; }
.mk-modal {
    background: white; border-radius: 20px; max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto; padding: 24px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.mk-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mk-modal-header h3 { margin: 0; font-size: 1.2rem; }
.mk-modal-close {
    width: 32px; height: 32px; border: none; background: #f5f5f5;
    border-radius: 8px; cursor: pointer; font-size: 18px; display: flex;
    align-items: center; justify-content: center;
}

/* ═══ Stats Cards ═══ */
.mk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.mk-stat-card {
    background: white; border-radius: 14px; padding: 16px;
    box-shadow: var(--mk-shadow-sm);
}
.mk-stat-label { font-size: 12px; color: #888; margin: 0 0 4px; }
.mk-stat-value { font-size: 1.5rem; font-weight: 700; color: #333; }
.mk-stat-value.orange { color: var(--mk-primary); }

/* ═══ Order Status ═══ */
.mk-order-card {
    background: white; border-radius: 14px; padding: 16px;
    box-shadow: var(--mk-shadow-sm); margin-bottom: 12px;
}
.mk-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mk-order-no { font-weight: 700; color: #333; }
.mk-order-items { font-size: 13px; color: #666; }
.mk-order-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.mk-order-total { font-weight: 700; color: var(--mk-primary); }

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
    .mk-hero h1 { font-size: 1.5rem; }
    .mk-hero { padding: 24px 16px; }
    .mk-hero p { font-size: 0.9rem; }
    .mk-topbar-nav a { padding: 6px 10px; font-size: 13px; }
    .mk-detail-price { font-size: 1.6rem; }
    .mk-container { padding: 0 12px; }
    .mk-search-wrap { flex-direction: row; }
    .mk-search-input { font-size: 14px; padding: 10px 14px; }
    .mk-search-btn { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 480px) {
    .mk-topbar { padding: 8px 10px; gap: 4px; }
    .mk-topbar-brand { font-size: 0.95rem; gap: 6px; }
    .mk-topbar-brand img { width: 30px; height: 30px; }
    .mk-topbar-brand span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mk-topbar-nav { gap: 2px; }
    .mk-topbar-nav a { padding: 5px 8px; font-size: 12px; }
    .mk-topbar-nav a span.nav-text { display: none; }
    .mk-topbar-right .mk-btn { padding: 5px 8px; font-size: 11px; }
    .mk-hero h1 { font-size: 1.25rem; }
    .mk-hero p { font-size: 0.82rem; margin-bottom: 14px; }
    .mk-hero { padding: 20px 12px; }
    .mk-search-input { padding: 10px 12px; font-size: 13px; }
    .mk-search-btn { padding: 10px 14px; font-size: 13px; }
    .mk-detail-wrap { padding: 16px 12px; }
}

/* ═══ Loading Skeleton ═══ */
.mk-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%; animation: mk-shimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes mk-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ═══ Animate ═══ */
.mk-fade-in { animation: mkFadeIn 0.4s ease-out; }
@keyframes mkFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ═══ Footer ═══ */
.mk-footer {
    background: white; border-top: 1px solid #eee;
    margin-top: 40px; padding: 32px 16px 20px;
}
.mk-footer-inner { max-width: 1200px; margin: 0 auto; }
.mk-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.mk-footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; margin-bottom: 24px; }
.mk-footer-col { display: flex; flex-direction: column; gap: 6px; }
.mk-footer-title { font-size: 13px; font-weight: 700; color: #333; margin-bottom: 4px; }
.mk-footer-col a { font-size: 13px; color: #888; text-decoration: none; transition: color 0.2s; }
.mk-footer-col a:hover { color: var(--mk-primary); }
.mk-footer-bottom { border-top: 1px solid #f0f0f0; padding-top: 16px; font-size: 11px; color: #bbb; text-align: center; }
