/* Saved categories extend the existing brand grid, without adding another design system. */
.pm-page-catalog .mosaic .media-tile:nth-child(n+9){grid-column:auto;grid-row:auto}
.pm-category-hero .text-link{color:var(--gold,#e8c17b);margin-bottom:24px}
.pm-page-category .pm-category-hero,.hero.pm-custom-category-image{background-image:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.18)),var(--category-hero-image)!important}
.pm-page-category .hero h1{overflow-wrap:anywhere}
.pm-page-category .hero p{max-width:600px}
.pm-category-manager{margin:20px 0;border-top:1px solid #ddd3c8;padding-top:16px}
.pm-category-manager summary{cursor:pointer;font-weight:600;padding:12px 0}
.is-editing-product>.pm-category-manager{display:none}
.pm-category-edit{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:20px 0;border-bottom:1px solid #ddd3c8}
.pm-category-edit img{width:96px;height:96px;object-fit:cover;border-radius:12px}
.pm-category-edit label{display:grid;gap:6px;margin-bottom:10px}
.pm-category-edit input:not([type=checkbox]),.pm-category-edit textarea{width:100%;min-height:44px;padding:10px;border:1px solid #b9aea0;border-radius:8px;font:inherit}
.pm-category-edit input[type=file]{font-size:13px}
.pm-category-edit .pm-category-visible{display:flex;align-items:center;gap:8px}
.pm-category-edit a{overflow-wrap:anywhere}
.pm-choice-groups{display:grid;gap:12px;margin:16px 0}
.pm-choice-groups label{display:grid;gap:8px}
.pm-choice-groups select{min-height:46px;width:100%;font:inherit;padding:10px;border:1px solid #c8bba9;border-radius:8px;background:#fff}
.pm-set-items{margin:8px 0;padding:16px;border:1px solid #ddd3c8;border-radius:12px}
.pm-set-items legend{font-weight:600}
.pm-set-items>p{font-size:13px;line-height:1.5;margin:0 0 10px;color:#625951}
.pm-set-items label{display:flex;align-items:center;gap:12px;min-height:46px;padding:8px 0;border-bottom:1px solid #eee5da}
.pm-set-items input{width:20px;height:20px;accent-color:#7d343c;flex:none}
.pm-set-edit{min-height:44px;margin-top:8px;color:#7d343c;text-decoration:underline;text-underline-offset:4px;background:transparent;border:0;text-align:left}
.pm-choice-editor textarea{min-height:160px;width:100%;font:inherit}
.pm-choice-editor fieldset{margin:14px 0;padding:16px;border:1px solid #c8bba9;border-radius:12px}
.pm-choice-options{max-height:240px;overflow:auto;margin:12px 0}
.pm-choice-options label{display:flex;align-items:center;gap:10px;min-height:44px}
.pm-choice-options input{width:20px;height:20px;flex:none}
@media(max-width:600px){.pm-category-edit{grid-template-columns:64px minmax(0,1fr);gap:12px}.pm-category-edit img{width:64px;height:64px}.pm-page-category .hero{min-height:380px}}
@media(prefers-reduced-motion:reduce){.pm-page-category *{scroll-behavior:auto}}
