/* Category refresh only: keep the old storefront and watermark. */
.rf-categories{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.ref-store .rf-category.category-toy{background:#fff;border:1px solid #ffe0ef;border-radius:20px;padding:9px 9px 12px;display:flex;flex-direction:column;gap:9px;align-items:center;text-align:center;box-shadow:0 5px 16px #50295f08;overflow:hidden;min-width:0}
.category-toy-art{position:relative;width:100%;border-radius:15px;overflow:hidden;background:linear-gradient(135deg,#f9eafa,#e3f8ff);aspect-ratio:1.14}
.category-toy-art img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s}
.category-toy b{font-size:13px;line-height:1.5;color:#291e3b}
.category-toy:hover .category-toy-art img,.category-toy:focus-visible .category-toy-art img{transform:scale(1.04)}
.category-toy:hover,.category-job:hover{border-color:#ff4b9b!important;box-shadow:0 7px 20px #ff4b9b20!important}
.category-soon{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#30225f;color:white;border-radius:50px;padding:3px 9px;font:600 10px var(--font);z-index:1}
.cat{position:relative}.cat>img{object-fit:contain;background:linear-gradient(135deg,#fff0f7,#edfbff)}
.cat>.category-soon{top:12px;bottom:auto}
.jobs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
.jobs .category-job{position:relative;min-width:0;padding:9px;border-radius:20px!important;border:1px solid #f4ddec;background:linear-gradient(155deg,#fff,#fff1fa)!important;color:#32213e!important;box-shadow:0 4px 12px #492f6608;transition:transform .2s}
.jobs .category-job img{width:100%!important;height:auto!important;aspect-ratio:1.14;object-fit:contain;border-radius:14px!important;background:#fff}
.jobs .category-job b{font-size:13px!important;line-height:1.5}
.jobs .category-job small{font-size:10px!important;color:#867084!important}
.jobs .category-job:disabled{opacity:.65;cursor:default}.jobs .category-job:disabled small{color:#bf2483!important}
.price-set-fields{padding:0;border:0;margin:0}.price-tag-row{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;margin:8px 0}.price-tag-row label{min-width:0}.price-tag-row input{width:100%;min-width:0}.price-tag-row>b{color:#ff2787;font-size:12px;text-align:center}.price-set-fields>small{display:block;color:#b52d79;margin-top:12px}
@media(max-width:680px){.rf-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}.ref-store .rf-category.category-toy{padding:6px 6px 9px;border-radius:16px}.category-toy b{font-size:11px}.category-toy-art{border-radius:11px}.jobs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.price-tag-row{gap:5px;grid-template-columns:18px minmax(0,1fr) minmax(0,1fr)}.price-tag-row input{padding:10px 7px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.category-toy-art img,.jobs .category-job{transition:none!important}}


/* Keep the new photography inside the original compact, rounded category buttons. */
.ref-store .rf-categories{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
.cats:has(.category-photo){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ref-store .rf-category.category-photo,.cat.category-photo{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:9px 9px 12px;border:1px solid #ffe0ef;border-radius:20px;background:#fff;box-shadow:0 5px 16px #50295f08;overflow:hidden;min-width:0;aspect-ratio:auto;text-align:center;isolation:isolate}
.category-photo .category-photo-art{position:relative;width:100%;aspect-ratio:1.14;border-radius:15px;overflow:hidden;background:#fff5fa;flex:none}
/* Frame the photograph portion of the supplied square artwork; its baked-in footer stays outside the frame. */
.category-photo .category-photo-art>img{position:static;inset:auto;display:block;width:100%;height:125%;object-fit:cover;object-position:center top;z-index:auto;transition:transform .2s}
.cat.category-photo:after{display:none}
.ref-store .rf-category.category-photo>.category-photo-footer,.cat.category-photo>.category-photo-footer{display:block;width:100%;height:auto;min-height:0;padding:0;background:transparent;flex:none;color:#291e3b}
.category-photo .category-photo-footer>b{display:block;width:100%;font:500 13px/1.5 var(--font);color:#291e3b;overflow-wrap:anywhere}
.category-photo .category-photo-footer>i,.category-photo .category-photo-arrow{display:none}
.category-photo .category-soon{top:8px;right:8px;left:auto;bottom:auto;transform:none;font-size:9px;padding:3px 7px}
.cat.category-photo .count{z-index:2;top:8px;left:8px;background:#fffffff5;color:#cf1465;border:1px solid #ffd5e5;font-size:10px;padding:3px 7px}
.category-photo:hover .category-photo-art>img,.category-photo:focus-visible .category-photo-art>img{transform:scale(1.04)}
.category-photo:focus-visible{outline:3px solid #d41668;outline-offset:3px}
@media(min-width:640px){.cats:has(.category-photo){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){.cats:has(.category-photo){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:680px){
 .ref-store .rf-categories{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
 .ref-store .rf-category.category-photo,.cat.category-photo{padding:6px 6px 9px;border-radius:16px}
 .category-photo .category-photo-art{border-radius:11px}
 .category-photo .category-photo-footer>b{font-size:11px}
 .ref-store .category-photo .category-photo-footer>i{display:none}
 .category-photo .category-soon{top:6px;right:6px;font-size:8px;padding:2px 5px}
}
@media(prefers-reduced-motion:reduce){.category-photo .category-photo-art>img{transition:none}}
