/* UltimateWork Product Marketplace v5.3 — scoped to catalog */
.uw-product-experience:has(.uw-market-head){max-width:1320px;padding-top:42px;padding-bottom:100px}
.uw-market-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin:35px 0 36px}
.uw-market-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:750;color:#9a6500}
.uw-market-head h2{font-size:clamp(34px,4vw,62px);line-height:1.08;letter-spacing:-.045em;color:#17191c;margin:12px 0 14px;font-weight:750}
.uw-market-head p{font-size:16px;line-height:1.7;color:#65676b;margin:0;max-width:590px}
.uw-market-count{white-space:nowrap;border:1px solid #e9e9e9;border-radius:99px;padding:9px 16px;color:#666;font-size:13px}
.uw-market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.uw-market-card{border:1px solid #eaeaea;border-radius:24px;background:#fff;overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s;min-width:0}
.uw-market-card:hover{transform:translateY(-5px);box-shadow:0 24px 48px rgba(24,26,30,.10);border-color:#e4cf9f}
.uw-market-visual{height:clamp(240px,27vw,355px);position:relative;display:block;overflow:hidden;background:#f6f6f6;text-decoration:none}
.uw-market-visual>img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.uw-market-card:hover .uw-market-visual>img{transform:scale(1.04)}
.uw-market-visual-arrow{position:absolute;right:18px;bottom:18px;width:43px;height:43px;border-radius:50%;background:#ffb11a;color:#17191c;display:grid;place-items:center;font-size:23px;z-index:2}
.uw-market-fallback{height:100%;padding:30px;display:flex;flex-direction:column;justify-content:space-between;background:#ffb11a;position:relative;overflow:hidden;color:#17191c}
.uw-market-fallback>span:first-child{font-size:11px;letter-spacing:.16em;font-weight:750;z-index:1}
.uw-market-fallback strong{font-size:clamp(38px,5vw,75px);line-height:1;letter-spacing:-.06em;z-index:1;overflow-wrap:anywhere}
.uw-market-fallback-shape{position:absolute;right:-70px;top:20px;width:270px;height:270px;border:45px solid rgba(255,255,255,.38);border-radius:50%;pointer-events:none}
.uw-market-info{padding:28px 30px 30px;display:flex;flex-direction:column;min-height:250px}
.uw-market-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#717171}
.uw-market-status{background:#fff4da;color:#815600;border-radius:30px;padding:6px 11px;font-weight:700;text-transform:capitalize}
.uw-market-identity{display:flex;align-items:center;gap:12px;margin:18px 0 9px}
.uw-market-identity h3{font-size:clamp(25px,2.6vw,35px);line-height:1.15;letter-spacing:-.035em;margin:0;color:#17191c}
.uw-market-identity h3 a{color:inherit;text-decoration:none}
.uw-market-logo{width:54px;height:54px;object-fit:contain;border-radius:16px;border:1px solid #eee;background:white;padding:5px}
.uw-market-info>p{color:#65676b;font-size:15px;line-height:1.7;margin:0 0 23px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.uw-market-link{margin-top:auto;display:inline-flex;align-items:center;justify-content:space-between;gap:15px;width:fit-content;background:#17191c;color:white!important;text-decoration:none;border-radius:99px;padding:12px 19px;font-size:13px;font-weight:700;transition:background .2s,color .2s}
.uw-market-link:hover{background:#ffb11a;color:#17191c!important}
.uw-market-empty{padding:40px;border:1px solid #eee;border-radius:20px;margin-bottom:20px}
@media(max-width:760px){.uw-market-head{align-items:start;flex-direction:column;margin:22px 0 26px}.uw-market-grid{grid-template-columns:1fr;gap:18px}.uw-market-visual{height:260px}.uw-market-info{padding:22px;min-height:0}.uw-product-experience:has(.uw-market-head){padding-bottom:65px}}
@media(prefers-reduced-motion:reduce){.uw-market-card,.uw-market-visual>img{transition:none}.uw-market-card:hover{transform:none}}

/* V5.5 — product hero actions before Explore Product in catalog cards */
.uw-market-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto;margin-bottom:12px;align-items:center}
.uw-market-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;max-width:100%;min-height:43px;padding:10px 16px;border-radius:999px;background:#ffb11a;color:#17191c!important;text-decoration:none;font-size:13px;font-weight:750;line-height:1.25;transition:background .18s ease,transform .18s ease;overflow-wrap:anywhere}
.uw-market-action:hover{background:#e99d00;transform:translateY(-1px)}
.uw-market-action:focus-visible,.uw-market-link:focus-visible{outline:3px solid #b67800;outline-offset:3px}
.uw-market-action-store{background:#fff;border:1px solid #d8d8d8}
.uw-market-action-store:hover{background:#fff6e3;border-color:#ffb11a}
.uw-market-store-icon{width:17px;height:17px;flex-shrink:0}
.uw-market-actions+.uw-market-link{margin-top:0}
@media(max-width:480px){.uw-market-actions{gap:8px}.uw-market-action{min-height:44px}}

/* v5.6 — Hero CTA and Explore button share one responsive row */
.uw-market-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin-top:auto;margin-bottom:0;width:100%}
.uw-market-actions .uw-market-link{margin-top:0;min-height:43px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.uw-market-actions .uw-market-action{flex:0 1 auto}
@media(max-width:480px){.uw-market-actions{gap:8px}.uw-market-actions .uw-market-link,.uw-market-actions .uw-market-action{min-height:44px}}

/* V5.7: cleaner product collection, accessible catalog and compact top hero. */
.uw-product-experience:has(.uw-market-head){padding-top:24px}
.uw-market-head{margin:24px 0 30px;align-items:end}
.uw-market-head h2{font-size:clamp(30px,3.5vw,52px);max-width:800px}
.uw-market-head p{max-width:750px;font-size:16px;line-height:1.75}
.uw-market-eyebrow{color:#986800}
.uw-market-card:focus-within{border-color:#b87c00;box-shadow:0 0 0 3px rgba(255,177,26,.20)}
.uw-market-card a:focus-visible{outline:3px solid #b87c00;outline-offset:3px}
/* Only the catalog's top hero is shortened; product detail heroes remain untouched. */
.uw-page-hero.uw-hero-products:not(.uw-product-detail-hero){min-height:clamp(320px,40vh,480px)}
.uw-page-hero.uw-hero-products:not(.uw-product-detail-hero) .uw-page-hero-inner{min-height:inherit}
@media(max-width:760px){.uw-market-head{margin:18px 0 24px}.uw-market-head h2{font-size:clamp(29px,7vw,42px)}.uw-page-hero.uw-hero-products:not(.uw-product-detail-hero){min-height:320px}}
