/* EM Tech Shop v2.6.7 — Edworthy Media */

/* ===== Variables ===== */
.em-tech-shop {
    --em-navy:    #0c1832;
    --em-navy-dk: #091428;
    --em-navy-lt: #e8f0fc;
    --em-red:     #dc2626;
    --em-green:   #059669;
    --em-amber:   #b45309;
    --em-bg:      #ffffff;
    --em-card:    #ffffff;
    --em-border:  #e2e6ed;
    --em-text:    #111827;
    --em-muted:   #6b7280;
    --em-light:   #f8f9fb;
    --em-radius:  10px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== OUTER SHOP WRAPPER ===== */
.em-tech-shop {
    background: #fff;
    padding: 16px;
    color: var(--em-text);
}

/* ===== LAYOUT ===== */
.em-tech-shop .em-shop-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 18px;
    align-items: start;
}
@media (max-width: 991px) {
    .em-tech-shop .em-shop-layout { display: block; }
}

/* ===== MOBILE FILTER TOGGLE ===== */
.em-tech-shop .em-filter-toggle {
    display: none;
    width: 100%; padding: 13px 16px;
    background: var(--em-navy); color: #fff;
    border: none; border-radius: var(--em-radius);
    font-family: inherit; font-size: 14px; font-weight: 700;
    cursor: pointer; margin-bottom: 14px;
    align-items: center; gap: 10px; justify-content: center;
    transition: background 0.15s;
}
.em-tech-shop .em-filter-toggle:hover { background: var(--em-navy-dk); }
.em-tech-shop .em-filter-toggle svg { stroke: #fff; }
.em-tech-shop .em-filter-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #e53e3e; color: #fff;
    font-size: 11px; font-weight: 800;
    min-width: 20px; height: 20px;
    border-radius: 999px; padding: 0 5px; margin-left: 4px;
}

/* ===== SIDEBAR ===== */
.em-tech-shop .em-sidebar {
    background: var(--em-card);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    overflow: hidden;
    position: sticky; top: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.em-tech-shop .em-sidebar-header {
    padding: 13px 16px;
    background: var(--em-navy);
    display: flex; align-items: center; justify-content: space-between;
}
.em-tech-shop .em-sidebar-header h3 {
    margin: 0; font-size: 11px; font-weight: 800;
    color: #fff; letter-spacing: 0.1em; text-transform: uppercase;
}
.em-tech-shop .em-filter-close {
    display: none; background: none; border: none;
    cursor: pointer; padding: 4px; color: rgba(255,255,255,0.7); line-height: 1;
}
.em-tech-shop .em-filter-close:hover { color: #fff; }
.em-tech-shop .em-filter-close svg { stroke: currentColor; }

.em-tech-shop .em-filter-block {
    border-bottom: 1px solid var(--em-border);
    padding: 11px 14px;
}
.em-tech-shop .em-filter-block:last-child { border-bottom: none; }
.em-tech-shop .em-filter-block h4 {
    font-size: 10px; font-weight: 800;
    color: var(--em-muted); text-transform: uppercase;
    letter-spacing: 0.08em; margin: 0 0 9px;
}

/* Search */
.em-tech-shop .em-search-form {
    display: flex; align-items: center;
    background: var(--em-light); border: 1px solid var(--em-border);
    border-radius: 8px; overflow: hidden; transition: border-color 0.15s;
}
.em-tech-shop .em-search-form:focus-within { border-color: var(--em-navy); }
.em-tech-shop .em-search-form input {
    flex: 1; border: none; background: transparent;
    padding: 9px 11px; font-family: inherit; font-size: 13px;
    outline: none; color: var(--em-text); min-width: 0;
}
.em-tech-shop #em-search-btn {
    background: var(--em-navy); border: none; padding: 9px 14px;
    color: #fff; font-family: inherit; font-size: 12px; font-weight: 700;
    cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: background 0.15s;
}
.em-tech-shop #em-search-btn:hover { background: var(--em-navy-dk); }

/* Spec filter groups */
.em-tech-shop .em-spec-group,
.em-tech-shop .em-filter-section { border-bottom: 1px solid var(--em-border); }
.em-tech-shop .em-spec-group:last-child { border-bottom: none; }

.em-tech-shop .em-spec-group-toggle {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; padding: 11px 14px;
    background: none; border: none; cursor: pointer;
    font-family: inherit; text-align: left; gap: 8px; transition: background 0.1s;
}
.em-tech-shop .em-spec-group-toggle:hover { background: var(--em-light); }
.em-tech-shop .em-spec-group-label { font-size: 13px; font-weight: 600; color: var(--em-text); flex: 1; }
.em-tech-shop .em-spec-count {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--em-navy); color: #fff;
    font-size: 10px; font-weight: 800;
    min-width: 18px; height: 18px;
    border-radius: 10px; padding: 0 5px; flex-shrink: 0;
}
.em-tech-shop .em-chevron {
    flex-shrink: 0; stroke: var(--em-muted);
    transition: transform 0.2s; width: 14px; height: 14px;
}
.em-tech-shop .em-spec-open > .em-spec-group-toggle .em-chevron { transform: rotate(180deg); }

.em-tech-shop .em-spec-options {
    display: none; padding: 2px 14px 10px;
    max-height: 200px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--em-border) transparent;
}
.em-tech-shop .em-spec-options-open { display: block; }

.em-tech-shop .em-spec-label {
    display: flex; align-items: center; gap: 9px;
    padding: 5px 6px; cursor: pointer; user-select: none;
    border-radius: 6px; transition: background 0.1s;
}
.em-tech-shop .em-spec-label:hover { background: var(--em-light); }
.em-tech-shop .em-spec-cb {
    width: 15px; height: 15px; flex-shrink: 0;
    accent-color: var(--em-navy); cursor: pointer;
}
.em-tech-shop .em-spec-label-text { flex: 1; font-size: 13px; color: #374151; line-height: 1.4; }
.em-tech-shop .em-spec-label-count { font-size: 11px; color: var(--em-muted); flex-shrink: 0; }
#em-spec-filters-wrap .em-spec-filters { border-bottom: 1px solid var(--em-border); }

/* Category list */
.em-tech-shop .em-cat-list,
.em-tech-shop .em-subcats { list-style: none; margin: 0; padding: 0; }
.em-tech-shop .em-cat-item { margin-bottom: 1px; }
.em-tech-shop .em-cat-row { display: flex; align-items: center; gap: 4px; }
.em-tech-shop .em-cat-row a {
    flex: 1; display: flex; align-items: center;
    color: var(--em-muted); text-decoration: none;
    font-size: 13px; font-weight: 500;
    padding: 6px 8px; border-radius: 6px; transition: all 0.12s;
}
.em-tech-shop .em-cat-row a:hover { background: var(--em-light); color: var(--em-navy); }
.em-tech-shop .em-cat-row .em-filter-active {
    color: var(--em-navy); font-weight: 700; background: var(--em-navy-lt);
}
.em-tech-shop .em-cat-row .em-filter-active::before {
    content: ''; display: inline-block;
    width: 3px; height: 14px; background: var(--em-navy);
    border-radius: 2px; margin-right: 8px; flex-shrink: 0;
}
.em-tech-shop .em-subcat-toggle {
    background: none; border: none; cursor: pointer;
    font-size: 9px; color: var(--em-muted); padding: 2px 4px; line-height: 1;
}
.em-tech-shop .em-subcat-toggle:hover { color: var(--em-navy); }
.em-tech-shop .em-subcats { padding-left: 14px; margin-top: 2px; }
.em-tech-shop .em-cat-toggle {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--em-muted);
    text-decoration: none; padding: 5px 8px; border-radius: 6px; transition: color 0.12s;
}
.em-tech-shop .em-cat-toggle:hover { color: var(--em-navy); }

/* Price filter */
.em-tech-shop .em-price-row { display: flex; gap: 8px; margin-bottom: 10px; }
.em-tech-shop .em-price-input {
    flex: 1; padding: 8px 10px;
    border: 1px solid var(--em-border); border-radius: 7px;
    font-family: inherit; font-size: 13px; color: var(--em-text);
    background: var(--em-light); outline: none; width: 100%;
    transition: border-color 0.15s;
}
.em-tech-shop .em-price-input:focus { border-color: var(--em-navy); }
.em-tech-shop #em-price-btn {
    width: 100%; padding: 9px;
    background: var(--em-navy); border: none; border-radius: 7px;
    color: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
    cursor: pointer; transition: background 0.15s;
}
.em-tech-shop #em-price-btn:hover { background: var(--em-navy-dk); }

/* Active filter pills */
.em-tech-shop .em-active-filters {
    display: flex; flex-wrap: wrap; gap: 6px;
    align-items: center; margin-bottom: 12px;
}
.em-tech-shop .em-active-label {
    font-size: 12px; font-weight: 700; color: var(--em-muted); flex-shrink: 0;
}
.em-tech-shop .em-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; background: var(--em-navy-lt);
    border: 1px solid #c5d5f0; border-radius: 999px;
    color: var(--em-navy); font-family: inherit; font-size: 12px; font-weight: 600;
    cursor: pointer; line-height: 1; transition: all 0.12s;
}
.em-tech-shop .em-pill:hover { background: #d0e0f8; }
.em-tech-shop .em-pill svg { stroke: var(--em-navy); }
.em-tech-shop .em-pill-clear-all { background: #fee2e2; border-color: #fca5a5; color: var(--em-red); }
.em-tech-shop .em-pill-clear-all:hover { background: #fecaca; }

/* ===== QUICK FILTER PILLS ===== */
.em-tech-shop .em-quick-filters {
    display: flex; align-items: center; flex-wrap: nowrap;
    gap: 6px; margin-bottom: 12px;
    padding: 10px 12px;
    background: #f8f9fb;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.em-tech-shop .em-quick-filters::-webkit-scrollbar { display: none; }
.em-tech-shop .em-qf-label {
    font-size: 11px; font-weight: 800; color: var(--em-muted);
    text-transform: uppercase; letter-spacing: 0.07em;
    white-space: nowrap; margin-right: 2px; flex-shrink: 0;
}
.em-tech-shop .em-qf-sep {
    width: 1px; height: 18px; background: var(--em-border);
    margin: 0 2px; flex-shrink: 0;
}
.em-tech-shop .em-qf-pill {
    display: inline-flex; align-items: center;
    padding: 4px 11px;
    background: var(--em-light); border: 1px solid var(--em-border);
    border-radius: 999px;
    font-family: inherit; font-size: 12px; font-weight: 600;
    color: var(--em-text); cursor: pointer; white-space: nowrap;
    transition: all 0.12s; line-height: 1;
}
.em-tech-shop .em-qf-pill:hover { border-color: var(--em-navy); color: var(--em-navy); background: var(--em-navy-lt); }
.em-tech-shop .em-qf-pill.em-qf-active { background: var(--em-navy); border-color: var(--em-navy); color: #fff; }

/* ===== TRUST BAR ===== */
.em-tech-shop .em-trust-bar {
    display: flex; flex-wrap: wrap; gap: 8px 20px;
    align-items: center; justify-content: center;
    background: #0c1832; color: #fff;
    padding: 10px 16px; border-radius: var(--em-radius);
    margin-bottom: 14px; font-size: 12px; font-weight: 600;
}
.em-tech-shop .em-trust-bar span { white-space: nowrap; }

/* ===== RESULTS BAR ===== */
.em-tech-shop .em-results-count {
    font-size: 14px; color: var(--em-muted); font-weight: 500; margin: 0 0 14px;
}
.em-tech-shop .em-results-count strong { color: var(--em-text); font-weight: 700; }

/* Section head + sort */
.em-tech-shop .em-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px; gap: 12px; flex-wrap: wrap;
}
.em-tech-shop .em-section-title { font-size: 20px; font-weight: 800; color: var(--em-text); margin: 0; }
.em-tech-shop .em-section-intro { font-size: 13px; color: var(--em-muted); margin: -8px 0 14px; }

.em-tech-shop #em-sort-select {
    padding: 8px 12px; border: 1px solid var(--em-border);
    border-radius: 8px; font-family: inherit; font-size: 13px;
    color: var(--em-text); background: #fff; cursor: pointer; outline: none;
}

/* Pagination */
.em-tech-shop .em-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 28px; flex-wrap: wrap;
}
.em-tech-shop .em-page-btn {
    padding: 8px 14px; background: #fff;
    border: 1px solid var(--em-border); border-radius: 8px;
    cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--em-navy); transition: all 0.12s; min-width: 38px; text-align: center;
}
.em-tech-shop .em-page-btn:hover { border-color: var(--em-navy); background: var(--em-navy-lt); }
.em-tech-shop .em-page-active { background: var(--em-navy) !important; color: #fff !important; border-color: var(--em-navy) !important; }
.em-tech-shop .em-page-ellipsis { padding: 8px 4px; color: var(--em-muted); font-size: 13px; }

/* ===== PRODUCT GRID ===== */
.em-tech-shop .em-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
}
@media (max-width: 1200px) { .em-tech-shop .em-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 991px)  { .em-tech-shop .em-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }
@media (max-width: 600px)  { .em-tech-shop .em-grid { grid-template-columns: minmax(0,1fr); gap: 10px; } }

/* ===== PRODUCT CARD ===== */
.em-tech-shop .em-card {
    position: relative;
    background: #ffffff !important;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.18s, border-color 0.2s;
}
.em-tech-shop .em-card:hover {
    box-shadow: 0 6px 24px rgba(12,24,50,0.13);
    transform: translateY(-3px);
    border-color: #c5d0e0;
}
.em-tech-shop .em-card.em-card-badged { border-top: 3px solid var(--em-navy); }
.em-tech-shop .em-card.em-card-sale   { border-top: 3px solid #dc2626; }

/* Sale ribbon */
.em-tech-shop .em-sale-ribbon {
    position: absolute; top: 0; right: 0;
    background: #dc2626; color: #fff;
    font-size: 11px; font-weight: 800;
    padding: 4px 10px; border-bottom-left-radius: 8px;
    z-index: 6; letter-spacing: 0.03em;
}

/* Badge */
.em-tech-shop .em-badge {
    position: absolute; top: 8px; left: 8px;
    color: #fff; padding: 4px 9px;
    font-size: 10px; font-weight: 800;
    border-radius: 5px; z-index: 5;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.em-tech-shop .em-badge-featured,
.em-tech-shop .em-badge-black-friday,
.em-tech-shop .em-badge-christmas,
.em-tech-shop .em-badge-easter,
.em-tech-shop .em-badge-summer,
.em-tech-shop .em-badge-back-to-school { background: var(--em-navy); }
.em-tech-shop .em-badge-best-value { background: var(--em-green); }
.em-tech-shop .em-badge-popular     { background: #1d4ed8; }

/* Image */
.em-tech-shop .em-image-wrap {
    display: flex; align-items: center; justify-content: center;
    position: relative; width: 100%;
    aspect-ratio: 3/2; max-height: 260px;
    background: #f7f8fa;
    border-bottom: 1px solid var(--em-border);
    padding: 20px; box-sizing: border-box;
    overflow: hidden; text-decoration: none;
    flex-shrink: 0;
}
.em-tech-shop .em-image-wrap img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain; display: block !important;
    transition: transform 0.3s ease;
}
.em-tech-shop .em-card:hover .em-image-wrap img { transform: scale(1.05); }

/* Card body */
.em-tech-shop .em-card-body {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; padding: 16px 16px 16px;
    gap: 6px; text-align: center;
    color: #111827 !important;
}

/* Brand */
.em-tech-shop .em-brand {
    font-size: 11px; font-weight: 700;
    color: #6b7280 !important; text-transform: uppercase;
    letter-spacing: 0.06em; text-align: center; width: 100%;
}

/* Title */
.em-tech-shop .em-title {
    font-size: 13.5px; font-weight: 700; color: #111827 !important;
    line-height: 1.35; text-decoration: none !important; text-align: center; width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.em-tech-shop .em-title:hover { color: #0c1832 !important; text-decoration: underline !important; }

/* Spec chips */
.em-tech-shop .em-chips { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; width: 100%; }
.em-tech-shop .em-chip {
    display: inline-flex; align-items: center;
    padding: 2px 7px; border-radius: 4px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
    white-space: nowrap;
}
.em-tech-shop .em-chip-ram     { background: #eff6ff !important; color: #1d4ed8 !important; border: 1px solid #bfdbfe; }
.em-tech-shop .em-chip-storage { background: #f0fdf4 !important; color: #15803d !important; border: 1px solid #bbf7d0; }
.em-tech-shop .em-chip-os      { background: #f5f3ff !important; color: #6d28d9 !important; border: 1px solid #ddd6fe; }

/* Benefit */
.em-tech-shop .em-benefit {
    font-size: 12px; color: #6b7280 !important; line-height: 1.4;
    margin: 0; font-style: italic; text-align: center; width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Price block */
.em-tech-shop .em-price-block { margin-top: 2px; text-align: center; width: 100%; }
.em-tech-shop .em-price {
    font-size: 26px; font-weight: 800; color: #0c1832 !important; line-height: 1.1;
    margin-top: 6px;
}
.em-tech-shop .em-price del .woocommerce-Price-amount {
    font-size: 15px; font-weight: 500; color: #6b7280 !important;
}
.em-tech-shop .em-price ins { text-decoration: none; }
.em-tech-shop .em-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit !important; }
.em-tech-shop .em-exvat {
    font-size: 11px; color: #6b7280 !important; line-height: 1.3; margin-top: 2px;
}
.em-tech-shop .em-exvat span { font-weight: 500; }
.em-tech-shop .em-exvat .woocommerce-Price-amount { font-size: inherit; font-weight: 600; }

/* Urgency */
.em-tech-shop .em-urgency {
    font-size: 11px; font-weight: 700;
    color: #b45309; background: #fffbeb;
    padding: 3px 8px; border-radius: 5px;
    border: 1px solid #fde68a;
    display: inline-block; width: fit-content; text-align: center;
}

/* Fulfilment */
.em-tech-shop .em-fulfil {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    justify-content: center; width: 100%;
}
.em-tech-shop .em-stock {
    font-size: 11px; font-weight: 700; padding: 2px 7px;
    border-radius: 4px; display: inline-block; flex-shrink: 0;
}
.em-tech-shop .em-stock-high     { background: #ecfdf5; color: #047857; }
.em-tech-shop .em-stock-low      { background: #fffbeb; color: #b45309; }
.em-tech-shop .em-stock-critical { background: #fef2f2; color: #dc2626; font-weight: 800; }
.em-tech-shop .em-stock-out      { background: #fef2f2; color: #dc2626; }

.em-tech-shop .em-delivery { font-size: 11px; color: #6b7280; line-height: 1.3; }
.em-tech-shop .em-delivery.em-delivery-urgent { font-weight: 700; color: #b45309; }
.em-tech-shop .em-delivery.em-delivery-prominent {
    font-size: 12px; font-weight: 700;
    color: #047857;
    display: block; width: 100%; text-align: center;
    margin-top: 2px;
}
.em-tech-shop .em-delivery.em-delivery-prominent.em-delivery-urgent {
    color: #b45309;
}

/* CTA block */
.em-tech-shop .em-cta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--em-border);
    display: flex; flex-direction: column; gap: 5px;
    width: 100%; align-items: center;
}

/* Add to Basket — full-width, prominent navy */
.em-tech-shop .em-add,
body .em-tech-shop .em-add,
.em-tech-shop .em-add:link,
.em-tech-shop .em-add:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 14px 16px !important;
    background: var(--em-navy) !important;
    background-color: var(--em-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}
.em-tech-shop .em-add:hover,
body .em-tech-shop .em-add:hover {
    background: var(--em-navy-dk) !important;
    background-color: var(--em-navy-dk) !important;
}
.em-tech-shop .em-add.em-add-oos {
    background: #9ca3af !important;
    background-color: #9ca3af !important;
}
.em-tech-shop .em-add svg { fill: #fff; flex-shrink: 0; }

/* View full details link */
.em-tech-shop .em-view-link {
    display: block; text-align: center;
    font-size: 12px; font-weight: 500;
    color: var(--em-muted); text-decoration: none;
    transition: color 0.12s; padding: 2px 0;
}
.em-tech-shop .em-view-link:hover { color: var(--em-navy); text-decoration: underline; }

/* No results */
.em-tech-shop .em-no-results {
    text-align: center; padding: 60px 20px; color: var(--em-muted);
    background: var(--em-card); border-radius: var(--em-radius);
    border: 1px solid var(--em-border);
}
.em-tech-shop .em-no-results p { font-size: 16px; margin-bottom: 16px; }
.em-tech-shop .em-btn-outline {
    padding: 10px 24px; border: 2px solid var(--em-navy);
    background: none; color: var(--em-navy); border-radius: 8px;
    font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.em-tech-shop .em-btn-outline:hover { background: var(--em-navy); color: #fff; }

/* Section divider */
.em-tech-shop .em-section-divider {
    border: none; border-top: 1px solid var(--em-border);
    margin: 30px 0 26px; position: relative;
}
.em-tech-shop .em-section-divider::after {
    content: 'All Products'; position: absolute; top: -9px; left: 50%;
    transform: translateX(-50%); background: #fff;
    padding: 0 14px; font-size: 10px; font-weight: 800; color: var(--em-muted);
    letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}

/* View More */
.em-group-more-wrap { text-align: center; margin-top: 18px; }
.em-group-more-btn, .em-group-more-link {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 26px; border-radius: 8px;
    border: 2px solid var(--em-navy); background: #fff; color: var(--em-navy);
    font-family: inherit; font-weight: 700; font-size: 14px;
    cursor: pointer; text-decoration: none; transition: all 0.15s;
}
.em-group-more-btn:hover, .em-group-more-link:hover { background: var(--em-navy); color: #fff; }

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .em-tech-shop {
        padding: 10px;
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: hidden;
    }
    .em-tech-shop .em-filter-toggle { display: flex; }
    .em-tech-shop .em-sidebar {
        position: fixed; top: 0; left: -110%; width: 85%; max-width: 320px;
        height: 100vh; overflow-y: auto; z-index: 1000;
        background: #fff; transition: left 0.3s ease;
        border-radius: 0; border: none;
    }
    .em-tech-shop .em-sidebar.em-sidebar-open { left: 0; box-shadow: 4px 0 32px rgba(0,0,0,0.2); }
    .em-tech-shop .em-filter-close { display: block; }
    .em-tech-shop .em-filter-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5); z-index: 999; display: none;
    }
    .em-tech-shop .em-filter-overlay.active { display: block; }
    .em-tech-shop #em-products-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .em-tech-shop .em-trust-bar {
        gap: 6px 14px;
        font-size: 11px;
        padding: 8px 12px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* Phone: horizontal card layout */
@media (max-width: 600px) {
    .em-tech-shop .em-card {
        flex-direction: row !important;
        align-items: stretch !important;
    }
    .em-tech-shop .em-card.em-card-badged,
    .em-tech-shop .em-card.em-card-sale {
        border-top: none !important;
        border-left: 3px solid #0c1832 !important;
    }
    .em-tech-shop .em-card.em-card-sale {
        border-left-color: #dc2626 !important;
    }
    .em-tech-shop .em-image-wrap {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: auto !important;
        min-height: 100px !important;
        aspect-ratio: unset !important;
        max-height: none !important;
        border-bottom: none !important;
        border-right: 1px solid #e2e6ed !important;
        flex-shrink: 0 !important;
        padding: 12px !important;
    }
    .em-tech-shop .em-card-body {
        align-items: flex-start !important;
        text-align: left !important;
        padding: 10px 12px !important;
        flex: 1 !important;
        min-width: 0 !important;
        gap: 4px !important;
    }
    .em-tech-shop .em-brand {
        text-align: left !important;
        font-size: 10px !important;
    }
    .em-tech-shop .em-title {
        text-align: left !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #111827 !important;
    }
    .em-tech-shop .em-chips { justify-content: flex-start !important; }
    .em-tech-shop .em-benefit { display: none !important; }
    .em-tech-shop .em-price {
        font-size: 19px !important;
        margin-top: 2px !important;
        color: #0c1832 !important;
    }
    .em-tech-shop .em-price-block { text-align: left !important; }
    .em-tech-shop .em-fulfil { justify-content: flex-start !important; }
    .em-tech-shop .em-cta {
        padding-top: 6px !important;
        border-top: none !important;
        align-items: flex-start !important;
    }
    .em-tech-shop .em-add {
        font-size: 12px !important;
        padding: 9px 14px !important;
        width: auto !important;
    }
    .em-tech-shop .em-urgency { font-size: 10px !important; }
    .em-tech-shop .em-badge { top: 6px !important; left: 6px !important; font-size: 9px !important; }
    .em-tech-shop .em-sale-ribbon { font-size: 9px !important; padding: 3px 7px !important; }
    .em-tech-shop .em-section-title { font-size: 16px !important; }
    .em-tech-shop .em-price { font-size: 19px !important; }
}

.em-tech-shop .em-products-wrap { display: block; width: 100%; }
.em-tech-shop #em-products-container { width: 100%; }

/* Paranoia: override any orange from WooCommerce theme on our buttons */
.em-tech-shop .em-add,
.em-tech-shop .button.em-add,
.em-tech-shop a.em-add,
.em-tech-shop .add_to_cart_button.em-add {
    background: var(--em-navy) !important;
    background-color: var(--em-navy) !important;
}
