/* ================================================================
   Midland Electronics — main.css
   Navy + Teal · Professional electronics distributor UI
================================================================ */

:root {
    /* Blues & Navy */
    --navy:        #0d1f3c;
    --navy-mid:    #162847;
    --navy-soft:   #1e3560;
    --navy-light:  #2e4a72;
    /* Teal accent */
    --teal:        #0ea5c9;
    --teal-dark:   #0b87a8;
    --teal-deeper: #0771a0;
    --teal-glow:   rgba(14,165,201,0.12);
    --teal-light:  #e0f6fb;
    --teal-pale:   #f0fbfd;
    /* UI surfaces */
    --bg:          #f4f7fb;
    --surface:     #ffffff;
    --card:        #ffffff;
    --border:      #dde6f0;
    --border-mid:  #c4d4e6;
    --border-dark: #a8c0d8;
    /* Text */
    --text:        #0d1f3c;
    --text-soft:   #3a567a;
    --muted:       #6b87a8;
    /* Status */
    --green:       #059669;
    --green-bg:    #ecfdf5;
    --green-bdr:   #a7f3d0;
    --red:         #dc2626;
    --red-bg:      #fef2f2;
    --red-bdr:     #fecaca;
    --amber:       #d97706;
    --amber-bg:    #fffbeb;
    --amber-bdr:   #fde68a;
    /* Typography */
    --mono:        'IBM Plex Mono', 'Courier New', monospace;
    --sans:        'Inter', system-ui, -apple-system, sans-serif;
    /* Shape */
    --radius:      8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    /* Shadows */
    --shadow-sm:   0 1px 6px rgba(13,31,60,0.06);
    --shadow-md:   0 4px 16px rgba(13,31,60,0.10);
    --shadow-lg:   0 8px 32px rgba(13,31,60,0.14);
    --shadow-teal: 0 4px 20px rgba(14,165,201,0.18);
    --transition:  0.15s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
button { cursor: pointer; font-family: inherit; }

.me-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   TOPBAR
================================================================ */
.me-topbar {
    background: var(--navy);
    padding: 6px 24px;
    font-size: 11.5px;
    color: rgba(255,255,255,0.55);
}
.me-topbar-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.me-topbar-left, .me-topbar-right { display: flex; align-items: center; gap: 10px; }
.me-topbar a { color: #7dd3fc; }
.me-topbar a:hover { color: #bae6fd; }
.me-sep { opacity: 0.3; }

/* ================================================================
   HEADER
================================================================ */
.me-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 200;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
.me-header.scrolled { box-shadow: var(--shadow-md); }
.me-header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 20px; height: 68px;
}

/* Logo */
.me-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0; color: inherit;
}
.me-logo:hover { text-decoration: none; }
.me-logo-mark {
    width: 42px; height: 42px;
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; overflow: hidden;
}
.me-logo-mark::after {
    content: '';
    position: absolute; bottom: 0; right: 0;
    width: 18px; height: 18px;
    background: var(--teal);
    border-radius: 5px 0 0 0;
}
.me-logo-mark span {
    font-family: var(--mono); font-weight: 600; font-size: 15px;
    color: #fff; position: relative; z-index: 1; letter-spacing: -0.5px;
}
.me-logo-name {
    font-size: 17px; font-weight: 700;
    color: var(--navy); letter-spacing: -0.3px; line-height: 1;
}
.me-logo-name em { color: var(--teal); font-style: normal; }
.me-logo-tagline {
    font-size: 9.5px; color: var(--muted);
    letter-spacing: 0.6px; font-family: var(--mono); text-transform: uppercase;
    margin-top: 2px;
}

/* Search */
.me-search-wrap { flex: 1; max-width: 640px; position: relative; }
.me-search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: 14px; pointer-events: none; z-index: 1;
}
.me-search-bar {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 10px 92px 10px 42px;
    color: var(--text);
    font-size: 13.5px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.me-search-bar::placeholder { color: var(--muted); }
.me-search-bar:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
    background: var(--surface);
}
.me-search-btn {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: var(--teal); border: none; border-radius: 6px;
    padding: 6px 16px;
    font-family: var(--mono); font-size: 11px; font-weight: 600; color: #fff;
    letter-spacing: 0.5px; transition: background var(--transition);
}
.me-search-btn:hover { background: var(--teal-dark); }

/* Search dropdown */
.me-search-drop {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: var(--surface);
    border: 1.5px solid var(--teal);
    border-radius: var(--radius-lg);
    z-index: 300; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.me-search-drop[hidden] { display: none; }
.me-sd-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-bottom: 1px solid var(--border);
    cursor: pointer; text-decoration: none; color: inherit;
    transition: background var(--transition);
}
.me-sd-row:last-child { border-bottom: none; }
.me-sd-row:hover { background: var(--bg); }
.me-sd-thumb {
    width: 40px; height: 40px;
    background: var(--bg);
    border: 1px solid var(--border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0; overflow: hidden;
}
.me-sd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.me-sd-info { flex: 1; min-width: 0; }
.me-sd-pn { font-family: var(--mono); font-size: 11.5px; color: var(--teal); font-weight: 600; }
.me-sd-name { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-sd-price { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--green); flex-shrink: 0; }
.me-search-all { padding: 8px 14px; border-top: 1px solid var(--border); text-align: center; }
.me-search-all a { font-size: 12px; color: var(--teal); font-family: var(--mono); font-weight: 600; }
.me-search-loading {
    padding: 14px; text-align: center; font-size: 12px; color: var(--muted);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.me-spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid var(--border-mid);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: me-spin 0.6s linear infinite;
}
@keyframes me-spin { to { transform: rotate(360deg); } }

/* Header actions */
.me-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.me-hbtn {
    background: none; border: 1.5px solid var(--border-mid);
    border-radius: var(--radius); padding: 7px 14px;
    color: var(--text-soft); font-size: 13px;
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: all var(--transition);
}
.me-hbtn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.me-hbtn--cart {
    background: var(--navy); border-color: var(--navy);
    color: #fff; font-weight: 600;
}
.me-hbtn--cart:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.me-cart-count {
    background: var(--teal); color: #fff;
    border-radius: 999px; font-size: 10px; font-weight: 700;
    padding: 1px 7px; font-family: var(--mono); min-width: 20px; text-align: center;
}
.me-cart-count:not(.has-items) { background: var(--border-mid); color: var(--muted); }

/* ================================================================
   CATEGORY NAV
================================================================ */
.me-cat-nav {
    background: var(--navy);
    border-bottom: 3px solid var(--teal);
}
.me-cat-nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 2px; height: 42px;
    overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.me-cat-nav-inner::-webkit-scrollbar { display: none; }
.me-cat-item {
    padding: 6px 14px; color: rgba(255,255,255,0.6); font-size: 13px;
    border-radius: 5px; white-space: nowrap; text-decoration: none;
    display: flex; align-items: center; gap: 5px;
    transition: all var(--transition);
}
.me-cat-item:hover, .me-cat-item.active { color: #fff; background: rgba(255,255,255,0.1); }
.me-cat-item.active { color: #7dd3fc; }
.me-cat-sep { width: 1px; background: rgba(255,255,255,0.1); height: 20px; margin: 0 4px; flex-shrink: 0; }
.me-cat-badge {
    background: var(--teal); color: #fff;
    font-size: 9px; font-weight: 700; font-family: var(--mono);
    padding: 1px 6px; border-radius: 3px;
}

/* Breadcrumb */
.me-breadcrumb-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 0; }
.me-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.me-breadcrumb li a { color: var(--teal); }
.bc-sep { color: var(--border-mid); }

/* ================================================================
   HERO
================================================================ */
.me-hero {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a6e 100%);
    padding: 56px 0 52px;
    position: relative; overflow: hidden;
}
.me-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 90% 50%, rgba(14,165,201,0.13) 0%, transparent 65%),
        radial-gradient(ellipse 25% 40% at 5% 90%, rgba(14,165,201,0.07) 0%, transparent 55%);
    pointer-events: none;
}
.me-hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.me-hero-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 360px; gap: 52px; align-items: center;
    position: relative; z-index: 1;
}
.me-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.me-eyebrow-line { width: 24px; height: 2px; background: var(--teal); }
.me-eyebrow-text { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--teal); letter-spacing: 2.5px; text-transform: uppercase; }
.me-hero-left h1 { font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.18; color: #fff; margin-bottom: 18px; letter-spacing: -0.5px; }
.me-hero-left h1 em { color: #7dd3fc; font-style: normal; }
.me-hero-sub { font-size: 15.5px; color: rgba(255,255,255,0.62); max-width: 480px; margin-bottom: 30px; line-height: 1.75; }
.me-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.me-btn-primary {
    background: var(--teal); color: #fff; border: none;
    border-radius: var(--radius); padding: 12px 24px; font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.me-btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-teal); color: #fff; }
.me-btn-ghost {
    background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius);
    padding: 12px 24px; font-size: 14px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all var(--transition); text-decoration: none;
}
.me-btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }
.me-hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1);
}
.me-stat-n { font-family: var(--mono); font-size: 24px; font-weight: 600; color: #fff; }
.me-stat-l { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; }

/* Stock card */
.me-stock-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(8px);
}
.me-sc-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.me-sc-title { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 1.5px; text-transform: uppercase; }
.me-sc-live { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #34d399; }
.me-sc-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: me-pulse 2s infinite; }
@keyframes me-pulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.me-sc-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.me-sc-row:last-child { border-bottom: none; padding-bottom: 0; }
.me-sc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.me-sc-name { flex: 1; font-size: 12.5px; color: rgba(255,255,255,0.75); }
.me-sc-qty { font-family: var(--mono); font-size: 11px; flex-shrink: 0; }
.me-sc-badge { font-size: 10px; font-family: var(--mono); font-weight: 600; padding: 2px 8px; border-radius: 3px; flex-shrink: 0; }
.b-green { background: rgba(52,211,153,0.15); color: #34d399; }
.b-amber { background: rgba(251,191,36,0.15); color: #fbbf24; }
.b-red   { background: rgba(248,113,113,0.15); color: #f87171; }

/* ================================================================
   SHIPPING STRIP
================================================================ */
.me-ship-strip { background: var(--teal); }
.me-ship-inner {
    max-width: 1280px; margin: 0 auto; padding: 14px 24px;
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.me-ship-item { display: flex; align-items: flex-start; gap: 10px; }
.me-ship-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.me-ship-label { font-size: 13px; font-weight: 600; color: #fff; }
.me-ship-sub { font-size: 11.5px; color: rgba(255,255,255,0.75); margin-top: 1px; }

/* ================================================================
   MAIN
================================================================ */
.me-main { padding: 36px 0; }
.me-section { margin-bottom: 44px; }
.me-section-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.me-section-title { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; font-family: var(--mono); }
.me-section-title span { color: var(--teal); }
.me-section-more { font-size: 12px; color: var(--teal); font-family: var(--mono); font-weight: 600; }

/* ================================================================
   CATEGORY GRID
================================================================ */
.me-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.me-cat-card {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 18px 12px;
    text-align: center; cursor: pointer; text-decoration: none; color: inherit;
    transition: all var(--transition); display: block;
    box-shadow: var(--shadow-sm);
}
.me-cat-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.me-cat-icon { font-size: 26px; margin-bottom: 8px; }
.me-cat-name { font-size: 12.5px; font-weight: 600; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.me-cat-count { font-size: 10px; color: var(--muted); font-family: var(--mono); }

/* ================================================================
   PRODUCT CARDS
================================================================ */
.me-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.me-product-card {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.me-product-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.me-pc-img-wrap {
    height: 130px; background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; position: relative; overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.me-pc-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.me-pc-img-placeholder { opacity: 0.65; }

/* Badges */
.me-badge { font-size: 10px; font-family: var(--mono); font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.me-badge--in  { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bdr); }
.me-badge--low { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-bdr); }
.me-badge--out { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-bdr); }
.me-pc-badge { position: absolute; top: 10px; right: 10px; }

.me-pc-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.me-pc-mfr { font-size: 10.5px; color: var(--muted); font-family: var(--mono); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.me-pc-name { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 5px; line-height: 1.3; display: block; text-decoration: none; }
.me-pc-name:hover { color: var(--teal); }
.me-pc-pn { font-family: var(--mono); font-size: 11px; color: var(--teal); margin-bottom: 10px; font-weight: 600; }
.me-pc-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.me-spec-tag { background: var(--bg); border: 1px solid var(--border); font-size: 10px; color: var(--muted); padding: 2px 8px; border-radius: 4px; font-family: var(--mono); }
.me-pc-footer { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--border); }
.me-pc-price { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--navy); }
.me-pc-price .woocommerce-Price-currencySymbol { font-size: 11px; color: var(--muted); }
.me-pc-moq { font-size: 10px; color: var(--muted); margin-top: 2px; }
.me-pc-add { background: var(--navy); border: none; border-radius: 6px; padding: 8px 16px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: #fff; transition: background var(--transition); }
.me-pc-add:hover { background: var(--teal); }
.me-pc-add.added { background: var(--green); }
.me-pc-view { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; text-decoration: none; }
.me-pc-view:hover { border-color: var(--teal); color: var(--teal); }

/* ================================================================
   BUTTONS
================================================================ */
.me-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius); padding: 11px 22px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all var(--transition); text-decoration: none; border: 1.5px solid transparent; }
.me-btn:hover { text-decoration: none; transform: translateY(-1px); }
.me-btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.me-btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.me-btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.me-btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.me-btn--outline { background: none; color: var(--text-soft); border-color: var(--border-mid); }
.me-btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.me-btn--sm { padding: 7px 16px; font-size: 12.5px; }

/* ================================================================
   TOOLS STRIP
================================================================ */
.me-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.me-tool-card {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); padding: 22px;
    transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.me-tool-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }
.me-tool-icon { width: 44px; height: 44px; background: var(--teal-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; border: 1px solid var(--border); }
.me-tool-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.me-tool-desc { font-size: 12.5px; color: var(--text-soft); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.me-tool-link { font-family: var(--mono); font-size: 12px; color: var(--teal); font-weight: 600; }

/* ================================================================
   TRUST BAR
================================================================ */
.me-trust { background: var(--navy); padding: 18px 0; }
.me-trust-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.me-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 13px; }
.me-trust-icon { font-size: 17px; }

/* ================================================================
   SHOP LAYOUT
================================================================ */
.me-shop-wrap { padding: 28px 0; }
.me-shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.me-shop-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.me-shop-title h1, .woocommerce-products-header__title { font-size: 22px; font-weight: 700; color: var(--navy); }

.me-shop-sidebar { position: sticky; top: 80px; }
.me-filter-block { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.me-filter-title { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.me-filter-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; color: var(--text-soft); }
.me-filter-block ul { list-style: none; }
.me-filter-block ul li { margin-bottom: 6px; }
.me-filter-block ul li a { color: var(--text-soft); font-size: 13px; }
.me-filter-block ul li a:hover { color: var(--teal); }
.me-filter-block ul li.current-cat > a { color: var(--teal); font-weight: 600; }

/* Pagination */
.me-pagination { margin-top: 32px; display: flex; justify-content: center; }
.me-pagination .page-numbers { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; justify-content: center; }
.me-pagination .page-numbers li a,
.me-pagination .page-numbers li span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 6px; font-family: var(--mono); font-size: 13px; color: var(--text-soft); text-decoration: none; transition: all var(--transition); }
.me-pagination .page-numbers li a:hover { border-color: var(--teal); color: var(--teal); }
.me-pagination .page-numbers li span.current { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }

.me-no-results { text-align: center; padding: 60px 20px; color: var(--muted); }
.me-no-results h2 { color: var(--navy); margin-bottom: 8px; }

/* ================================================================
   SINGLE PRODUCT
================================================================ */
.me-single-product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 40px; max-width: 1280px; margin: 0 auto 40px; padding: 0 24px; }
.me-sp-mfr { font-family: var(--mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; font-weight: 600; }
.me-sp-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; line-height: 1.25; color: var(--navy); }
.me-sp-pn { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.me-sp-pn span { color: var(--teal); }
.me-sp-stock { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.me-sp-qty { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.me-sp-price .woocommerce-Price-amount { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--navy); }
.me-pb-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.me-pb-table th { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding: 5px 8px; text-align: left; border-bottom: 1px solid var(--border); }
.me-pb-table td { padding: 7px 8px; font-size: 13px; border-bottom: 1px solid var(--border); }
.me-pb-price { font-family: var(--mono); font-weight: 700; color: var(--navy); }
.me-pb-save { font-family: var(--mono); font-size: 11px; color: var(--green); }
.me-spec-table { width: 100%; border-collapse: collapse; }
.me-spec-table th { text-align: left; padding: 8px 12px; font-size: 12.5px; color: var(--muted); font-weight: 500; background: var(--bg); border-bottom: 1px solid var(--border); width: 40%; }
.me-spec-table td { padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--border); font-family: var(--mono); }
.me-sp-ship { background: var(--teal-pale); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-top: 16px; }
.me-sp-ship-row { font-size: 12.5px; color: var(--text-soft); margin-bottom: 5px; }
.me-sp-ship-row:last-child { margin-bottom: 0; }

/* ================================================================
   FOOTER
================================================================ */
.me-footer { background: var(--navy); border-top: 3px solid var(--teal); padding: 48px 0 0; margin-top: 40px; }
.me-footer-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.me-footer-desc { font-size: 12.5px; color: rgba(255,255,255,0.4); line-height: 1.75; max-width: 260px; margin-top: 14px; }
.me-footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.me-cert-tag { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 3px 10px; font-size: 10px; color: rgba(255,255,255,0.45); font-family: var(--mono); }
.me-footer-col-title { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.me-flink { display: block; font-size: 13px; color: rgba(255,255,255,0.52); text-decoration: none; margin-bottom: 9px; transition: color var(--transition); }
.me-flink:hover { color: #7dd3fc; }
.me-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; color: rgba(255,255,255,0.3); }
.me-footer-bottom a { color: rgba(255,255,255,0.3); }
.me-footer-bottom a:hover { color: #7dd3fc; }
.me-fb-links { display: flex; gap: 14px; }

/* Floating cart */
.me-float-cart { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: #fff; border: 2px solid var(--teal); border-radius: 50px; padding: 12px 20px; font-family: var(--mono); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); cursor: pointer; z-index: 999; display: flex; align-items: center; gap: 8px; text-decoration: none; transition: all var(--transition); }
.me-float-cart:hover { background: var(--navy-soft); transform: translateY(-2px); color: #fff; }
.me-fc-sep { color: rgba(255,255,255,0.3); }

/* Page content */
.me-main--page { min-height: 60vh; }
.me-page-title { font-size: 28px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.me-page-body { font-size: 14.5px; color: var(--text-soft); line-height: 1.8; max-width: 720px; }
.me-page-body h2, .me-page-body h3 { color: var(--navy); margin: 24px 0 10px; }
.me-page-body a { color: var(--teal); }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes me-fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.me-hero-left { animation: me-fadeUp .45s ease both; }
.me-stock-card { animation: me-fadeUp .45s .1s ease both; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media(max-width:1024px){
    .me-hero-inner{grid-template-columns:1fr}
    .me-stock-card{display:none}
    .me-shop-layout{grid-template-columns:200px 1fr}
    .me-footer-grid{grid-template-columns:1fr 1fr}
    .me-single-product{grid-template-columns:1fr;padding:0 24px}
}
@media(max-width:768px){
    .me-ship-inner{grid-template-columns:1fr 1fr}
    .me-shop-layout{grid-template-columns:1fr}
    .me-shop-sidebar{position:static}
    .me-tools-grid{grid-template-columns:1fr 1fr}
    .me-trust-inner{justify-content:flex-start}
}
@media(max-width:600px){
    .me-header-inner{gap:10px}
    .me-logo-wordmark{display:none}
    .me-hbtn:not(.me-hbtn--cart){display:none}
    .me-ship-inner{grid-template-columns:1fr}
    .me-tools-grid{grid-template-columns:1fr}
    .me-footer-grid{grid-template-columns:1fr}
}

/* ================================================================
   MOBILE UTILITIES
================================================================ */
.me-hide-sm   { display: none !important; }
.me-hide-md   { display: none !important; }
.me-hide-lg   { display: block; }
.me-show-sm   { display: none !important; }
.me-hide-sm-flex { display: none !important; }

@media (min-width: 641px) {
    .me-hide-sm { display: block !important; }
    .me-hide-sm-flex { display: flex !important; }
    .me-show-sm { display: none !important; }
}
@media (min-width: 769px) {
    .me-hide-md { display: flex !important; }
}
@media (min-width: 1025px) {
    .me-hide-lg { display: none !important; }
    .me-show-sm { display: none !important; }
}

/* ================================================================
   HAMBURGER BUTTON
================================================================ */
.me-hamburger {
    background: none;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius);
    width: 40px; height: 40px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    cursor: pointer; flex-shrink: 0;
    transition: border-color var(--transition);
    padding: 0;
}
.me-hamburger:hover { border-color: var(--teal); }
.me-hamburger span {
    display: block; width: 18px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
}
.me-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.me-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.me-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   MOBILE SEARCH PANEL (slides under header)
================================================================ */
.me-mobile-search-panel {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
}
.me-mobile-search-panel[hidden] { display: none; }
.me-mobile-search-inner {
    position: relative; display: flex; align-items: center;
}
.me-mobile-search-inner .me-search-icon { position: absolute; left: 12px; font-size: 13px; color: var(--muted); pointer-events: none; }
.me-mobile-search-inner .me-search-bar { padding-left: 36px; width: 100%; }

/* ================================================================
   MOBILE DRAWER OVERLAY
================================================================ */
.me-mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(13,31,60,0.55);
    z-index: 399;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
}
.me-mobile-overlay.is-visible { opacity: 1; pointer-events: all; }

/* ================================================================
   MOBILE DRAWER MENU
================================================================ */
.me-mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: var(--surface);
    z-index: 400;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(13,31,60,0.18);
}
.me-mobile-menu.is-open { transform: translateX(0); }

.me-mobile-menu-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--navy);
    position: sticky; top: 0; z-index: 1; flex-shrink: 0;
}
.me-mobile-logo { font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; }
.me-mobile-logo em { color: #7dd3fc; font-style: normal; }
.me-mobile-close {
    background: rgba(255,255,255,0.1);
    border: none; border-radius: 6px;
    width: 32px; height: 32px;
    color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.me-mobile-close:hover { background: rgba(255,255,255,0.2); }

.me-mobile-search-form { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.me-mobile-form-wrap { display: flex; gap: 6px; }
.me-mobile-form-input {
    flex: 1; background: var(--bg); border: 1.5px solid var(--border-mid);
    border-radius: 6px; padding: 9px 12px; font-size: 13px; color: var(--text); outline: none;
}
.me-mobile-form-input:focus { border-color: var(--teal); }
.me-mobile-form-btn {
    background: var(--teal); border: none; border-radius: 6px;
    padding: 9px 14px; font-size: 14px; cursor: pointer;
    transition: background var(--transition);
}
.me-mobile-form-btn:hover { background: var(--teal-dark); }

.me-mobile-section {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px;
    padding: 14px 20px 6px;
}
.me-mobile-link {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 20px; font-size: 14px; color: var(--text-soft);
    text-decoration: none; border-bottom: 1px solid var(--bg);
    transition: color var(--transition), background var(--transition);
}
.me-mobile-link:hover { color: var(--teal); background: var(--teal-light); }

/* ================================================================
   RESPONSIVE HEADER ADJUSTMENTS
================================================================ */
@media (max-width: 640px) {
    .me-topbar { padding: 5px 14px; font-size: 11px; }
    .me-header-inner { padding: 0 14px; height: 58px; gap: 10px; }
    .me-logo-mark { width: 34px; height: 34px; }
    .me-logo-name { font-size: 14px; }
    /* Cart button compact on mobile */
    .me-hbtn--cart { padding: 6px 12px; }
}

/* ================================================================
   RESPONSIVE SHIP STRIP
================================================================ */
@media (max-width: 640px) {
    .me-ship-inner { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 400px) {
    .me-ship-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE HERO
================================================================ */
@media (max-width: 900px) {
    .me-hero-inner { grid-template-columns: 1fr; gap: 0; }
    .me-stock-card { display: none; }
    .me-hero { padding: 36px 0 32px; }
    .me-hero-stats { gap: 20px; }
    .me-hero-ctas { flex-direction: column; }
    .me-btn-primary, .me-btn-ghost { text-align: center; justify-content: center; }
}
@media (max-width: 640px) {
    .me-hero { padding: 28px 0 24px; }
    .me-stat-n { font-size: 20px; }
    .me-hero-left h1 { font-size: 24px; }
}

/* ================================================================
   RESPONSIVE CATEGORY GRID
================================================================ */
@media (max-width: 640px) {
    .me-cat-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .me-cat-icon { font-size: 22px; }
    .me-cat-name { font-size: 11.5px; }
}

/* ================================================================
   RESPONSIVE PRODUCT GRID
================================================================ */
@media (max-width: 900px) {
    .me-product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 500px) {
    .me-product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .me-pc-img-wrap { height: 100px; }
    .me-pc-body { padding: 10px; }
    .me-pc-name { font-size: 12px; }
    .me-pc-price { font-size: 14px; }
    .me-pc-add { padding: 6px 10px; font-size: 10px; }
}

/* ================================================================
   RESPONSIVE SHOP LAYOUT
================================================================ */
@media (max-width: 860px) {
    .me-shop-layout { grid-template-columns: 1fr; }
    .me-shop-sidebar { display: none; } /* hidden on mobile — use filter drawer */
}

/* ================================================================
   RESPONSIVE TOOLS GRID
================================================================ */
@media (max-width: 860px) {
    .me-tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .me-tools-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   RESPONSIVE FOOTER
================================================================ */
@media (max-width: 860px) {
    .me-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 500px) {
    .me-footer-grid { grid-template-columns: 1fr; }
    .me-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ================================================================
   RESPONSIVE TRUST BAR
================================================================ */
@media (max-width: 768px) {
    .me-trust-inner { justify-content: flex-start; gap: 12px; }
    .me-trust-item { font-size: 12px; }
}
@media (max-width: 500px) {
    .me-trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ================================================================
   SINGLE PRODUCT — RESPONSIVE
================================================================ */
.me-single-product-wrap { padding: 0 0 40px; }
.me-sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; margin-bottom: 32px; }
@media (max-width: 768px) {
    .me-sp-grid { grid-template-columns: 1fr; gap: 20px; }
}
.me-sp-tabs { margin-top: 32px; }
.me-shop-search-term em { color: var(--teal); font-style: normal; }
.me-filter-check { cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-soft); text-decoration: none; padding: 4px 0; }
.me-filter-check.active { color: var(--teal); font-weight: 600; }
.me-filter-checkbox { width: 16px; height: 16px; border: 1.5px solid var(--border-mid); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--teal); flex-shrink: 0; }
.me-shop-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ================================================================
   WOOCOMMERCE PAGE WRAPPER
================================================================ */
.me-woo-page { padding: 28px 0 48px; }
.me-woo-page .me-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* WooCommerce summary action area */
.me-sp-price-wrap .price { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 16px; }
.me-sp-price-wrap .quantity { margin-bottom: 12px; }
.me-sp-price-wrap .single_add_to_cart_button { width: 100%; padding: 13px; font-size: 14px; margin-top: 4px; }


/* ================================================================
   CATEGORY TILES (shop page subcategory display)
   Replaces WooCommerce placeholder images with styled emoji cards
================================================================ */
.products.columns-4 .product-category,
ul.products .product-category { list-style: none; }

.me-cat-tile { list-style: none; }
.me-cat-tile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    height: 100%;
    position: relative;
}
.me-cat-tile-link:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
    transform: translateY(-3px);
}
.me-cat-tile-icon {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1;
}
.me-cat-tile-img {
    width: 80px; height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}
.me-cat-tile-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.me-cat-tile-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
}
.me-cat-tile-count {
    font-size: 11px;
    color: var(--muted);
    font-family: var(--mono);
}
.me-cat-tile-arrow {
    position: absolute;
    bottom: 12px; right: 14px;
    font-size: 12px;
    color: var(--teal);
    font-weight: 700;
    opacity: 0;
    transition: opacity var(--transition);
}
.me-cat-tile-link:hover .me-cat-tile-arrow { opacity: 1; }

/* WooCommerce renders categories in a <ul class="products"> — we need to
   make that grid match our product grid style when categories are shown */
ul.products:has(.product-category) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
}
/* Fallback for browsers without :has() support */
.woocommerce-products-header + ul.products,
.me-shop-main > ul.products:first-of-type {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

/* Filter list in sidebar */
.me-filter-cat-list { list-style: none; }
.me-filter-cat-list li { margin-bottom: 6px; }
.me-filter-cat-list li a { font-size: 13px; color: var(--text-soft); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.me-filter-cat-list li a:hover { color: var(--teal); }
.me-filter-cat-list li.current-cat > a { color: var(--teal); font-weight: 600; }
.me-filter-cat-list li span { color: var(--muted); font-size: 11px; font-family: var(--mono); }


/* ================================================================
   SHOP GRID — FORCE 4 COLUMNS, override WC defaults
================================================================ */
/* The definitive grid reset — catches both our custom div AND
   any WC <ul class="products"> that might slip through */
.me-product-grid,
.me-product-grid--shop {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 1024px) {
    .me-product-grid,
    .me-product-grid--shop { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 640px) {
    .me-product-grid,
    .me-product-grid--shop { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
}

/* WooCommerce native <ul class="products"> — also force grid
   (handles subcategory display and any WC native loops) */
ul.products.columns-4,
ul.products.columns-3,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}
/* Category tiles in WC native ul */
ul.products li.product-category { list-style: none; }
@media (max-width: 1024px) { ul.products { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 640px)  { ul.products { grid-template-columns: repeat(2,1fr) !important; gap:8px !important; } }

/* WooCommerce controls */
.woocommerce-result-count { font-size:12.5px; color:var(--muted); font-family:var(--mono); margin:0; }
.woocommerce-ordering { margin:0; }
.woocommerce-ordering select { background:var(--surface); border:1.5px solid var(--border-mid); border-radius:6px; padding:6px 12px; font-size:12px; color:var(--text); outline:none; }

/* ================================================================
   DISTRIBUTOR LOGOS SECTION
================================================================ */
.me-distributors-section { margin-bottom: 48px; }
.me-dist-sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.me-dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.me-dist-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 12px 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.me-dist-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
    transform: translateY(-3px);
}
.me-dist-logo-img {
    max-width: 90px;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter var(--transition);
}
.me-dist-card:hover .me-dist-logo-img { filter: grayscale(0%); }
.me-dist-initials {
    width: 56px;
    height: 36px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}
.me-dist-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
}
.me-dist-card:hover .me-dist-name { color: var(--teal); }

@media (max-width: 640px) {
    .me-dist-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .me-dist-initials { width: 44px; height: 30px; font-size: 12px; }
}

/* ================================================================
   SHOP PAGE LAYOUT — ENSURE SIDEBAR + MAIN SIDE BY SIDE
================================================================ */
.me-woo-page { padding: 28px 0 48px; }
.me-shop-wrap { margin-top: 0; }
.me-shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 860px) {
    .me-shop-layout { grid-template-columns: 1fr; }
    .me-shop-sidebar { display: none; }
}

/* ================================================================
   CATEGORY TILE FIX — override any <ul> from WC loop
================================================================ */
ul.products li.me-cat-tile {
    list-style: none;
}

/* ================================================================
   SINGLE PRODUCT PAGE
================================================================ */
.me-single-page .me-container { max-width: 1100px; }
.me-sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
    padding-top: 20px;
}
@media (max-width: 768px) { .me-sp-grid { grid-template-columns: 1fr; gap: 20px; } }

/* WooCommerce single product summary styles */
.me-sp-summary .price {
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin: 16px 0;
}
.me-sp-summary .quantity { margin-bottom: 12px; }
.me-sp-summary .single_add_to_cart_button {
    background: var(--navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 13px 28px !important;
    font-family: var(--mono) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    width: 100% !important;
    transition: background var(--transition) !important;
    margin-top: 4px !important;
}
.me-sp-summary .single_add_to_cart_button:hover { background: var(--teal) !important; }

/* Shop controls bar */
.me-shop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.me-shop-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.me-shop-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Availability filter */
.me-filter-avail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    padding: 4px 0;
    cursor: pointer;
}
.me-filter-avail.active { color: var(--teal); font-weight: 600; }
.me-filter-check-box {
    width: 16px; height: 16px;
    border: 1.5px solid var(--border-mid);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: var(--teal);
    flex-shrink: 0;
}
.me-filter-avail.active .me-filter-check-box { border-color: var(--teal); }


/* ================================================================
   BRAND PARTNERS SECTION (v4.1 — TipTop supplier brands)
================================================================ */
.me-brands-section { margin-bottom: 48px; }
.me-brands-sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }

.me-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.me-brand-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 12px 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.me-brand-card::after {
    content: '↗';
    position: absolute;
    top: 8px; right: 10px;
    font-size: 11px;
    color: var(--muted);
    opacity: 0;
    transition: opacity var(--transition);
}
.me-brand-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
    transform: translateY(-3px);
}
.me-brand-card:hover::after { opacity: 1; }

.me-brand-logo-wrap {
    width: 80px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.me-brand-logo-img {
    max-width: 80px;
    max-height: 44px;
    object-fit: contain;
    transition: all var(--transition);
}
.me-brand-card:hover .me-brand-logo-img { transform: scale(1.05); }

.me-brand-initials {
    width: 70px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform var(--transition);
}
.me-brand-card:hover .me-brand-initials { transform: scale(1.05); }

.me-brand-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}
.me-brand-cat {
    font-size: 10px;
    color: var(--muted);
    font-family: var(--mono);
}
.me-brand-card:hover .me-brand-name { color: var(--teal); }

@media (max-width: 768px) {
    .me-brands-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
    .me-brand-initials { width: 56px; height: 34px; font-size: 13px; }
    .me-brand-logo-wrap { width: 60px; height: 36px; }
}
@media (max-width: 480px) {
    .me-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ================================================================
   REMOVE OLD DISTRIBUTOR STYLES (replaced by brand styles above)
================================================================ */
.me-dist-grid, .me-dist-card, .me-dist-logo-img,
.me-dist-initials, .me-dist-name, .me-distributors-section { display: none !important; }


/* ================================================================
   BRAND PARTNERS — NAME ONLY, CLEAN LOGO CARDS (no colored squares)
================================================================ */
.me-brands-section { margin-bottom: 48px; }
.me-brands-sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.me-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.me-brand-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 12px 12px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 88px;
    justify-content: center;
}
.me-brand-card::after {
    content: '↗';
    position: absolute;
    top: 6px; right: 8px;
    font-size: 10px;
    color: var(--muted);
    opacity: 0;
    transition: opacity var(--transition);
}
.me-brand-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.me-brand-card:hover::after { opacity: 1; }

/* Logo image (Wikipedia Commons) */
.me-brand-logo-wrap {
    width: 100%;
    max-width: 110px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.me-brand-logo-img {
    max-width: 110px;
    max-height: 40px;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.8);
    transition: all var(--transition);
}
.me-brand-card:hover .me-brand-logo-img { filter: grayscale(0%) opacity(1); }

/* Name-only fallback (no colored square, just clean text) */
.me-brand-name-only {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--sans);
    line-height: 1.2;
    text-align: center;
}
.me-brand-card:hover .me-brand-name-only { color: var(--teal); }

/* Category label under logo/name */
.me-brand-cat {
    font-size: 10px;
    color: var(--muted);
    font-family: var(--mono);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .me-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .me-brand-logo-wrap { height: 34px; }
    .me-brand-logo-img { max-height: 32px; max-width: 90px; }
}

/* ================================================================
   SECTION EYEBROW (shared between edu + repairs)
================================================================ */
.me-section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================================================================
   PAGE HERO (education + repairs pages)
================================================================ */
.me-page-hero {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6e 100%);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    margin-bottom: 36px;
    display: grid;
    gap: 28px;
    position: relative;
    overflow: hidden;
}
.me-page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 60% at 85% 50%, rgba(14,165,201,.14) 0%, transparent 65%);
    pointer-events: none;
}
.me-page-hero--edu { grid-template-columns: 1fr 240px; align-items: center; }
.me-page-hero--repairs { grid-template-columns: 1fr auto; align-items: center; }
.me-page-hero-content { position: relative; z-index: 1; }
.me-page-hero-content h1 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: #fff; line-height: 1.2; margin: 8px 0 12px; }
.me-page-hero-content h1 span { color: #7dd3fc; }
.me-page-hero-content p { font-size: 14.5px; color: rgba(255,255,255,.65); line-height: 1.75; max-width: 540px; margin-bottom: 20px; }
.me-page-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.me-page-hero-ctas .me-btn--outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85); }
.me-page-hero-ctas .me-btn--outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }

.me-cert-badge-big { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 18px; }
.me-cert-badge-icon { font-size: 32px; flex-shrink: 0; }
.me-cert-badge-discount { font-family: var(--mono); font-size: 20px; font-weight: 700; color: #ffd700; margin-bottom: 4px; }
.me-cert-badge-sub { font-size: 11.5px; color: rgba(255,255,255,.6); line-height: 1.4; }

.me-repairs-stat { text-align: center; }
.me-rs-n { font-family: var(--mono); font-size: 16px; font-weight: 700; color: #fff; }
.me-rs-l { font-size: 11px; color: rgba(255,255,255,.5); }
.me-page-hero-stats { display: flex; gap: 20px; position: relative; z-index: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 16px 20px; align-items: center; }

@media (max-width: 768px) {
    .me-page-hero--edu, .me-page-hero--repairs { grid-template-columns: 1fr; }
    .me-cert-badge-big, .me-page-hero-stats { display: none; }
    .me-page-hero { padding: 28px 20px; }
}

/* ================================================================
   EDUCATION — HOMEPAGE SECTION
================================================================ */
.me-edu-section { background: var(--teal-pale); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; margin-bottom: 44px; }
.me-edu-grid { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.me-edu-heading { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.me-edu-sub { font-size: 13px; color: var(--teal); font-family: var(--mono); font-weight: 600; margin-bottom: 14px; }
.me-edu-desc { font-size: 14px; color: var(--text-soft); line-height: 1.75; margin-bottom: 20px; }

.me-edu-cert-card { display: flex; gap: 14px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 20px; }
.me-edu-cert-icon { font-size: 28px; flex-shrink: 0; }
.me-edu-cert-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.me-edu-cert-text { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 10px; }
.me-edu-discount-badge { display: flex; align-items: center; gap: 8px; background: rgba(14,165,201,.1); border: 1px solid rgba(14,165,201,.2); border-radius: 6px; padding: 7px 12px; font-size: 12px; color: var(--teal-dark); }
.me-edu-discount-n { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--teal); flex-shrink: 0; }

.me-edu-programs-title { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.me-edu-programs-list { list-style: none; padding: 0; }
.me-edu-programs-list li { font-size: 13px; color: var(--text-soft); padding: 8px 0 8px 16px; border-bottom: 1px solid var(--border); position: relative; }
.me-edu-programs-list li:last-child { border-bottom: none; }
.me-edu-programs-list li::before { content: '▸'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.me-edu-apply-box { background: var(--surface); border: 1.5px solid var(--teal); border-radius: var(--radius-lg); padding: 16px; margin-top: 16px; }
.me-edu-apply-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.me-edu-apply-box p { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }

@media (max-width: 860px) { .me-edu-grid { grid-template-columns: 1fr; } }

/* ================================================================
   EDUCATION — FULL PAGE
================================================================ */
.me-edu-page { padding-bottom: 48px; }
.me-edu-programs-section { margin-bottom: 40px; }
.me-edu-programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.me-edu-program-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.me-edu-program-card:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.me-edu-program-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.me-edu-level-dot { font-size: 18px; flex-shrink: 0; }
.me-edu-level-name { font-size: 10.5px; font-weight: 700; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; }
.me-edu-level-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.me-edu-program-desc { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 14px; }
.me-edu-program-meta { display: flex; align-items: center; justify-content: space-between; }
.me-edu-duration { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.me-edu-cert-tag { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bdr); font-size: 10px; font-family: var(--mono); font-weight: 700; padding: 2px 8px; border-radius: 4px; }

.me-edu-cert-section { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; margin-bottom: 36px; }
.me-edu-cert-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.me-edu-cert-info h2 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.me-edu-cert-desc { font-size: 14px; color: var(--text-soft); line-height: 1.75; margin-bottom: 20px; }
.me-edu-discount-block { background: var(--navy); border-radius: var(--radius-lg); padding: 20px; }
.me-edu-discount-n { font-family: var(--mono); font-size: 28px; font-weight: 700; color: #ffd700; }
.me-edu-discount-l { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.me-edu-discount-items { list-style: none; padding: 0; }
.me-edu-discount-items li { font-size: 13px; color: rgba(255,255,255,.75); padding: 5px 0; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
.me-edu-discount-items li:last-child { border-bottom: none; }

.me-edu-apply-panel { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.me-edu-apply-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.me-edu-apply-panel > p { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.me-edu-apply-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.me-edu-apply-step { display: flex; gap: 12px; align-items: flex-start; }
.me-edu-apply-step-n { width: 24px; height: 24px; background: var(--teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-family: var(--mono); flex-shrink: 0; }
.me-edu-apply-step-text { font-size: 13px; color: var(--text-soft); line-height: 1.55; padding-top: 3px; }
.me-edu-contact-info { background: var(--teal-pale); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.me-edu-contact-info p { font-size: 13px; color: var(--text-soft); margin: 0 0 8px; line-height: 1.65; }
.me-edu-contact-info p:last-child { margin-bottom: 0; }
.me-edu-contact-info a { color: var(--teal); font-weight: 600; }

.me-edu-resources { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.me-edu-resources-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.me-edu-resources p { font-size: 14px; color: var(--text-soft); }

@media (max-width: 768px) { .me-edu-cert-grid { grid-template-columns: 1fr; } }

/* ================================================================
   REPAIRS — HOMEPAGE SECTION
================================================================ */
.me-repairs-section { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; margin-bottom: 44px; box-shadow: var(--shadow-sm); }
.me-repairs-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.me-repairs-heading { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.me-repairs-sub { font-size: 13px; color: var(--teal); font-family: var(--mono); font-weight: 600; margin-bottom: 14px; }
.me-repairs-desc { font-size: 14px; color: var(--text-soft); line-height: 1.75; margin-bottom: 20px; }
.me-repairs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.me-repairs-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 16px; }
.me-repairs-card-icon { font-size: 24px; margin-bottom: 8px; }
.me-repairs-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.me-repairs-card p { font-size: 12.5px; color: var(--text-soft); line-height: 1.65; }

.me-repairs-services-title { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.me-repairs-services-list { list-style: none; padding: 0; }
.me-repairs-services-list li { font-size: 13px; color: var(--text-soft); padding: 7px 0 7px 16px; border-bottom: 1px solid var(--border); position: relative; }
.me-repairs-services-list li:last-child { border-bottom: none; }
.me-repairs-services-list li::before { content: '🔧'; position: absolute; left: 0; font-size: 11px; top: 8px; }
.me-repairs-parts-box { background: var(--navy); border-radius: var(--radius-lg); padding: 16px; margin-top: 16px; text-align: center; }
.me-repairs-parts-icon { font-size: 24px; margin-bottom: 8px; }
.me-repairs-parts-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.me-repairs-parts-box p { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 12px; line-height: 1.6; }

@media (max-width: 860px) {
    .me-repairs-grid { grid-template-columns: 1fr; }
    .me-repairs-cards { grid-template-columns: 1fr; }
}

/* ================================================================
   REPAIRS — FULL PAGE
================================================================ */
.me-repairs-page { padding-bottom: 48px; }
.me-repairs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.me-repairs-split-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm); }
.me-repairs-split-card--vintage { border-top: 4px solid #6b87a8; }
.me-repairs-split-card--modern { border-top: 4px solid var(--teal); }
.me-repairs-split-icon { font-size: 36px; margin-bottom: 14px; }
.me-repairs-split-card h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.me-repairs-split-card > p { font-size: 14px; color: var(--text-soft); line-height: 1.75; margin-bottom: 16px; }
.me-repairs-examples { background: var(--bg); border-radius: var(--radius); padding: 14px; }
.me-repairs-example-title { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 10px; }
.me-repairs-examples ul { list-style: none; padding: 0; margin: 0; }
.me-repairs-examples ul li { font-size: 13px; color: var(--text-soft); padding: 5px 0 5px 16px; border-bottom: 1px solid var(--border); position: relative; }
.me-repairs-examples ul li:last-child { border-bottom: none; }
.me-repairs-examples ul li::before { content: '›'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.me-repairs-quote-section { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; }
.me-repairs-quote-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.me-repairs-services-heading { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.me-repairs-services-list-full { list-style: none; padding: 0; margin-bottom: 24px; }
.me-repairs-services-list-full li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-soft); }
.me-repairs-services-list-full li:last-child { border-bottom: none; }
.me-repairs-services-list-full li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.me-repairs-parts-note { display: flex; gap: 16px; background: var(--teal-pale); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; align-items: flex-start; }
.me-repairs-parts-icon-lg { font-size: 28px; flex-shrink: 0; }
.me-repairs-parts-note strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.me-repairs-parts-note p { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 12px; }

.me-repairs-contact-panel { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.me-repairs-contact-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.me-repairs-contact-panel > p { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.me-repairs-contact-methods { display: flex; flex-direction: column; gap: 12px; }
.me-repairs-contact-method { display: flex; align-items: flex-start; gap: 12px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; text-decoration: none; transition: all var(--transition); }
.me-repairs-contact-method:hover { border-color: var(--teal); background: var(--teal-pale); }
.me-rcm-icon { font-size: 22px; flex-shrink: 0; }
.me-rcm-label { font-size: 10.5px; font-weight: 700; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.me-rcm-value { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.me-rcm-note { font-size: 11px; color: var(--muted); margin-top: 2px; }

@media (max-width: 768px) {
    .me-repairs-split { grid-template-columns: 1fr; }
    .me-repairs-quote-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   HERO — WIDE (no stock card, full width)
================================================================ */
.me-hero--wide { padding: 52px 0 44px; }
.me-hero-wide-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}
.me-hero--wide h1 {
    font-size: clamp(26px, 3.6vw, 48px);
    font-weight: 700; line-height: 1.15; color: #fff;
    margin-bottom: 18px; letter-spacing: -0.5px;
    max-width: 760px;
}
.me-hero-stats--wide {
    display: flex; gap: 40px; flex-wrap: wrap;
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 32px;
}
.me-hero-stat-item {}
@media (max-width: 640px) {
    .me-hero--wide { padding: 32px 0 28px; }
    .me-hero-stats--wide { gap: 20px; }
    .me-hero--wide h1 { font-size: 24px; }
}

/* ================================================================
   BRAND PARTNERS — TEXT ONLY, CLEAN LINK CARDS
================================================================ */
.me-hp-brands { margin-bottom: 44px; }
.me-brands-tagline { font-size: 13px; color: var(--muted); margin-bottom: 14px; font-family: var(--mono); }
.me-brand-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.me-brand-link-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.me-brand-link-card:hover {
    border-color: var(--teal);
    background: var(--teal-pale);
    transform: translateY(-1px);
}
.me-blc-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    transition: color var(--transition);
}
.me-brand-link-card:hover .me-blc-name { color: var(--teal); }
.me-blc-cat {
    font-size: 10.5px;
    color: var(--muted);
    font-family: var(--mono);
}
.me-blc-arrow {
    position: absolute; top: 8px; right: 10px;
    font-size: 11px; color: var(--muted);
    opacity: 0; transition: opacity var(--transition);
}
.me-brand-link-card:hover .me-blc-arrow { opacity: 1; }
@media (max-width: 640px) {
    .me-brand-links-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
    .me-blc-name { font-size: 12.5px; }
}

/* ================================================================
   SERVICES STRIP (Partners / Lessons / Repairs teaser)
================================================================ */
.me-services-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 4px;
}
.me-service-tile {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.me-service-tile::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    transition: opacity var(--transition);
}
.me-service-tile--partners::before { background: var(--teal); }
.me-service-tile--lessons::before  { background: #8b5cf6; }
.me-service-tile--repairs::before  { background: #f59e0b; }
.me-service-tile:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.me-st-icon { font-size: 28px; margin-bottom: 4px; }
.me-st-label { font-size: 15px; font-weight: 700; color: var(--navy); }
.me-st-sub { font-size: 13px; color: var(--text-soft); line-height: 1.5; flex: 1; }
.me-st-cta { font-family: var(--mono); font-size: 12px; color: var(--teal); font-weight: 600; margin-top: 8px; }
@media (max-width: 768px) { .me-services-strip { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .me-services-strip { grid-template-columns: 1fr; } }

/* ================================================================
   FLOATING STOCK SNAPSHOT — compact, bottom right
================================================================ */
.me-stock-float {
    position: fixed;
    bottom: 90px; right: 20px;
    z-index: 990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.me-stock-float-toggle {
    background: var(--navy);
    color: rgba(255,255,255,.85);
    border: 1.5px solid var(--teal);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-family: var(--mono);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(13,31,60,.3);
}
.me-stock-float-toggle:hover { background: var(--navy-soft); color: #fff; }
.me-stock-float-panel {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    width: 260px;
    box-shadow: 0 8px 32px rgba(13,31,60,.18);
    animation: me-fadeUp .2s ease;
}
.me-stock-float-panel[hidden] { display: none; }
.me-stock-float-hd {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.me-stock-float-title {
    font-family: var(--mono); font-size: 10px; font-weight: 700;
    color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px;
}
.me-sf-row {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 0; border-bottom: 1px solid var(--border);
}
.me-sf-row:last-of-type { border-bottom: none; }
.me-sf-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.me-sf-name { flex: 1; font-size: 11px; color: var(--text-soft); }
.me-sf-qty { font-family: var(--mono); font-size: 10.5px; font-weight: 600; flex-shrink: 0; }
.me-sf-link {
    display: block; margin-top: 10px;
    font-family: var(--mono); font-size: 11px; color: var(--teal);
    text-align: right; font-weight: 600;
}
@media (max-width: 480px) {
    .me-stock-float { bottom: 74px; right: 12px; }
    .me-stock-float-panel { width: 220px; }
}

/* ================================================================
   PARTNERS PAGE
================================================================ */
.me-partners-page { padding-bottom: 48px; }
.me-partners-hero {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a6e 100%);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-bottom: 28px;
}
.me-partners-hero h1 { font-size: clamp(22px,2.8vw,34px); font-weight:700; color:#fff; margin:8px 0 12px; }
.me-partners-hero > p { font-size:14.5px; color:rgba(255,255,255,.65); line-height:1.75; max-width:680px; margin-bottom:20px; }
.me-partners-stats { display:flex; gap:24px; flex-wrap:wrap; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); }
.me-partners-stats div { display:flex; flex-direction:column; }
.me-partners-stats strong { font-family:var(--mono); font-size:22px; font-weight:700; color:#fff; }
.me-partners-stats span { font-size:11px; color:rgba(255,255,255,.45); }

/* Jump links */
.me-partners-jump {
    display:flex; flex-wrap:wrap; gap:6px;
    margin-bottom:24px;
}
.me-pj-link {
    background: var(--surface); border:1.5px solid var(--border);
    border-radius:20px; padding:5px 12px;
    font-size:12px; color:var(--text-soft); text-decoration:none;
    transition:all var(--transition);
}
.me-pj-link:hover { border-color:var(--teal); color:var(--teal); background:var(--teal-pale); }

/* Partner cards */
.me-partners-list { display:flex; flex-direction:column; gap:16px; }
.me-partner-card {
    background:var(--surface); border:1.5px solid var(--border);
    border-radius:var(--radius-lg); padding:24px;
    box-shadow:var(--shadow-sm); transition:border-color var(--transition);
    scroll-margin-top: 80px;
}
.me-partner-card:hover { border-color:var(--teal); }
.me-partner-card-header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:12px; flex-wrap:wrap; }
.me-partner-name { font-size:20px; font-weight:700; color:var(--navy); margin:0 0 4px; }
.me-partner-name a { color:var(--navy); text-decoration:none; transition:color var(--transition); }
.me-partner-name a:hover { color:var(--teal); }
.me-partner-ext { font-size:14px; color:var(--teal); }
.me-partner-cat { font-size:12px; color:var(--teal); font-family:var(--mono); font-weight:600; margin-bottom:4px; }
.me-partner-origin { font-size:12px; color:var(--muted); }
.me-partner-rating { margin-bottom:6px; }
.me-star { font-size:16px; color:#fbbf24; }
.me-star--full { color:#f59e0b; }
.me-partner-badge { background:var(--navy); color:#fff; font-size:11px; font-family:var(--mono); font-weight:700; padding:3px 10px; border-radius:4px; white-space:nowrap; }
.me-partner-blurb { font-size:14px; color:var(--text-soft); line-height:1.8; margin-bottom:14px; }
.me-partner-products { background:var(--bg); border-radius:6px; padding:10px 14px; margin-bottom:14px; }
.me-partner-products-label { font-family:var(--mono); font-size:10px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:4px; }
.me-partner-products-text { font-size:13px; color:var(--text-soft); }
.me-partner-actions { display:flex; gap:8px; flex-wrap:wrap; }

.me-partners-footer-cta { background:var(--navy); border-radius:var(--radius-xl); padding:32px; margin-top:32px; text-align:center; }
.me-partners-footer-cta h2 { font-size:20px; font-weight:700; color:#fff; margin-bottom:10px; }
.me-partners-footer-cta p { font-size:14px; color:rgba(255,255,255,.65); line-height:1.75; max-width:500px; margin:0 auto 20px; }

/* ================================================================
   REPAIRS PAGE
================================================================ */
.me-repairs-page { padding-bottom: 48px; }
.me-repairs-hero-promises {
    display:flex; flex-direction:column; gap:12px;
    background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
    border-radius:var(--radius-lg); padding:20px;
    position:relative; z-index:1;
    flex-shrink:0;
}
.me-page-hero--repairs { grid-template-columns: 1fr 280px; }
.me-rhp-item { display:flex; align-items:flex-start; gap:10px; }
.me-rhp-icon { font-size:20px; flex-shrink:0; margin-top:1px; }
.me-rhp-item strong { display:block; font-size:13px; font-weight:700; color:#fff; margin-bottom:3px; }
.me-rhp-item p { font-size:12px; color:rgba(255,255,255,.6); margin:0; line-height:1.5; }

.me-repairs-vintage-section { margin-bottom:40px; }
.me-vintage-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.me-vintage-card { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:22px; box-shadow:var(--shadow-sm); transition:all var(--transition); }
.me-vintage-card:hover { border-color:var(--teal); box-shadow:var(--shadow-teal); }
.me-vintage-icon { font-size:32px; margin-bottom:12px; }
.me-vintage-card h3 { font-size:16px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.me-vintage-card > p { font-size:13.5px; color:var(--text-soft); line-height:1.75; margin-bottom:14px; }
.me-vintage-common { background:var(--bg); border-radius:6px; padding:12px; }
.me-vintage-common-title { font-family:var(--mono); font-size:10px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:1.2px; margin-bottom:8px; }
.me-vtag { display:inline-block; background:var(--surface); border:1px solid var(--border); font-size:11px; color:var(--text-soft); padding:2px 8px; border-radius:4px; font-family:var(--mono); margin:2px; }

.me-repairs-modern-section { margin-bottom:40px; }
.me-repairs-modern-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.me-repairs-modern-card { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:18px; }
.me-rmc-icon { font-size:24px; margin-bottom:10px; }
.me-repairs-modern-card h3 { font-size:14px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.me-repairs-modern-card p { font-size:12.5px; color:var(--text-soft); line-height:1.65; }

.me-repairs-process { background:var(--bg); border:1.5px solid var(--border); border-radius:var(--radius-xl); padding:28px; margin-bottom:36px; }
.me-repairs-process-title { font-size:20px; font-weight:700; color:var(--navy); margin-bottom:20px; }
.me-repairs-steps { display:flex; flex-direction:column; gap:14px; }
.me-rs2 { display:flex; gap:14px; align-items:flex-start; }
.me-rs2-n { width:28px; height:28px; background:var(--teal); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:12px; font-weight:700; flex-shrink:0; margin-top:1px; }
.me-rs2-content strong { display:block; font-size:14px; color:var(--navy); margin-bottom:4px; }
.me-rs2-content p { font-size:13px; color:var(--text-soft); line-height:1.6; margin:0; }

.me-repairs-contact-section { display:grid; grid-template-columns:1fr 320px; gap:20px; }
.me-repairs-contact-inner { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.me-repairs-contact-inner h2 { font-size:20px; font-weight:700; color:var(--navy); margin-bottom:8px; }
.me-repairs-contact-inner > p { font-size:13.5px; color:var(--muted); margin-bottom:18px; line-height:1.65; }
.me-repairs-contact-methods { display:flex; flex-direction:column; gap:10px; }
.me-repairs-contact-method { display:flex; align-items:flex-start; gap:12px; background:var(--bg); border:1.5px solid var(--border); border-radius:var(--radius); padding:12px; text-decoration:none; transition:all var(--transition); }
.me-repairs-contact-method:hover { border-color:var(--teal); background:var(--teal-pale); }
.me-rcm-icon { font-size:20px; flex-shrink:0; }
.me-rcm-label { font-size:10px; font-weight:700; color:var(--muted); font-family:var(--mono); text-transform:uppercase; letter-spacing:1px; margin-bottom:2px; }
.me-rcm-value { font-size:13.5px; font-weight:600; color:var(--navy); }
.me-rcm-note { font-size:11px; color:var(--muted); }
.me-repairs-parts-cta { background:var(--navy); border-radius:var(--radius-lg); padding:24px; }
.me-rpc-icon { font-size:28px; margin-bottom:10px; }
.me-repairs-parts-cta h3 { font-size:15px; font-weight:700; color:#fff; margin-bottom:8px; }
.me-repairs-parts-cta p { font-size:13px; color:rgba(255,255,255,.65); line-height:1.7; margin-bottom:0; }
@media(max-width:768px){
    .me-repairs-contact-section{grid-template-columns:1fr}
    .me-vintage-grid{grid-template-columns:1fr}
    .me-page-hero--repairs{grid-template-columns:1fr}
    .me-repairs-hero-promises{display:none}
}

/* ================================================================
   404 PAGE
================================================================ */
.me-404-wrap { text-align:center; padding:80px 24px; }
.me-404-code { font-family:var(--mono); font-size:80px; font-weight:700; color:var(--border-mid); line-height:1; margin-bottom:16px; }
.me-404-title { font-size:24px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.me-404-sub { font-size:15px; color:var(--muted); margin-bottom:28px; }

