.az-category-strip { position: relative; display: flex; align-items: center; }
.az-category-strip.az-category-strip-ebay .az-category-links.az-scrollable-categories { display: flex !important; flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; max-width: none !important; margin: 0 !important; justify-content: flex-start !important; gap: 24px !important; overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none; scroll-behavior: smooth; white-space: nowrap; }
.az-category-strip.az-category-strip-ebay .az-category-links.az-scrollable-categories > a { flex: 0 0 auto !important; min-width: max-content !important; }
.az-scrollable-categories::-webkit-scrollbar { display: none; }
.az-category-arrows { display: flex; flex: none; align-items: center; background: transparent; }
.az-category-arrows .az-category-arrow {
    appearance: none;
    border: 0 !important;
    outline: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    padding: 0 10px;
    margin: 0;
    min-width: 0;
    min-height: 0;
    border-radius: 0 !important;
}
.az-category-arrows .az-category-arrow:hover,
.az-category-arrows .az-category-arrow:focus,
.az-category-arrows .az-category-arrow:active { background: transparent !important; box-shadow: none !important; transform: none !important; }
.az-category-arrows .az-category-arrow[hidden] { display: none !important; }
html body #homeCategoryTrigger.home-category-select,
html body #headerCategoryTrigger.home-category-select,
html[data-theme="dark"] body #homeCategoryTrigger.home-category-select,
html[data-theme="dark"] body #headerCategoryTrigger.home-category-select {
    flex: 0 0 auto !important;
    min-width: 116px !important;
    min-height: 38px !important;
    margin: 0 4px !important;
    padding: 8px 13px !important;
    border: 1px solid #e36d14 !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #ffa94d 0%, #f47a20 55%, #df5f10 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer;
    box-shadow: inset 0 1px 0 #ffffff77, 0 2px 5px #0003 !important;
}
html body #homeCategoryTrigger.home-category-select:hover,
html body #headerCategoryTrigger.home-category-select:hover { background: linear-gradient(180deg, #ffba69, #f6822c 60%, #e36914) !important; }
html body #homeCategoryTrigger.home-category-select:focus-visible,
html body #headerCategoryTrigger.home-category-select:focus-visible { outline: 2px solid #0875e1 !important; outline-offset: 2px !important; }
/* eBay-style category hover popup: subcategories on the left, category artwork on the right. */
.az-strip-subcategories {
    position: fixed;
    z-index: 9999;
    width: min(1280px, calc(100vw - 24px));
    max-height: min(470px, calc(100vh - 100px));
    overflow: hidden;
    background: #fff !important;
    color: #172033 !important;
    border: 1px solid #d7e1e8;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(15, 36, 54, .22);
    padding: 12px;
}
.az-strip-subcategories[hidden] { display: none; }
.az-strip-popup-content { display: grid; grid-template-columns: minmax(330px, 34%) minmax(0, 66%); gap: 14px; align-items: stretch; }
.az-strip-popup-text { min-width: 0; padding: 5px 2px 5px 5px; overflow: auto; }
.az-strip-popup-heading { display: inline-block !important; margin: 0 0 10px; padding: 4px 6px !important; color: #0b2436 !important; background: transparent !important; text-decoration: none; font-size: 15px; font-weight: 800; line-height: 1.25 !important; }
.az-strip-popup-heading:hover { color: #ed6412 !important; }
.az-strip-popup-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
.az-category-strip.az-category-strip-ebay .az-strip-popup-links > a { display: block !important; color: #172033 !important; background: transparent !important; text-decoration: none; padding: 5px 5px !important; font-size: 11.5px !important; border-radius: 6px; line-height: 1.25 !important; white-space: normal; }
.az-category-strip.az-category-strip-ebay .az-strip-popup-links > a:hover,
.az-category-strip.az-category-strip-ebay .az-strip-popup-links > a:focus { background: #e8f4ff !important; color: #075ba6 !important; }
.az-strip-popup-visual { display: block !important; min-width: 0; min-height: 0; padding: 0 !important; border-radius: 13px; overflow: hidden; background: #eef4f8 !important; text-decoration: none; }
.az-strip-popup-visual { align-self: center; aspect-ratio: 12 / 5; }
.az-strip-popup-visual img { display: block; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: contain; object-position: center; border-radius: 13px; }
html[data-theme="dark"] .az-strip-subcategories { background: #0b2434 !important; color: #e4eff9 !important; border-color: #496b84; }
html[data-theme="dark"] .az-strip-popup-heading { color: #fff !important; }
html[data-theme="dark"] .az-category-strip.az-category-strip-ebay .az-strip-popup-links > a { color: #e4eff9 !important; }
html[data-theme="dark"] .az-category-strip.az-category-strip-ebay .az-strip-popup-links > a:hover { color: #fff !important; background: #075ba6 !important; }
@media (max-width: 760px) {
    .az-strip-subcategories { width: calc(100vw - 20px) !important; max-height: 72vh; overflow-y: auto; padding: 10px; }
    .az-strip-popup-content { grid-template-columns: 1fr; }
    .az-strip-popup-links { grid-template-columns: 1fr; }
    .az-strip-popup-visual { min-height: 150px; }
    .az-strip-popup-visual img { min-height: 150px; max-height: 210px; }
}
.featured-section[hidden], #recentSection[hidden], #savedSection[hidden] { display: none !important; }

/* AlbaZone 2.7 — lighter popup typography */
.az-strip-popup-heading { color:#333333 !important; font-weight:600 !important; }
.az-category-strip.az-category-strip-ebay .az-strip-popup-links > a { color:#555555 !important; font-weight:400 !important; }
html[data-theme="dark"] .az-strip-popup-heading { color:#e7ebef !important; }
html[data-theme="dark"] .az-category-strip.az-category-strip-ebay .az-strip-popup-links > a { color:#c9d1d9 !important; font-weight:400 !important; }
