.yp-pm-visual .yp-iv-heading{flex-wrap:wrap}
.yp-pm-visual .yp-iv-heading>div{flex:1}
.yp-pm-visual .yp-iv-heading p{display:block}
.yp-pm-visual .yp-pm-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}
.yp-pm-visual .yp-pm-export-actions{margin:0;gap:6px}
.yp-pm-visual #ypPmExportNotice:empty{display:none}
.yp-pm-visual .yp-pm-tools button{font-size:11px;min-height:32px}
.yp-pm-visual .yp-pm-visual-filters{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr));scroll-margin-top:8px}
.yp-pm-visual .yp-pm-visual-filters label{min-width:0}
.yp-pm-visual .yp-pm-visual-table{min-width:1060px}
.yp-pm-visual .yp-iv-table td{overflow-wrap:anywhere;max-width:210px}
.yp-pm-visual .yp-iv-table td:last-child{min-width:100px}
.yp-pm-visual .yp-pm-menu>summary{font-size:11px;min-height:32px;width:auto;padding:5px 8px}
.yp-pm-visual .yp-pm-menu>.yp-iv-actions{position:static;display:flex;flex-direction:column;min-width:130px;padding:5px;margin:4px 0}
.yp-pm-visual .yp-pm-menu:not([open])>.yp-iv-actions{display:none}
.yp-pm-visual .yp-iv-actions button{flex:0 1 auto;white-space:normal;overflow-wrap:anywhere}
.yp-pm-visual .yp-pm-visual-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;margin:0;border:0;border-radius:0;list-style:none}
.yp-pm-visual .yp-pm-item{display:block;padding:8px;min-width:0}
.yp-pm-visual .yp-pm-thumb{width:auto;height:auto;flex-shrink:0;align-self:start}
.yp-pm-visual .yp-pm-thumb .yp-iv-photo{width:64px;height:64px}
.yp-pm-visual .yp-pm-item small{font-size:10px}
.yp-pm-visual .yp-pm-item .yp-iv-actions{margin-top:8px}
.yp-pm-visual .yp-iv-actions{gap:5px;margin:8px 0}
.yp-pm-visual .yp-pm-visual-cards .yp-iv-actions button{flex:1 1 auto}
.yp-pm-visual #ypPmSelectedDetail{padding:10px;scroll-margin-top:85px}
.yp-pm-visual .yp-pm-return{margin-bottom:8px}
.yp-pm-visual .yp-pm-description{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}
.yp-pm-visual .yp-pm-family{border-top:1px solid #d8e2ef;margin-top:12px;padding-top:8px}
.yp-pm-visual .yp-pm-family h4{font-size:13px;font-weight:700;margin:4px 0}
.yp-pm-visual .yp-pm-family article{display:flex;gap:8px;border-top:1px solid #e8edf5;padding:8px 0}
.yp-pm-visual .yp-pm-family article>div{flex:1;overflow-wrap:anywhere}
.yp-pm-visual .yp-pm-family small{display:block;font-size:10px;color:#52637b;margin:4px 0}
.yp-pm-visual .yp-pm-family p{font-size:11px}
.yp-pm-visual .yp-pm-family .yp-iv-photo{flex-shrink:0}
#adminTabProductos #ypPmForm{color:#14243d}
#adminTabProductos #ypPmForm .yp-pm-heading{padding:12px;border:1px solid #d8e2ef;border-radius:8px;background:linear-gradient(100deg,#f9fcff,#eaf2fe)}
#adminTabProductos #ypPmForm>.yp-pm-heading h3{font-size:20px}
#adminTabProductos #ypPmForm details{border-color:#d8e2ef;border-radius:7px;scroll-margin-top:85px}
#adminTabProductos #ypPmForm summary{color:#174e94;font-size:13px;min-height:44px}
#adminTabProductos #ypPmForm .yp-pm-grid{gap:10px}
#adminTabProductos #ypPmForm .yp-pm-grid label{font-size:13px}
#adminTabProductos #ypPmForm .yp-pm-form-footer{border:1px solid #d8e2ef;border-radius:8px;background:#f7faff;padding:10px;margin-top:12px}
#adminTabProductos #ypPmForm .yp-pm-form-footer .yp-pm-primary{--yp-action-bg:#0876f9;--yp-action-text:#fff;--yp-action-hover:#075fcb}
.yp-pm-pager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:6px 12px;border-top:1px solid #edf1f6}
.yp-pm-pager .yp-iv-count{border:0;padding:0;font-size:.75rem}
.yp-pm-pager>div{display:flex;gap:6px}
.yp-pm-pager button{min-height:40px;padding:6px 10px}
.yp-pm-mobile-pager{display:none}
.yp-pm-save-notice{position:sticky;top:80px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px 4px 12px;margin-bottom:8px;border:1px solid #b9dac9;border-radius:8px;background:#f1fbf5;color:#155137;box-shadow:0 2px 8px #123d6712}
.yp-pm-save-notice p{margin:0;font-size:.85rem;overflow-wrap:anywhere}
.yp-pm-save-notice button{min-width:40px;min-height:40px;border:0;border-radius:7px;background:transparent;color:inherit;font-size:1.35rem;flex-shrink:0}
#ypPmStatus[data-saved]{color:#185b3d;font-weight:650}
.yp-admin-account{white-space:nowrap;flex-shrink:0}
.yp-admin-account svg{display:none}
@media(min-width:641px){
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden)) .yp-top-left>div:has(#ypInternalBack:not([hidden])){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden)) #ypInternalBack{grid-row:1/3}
}
@media(min-width:1500px){.yp-pm-visual .yp-pm-visual-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.yp-pm-visual .yp-pm-visual-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
  .yp-pm-visual .yp-iv-heading>div{flex-basis:100%}
  .yp-pm-visual .yp-iv-heading>button{margin:0;min-height:44px}
  .yp-pm-visual .yp-pm-tools button{min-height:44px}
  .yp-pm-visual .yp-pm-visual-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yp-pm-visual .yp-pm-visual-filters>label:first-child{grid-column:1/-1}
  .yp-pm-visual .yp-iv-filters :is(input,select){font-size:16px;min-height:44px}
  .yp-pm-visual .yp-pm-visual-cards{grid-template-columns:1fr}
  .yp-pm-visual .yp-pm-item .yp-iv-actions button{min-height:44px}
  .yp-pm-visual .yp-iv-photo.yp-iv-hero{height:150px}
  .yp-pm-visual .yp-pm-return{min-height:44px;width:100%}
  .yp-pm-visual #ypPmSelectedDetail{scroll-margin-top:90px}
  #adminTabProductos #ypPmForm .yp-pm-heading p{display:block;font-size:12px}
  #adminTabProductos #ypPmForm .yp-pm-form-footer button[type=submit]{grid-column:1/-1}
  .yp-pm-mobile-pager{display:block}
  .yp-pm-pager button{min-height:44px}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-admin-topbar{height:auto;min-height:56px;gap:6px;padding:6px 10px}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-top-left{min-width:0;gap:6px}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-top-right{flex:none;gap:5px;margin-left:0}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-notifications-slot{margin-inline:0}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-breadcrumb{display:none}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-admin-topbar h1{margin:0;font-size:clamp(14px,4.2vw,17px);overflow-wrap:break-word}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden),#ypDashboardPage:not(.is-hidden)) .yp-admin-topbar :is(.yp-mobile-menu,.yp-top-icon,.yp-notification-bell){box-sizing:border-box;min-width:44px;min-height:44px;padding:0}
  #adminScreen .yp-admin-account{display:grid;place-items:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:0}
  #adminScreen .yp-admin-account span{display:none}
  #adminScreen .yp-admin-account svg{display:block}
  #adminScreen:has(#ypWorkspace.is-active>#adminTabProductos:not(.hidden)) #ypInternalBack{min-height:32px;padding:2px 6px;margin-bottom:3px;font-size:.75rem}
  .yp-pm-save-notice{top:65px}
}
