.uh-grid,.uhc-horse-native-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.uh-horse-card,.uhc-horse-card-native{padding:0!important;overflow:hidden;background:#fff;border:1px solid var(--uh-border);border-radius:16px;box-shadow:var(--uh-shadow)}.uh-horse-card>a>img,.uhc-horse-image img{width:100%;height:220px;object-fit:cover;display:block}.uh-horse-card h3,.uh-horse-card p,.uh-horse-card strong{margin-inline:18px}.uh-horse-card h3{margin-top:15px;margin-bottom:3px}.uh-horse-card p{color:var(--uh-muted);font-size:13px}.uh-horse-card strong{display:block;margin-bottom:18px;font-size:17px}.uhc-horse-image{display:block;position:relative;height:220px;background:#eef3fb}.uhc-image-placeholder{height:100%;display:grid;place-items:center;color:#9db1ce;background:linear-gradient(135deg,#eff5ff,#f6f0ff)}.uhc-image-placeholder .uhc-icon{width:120px;height:120px}.uhc-card-status{position:absolute;top:12px;right:12px}.uhc-horse-body{padding:17px}.uhc-horse-body h2{font-size:18px;margin-bottom:4px}.uhc-horse-body p{color:var(--uh-muted);font-size:13px;margin-bottom:10px}.uhc-breadcrumb{display:flex;gap:8px;align-items:center;color:var(--uh-muted);font-size:13px;padding:26px 0}.uhc-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;padding-bottom:70px}.uhc-gallery-main{background:#eaf0f8;border-radius:20px;overflow:hidden;min-height:480px}.uhc-gallery-main img{width:100%;height:520px;object-fit:cover;display:block}.uhc-gallery-main .uhc-image-placeholder{height:520px}.uhc-detail-card{margin-top:22px}.uhc-detail-card h2{font-size:22px}.uhc-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:0}.uhc-facts>div{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid var(--uh-border)}.uhc-facts dt{color:var(--uh-muted)}.uhc-facts dd{font-weight:700;margin:0}.uhc-listing-aside{position:sticky;top:96px;display:grid;gap:18px}.uhc-listing-summary h1{font-size:32px;margin:6px 0}.uhc-location{display:flex;gap:8px;align-items:center;color:var(--uh-muted)}.uhc-price{font-size:30px;font-weight:900;margin:20px 0 12px}.uhc-action-stack{display:grid;gap:10px;margin-top:24px}.uhc-seller-card{display:flex;gap:14px;align-items:center}.uhc-seller-card img{border-radius:50%}.uhc-seller-card span,.uhc-seller-card small,.uhc-seller-card strong{display:block}.uhc-seller-card span,.uhc-seller-card small{color:var(--uh-muted);font-size:12px}

/* v1.8 All Horses marketplace */
.uh-horse-marketplace{min-width:0}.uh-horse-filter-actions-mobile{display:none}.uh-horse-filters{padding:20px;margin-bottom:22px}.uh-horse-filters-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.uh-horse-filters-head h2{margin:0 0 4px;font-size:22px}.uh-horse-filters-head p{margin:0;color:var(--uh-muted);font-weight:400}.uh-icon-close{display:none;border:0;background:transparent;font-size:28px;color:var(--uh-muted)}.uh-horse-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.uh-filter-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:500}.uh-filter-field>span{font-size:13px;color:var(--uh-text);font-weight:600}.uh-filter-field input,.uh-filter-field select{width:100%;min-width:0;height:48px;padding:10px 13px;border:1px solid var(--uh-border);border-radius:var(--uh-input-radius);background:var(--uh-input-bg);color:var(--uh-text);font-weight:400}.uh-filter-keyword{grid-column:span 2}.uh-filter-check{display:flex;align-items:center;gap:8px;align-self:end;min-height:48px;font-weight:500}.uh-horse-filter-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.uh-horse-filter-overlay{display:none}.uh-all-horses-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.uh-market-horse-card{overflow:hidden;display:flex;flex-direction:column;min-width:0}.uh-market-horse-media{position:relative;aspect-ratio:4/3;background:var(--uh-background);overflow:hidden}.uh-market-horse-media>a,.uh-market-horse-media img{display:block;width:100%;height:100%}.uh-market-horse-media img{object-fit:cover;transition:transform .25s ease}.uh-market-horse-card:hover .uh-market-horse-media img{transform:scale(1.03)}.uh-market-horse-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:52px;color:var(--uh-muted)}.uh-horse-favorite-button{position:absolute;top:12px;inset-inline-end:12px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(255,255,255,.92);color:#64748b;font-size:22px;cursor:pointer;box-shadow:0 6px 16px rgba(15,23,42,.12)}.uh-horse-favorite-button.is-active{color:var(--uh-danger);background:#fff0f3}.uh-listing-status{position:absolute;bottom:12px;inset-inline-start:12px;padding:6px 9px;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;font-size:11px;font-weight:600}.uh-market-horse-content{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}.uh-market-horse-title-row{display:flex;align-items:center;gap:8px}.uh-market-horse-title-row h2,.uh-market-horse-content>h2{font-size:19px;margin:0;min-width:0}.uh-market-horse-title-row a,.uh-market-horse-content>h2 a{color:var(--uh-text);text-decoration:none}.uh-verified-badge{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--uh-primary);color:#fff;font-size:12px}.uh-horse-summary,.uh-horse-location{margin:0;color:var(--uh-muted);font-size:13px;line-height:1.45;font-weight:400}.uh-horse-owner-row{display:flex;align-items:center;gap:9px}.uh-horse-owner-row img{border-radius:50%}.uh-horse-owner-row span{min-width:0}.uh-horse-owner-row small,.uh-horse-owner-row strong{display:block}.uh-horse-owner-row small{color:var(--uh-muted);font-size:11px;font-weight:400}.uh-horse-owner-row strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uh-market-horse-price{margin-top:auto;font-size:20px;font-weight:700}.uh-market-horse-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.uh-market-horse-actions .uhc-btn{min-height:40px;padding:8px 10px;font-size:12px}.uh-market-horse-actions .uhc-btn:first-child{grid-column:1/-1}.uh-admin-horse-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--uh-border)}.uh-admin-horse-actions a{font-size:12px;font-weight:600;color:var(--uh-primary)}.uh-admin-horse-actions a.is-danger{color:var(--uh-danger)}.uh-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;padding:0;margin:24px 0}.uh-pagination a,.uh-pagination span{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;border:1px solid var(--uh-border);border-radius:9px;background:var(--uh-card)}.uh-pagination .current{background:var(--uh-primary);color:#fff;border-color:var(--uh-primary)}
@media(max-width:1399px){.uh-all-horses-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.uh-horse-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1023px){.uh-all-horses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-horse-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-filter-keyword{grid-column:1/-1}}
@media(max-width:767px){.uh-horse-filter-actions-mobile{display:block;margin-bottom:14px}.uh-horse-filters{position:fixed;z-index:10010;top:0;bottom:0;inset-inline-end:0;width:min(92vw,420px);margin:0;border-radius:0;padding:18px;overflow:auto;transform:translateX(110%);transition:transform .25s ease}.rtl .uh-horse-filters{transform:translateX(-110%)}.uh-horse-filters.is-open{transform:translateX(0)}.uh-icon-close{display:block}.uh-horse-filter-overlay{position:fixed;z-index:10000;inset:0;background:rgba(15,23,42,.45)}body.uh-filter-drawer-open .uh-horse-filter-overlay{display:block}body.uh-filter-drawer-open{overflow:hidden}.uh-horse-filter-grid{grid-template-columns:1fr}.uh-filter-keyword{grid-column:auto}.uh-horse-filter-buttons{display:grid;grid-template-columns:1fr}.uh-horse-filter-buttons .uhc-btn{width:100%}.uh-all-horses-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.uh-market-horse-content{padding:13px}.uh-market-horse-title-row h2,.uh-market-horse-content>h2{font-size:16px}.uh-market-horse-actions{grid-template-columns:1fr}.uh-market-horse-actions .uhc-btn:first-child{grid-column:auto}.uh-horse-owner-row{display:none}}
@media(max-width:430px){.uh-all-horses-grid{grid-template-columns:1fr}.uh-market-horse-media{aspect-ratio:16/10}.uh-horse-owner-row{display:flex}}


/* v1.9 My Horses and complete Horse Details */
.uh-my-horses-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.uh-my-horse-card{overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.uh-my-horse-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(15,23,42,.13)}.uh-my-horse-media{display:block;position:relative;aspect-ratio:4/3;background:var(--uh-background);overflow:hidden}.uh-my-horse-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.uh-my-horse-card:hover .uh-my-horse-media img{transform:scale(1.035)}.uh-my-horse-media .uh-status-badge{position:absolute;top:13px;inset-inline-start:13px}.uh-my-horse-body{padding:18px}.uh-my-horse-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.uh-my-horse-heading h2{font-size:20px;margin:0 0 4px}.uh-my-horse-heading p,.uh-my-horse-location,.uh-horse-published{margin:0;color:var(--uh-muted);font-size:12px}.uh-my-horse-heading>strong{font-size:18px;color:var(--uh-primary);white-space:nowrap}.uh-my-horse-location{margin-top:9px}.uh-horse-card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.uh-horse-card-stats div{padding:10px;border-radius:10px;background:color-mix(in srgb,var(--uh-background) 76%,var(--uh-card));text-align:center}.uh-horse-card-stats dt{font-size:10px;color:var(--uh-muted)}.uh-horse-card-stats dd{margin:3px 0 0;font-size:15px;font-weight:700}.uh-horse-published{padding-top:12px;border-top:1px solid var(--uh-border)}.uh-my-horse-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;align-items:center}.uh-my-horse-actions>a:not(.uhc-btn){font-size:11px;font-weight:600;color:var(--uh-primary)}.uh-my-horse-actions .is-danger{color:var(--uh-danger)!important}
.uh-horse-detail-page{display:grid;gap:22px}.uh-horse-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.65fr);gap:22px;align-items:start}.uh-horse-gallery-card,.uh-horse-summary-card,.uh-seller-information,.uh-horse-detail-section,.uh-horse-related,.uh-horse-reviews{padding:20px}.uh-horse-main-image{border-radius:16px;overflow:hidden;background:var(--uh-background);aspect-ratio:16/11}.uh-horse-main-image img{width:100%;height:100%;object-fit:cover}.uh-horse-thumbnails{display:flex;gap:10px;overflow:auto;padding-top:12px}.uh-horse-thumbnails a{flex:0 0 76px;height:60px;border-radius:9px;overflow:hidden}.uh-horse-thumbnails img{width:100%;height:100%;object-fit:cover}.uh-horse-summary-card{position:sticky;top:92px}.uh-detail-title-row{display:flex;justify-content:space-between;gap:14px}.uh-detail-title-row h1{font-size:30px;margin:10px 0 6px}.uh-detail-title-row p{margin:0;color:var(--uh-muted)}.uh-detail-price{font-size:31px;font-weight:750;color:var(--uh-primary);margin:20px 0}.uh-detail-facts{margin:0}.uh-detail-facts>div{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid var(--uh-border)}.uh-detail-facts dt{color:var(--uh-muted);font-size:12px}.uh-detail-facts dd{margin:0;font-weight:500;overflow-wrap:anywhere}.uh-detail-action-stack{display:grid;gap:10px;margin-top:20px}.uh-seller-information h2,.uh-horse-detail-section h2,.uh-horse-related h2,.uh-horse-reviews h2{margin:0 0 16px;font-size:21px}.uh-seller-profile{display:flex;gap:15px;align-items:center}.uh-seller-profile img{border-radius:50%}.uh-seller-profile h3{margin:0 0 4px}.uh-seller-profile p{margin:2px 0;color:var(--uh-muted)}.uh-horse-detail-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.uh-detail-description{grid-column:1/-1}.uh-related-horse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.uh-related-horse-grid a{display:grid;gap:8px;color:var(--uh-text)}.uh-related-horse-grid img,.uh-related-horse-grid .uh-horse-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.uh-horse-reviews article{padding:14px 0;border-bottom:1px solid var(--uh-border)}.uh-horse-reviews article:last-child{border:0}.uh-horse-reviews article span{color:#f59e0b;margin-inline-start:10px}.uh-horse-reviews article p{margin-bottom:0;color:var(--uh-muted)}
.uh-breeds-toolbar{display:flex;align-items:center;gap:16px;padding:18px;margin-bottom:18px}.uh-breed-search-form{display:flex;gap:10px;flex:1}.uh-breed-search-form input{flex:1;min-width:200px}.uh-breeds-toolbar-meta{display:flex;align-items:baseline;gap:5px;color:var(--uh-muted)}.uh-breeds-toolbar-meta strong{font-size:22px;color:var(--uh-text)}.uh-breed-form-card{padding:20px;margin-bottom:18px}.uh-breed-form{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:16px}.uh-breed-form .uh-form-actions{grid-column:1/-1}.uh-breed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.uh-breed-card{padding:18px;display:flex;flex-direction:column;justify-content:space-between;min-height:155px}.uh-breed-card h3{margin:0 0 7px}.uh-breed-card p{color:var(--uh-muted);font-size:12px}.uh-breed-card footer{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:13px;border-top:1px solid var(--uh-border)}.uh-breed-card footer>span{font-size:11px;color:var(--uh-muted)}.uh-breed-actions{display:flex;align-items:center;gap:10px}.uh-breed-actions form{margin:0}.uh-breed-actions a,.uh-breed-actions button{border:0;background:none;padding:0;color:var(--uh-primary);font-size:11px;font-weight:600;cursor:pointer}.uh-breed-actions .is-danger{color:var(--uh-danger)}
@media(max-width:1100px){.uh-my-horses-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-horse-overview-grid{grid-template-columns:1fr}.uh-horse-summary-card{position:static}.uh-related-horse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-breed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.uh-my-horses-grid,.uh-horse-detail-sections,.uh-breed-grid{grid-template-columns:1fr}.uh-my-horse-heading{display:grid}.uh-my-horse-heading>strong{white-space:normal}.uh-horse-overview-grid{display:block}.uh-horse-gallery-card{margin-bottom:16px}.uh-detail-title-row h1{font-size:25px}.uh-detail-facts>div{grid-template-columns:1fr;gap:4px}.uh-related-horse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uh-breeds-toolbar{align-items:stretch;flex-direction:column}.uh-breed-search-form{display:grid;grid-template-columns:1fr}.uh-breed-search-form input{min-width:0}.uh-breeds-toolbar .uhc-btn{width:100%}.uh-breed-form{grid-template-columns:1fr}.uh-breed-form .uh-form-actions{grid-column:auto}}
@media(max-width:430px){.uh-related-horse-grid{grid-template-columns:1fr}.uh-horse-card-stats{gap:5px}.uh-horse-card-stats div{padding:8px 5px}}
