/* ListAd home and shops only. Do not change UniSite's product/category card styles globally. */
.listad-shops-page.main-wrapper { margin-top: 32px !important; }
.listad-shops-page .breadcrumb { margin-bottom: 20px; }
.listad-shops-page h1 { margin: 0 0 20px; font-size: 30px; line-height: 1.25; }
.listad-shops-page .listad-shops-categories {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
    margin: 0; padding: 0;
}
.listad-shops-page .listad-shops-categories > a {
    display: flex; align-items: center; position: relative; min-width: 0;
    height: auto; min-height: 54px; margin: 0; padding: 13px 16px;
    border: 1px solid #e5e8ed; border-radius: 16px; background: #f7f8fa;
    color: #20282e; text-decoration: none; line-height: 1.45;
}
.listad-shops-page .listad-shops-categories > a.active { background: #186aff; border-color: #186aff; color: #fff; }
.listad-shops-page .listad-shops-categories > a:hover { background: #edf3ff; border-color: #92b6ff; color: #164f9e; }
.listad-shops-page .listad-shops-categories > a:hover > div { color: #164f9e !important; }
.listad-shops-page .shops-container-items { margin-top: 28px; min-height: 180px; }
.listad-shops-page .shops-container-items .catalog-not-found { padding: 48px 20px; border-radius: 20px; background: #f7f8fa; }
.listad-shops-page a:focus-visible, .listad-home-page a:focus-visible, .listad-home-page button:focus-visible,
.listad-home-page [data-listad-carousel-track]:focus-visible { outline: 3px solid #186aff; outline-offset: 3px; }

.listad-home-page .listad-home-market-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.listad-home-page .listad-home-market-lanes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.listad-home-page .listad-home-ai-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 40px; }
.listad-home-ai-row > .listad-home-ai-studio, .listad-home-ai-row > .listad-banner-slot {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px;
    margin: 0 !important; min-width: 0; padding: 28px; border-radius: 24px; min-height: 300px;
}
.listad-home-ai-row > .listad-home-ai-studio { background: #edf8f2; border: 1px solid #d3eadc; }
.listad-home-ai-row > .listad-banner-slot { background: #eff5ff; border: 1px solid #dbe6f8; }
.listad-home-ai-row .listad-banner-slot-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 12px; }
.listad-home-ai-row .listad-home-ai-kicker, .listad-home-ai-row .listad-banner-slot-kicker { letter-spacing: 0; font-size: 12px; }
.listad-home-ai-row .listad-home-ai-studio h2, .listad-home-ai-row .listad-banner-slot-title { font-size: 24px; line-height: 1.3; font-weight: 750; margin: 8px 0 0; }
.listad-home-ai-row .listad-home-ai-studio p, .listad-home-ai-row .listad-banner-slot-subtitle { font-size: 15px; line-height: 1.65; color: #44535f; margin: 12px 0 0; }
.listad-home-ai-row .listad-home-ai-button, .listad-home-ai-row .listad-banner-slot-cta { margin-top: auto; align-self: flex-start; max-width: 100%; min-height: 44px; border-radius: 12px; white-space: normal; text-align: center; }
.listad-home-ai-row .listad-banner-slot-cta { margin-top: 16px; }
.listad-home-ai-row .listad-banner-slot-media { min-height: 0; background: none; border-radius: 16px; }
.listad-home-ai-row .listad-banner-slot-media img { max-height: 200px; object-fit: contain; }

.listad-home-page .listad-home-intermediary-showcase { padding: 12px 0; border: 0; border-radius: 0; background: transparent; }
.listad-home-intermediary-showcase .listad-home-showcase-head { align-items: center; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.listad-home-intermediary-showcase .listad-home-showcase-head > div:first-child { flex: 1 1 480px; }
.listad-home-intermediary-showcase .listad-home-showcase-head h2 { font-size: 28px; font-weight: 750; line-height: 1.3; }
.listad-home-intermediary-showcase .listad-home-showcase-head p { max-width: 700px; margin-top: 10px; font-size: 15px; line-height: 1.6; }
.listad-home-intermediary-showcase .listad-home-showcase-link { min-height: 44px; border-radius: 12px; }
.listad-home-intermediary-showcase .listad-home-intermediary-grid {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); grid-template-columns: none;
    gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 4px 3px 16px; scrollbar-width: thin; scrollbar-color: #c7d4dd transparent;
}
.listad-home-intermediary-showcase .listad-home-intermediary-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0;
    padding: 24px; border-radius: 24px; border: 1px solid #e2e8e7; background: #fff;
    scroll-snap-align: start; color: #20282e; box-shadow: none; transform: none;
}
.listad-home-intermediary-showcase .listad-home-intermediary-card:hover { border-color: #9bbbad; background: #f8fcf9; box-shadow: none; transform: none; }
.listad-home-intermediary-showcase .listad-home-intermediary-avatar { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 50%; background: #eaf5ee; color: #1c7047; font-size: 30px; }
.listad-home-intermediary-showcase .listad-home-intermediary-avatar img { width: 100%; height: 100%; object-fit: cover; }
.listad-home-intermediary-showcase .listad-home-intermediary-body { flex: 1; gap: 10px; width: 100%; }
.listad-home-intermediary-showcase .listad-home-intermediary-title { font-size: 19px; font-weight: 700; line-height: 1.4; }
.listad-home-intermediary-showcase .listad-home-intermediary-meta { font-size: 13px; line-height: 1.5; color: #586b75; }
.listad-home-intermediary-showcase .listad-home-intermediary-desc { font-size: 14px; line-height: 1.6; color: #465960; display: block; -webkit-line-clamp: unset; overflow: visible; }
.listad-home-intermediary-showcase .listad-home-supplier-chips { margin-top: auto; padding-top: 8px; gap: 8px; }
.listad-home-intermediary-showcase .listad-home-chip { border-radius: 8px; padding: 5px 9px; }
.listad-home-page .listad-carousel-controls { display: flex; gap: 8px; }
.listad-home-page .listad-carousel-controls[hidden] { display: none; }
.listad-home-page .listad-carousel-controls button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #ccd8d2; border-radius: 50%; background: #fff; color: #155d3b; font-size: 23px; cursor: pointer; }
.listad-home-page .listad-carousel-controls button:disabled { opacity: .4; cursor: default; }

.listad-home-page .listad-market-switcher-home { display: block; padding: 0; border: 0; background: none; border-radius: 0; }
.listad-home-page .listad-market-switcher-home .listad-market-switcher-label { margin: 0 0 20px; font-size: 26px; font-weight: 750; color: #20282e; letter-spacing: 0; text-transform: none; }
.listad-market-switcher-home .listad-market-switcher-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; overflow: visible; padding: 0; }
.listad-market-switcher-home .listad-market-switcher-item { display: grid; grid-template-columns: 1fr; grid-template-rows: 48px auto 1fr; gap: 8px; align-items: start; padding: 18px 14px; min-width: 0; border-radius: 20px; border: 1px solid #e6eaf0; background: #f7f9fc; color: #20282e; white-space: normal; }
.listad-market-switcher-home .listad-market-switcher-item > i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #e6edff; color: #275bb8; font-size: 25px; }
.listad-market-switcher-home .listad-market-switcher-item:nth-child(3n+2) > i { background: #e0f3e8; color: #247653; }
.listad-market-switcher-home .listad-market-switcher-item:nth-child(3n) > i { background: #fff0dc; color: #945911; }
.listad-market-switcher-home .listad-market-switcher-item span { font-size: 16px; font-weight: 700; line-height: 1.4; }
.listad-market-switcher-home .listad-market-switcher-item small { font-size: 13px; line-height: 1.5; color: #5e6b79; }
.listad-market-switcher-home .listad-market-switcher-item:hover { background: #fff; border-color: #a3bddd; transform: none; }

.listad-home-page .home-seo-text { max-width: 960px; margin: 48px auto 32px; padding: 28px 0; border-top: 1px solid #e5e9ed; font-size: 15px; line-height: 1.7; color: #48535e; }
.listad-home-page .home-seo-text > h1 { font-size: 26px; line-height: 1.35; color: #20282e; margin: 0 0 20px; }
.listad-home-page .home-seo-text .container { width: auto; max-width: none; padding: 0; margin: 0; }
.listad-home-page .home-seo-text section { margin: 0 0 22px !important; padding: 0; min-height: 0; }
.listad-home-page .home-seo-text :is(h2,h3) { margin: 22px 0 10px; font-size: 20px; line-height: 1.4; color: #27343b; }
.listad-home-page .home-seo-text p { margin: 0 0 12px; }
.listad-home-page .home-seo-text :is(ul,ol) { margin: 8px 0 16px; padding-left: 24px; }
.listad-home-page .home-seo-text li { margin: 5px 0; }
.listad-home-page .home-seo-text p:empty { display: none; }
#listad-home-listings { scroll-margin-top: 150px; }
@media (max-width: 1100px) {
    .listad-market-switcher-home .listad-market-switcher-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .listad-home-intermediary-showcase .listad-home-intermediary-grid { grid-auto-columns: calc((100% - 24px) / 2); }
    .listad-shops-page .listad-shops-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .listad-shops-page.main-wrapper { margin-top: 16px !important; }
    .listad-shops-page h1 { font-size: 25px; }
    .listad-shops-page .listad-shops-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .listad-shops-page .listad-shops-categories > a { min-height: 52px; padding: 12px; font-size: 14px; border-radius: 14px; }
    .listad-home-page .listad-home-market-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .listad-home-page .listad-home-market-lane { padding: 14px; }
    .listad-home-page .listad-home-ai-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .listad-home-ai-row > .listad-home-ai-studio, .listad-home-ai-row > .listad-banner-slot { padding: 22px; min-height: 0; }
    .listad-home-ai-row .listad-home-ai-studio h2, .listad-home-ai-row .listad-banner-slot-title { font-size: 22px; }
    .listad-home-ai-row .listad-home-ai-button { margin-top: 4px; }
    .listad-home-intermediary-showcase .listad-home-intermediary-grid { grid-auto-columns: 86%; gap: 16px; }
    .listad-home-intermediary-showcase .listad-home-showcase-head > div:first-child { flex-basis: 100%; }
    .listad-home-intermediary-showcase .listad-home-showcase-head h2 { font-size: 24px; }
    .listad-home-intermediary-showcase .listad-home-showcase-link { margin-right: auto; }
    .listad-market-switcher-home .listad-market-switcher-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .listad-market-switcher-home .listad-market-switcher-item { padding: 16px; }
    .listad-home-page .home-seo-text { padding: 24px 0; margin-top: 32px; }
    .listad-home-page .home-seo-text > h1 { font-size: 23px; }
}
