.uray-home .uh-collection{min-width:0}
.uray-home .uh-collection-controls{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:28px;flex-wrap:wrap}
.uray-home .uh-collection-controls button{background:#fff;border:1px solid #ddd;color:#343239;border-radius:4px;min-height:40px;padding:8px 18px;cursor:pointer}
.uray-home .uh-collection-controls button:disabled{opacity:.6;cursor:wait}
.uray-home .uh-collection-controls [hidden]{display:none!important}
.uray-home .uh-collection-status{font-size:13px;color:#65616a}
.uray-home .uh-post-carousel,.uray-home .uh-category-carousel{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/3);grid-template-columns:none;gap:32px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:16px;cursor:grab;scrollbar-width:none;-ms-overflow-style:none}
.uray-home .uh-post-carousel::-webkit-scrollbar,.uray-home .uh-category-carousel::-webkit-scrollbar{display:none;width:0;height:0}
.uray-home .uh-category-carousel{grid-auto-columns:calc((100% - 110px)/6);gap:22px;align-items:start}
.uray-home .uh-post-carousel,.uray-home .uh-category-carousel{overflow-anchor:none}
.uray-home .uh-category-carousel img{height:136px;width:100%;aspect-ratio:auto}
.uray-home .uh-category-carousel p{font-size:12px;line-height:1.7}
.uray-home .is-dragging,.uray-home .is-dragging *{cursor:grabbing;user-select:none}
.uray-home .uh-collection[data-kind="categories"] .uh-collection-controls:has(.uh-collection-status:empty),.uray-home .uh-collection[data-kind="posts"] .uh-collection-controls:has(.uh-collection-status:empty){display:none}
.uray-home .uh-post-carousel article{scroll-snap-align:start;min-width:0}
.uray-home .uh-post-carousel article>a:first-child{display:block}
.uray-home .uh-post-carousel img{width:100%;aspect-ratio:1.78;object-fit:cover;height:auto}
.uray-home .uh-product .price,.uray-home .uh-product .price *{color:var(--uh-accent,#792882)}
.uray-home .uh-product-actions{display:grid;grid-template-columns:minmax(55px,1fr) 40px minmax(70px,1.3fr);align-items:stretch;gap:6px;margin:14px 0 0}
.uray-home .uh-product-actions .quantity{display:flex;width:100%;min-width:0;margin:0}
.uray-home .uh-product-actions .quantity input.qty{min-width:0;width:100%;height:40px;padding:4px;text-align:center;border:1px solid #d9d7dc}
.uray-home .uh-product-actions .quantity .minus,.uray-home .uh-product-actions .quantity .plus{display:none}
.uray-home .uh-product-actions button{min-height:40px;padding:6px;border:1px solid #dedbe0;border-radius:4px;background:#fff;color:#792882;cursor:pointer;font-size:12px;line-height:1.2;margin:0}
.uray-home .uh-product-actions .uh-quick-buy{background:#792882;color:#fff;border-color:#792882}
/* Share each card row's natural text height without truncating product names. */
.uray-home .uh-collection[data-kind="products"] .uh-product{display:flex;flex-direction:column;min-width:0}
.uray-home .uh-collection[data-kind="products"] .uh-product-info{display:flex;flex-direction:column;flex:1;min-width:0}
.uray-home .uh-collection[data-kind="products"] .uh-product-info>h3{overflow-wrap:anywhere}
.uray-home .uh-collection[data-kind="products"] .uh-product-info>.price{display:block;margin-top:auto;line-height:1.5;overflow-wrap:anywhere}
.uray-home .uh-collection[data-kind="products"] .uh-product-actions,
.uray-home .uh-collection[data-kind="products"] .uh-product-info>.uh-link{min-height:44px;margin:14px 0 0;align-self:stretch}
.uray-home .uh-collection[data-kind="products"] .uh-product-actions{align-items:start;align-content:start}
.uray-home .uh-collection[data-kind="products"] .uh-product-actions button,
.uray-home .uh-collection[data-kind="products"] .uh-product-actions .quantity input.qty{height:44px;min-height:44px}
.uray-home .uh-collection[data-kind="products"] .uh-product-info>.uh-link{align-items:center;justify-content:center;border:1px solid #dedbe0;border-radius:4px;text-align:center;padding:8px;font-size:13px;line-height:1.4}
@supports(grid-template-rows:subgrid){
 .uray-home .uh-collection[data-kind="products"] .uh-product{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0}
 .uray-home .uh-collection[data-kind="products"] .uh-product-info{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
 .uray-home .uh-collection[data-kind="products"] .uh-product-info>.price{margin-top:0;align-self:start}
}
@media(max-width:767px){
 .uray-home .uh-collection[data-kind="products"] .uh-product-actions,
 .uray-home .uh-collection[data-kind="products"] .uh-product-info>.uh-link{min-height:94px}
}
.uray-home .uh-custom-categories>a{min-width:0;overflow-wrap:anywhere}
.uray-home .uh-custom-categories img{object-fit:contain;aspect-ratio:1;height:auto}
@media(max-width:1023px){.uray-home .uh-category-carousel{grid-auto-columns:calc((100% - 44px)/3)}}
@media(max-width:767px){.uray-home .uh-post-carousel{grid-auto-columns:85%;gap:18px}.uray-home .uh-category-carousel{grid-auto-columns:72%;gap:22px}.uray-home .uh-category-carousel img{height:125px}.uray-home .uh-category-carousel p{font-size:13px}.uray-home .uh-product-actions{grid-template-columns:minmax(45px,1fr) 36px}.uray-home .uh-product-actions .uh-quick-buy{grid-column:1/-1}}
.uray-home .uh-product-actions>a{display:flex;align-items:center;justify-content:center;height:44px;min-height:44px;padding:6px;border:1px solid #dedbe0;border-radius:4px;font-size:12px;line-height:1.2;text-align:center;text-decoration:none}
.uray-home .uh-product-actions .uh-purchase-context{display:flex;align-items:center;justify-content:center;min-height:44px;height:44px;font-size:11px;line-height:1.2;text-align:center;overflow-wrap:anywhere;color:#666}
.uray-home .uh-product-actions button:disabled{opacity:.55;cursor:not-allowed}
