:root {
    --emx-orange: #ff6b1a;
    --emx-orange-dark: #d84b00;
    --emx-ink: #15171a;
    --emx-muted: #667085;
    --emx-line: #e5e7eb;
    --emx-soft: #f5f6f8;
    --emx-surface: #fff;
    --emx-green: #0d8f5b;
    --emx-red: #d92d20;
    --emx-blue: #2456d8;
    --emx-purple: #6b3fd4;
    --emx-shadow: 0 12px 32px rgba(16, 24, 40, .08);
    --emx-radius: 16px;
    --emx-shell: min(1540px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.emx-body {
    margin: 0;
    color: var(--emx-ink);
    background: #f3f4f6;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}
body.emx-drawer-open { overflow: hidden; }
.emx-body a { color: inherit; text-decoration: none; }
.emx-body button, .emx-body input, .emx-body select { font: inherit; }
.emx-body img { max-width: 100%; }
.emx-body svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.emx-shell { width: var(--emx-shell); margin-inline: auto; }

.emx-preview-bar {
    min-height: 40px;
    padding: 7px max(16px, calc((100vw - 1540px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #201006;
    color: #fff;
    font-size: 12px;
}
.emx-preview-bar > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.emx-preview-bar strong { color: #ffb17f; }
.emx-preview-bar span { opacity: .76; }
.emx-preview-bar a { padding: 5px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; white-space: nowrap; }

.emx-site-header { position: relative; z-index: 30; background: #fff; box-shadow: 0 1px 0 rgba(16,24,40,.08); }
.emx-utility { border-bottom: 1px solid var(--emx-line); background: #f8f8f9; color: #444b55; font-size: 12px; }
.emx-utility .emx-shell { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.emx-utility nav { display: flex; gap: 22px; }
.emx-utility a:hover { color: var(--emx-orange-dark); }
.emx-main-header-inner { min-height: 76px; display: grid; grid-template-columns: auto minmax(320px, 1fr) auto; align-items: center; gap: 26px; }
.emx-logo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 900; letter-spacing: -.04em; font-size: 21px; }
.emx-logo img { width: 47px; height: 47px; object-fit: contain; display: block; }
.emx-logo b { color: var(--emx-orange); }
.emx-menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.emx-search { min-width: 0; height: 48px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; border: 2px solid var(--emx-orange); border-radius: 10px; overflow: hidden; background: #fff; }
.emx-search > span { display: grid; place-items: center; color: #717780; }
.emx-search input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 10px 0 0; background: transparent; }
.emx-search button { align-self: stretch; min-width: 108px; border: 0; background: var(--emx-orange); color: #fff; font-weight: 850; cursor: pointer; }
.emx-search button:hover { background: var(--emx-orange-dark); }
.emx-header-actions { display: flex; align-items: center; gap: 23px; }
.emx-header-actions > a { position: relative; display: flex; align-items: center; gap: 8px; min-width: max-content; }
.emx-header-actions svg { width: 25px; height: 25px; }
.emx-header-actions span { display: flex; flex-direction: column; line-height: 1.15; }
.emx-header-actions small { font-size: 11px; color: var(--emx-muted); }
.emx-header-actions strong { font-size: 14px; }
.emx-cart i { position: absolute; top: -8px; left: 17px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--emx-orange); color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.emx-nav-row { border-top: 1px solid #f2f3f4; border-bottom: 1px solid var(--emx-line); }
.emx-nav-row .emx-shell { min-height: 44px; display: flex; align-items: center; gap: 32px; }
.emx-nav-row button { height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-right: 1px solid var(--emx-line); padding: 0 28px 0 0; background: transparent; cursor: pointer; }
.emx-nav-row nav { min-width: 0; flex: 1; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 42px); overflow: auto; scrollbar-width: none; white-space: nowrap; font-size: 13px; font-weight: 750; }
.emx-nav-row nav::-webkit-scrollbar { display: none; }
.emx-nav-row nav a { position: relative; padding: 14px 0; }
.emx-nav-row nav a:hover, .emx-nav-row nav a.active { color: var(--emx-orange-dark); }
.emx-nav-row nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--emx-orange); }

.emx-lab-tabs { margin-top: 12px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.emx-lab-tabs::-webkit-scrollbar { display: none; }
.emx-lab-tabs span { color: var(--emx-muted); font-size: 12px; font-weight: 700; }
.emx-lab-tabs a { padding: 7px 12px; border: 1px solid #d9dde3; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 750; white-space: nowrap; }
.emx-lab-tabs a.active { border-color: #201006; background: #201006; color: #fff; }

.emx-discovery-hero { position: relative; min-height: 180px; margin-top: 12px; display: grid; grid-template-columns: minmax(0,1fr) minmax(400px, .8fr); align-items: center; gap: 48px; padding: 28px 34px; overflow: hidden; border-radius: 18px; color: #fff; box-shadow: var(--emx-shadow); background: linear-gradient(120deg, #171717, #322016); }
.emx-discovery-hero::before { content: ""; position: absolute; width: 380px; height: 380px; right: 25%; top: -240px; border-radius: 50%; background: rgba(255,107,26,.18); }
.emx-hero-offers { background: linear-gradient(120deg, #7c1712, #bf2f1e); }
.emx-hero-category { background: linear-gradient(120deg, #32205d, #6541b9); }
.emx-hero-location { background: linear-gradient(120deg, #064e3b, #0f8c62); }
.emx-hero-copy { position: relative; z-index: 1; min-width: 0; }
.emx-hero-copy > span { display: inline-block; margin-bottom: 6px; font-size: 11px; font-weight: 850; letter-spacing: .1em; opacity: .8; }
.emx-hero-copy h1 { margin: 0; font-size: clamp(29px, 3vw, 49px); line-height: 1.02; letter-spacing: -.045em; }
.emx-hero-copy p { max-width: 700px; margin: 10px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }
.emx-hero-search { position: relative; z-index: 1; min-width: 0; padding: 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; border-radius: 14px; background: rgba(255,255,255,.13); backdrop-filter: blur(8px); }
.emx-hero-location .emx-hero-search { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
.emx-hero-search label { height: 48px; min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; border-radius: 9px; background: #fff; color: #333; }
.emx-hero-search label span { display: grid; place-items: center; color: #818793; }
.emx-hero-search input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; padding: 0 12px 0 0; background: transparent; }
.emx-hero-search button { min-width: 124px; border: 0; border-radius: 9px; background: var(--emx-orange); color: #fff; font-weight: 850; cursor: pointer; }

.emx-category-strip { margin-top: 14px; padding: 18px 18px 16px; border-radius: var(--emx-radius); background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05); }
.emx-category-strip-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 13px; }
.emx-category-strip-head span, .emx-section-head span, .emx-results-header > div > span, .emx-panel-head span { display: block; color: var(--emx-orange-dark); font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.emx-category-strip-head h2, .emx-section-head h2, .emx-results-header h2, .emx-panel-head h2 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.025em; }
.emx-category-strip-head button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--emx-orange-dark); font-size: 12px; font-weight: 850; cursor: pointer; }
.emx-category-rail { display: grid; grid-template-columns: repeat(10, minmax(95px,1fr)); gap: 10px; overflow: auto; scrollbar-width: none; }
.emx-category-rail::-webkit-scrollbar { display: none; }
.emx-category-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--emx-line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.emx-category-card:hover { transform: translateY(-2px); border-color: #ffc4a2; box-shadow: 0 10px 24px rgba(16,24,40,.08); }
.emx-category-media { height: 92px; display: grid; place-items: center; padding: 6px; background: linear-gradient(145deg,#fafafa,#f1f3f5); }
.emx-category-media img { width: 100%; height: 100%; display: block; object-fit: contain; }
.emx-category-media b { font-size: 28px; }
.emx-category-copy { padding: 8px 9px 9px; display: flex; flex-direction: column; min-width: 0; }
.emx-category-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.emx-category-copy small { margin-top: 2px; color: var(--emx-muted); font-size: 9px; }

.emx-mobile-toolbar { display: none; }
.emx-catalogue-layout { margin-top: 14px; display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 14px; align-items: start; }
.emx-filter-panel { position: sticky; top: 14px; border-radius: var(--emx-radius); background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05); overflow: hidden; }
.emx-panel-head { padding: 17px 17px 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--emx-line); }
.emx-panel-head h2 { font-size: 20px; }
.emx-panel-head a { color: var(--emx-orange-dark); font-size: 11px; font-weight: 800; }
.emx-filter-form { padding: 3px 17px 18px; }
.emx-filter-form fieldset { margin: 0; padding: 15px 0; border: 0; border-bottom: 1px solid #edf0f2; }
.emx-filter-form legend { margin-bottom: 9px; font-size: 12px; font-weight: 850; }
.emx-filter-form input, .emx-filter-form select { width: 100%; height: 42px; border: 1px solid #d9dde3; border-radius: 9px; background: #fff; color: var(--emx-ink); outline: 0; padding: 0 10px; font-size: 12px; }
.emx-filter-form input:focus, .emx-filter-form select:focus { border-color: var(--emx-orange); box-shadow: 0 0 0 3px rgba(255,107,26,.12); }
.emx-input-icon { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; border: 1px solid #d9dde3; border-radius: 9px; }
.emx-input-icon svg { margin-left: 10px; color: #7b818b; }
.emx-input-icon input { border: 0; box-shadow: none !important; padding-left: 0; }
.emx-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emx-price-inputs label span { display: block; margin-bottom: 4px; color: var(--emx-muted); font-size: 9px; font-weight: 700; }
.emx-apply-filters { width: 100%; height: 44px; margin-top: 16px; border: 0; border-radius: 9px; background: var(--emx-orange); color: #fff; font-weight: 850; cursor: pointer; }
.emx-apply-filters:hover { background: var(--emx-orange-dark); }

.emx-results-area { min-width: 0; padding: 18px; border-radius: var(--emx-radius); background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05); }
.emx-results-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--emx-line); }
.emx-results-header h2 { font-size: 23px; }
.emx-sort-form label { display: flex; align-items: center; gap: 8px; color: var(--emx-muted); font-size: 11px; font-weight: 750; }
.emx-sort-form select { min-width: 190px; height: 40px; border: 1px solid #d9dde3; border-radius: 9px; padding: 0 10px; background: #fff; color: var(--emx-ink); font-weight: 700; }
.emx-active-filters { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 7px; }
.emx-active-filters a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; background: #fff2ea; color: #8b3300; font-size: 10px; font-weight: 750; }
.emx-product-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.emx-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--emx-line); border-radius: 13px; background: #fff; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.emx-product-card:hover { transform: translateY(-3px); border-color: #ffc7a6; box-shadow: 0 14px 28px rgba(16,24,40,.10); }
.emx-product-card-link { height: 100%; display: flex; flex-direction: column; }
.emx-product-media { position: relative; height: 190px; padding: 8px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fbfbfb,#f2f4f6); }
.emx-product-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.emx-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; border-radius: 6px; font-size: 9px; font-weight: 900; }
.emx-badge-sale { top: 8px; left: 8px; padding: 5px 6px; background: #fee4e2; color: var(--emx-red); }
.emx-badge-options { right: 8px; bottom: 8px; padding: 4px 6px; background: rgba(23,23,23,.86); color: #fff; }
.emx-product-body { flex: 1; min-width: 0; padding: 10px 10px 11px; display: flex; flex-direction: column; }
.emx-product-category { margin: 0 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--emx-muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.emx-product-body h3 { min-height: 38px; margin: 0; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 1.42; letter-spacing: -.01em; }
.emx-price-row { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.emx-price-row strong { color: #111; font-size: 15px; letter-spacing: -.02em; }
.emx-price-row del { color: #9298a1; font-size: 10px; }
.emx-rating { margin-top: 7px; display: flex; align-items: center; gap: 6px; }
.emx-rating span { display: inline-flex; align-items: center; gap: 3px; color: #9c6500; font-size: 10px; font-weight: 850; }
.emx-rating span svg { width: 12px; height: 12px; fill: #f5b400; stroke: #f5b400; }
.emx-rating small { color: var(--emx-muted); font-size: 9px; }
.emx-store-line { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 5px; min-width: 0; color: #3d4650; font-size: 9px; }
.emx-store-line > span { width: 16px; height: 16px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #e7f7ef; color: var(--emx-green); }
.emx-store-line svg { width: 10px; height: 10px; }
.emx-store-line b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emx-location-line { margin-top: 5px; display: flex; align-items: center; gap: 4px; color: var(--emx-muted); font-size: 9px; }
.emx-location-line svg { width: 12px; height: 12px; color: var(--emx-orange-dark); }
.emx-empty-state { min-height: 420px; margin-top: 14px; display: grid; place-content: center; justify-items: center; text-align: center; border: 1px dashed #d8dde4; border-radius: 14px; background: #fafbfc; padding: 30px; }
.emx-empty-state > div { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: #fff2ea; color: var(--emx-orange-dark); }
.emx-empty-state > div svg { width: 28px; height: 28px; }
.emx-empty-state h2 { margin: 14px 0 0; font-size: 22px; }
.emx-empty-state p { max-width: 430px; margin: 7px 0 0; color: var(--emx-muted); }
.emx-empty-state a { margin-top: 15px; padding: 9px 13px; border-radius: 8px; background: var(--emx-orange); color: #fff; font-weight: 800; }
.emx-pagination { margin-top: 20px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.emx-pagination a { min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; border: 1px solid #dce0e5; border-radius: 8px; background: #fff; font-size: 11px; font-weight: 800; }
.emx-pagination a.active { border-color: #201006; background: #201006; color: #fff; }

.emx-local-stores { margin-top: 14px; padding: 20px; border-radius: var(--emx-radius); background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05); }
.emx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.emx-section-head p { margin: 5px 0 0; color: var(--emx-muted); font-size: 12px; }
.emx-section-head > a { display: inline-flex; align-items: center; gap: 6px; color: var(--emx-orange-dark); font-size: 12px; font-weight: 850; }
.emx-store-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.emx-store-card { min-width: 0; display: grid; grid-template-columns: 70px minmax(0,1fr) 18px; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--emx-line); border-radius: 12px; background: #fff; }
.emx-store-card:hover { border-color: #ffc7a6; box-shadow: 0 10px 24px rgba(16,24,40,.07); }
.emx-store-media { width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #f3f4f6; }
.emx-store-media img { width: 100%; height: 100%; object-fit: contain; }
.emx-store-copy { min-width: 0; display: flex; flex-direction: column; }
.emx-store-copy small { display: flex; align-items: center; gap: 4px; color: var(--emx-green); font-size: 9px; font-weight: 850; }
.emx-store-copy small i { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: #e7f7ef; }
.emx-store-copy small svg { width: 9px; height: 9px; }
.emx-store-copy strong { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.emx-store-copy em { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--emx-muted); font-size: 9px; font-style: normal; }
.emx-store-card > svg { color: #9aa0a8; }

.emx-directory-section { margin-top: 14px; border-radius: var(--emx-radius); overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(16,24,40,.05); }
.emx-directory-section summary { min-height: 76px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.emx-directory-section summary::-webkit-details-marker { display: none; }
.emx-directory-section summary span { display: flex; flex-direction: column; }
.emx-directory-section summary small { color: var(--emx-orange-dark); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.emx-directory-section summary strong { margin-top: 3px; font-size: 19px; }
.emx-directory-section details[open] summary > svg { transform: rotate(180deg); }
.emx-directory-grid { padding: 0 20px 22px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; border-top: 1px solid var(--emx-line); }
.emx-directory-grid > div { padding-top: 17px; display: flex; flex-direction: column; gap: 7px; }
.emx-directory-grid a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #454c56; font-size: 11px; }
.emx-directory-grid a:hover { color: var(--emx-orange-dark); }
.emx-directory-grid .emx-directory-parent { padding-bottom: 7px; border-bottom: 1px solid #edf0f2; color: var(--emx-ink); }
.emx-directory-grid small, .emx-directory-grid .emx-directory-parent span { color: var(--emx-muted); font-size: 9px; }

.emx-trust-band { margin-top: 18px; background: #201006; color: #fff; }
.emx-trust-band .emx-shell { min-height: 92px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.emx-trust-band .emx-shell > div { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.14); }
.emx-trust-band .emx-shell > div:last-child { border-right: 0; }
.emx-trust-band svg { flex: 0 0 auto; width: 26px; height: 26px; color: #ff9b61; }
.emx-trust-band span { min-width: 0; display: flex; flex-direction: column; }
.emx-trust-band strong { font-size: 12px; }
.emx-trust-band small { margin-top: 2px; color: rgba(255,255,255,.65); font-size: 9px; }

.emx-footer { padding: 38px 0 22px; background: #111214; color: #fff; }
.emx-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 42px; }
.emx-footer .emx-logo { color: #fff; }
.emx-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.emx-footer-grid p { max-width: 360px; margin: 4px 0 0; color: #aeb4bc; font-size: 12px; }
.emx-footer-grid > div > strong { margin-bottom: 5px; font-size: 12px; }
.emx-footer-grid > div > a:not(.emx-logo) { color: #aeb4bc; font-size: 11px; }
.emx-footer-grid > div > a:hover { color: #fff; }
.emx-footer-bottom { margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #2d3035; color: #8c929b; font-size: 10px; }

.emx-mobile-bottom { display: none; }
.emx-drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(10,12,14,.58); backdrop-filter: blur(2px); }
.emx-drawer { position: fixed; z-index: 90; background: #fff; box-shadow: 0 -10px 40px rgba(0,0,0,.18); transition: transform .25s ease; }
.emx-drawer-head { min-height: 68px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--emx-line); }
.emx-drawer-head > div { display: flex; flex-direction: column; }
.emx-drawer-head span { color: var(--emx-orange-dark); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.emx-drawer-head strong { margin-top: 2px; font-size: 16px; }
.emx-drawer-head button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f1f3f5; cursor: pointer; }
.emx-category-drawer { left: 0; top: 0; bottom: 0; width: min(390px, 92vw); transform: translateX(-105%); overflow: auto; }
.emx-category-drawer.is-open { transform: translateX(0); }
.emx-category-drawer nav { padding: 6px 16px 28px; }
.emx-category-drawer nav > div { padding: 10px 0; border-bottom: 1px solid #edf0f2; }
.emx-category-drawer nav a { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #4b525c; font-size: 12px; }
.emx-category-drawer nav a:first-child { color: var(--emx-ink); }
.emx-category-drawer nav small, .emx-category-drawer nav a > span:last-child { color: var(--emx-muted); font-size: 9px; }
.emx-filter-drawer, .emx-sort-drawer { left: 0; right: 0; bottom: 0; max-height: 92vh; border-radius: 18px 18px 0 0; transform: translateY(105%); overflow: auto; }
.emx-filter-drawer.is-open, .emx-sort-drawer.is-open { transform: translateY(0); }
.emx-filter-drawer [data-emx-filter-slot] { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.emx-filter-drawer .emx-filter-panel { position: static; box-shadow: none; border-radius: 0; }
.emx-filter-drawer .emx-panel-head { display: none; }
.emx-sort-drawer nav { padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); }
.emx-sort-drawer nav a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f2; font-size: 13px; font-weight: 750; }
.emx-sort-drawer nav a.active { color: var(--emx-orange-dark); }

@media (max-width: 1380px) {
    .emx-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .emx-category-rail { grid-template-columns: repeat(10, 115px); }
}

@media (max-width: 1120px) {
    .emx-main-header-inner { grid-template-columns: auto minmax(280px,1fr) auto; gap: 16px; }
    .emx-header-actions > a:first-child { display: none; }
    .emx-discovery-hero { grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 28px; }
    .emx-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .emx-store-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .emx-directory-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 900px) {
    :root { --emx-shell: min(100% - 24px, 820px); }
    body.emx-body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
    .emx-preview-bar { min-height: 34px; padding: 6px 12px; }
    .emx-preview-bar > div:first-child span, .emx-preview-bar > div:last-child span { display: none; }
    .emx-utility, .emx-nav-row { display: none; }
    .emx-site-header { position: sticky; top: 0; z-index: 50; }
    .emx-main-header-inner { min-height: 106px; padding: 8px 0; grid-template-columns: 36px minmax(0,1fr) auto; grid-template-rows: 42px 46px; gap: 4px 8px; }
    .emx-menu-button { display: grid; place-items: center; grid-column: 1; grid-row: 1; }
    .emx-logo { grid-column: 2; grid-row: 1; font-size: 17px; }
    .emx-logo img { width: 36px; height: 36px; }
    .emx-header-actions { grid-column: 3; grid-row: 1; gap: 0; }
    .emx-header-actions > a:first-child { display: none; }
    .emx-header-actions .emx-cart span { display: none; }
    .emx-header-actions .emx-cart svg { width: 25px; height: 25px; }
    .emx-cart i { top: -5px; left: 12px; min-width: 17px; height: 17px; padding: 0 4px; }
    .emx-search { grid-column: 1 / -1; grid-row: 2; height: 44px; grid-template-columns: 38px minmax(0,1fr) auto; border-width: 1.5px; }
    .emx-search button { min-width: 74px; }
    .emx-lab-tabs { margin-top: 8px; padding-bottom: 1px; }
    .emx-lab-tabs span { display: none; }
    .emx-lab-tabs a { padding: 6px 10px; }
    .emx-discovery-hero { min-height: 0; margin-top: 8px; padding: 18px; display: block; border-radius: 15px; }
    .emx-hero-copy > span { font-size: 9px; }
    .emx-hero-copy h1 { max-width: 630px; font-size: clamp(25px, 5.5vw, 35px); }
    .emx-hero-copy p { margin-top: 7px; font-size: 11px; }
    .emx-hero-search { margin-top: 14px; padding: 8px; grid-template-columns: minmax(0,1fr) auto; }
    .emx-hero-location .emx-hero-search { grid-template-columns: 1fr 1fr auto; }
    .emx-hero-search label { height: 43px; }
    .emx-hero-search button { min-width: 105px; }
    .emx-category-strip { margin-top: 10px; padding: 14px 12px 12px; border-radius: 14px; }
    .emx-category-strip-head { align-items: center; margin-bottom: 10px; }
    .emx-category-strip-head h2 { font-size: 18px; }
    .emx-category-strip-head button { font-size: 10px; }
    .emx-category-rail { width: 100%; padding-right: 8px; grid-template-columns: repeat(10, 104px); gap: 8px; scroll-snap-type: x proximity; }
    .emx-category-card { scroll-snap-align: start; }
    .emx-category-media { height: 84px; }
    .emx-mobile-toolbar { position: sticky; top: 106px; z-index: 25; margin-top: 10px; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border: 1px solid var(--emx-line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(16,24,40,.08); backdrop-filter: blur(9px); }
    .emx-mobile-toolbar button { height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dfe3e8; border-radius: 9px; background: #fff; font-size: 11px; font-weight: 850; }
    .emx-catalogue-layout { margin-top: 9px; display: block; }
    .emx-filter-panel { display: none; }
    .emx-results-area { padding: 12px; border-radius: 14px; }
    .emx-results-header { padding-bottom: 10px; }
    .emx-results-header h2 { font-size: 18px; }
    .emx-sort-form { display: none; }
    .emx-active-filters { margin-top: 9px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .emx-active-filters::-webkit-scrollbar { display: none; }
    .emx-active-filters a { white-space: nowrap; }
    .emx-product-grid { margin-top: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    .emx-product-media { height: 190px; }
    .emx-product-body { padding: 9px; }
    .emx-local-stores { padding: 14px 12px; }
    .emx-store-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .emx-directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .emx-trust-band .emx-shell { grid-template-columns: repeat(2,1fr); padding: 10px 0; }
    .emx-trust-band .emx-shell > div { min-height: 58px; border-right: 0; }
    .emx-footer { display: none; }
    .emx-mobile-bottom { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; min-height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--emx-line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(16,24,40,.09); backdrop-filter: blur(12px); }
    .emx-mobile-bottom a { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: #707681; font-size: 9px; font-weight: 750; }
    .emx-mobile-bottom a.active { color: var(--emx-orange-dark); }
    .emx-mobile-bottom a.active::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--emx-orange); }
    .emx-mobile-bottom svg { width: 22px; height: 22px; }
}

@media (max-width: 680px) {
    :root { --emx-shell: calc(100% - 16px); }
    .emx-preview-bar strong { font-size: 10px; }
    .emx-preview-bar a { padding: 4px 7px; font-size: 9px; }
    .emx-main-header-inner { min-height: 101px; grid-template-rows: 39px 44px; }
    .emx-logo { font-size: 15px; }
    .emx-logo img { width: 33px; height: 33px; }
    .emx-search { height: 42px; }
    .emx-search button { min-width: 66px; font-size: 11px; }
    .emx-mobile-toolbar { top: 101px; }
    .emx-discovery-hero { padding: 15px 14px; }
    .emx-hero-copy h1 { font-size: 27px; }
    .emx-hero-copy p { max-width: 95%; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .emx-hero-search { display: grid; grid-template-columns: minmax(0,1fr) 85px; gap: 6px; }
    .emx-hero-location .emx-hero-search { grid-template-columns: minmax(0,1fr) 85px; }
    .emx-hero-location .emx-hero-search label:first-of-type { display: none; }
    .emx-hero-search label { height: 41px; grid-template-columns: 32px minmax(0,1fr); }
    .emx-hero-search label span { font-size: 13px; }
    .emx-hero-search input { font-size: 11px; }
    .emx-hero-search button { min-width: 0; font-size: 10px; }
    .emx-category-strip-head > div span { font-size: 8px; }
    .emx-category-strip-head h2 { max-width: 250px; font-size: 16px; }
    .emx-category-strip-head button { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; overflow: hidden; color: transparent; }
    .emx-category-strip-head button svg { color: var(--emx-orange-dark); }
    .emx-category-rail { grid-template-columns: repeat(10, 92px); }
    .emx-category-media { height: 74px; padding: 4px; }
    .emx-category-copy { padding: 7px; }
    .emx-category-copy strong { font-size: 10px; }
    .emx-category-copy small { font-size: 8px; }
    .emx-results-area { padding: 9px; }
    .emx-results-header > div > span { font-size: 8px; }
    .emx-results-header h2 { font-size: 16px; }
    .emx-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
    .emx-product-grid.emx-product-grid--composed { display: block; }
    /* Mobile composition: every row contains one image orientation only. */
    .emx-product-composition-row {
        width: 100%;
        margin: 0 0 8px;
        display: grid;
        gap: 7px;
        align-items: stretch;
    }
    .emx-product-composition-row:last-child { margin-bottom: 0; }
    .emx-product-composition-row[role="presentation"] { list-style: none; }
    .emx-composition--portrait.emx-composition--count-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .emx-composition--portrait.emx-composition--count-2,
    .emx-composition--landscape.emx-composition--count-2,
    .emx-composition--square.emx-composition--count-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .emx-composition--portrait.emx-composition--count-1 {
        width: min(56%, 220px);
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0,1fr);
    }
    .emx-composition--square.emx-composition--count-1 {
        width: min(calc(50% - 3.5px), 220px);
        margin-right: auto;
        margin-left: auto;
        grid-template-columns: minmax(0,1fr);
    }
    .emx-composition--landscape.emx-composition--count-1,
    .emx-composition--panorama.emx-composition--count-1 { grid-template-columns: minmax(0,1fr); }
    .emx-product-composition-row .emx-product-card { height: 100%; align-self: stretch; }
    .emx-product-composition-row .emx-product-card-link { height: 100%; }
    .emx-product-media { height: auto; min-height: 0; padding: 5px; aspect-ratio: 1 / 1; }
    .emx-product--portrait .emx-product-media { aspect-ratio: 3 / 4; }
    .emx-product--landscape .emx-product-media { aspect-ratio: 4 / 3; }
    .emx-product--panorama .emx-product-media { aspect-ratio: 16 / 9; }
    .emx-product--square .emx-product-media,
    .emx-product--pending .emx-product-media { aspect-ratio: 1 / 1; }
    .emx-product-media img { object-position: center; }
    .emx-product-body { padding: 8px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-product-body { padding: 7px 6px 8px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-product-category,
    .emx-composition--portrait.emx-composition--count-3 .emx-location-line { display: none; }
    .emx-composition--portrait.emx-composition--count-3 .emx-product-body h3 { min-height: 31px; font-size: 10px; line-height: 1.48; }
    .emx-composition--portrait.emx-composition--count-3 .emx-price-row { margin-top: 5px; gap: 3px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-price-row strong { font-size: 11px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-price-row del { font-size: 7px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-store-line { padding-top: 6px; gap: 3px; font-size: 7px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-store-line > span { width: 13px; height: 13px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-store-line svg { width: 8px; height: 8px; }
    .emx-composition--portrait.emx-composition--count-3 .emx-rating { display: none; }
    .emx-composition--portrait.emx-composition--count-3 .emx-badge-options { display: none; }
    .emx-composition--landscape.emx-composition--count-1 .emx-product-card-link,
    .emx-composition--panorama.emx-composition--count-1 .emx-product-card-link {
        display: grid;
        grid-template-columns: minmax(0,1.2fr) minmax(132px,.8fr);
        align-items: stretch;
    }
    .emx-composition--landscape.emx-composition--count-1 .emx-product-media,
    .emx-composition--panorama.emx-composition--count-1 .emx-product-media {
        min-height: 154px;
        aspect-ratio: auto;
    }
    .emx-composition--landscape.emx-composition--count-1 .emx-product-body,
    .emx-composition--panorama.emx-composition--count-1 .emx-product-body { padding: 11px 10px; }
    .emx-product-category { font-size: 7px; }
    .emx-product-body h3 { min-height: 34px; font-size: 11.5px; }
    .emx-price-row { margin-top: 6px; }
    .emx-price-row strong { font-size: 13px; }
    .emx-price-row del { font-size: 8px; }
    .emx-rating { margin-top: 5px; }
    .emx-rating small { font-size: 8px; }
    .emx-store-line { padding-top: 7px; font-size: 8px; }
    .emx-location-line { font-size: 8px; }
    .emx-badge { font-size: 7px; }
    .emx-badge-sale { top: 5px; left: 5px; padding: 4px 5px; }
    .emx-badge-options { right: 5px; bottom: 5px; }
    .emx-empty-state { min-height: 310px; }
    .emx-local-stores { padding: 12px 9px; }
    .emx-section-head h2 { font-size: 18px; }
    .emx-section-head > a { font-size: 0; }
    .emx-section-head > a svg { font-size: 12px; }
    .emx-store-grid { grid-template-columns: 1fr; }
    .emx-directory-section summary { min-height: 66px; padding: 13px 14px; }
    .emx-directory-section summary strong { font-size: 16px; }
    .emx-directory-grid { padding: 0 14px 18px; grid-template-columns: 1fr 1fr; gap: 14px; }
    .emx-trust-band .emx-shell > div { padding: 0 10px; }
    .emx-trust-band svg { width: 22px; height: 22px; }
    .emx-trust-band strong { font-size: 10px; }
    .emx-trust-band small { font-size: 8px; }
}

@media (max-width: 380px) {
    .emx-product-composition-row { gap: 6px; margin-bottom: 6px; }
    .emx-composition--portrait.emx-composition--count-1 { width: min(60%, 210px); }
    .emx-composition--square.emx-composition--count-1 { width: min(calc(50% - 3px), 210px); }
    .emx-composition--landscape.emx-composition--count-1 .emx-product-card-link,
    .emx-composition--panorama.emx-composition--count-1 .emx-product-card-link { grid-template-columns: minmax(0,1.15fr) minmax(118px,.85fr); }
    .emx-category-rail { grid-template-columns: repeat(10, 86px); }
    .emx-category-media { height: 68px; }
}

/* Production-only public notices and cookie preference control. */
.emx-public-notice {
    margin-top: 12px;
    padding: 11px 14px;
    border: 1px solid #f2c797;
    border-radius: 10px;
    background: #fff7ed;
    color: #7a2e0e;
    font-size: 13px;
    font-weight: 650;
}
.emx-cookie {
    position: fixed;
    z-index: 90;
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: min(580px, calc(100% - 36px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid #34363a;
    border-radius: 12px;
    background: #202124;
    color: #fff;
    box-shadow: 0 18px 50px rgba(16,24,40,.28);
}
.emx-cookie.is-hidden { display: none; }
.emx-cookie div { display: grid; gap: 2px; }
.emx-cookie strong { font-size: 13px; }
.emx-cookie span { color: rgba(255,255,255,.78); font-size: 11px; }
.emx-cookie button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: var(--emx-orange);
    color: #fff;
    padding: 8px 13px;
    font-weight: 800;
    cursor: pointer;
}
@media (max-width: 700px) {
    .emx-cookie {
        bottom: calc(76px + env(safe-area-inset-bottom));
        align-items: flex-start;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
}
