/* Reference layout: independent white panels and a monochrome catalog. */
.mambo-reference {
    --mambo-bg: #f0f0f3;
    --mambo-ink: #080808;
    --mambo-muted: #696d77;
    --mambo-line: #dedfe7;
    --mambo-blue: #171717;
    --mambo-shadow: 0 2px 6px rgba(24, 24, 36, .11);
    background: #f0f0f3;
    color: #121214;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.mambo-reference .container { width: min(1600px, calc(100% - 64px)); max-width: none; }
.mambo-reference .mambo-nav { width: min(1600px, calc(100% - 64px)); top: 14px; margin: 14px auto 0; min-height: 69px; border: 1px solid #dfe0e7; border-radius: 999px; background: #fafafb; box-shadow: 0 3px 6px rgba(20,20,30,.13); backdrop-filter: none; }
.mambo-reference .mambo-nav-inner { width: 100%; min-height: 69px; padding: 0 22px; gap: 20px; }
.mambo-reference .mambo-brand img { width: 38px; height: 38px; filter: none; }
.mambo-reference .mambo-brand strong { color: #090909; }
.mambo-reference .mambo-links .nav-link { color: #666b75; border-radius: 999px; font-size: 14px; }
.mambo-reference .mambo-links .nav-link:hover { color: #090909; background: #fff; box-shadow: 0 2px 4px #00000012; }
.mambo-reference .mambo-create, .mambo-reference .mambo-login { border-radius: 999px; font-size: 12px; }
.mambo-reference .mambo-create { border-color: #000; background: #000; }
.mambo-reference .mambo-main { padding-top: 26px; }
.mambo-reference .mambo-market { display: grid; grid-template-columns: minmax(285px, .415fr) minmax(0, 1fr); align-items: start; gap: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.mambo-reference .mambo-sidebar, .mambo-reference .mambo-catalog { min-width: 0; border: 1px solid #dddfe7; border-radius: 29px; background: #fff; box-shadow: 0 2px 5px #1e1e2e12; overflow: hidden; }
.mambo-reference .mambo-sidebar { padding: 0; }
.mambo-sidebar-head { min-height: 132px; padding: 28px 25px 24px; border-bottom: 1px solid #dedfe7; }
.mambo-sidebar-head > span, .mambo-catalog-heading > span { display: block; color: #656a75; font-size: 12px; font-weight: 750; letter-spacing: .7px; }
.mambo-sidebar-head h2, .mambo-reference .mambo-catalog-title { margin: 22px 0 0; color: #030303; font-size: 29px; font-weight: 800; line-height: 1.2; letter-spacing: -.6px; }
.mambo-reference .mambo-categories { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 24px 24px 20px; }
.mambo-reference .mambo-category { width: 100%; min-width: 0; max-width: none; min-height: 48px; grid-template-columns: 29px minmax(0,1fr) auto; gap: 11px; padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; color: #5d626c; background: transparent; text-align: left; }
.mambo-reference .mambo-category strong { font-size: clamp(14px,1.05vw,18px); font-weight: 600; }
.mambo-reference .mambo-category.is-active { color: #25282d; border-color: #d9dce5; background: #fff; box-shadow: 0 3px 5px rgba(28,28,42,.17); }
.mambo-reference .mambo-category:hover { color: #25282d; background: #f8f8fa; }
.mambo-reference .mambo-category.is-active:hover { background: #fff; }
.mambo-reference .mambo-category-count { min-width: 33px; padding: 3px 9px; border-radius: 999px; color: #626772; background: #eff0f4; font-size: 13px; font-weight: 700; }
.mambo-reference .mambo-category.is-active .mambo-category-count { color: #626772; background: #eff0f4; }
.mambo-reference .mambo-category-icon, .mambo-reference .mambo-all-icon, .mambo-emoji-icon { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #e0e1e7; border-radius: 50%; overflow: hidden; background-color: #fbfbfc; box-shadow: none; }
.mambo-reference .mambo-category-icon img { width: 100%; height: 100%; object-fit: cover; }
.mambo-emoji-icon { font-size: 18px; }
.mambo-reference .mambo-all-icon { color: #757983; font-size: 21px; }
.mambo-sidebar-links { display: grid; gap: 12px; margin: 0 27px; padding: 20px 0 25px; border-top: 1px solid #e7e8ed; }
.mambo-sidebar-links a { display: flex; align-items: center; justify-content: space-between; color: #767a84; font-size: 12px; }
.mambo-reference .mambo-catalog { padding: 0; }
.mambo-reference .mambo-catalog-head { min-height: 132px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0; padding: 25px 25px 24px; border-bottom: 1px solid #dedfe7; }
.mambo-reference .mambo-catalog-title { margin-top: 22px; font-size: 29px; }
.mambo-reference .mambo-search { flex-shrink: 1; width: min(47%, 420px); min-width: 250px; height: 53px; grid-template-columns: 43px minmax(0,1fr) auto; margin: -4px 0 0; border: 1px solid #d8dbe4; border-radius: 999px; background: #fff; }
.mambo-reference .mambo-search > i { color: #777e89; font-size: 17px; }
.mambo-reference .mambo-search input { width: 100%; color: #373a40; font-size: 16px; font-weight: 500; }
.mambo-reference .mambo-search input::placeholder { color: #b1b5bf; }
.mambo-reference .mambo-search-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 6px; border-radius: 999px; padding: 0 17px; color: #fff; background: #000; font-size: 16px; font-weight: 700; }
.mambo-reference .mambo-search-button > i { font-size: 17px; }
.mambo-catalog-body { padding: 24px; }
.mambo-catalog-options { margin: -13px 2px 11px; color: #777c86; font-size: 11px; }
.mambo-catalog-options > summary { width: max-content; margin-left: auto; cursor: pointer; }
.mambo-catalog-options .mambo-catalog-tools { margin: 13px 0 4px; }
.mambo-table-frame { overflow: hidden; border: 1px solid #dedfe7; border-radius: 22px; background: #fcfcfe; }
.mambo-reference .mambo-list-head, .mambo-reference .mambo-product { display: grid; grid-template-columns: minmax(0,1fr) 92px 83px 88px; align-items: center; gap: 20px; }
.mambo-reference .mambo-list-head { min-height: 52px; padding: 0 19px; border: 0; border-bottom: 1px solid #dedfe7; border-radius: 0; color: #646a75; background: #f5f5f8; font-size: 14px; font-weight: 700; letter-spacing: .4px; }
.mambo-reference .mambo-list-head > span:not(:first-child) { text-align: center; }
.mambo-reference .mambo-item-list { display: block; border: 0; border-radius: 0; overflow: hidden; }
.mambo-reference .mambo-product { min-height: 91px; padding: 18px 19px; border: 0; border-radius: 0; background: #fcfcfe; }
.mambo-reference .mambo-product + .mambo-product { border-top: 1px solid #dedfe7; }
.mambo-reference .mambo-product:hover { background: #f6f6fa; }
.mambo-reference .mambo-product-main { display: flex; flex-direction: row; align-items: center; gap: 13px; min-width: 0; }
.mambo-reference .mambo-product-main > img { width: 47px; height: 47px; border: 1px solid #dedfe7; border-radius: 14px; object-fit: cover; }
.mambo-reference .mambo-product-copy { min-width: 0; }
.mambo-reference .mambo-product-title { display: block; min-height: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #26292e; font-size: clamp(14px,1.08vw,18px); font-weight: 650; line-height: 1.5; letter-spacing: -.25px; }
.mambo-reference .mambo-product-tags { display: flex; flex-wrap: nowrap; gap: 6px; max-height: 24px; margin-top: 7px; overflow: hidden; }
.mambo-reference .mambo-tag { display: inline-flex; align-items: center; flex-shrink: 0; max-width: 160px; min-height: 23px; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 650; line-height: 1.3; }
.mambo-reference .mambo-tag-orange { color: #a16d0c; border-color: #ebd9b4; background: #f8f2e7; }
.mambo-reference .mambo-tag-green { color: #11884a; border-color: transparent; background: #e7f5ed; }
.mambo-reference .mambo-tag-blue { color: #087fe0; border-color: transparent; background: #e7f0fc; }
.mambo-reference .mambo-product-price { align-self: center; color: #080808; font-size: 19px; font-weight: 750; text-align: center; white-space: nowrap; }
.mambo-reference .mambo-product-price small { margin-right: 2px; font-size: inherit; }
.mambo-reference .mambo-product-stock { display: block; margin: 0; text-align: center; }
.mambo-reference .mambo-product-stock strong, .mambo-reference .mambo-product-stock.is-available strong { margin: 0; color: #747984; font-size: 16px; font-weight: 400; white-space: nowrap; }
.mambo-reference .mambo-buy { min-width: 78px; min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; color: #fff; background: #000; font-size: 15px; font-weight: 700; white-space: nowrap; }
.mambo-reference .mambo-buy > i { font-size: 13px; }
.mambo-reference .mambo-buy.is-disabled { color: #777b83; background: #e9e9ef; }
.mambo-reference .mambo-list-pagination { margin-top: 13px; }
.mambo-reference .mambo-price-caption { margin-top: 12px; color: #8b8f99; font-size: 11px; }
.mambo-inline-notice { margin-top: 15px; color: #7a7e88; font-size: 12px; }
.mambo-inline-notice summary { width: max-content; cursor: pointer; }
.mambo-inline-notice .mambo-notice-content { margin-top: 10px; line-height: 1.8; }
.mambo-reference .mambo-section-heading > div > span, .mambo-reference .mambo-help-intro > span { color: #777c87; }
.mambo-reference .mambo-agency-card.is-featured { border-color: #cdd0d9; background: #fff; }
.mambo-reference .is-featured .mambo-mode-status { color: #50555f; background: #f0f0f4; }
.mambo-reference .mambo-outline-button { border-radius: 999px; }

@media (min-width: 1700px) {
    .mambo-reference .container, .mambo-reference .mambo-nav { width: min(1900px, calc(100% - 100px)); }
    .mambo-reference .mambo-market { gap: 30px; }
    .mambo-sidebar-head { min-height: 150px; padding: 33px 29px; }
    .mambo-reference .mambo-catalog-head { min-height: 150px; padding: 30px; }
    .mambo-sidebar-head h2, .mambo-reference .mambo-catalog-title { font-size: 32px; }
    .mambo-reference .mambo-categories { padding: 28px; gap: 9px; }
    .mambo-reference .mambo-category { min-height: 54px; }
    .mambo-reference .mambo-category strong { font-size: 20px; }
    .mambo-catalog-body { padding: 28px; }
    .mambo-reference .mambo-product { min-height: 104px; padding: 21px; }
    .mambo-reference .mambo-product-main > img { width: 54px; height: 54px; }
    .mambo-reference .mambo-product-title { font-size: 20px; }
    .mambo-reference .mambo-product-price { font-size: 22px; }
    .mambo-reference .mambo-search { min-width: 350px; }
}
@media (max-width: 1199.98px) {
    .mambo-reference .container, .mambo-reference .mambo-nav { width: calc(100% - 36px); }
    .mambo-reference .mambo-market { grid-template-columns: 270px minmax(0,1fr); gap: 20px; }
    .mambo-reference .mambo-categories { padding: 21px 16px; }
    .mambo-reference .mambo-category { gap: 8px; padding-inline: 9px; }
    .mambo-reference .mambo-category strong { font-size: 14px; }
    .mambo-reference .mambo-catalog-head { min-height: 130px; padding: 24px 20px; }
    .mambo-catalog-body { padding: 20px; }
    .mambo-reference .mambo-search { min-width: 210px; height: 47px; grid-template-columns: 30px minmax(0,1fr) auto; }
    .mambo-reference .mambo-search input { font-size: 13px; }
    .mambo-reference .mambo-search-button { gap: 5px; margin: 5px; padding-inline: 11px; font-size: 13px; }
    .mambo-reference .mambo-list-head, .mambo-reference .mambo-product { grid-template-columns: minmax(0,1fr) 67px 65px 70px; gap: 11px; }
    .mambo-reference .mambo-product { padding-inline: 14px; }
    .mambo-reference .mambo-product-main { gap: 10px; }
    .mambo-reference .mambo-product-main > img { width: 40px; height: 40px; border-radius: 11px; }
    .mambo-reference .mambo-product-price { font-size: 17px; }
    .mambo-reference .mambo-product-stock strong, .mambo-reference .mambo-product-stock.is-available strong { font-size: 13px; }
    .mambo-reference .mambo-buy { min-width: 68px; min-height: 34px; font-size: 13px; }
    .mambo-reference .mambo-tag { padding-inline: 7px; font-size: 10px; }
}
@media (max-width: 991.98px) {
    .mambo-reference .mambo-nav { border-radius: 24px; top: 8px; margin-top: 8px; }
    .mambo-reference .mambo-nav-inner { min-height: 64px; padding: 8px 17px; }
    .mambo-reference .mambo-market { grid-template-columns: 220px minmax(0,1fr); gap: 16px; }
    .mambo-sidebar-head { min-height: 120px; padding: 25px 20px; }
    .mambo-sidebar-head h2, .mambo-reference .mambo-catalog-title { font-size: 25px; }
    .mambo-reference .mambo-categories { padding-inline: 12px; }
    .mambo-reference .mambo-category { grid-template-columns: 23px minmax(0,1fr) auto; gap: 7px; }
    .mambo-reference .mambo-category strong { font-size: 12px; }
    .mambo-reference .mambo-category-count { min-width: 27px; padding-inline: 6px; font-size: 11px; }
    .mambo-reference .mambo-category-icon, .mambo-reference .mambo-all-icon, .mambo-emoji-icon { width: 24px; height: 24px; }
    .mambo-reference .mambo-catalog-head { min-height: 120px; align-items: center; padding: 20px 17px; }
    .mambo-reference .mambo-search { min-width: 170px; width: 50%; }
    .mambo-reference .mambo-search > i { display: none; }
    .mambo-reference .mambo-search { grid-template-columns: minmax(0,1fr) auto; padding-left: 13px; }
    .mambo-catalog-body { padding: 17px; }
    .mambo-reference .mambo-list-head, .mambo-reference .mambo-product { grid-template-columns: minmax(0,1fr) 62px 65px; gap: 8px; }
    .mambo-reference .mambo-list-head > span:nth-child(3), .mambo-reference .mambo-product-stock { display: none; }
    .mambo-reference .mambo-product-main > img { width: 35px; height: 35px; }
    .mambo-reference .mambo-product-title { font-size: 13px; }
    .mambo-reference .mambo-product-price { font-size: 15px; }
    .mambo-reference .mambo-buy { min-width: 62px; min-height: 32px; font-size: 12px; }
}
@media (max-width: 767.98px) {
    .mambo-reference .container, .mambo-reference .mambo-nav { width: calc(100% - 22px); }
    .mambo-reference .mambo-main { padding-top: 16px; }
    .mambo-reference .mambo-market { display: block; }
    .mambo-reference .mambo-sidebar { border-radius: 22px; }
    .mambo-sidebar-head { min-height: auto; display: flex; align-items: center; gap: 15px; padding: 18px 20px; }
    .mambo-sidebar-head > span { font-size: 9px; }
    .mambo-sidebar-head h2 { order: -1; margin: 0; font-size: 19px; }
    .mambo-reference .mambo-categories { flex-direction: row; gap: 9px; padding: 14px; overflow-x: auto; }
    .mambo-reference .mambo-category { width: auto; min-width: max-content; min-height: 43px; grid-template-columns: 24px auto auto; gap: 8px; padding: 7px 12px; }
    .mambo-reference .mambo-category strong { font-size: 13px; }
    .mambo-sidebar-links { display: none; }
    .mambo-reference .mambo-catalog { margin-top: 16px; border-radius: 22px; }
    .mambo-reference .mambo-catalog-head { min-height: auto; flex-wrap: wrap; gap: 18px; padding: 22px 19px; }
    .mambo-catalog-heading > span { font-size: 10px; }
    .mambo-reference .mambo-catalog-title { margin-top: 12px; font-size: 24px; }
    .mambo-reference .mambo-search { width: 100%; min-width: 0; height: 48px; margin: 0; }
    .mambo-reference .mambo-search input { font-size: 14px; }
    .mambo-reference .mambo-search-button { padding-inline: 17px; font-size: 14px; }
    .mambo-catalog-body { padding: 16px; }
    .mambo-reference .mambo-list-head { display: grid; min-height: 43px; font-size: 11px; padding-inline: 12px; }
    .mambo-reference .mambo-item-list { display: block; }
    .mambo-reference .mambo-product { min-height: 98px; border: 0 !important; border-radius: 0; padding: 16px 12px; }
    .mambo-reference .mambo-product + .mambo-product { border-top: 1px solid #dedfe7 !important; }
    .mambo-reference .mambo-product-main > img { width: 35px; height: 35px; }
    .mambo-reference .mambo-product-title { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 0; }
    .mambo-reference .mambo-product-tags { max-height: 21px; margin-top: 6px; }
    .mambo-reference .mambo-product-copy { width: auto; }
    .mambo-reference .mambo-tag { min-height: 20px; font-size: 9px; padding-inline: 6px; }
    .mambo-reference .mambo-table-frame { border-radius: 17px; }
}
@media (max-width: 399.98px) {
    .mambo-catalog-body { padding: 12px; }
    .mambo-reference .mambo-list-head, .mambo-reference .mambo-product { grid-template-columns: minmax(0,1fr) 51px 53px; gap: 6px; }
    .mambo-reference .mambo-product-main { gap: 7px; }
    .mambo-reference .mambo-product-main > img { width: 29px; height: 29px; border-radius: 9px; }
    .mambo-reference .mambo-product-title { font-size: 12px; }
    .mambo-reference .mambo-product-price { font-size: 13px; }
    .mambo-reference .mambo-buy { min-width: 51px; min-height: 30px; gap: 3px; font-size: 11px; }
    .mambo-reference .mambo-buy > i { font-size: 10px; }
}
