/**
 * UNIMERCE Marketplace
 * Developer & Lead Architect: Morris Robinson / morrisrobinson1688@aol.com
 */
.merchant-profile-category-hero p{max-width:74ch}.um-merchant-profile-category-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.um-merchant-profile-category-intro h2{margin:0 0 .35rem}.um-merchant-profile-category-intro p{margin:0;max-width:76ch}.um-profile-category-top-actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.um-profile-category-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:1rem;margin-top:1rem}.um-card-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.um-card-heading-row h2{margin:.1rem 0 .25rem}.um-card-heading-row p{margin:0;color:#6e6256}.um-profile-category-list{display:grid;gap:.85rem}.um-profile-category-card{border:1px solid rgba(225,212,193,.95);background:#fffaf3;border-radius:18px;padding:1rem;display:grid;gap:.85rem}.um-profile-category-card.is-current{border-color:#76521f;box-shadow:0 0 0 3px rgba(118,82,31,.14)}.um-profile-category-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:start}.um-profile-category-card h3{margin:.25rem 0;color:#231c16}.um-profile-category-card p{margin:.15rem 0;color:#6e6256;line-height:1.45}.um-profile-category-card small{color:#6e6256}.um-profile-category-status{display:inline-flex;align-items:center;padding:.25rem .55rem;border-radius:999px;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.um-profile-category-status.is-visible{background:#e9f8e9;color:#235523}.um-profile-category-status.is-hidden{background:#f2ece2;color:#735a37}.um-profile-category-count{min-width:74px;text-align:center;border:1px solid rgba(225,212,193,.95);background:#fff;border-radius:16px;padding:.65rem}.um-profile-category-count strong{display:block;font-size:1.5rem;color:#76521f;line-height:1}.um-profile-category-count span{display:block;font-size:.72rem;color:#6e6256;text-transform:uppercase;font-weight:900}.um-profile-category-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.um-profile-category-actions form{display:inline}.um-btn.danger{background:#fff0ee;border-color:#b74b3f;color:#8b231a}.um-profile-category-empty{border:1px dashed rgba(118,82,31,.32);background:#fffaf3;border-radius:18px;padding:1rem;display:grid;gap:.25rem}.um-profile-category-empty span{color:#6e6256}.um-profile-category-form{display:grid;gap:1rem}.um-profile-category-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.um-profile-category-form-grid label{display:grid;gap:.35rem;align-content:start}.um-profile-category-form-grid label.full{grid-column:1/-1}.um-profile-category-form-grid .field-label,.um-profile-category-products-heading .field-label{display:flex;align-items:center;gap:.35rem;justify-content:flex-start;text-align:left}.um-profile-category-products-block{border:1px solid rgba(225,212,193,.95);border-radius:18px;background:#fffaf3;padding:1rem}.um-profile-category-products-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.um-profile-category-products-heading p{margin:.25rem 0 0;color:#6e6256}.um-profile-category-product-tools{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:.5rem;align-items:end;min-width:min(100%,520px)}.um-profile-category-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;max-height:520px;overflow:auto;padding-right:.25rem}.um-profile-category-product-option{display:flex;gap:.6rem;align-items:flex-start;border:1px solid rgba(225,212,193,.95);background:#fff;border-radius:14px;padding:.75rem;cursor:pointer}.um-profile-category-product-option:hover{border-color:#76521f}.um-profile-category-product-option[hidden]{display:none!important}.um-profile-category-product-option input{margin-top:.25rem;transform:scale(1.15)}.um-profile-category-product-option span{display:grid;gap:.15rem;min-width:0}.um-profile-category-product-option strong{color:#231c16;overflow-wrap:anywhere}.um-profile-category-product-option small{color:#6e6256}.um-profile-category-save-actions{justify-content:flex-start;align-items:center}.um-public-merchant-category-menu{display:flex;gap:.5rem;flex-wrap:wrap;margin:.85rem 0 1rem}.um-public-merchant-category-chip{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(118,82,31,.28);border-radius:999px;padding:.55rem .85rem;text-decoration:none;color:#5b3c13;background:#fffaf3;font-weight:800}.um-public-merchant-category-chip:hover,.um-public-merchant-category-chip.is-active{background:#76521f;color:#fff;border-color:#76521f}.um-public-merchant-category-chip small{font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em;opacity:.8}@media(max-width:1080px){.um-profile-category-layout{grid-template-columns:1fr}.um-profile-category-form-card{order:-1}}@media(max-width:760px){.um-merchant-profile-category-intro,.um-profile-category-products-heading,.um-card-heading-row{display:grid}.um-profile-category-form-grid,.um-profile-category-product-list,.um-profile-category-product-tools{grid-template-columns:1fr}.um-profile-category-card-main{grid-template-columns:1fr}.um-profile-category-count{text-align:left}.um-profile-category-actions .um-btn,.um-profile-category-actions form,.um-profile-category-save-actions .um-btn{width:100%;justify-content:center}.um-profile-category-actions form button{width:100%}}

/* Patch 359R13: public merchant profile separates seller store menu from official UNIMERCE categories. */
.um-public-merchant-category-groups{display:grid;gap:.75rem;margin-top:1rem}
.um-public-merchant-category-menu{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}
.um-public-category-group-label{display:inline-flex;align-items:center;min-height:36px;padding:.4rem .65rem;border:1px solid rgba(214,170,78,.35);background:#fffaf2;color:#6a4a18;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.um-public-merchant-category-menu.is-platform-category-menu .um-public-category-group-label{background:#f6f3ed;color:#5d5145;border-color:rgba(120,105,82,.24)}
.um-public-merchant-category-menu.is-platform-category-menu .um-public-merchant-category-chip:not(.is-active){background:#fff;border-color:rgba(120,105,82,.28);color:#4f463d}

/* Patch 359R15: cleaner responsive merchant storefront profile header; status moved out of hero; filters stay below hero. */
.um-public-profile-hero-r15{padding:clamp(1.1rem,3.2vw,3.25rem) 0!important}
.um-public-profile-shell-r15{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:clamp(.85rem,2.2vw,1.65rem)!important;align-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.um-public-profile-shell-r15 .um-profile-logo-wrap-r15{width:clamp(82px,14vw,156px)!important;height:clamp(82px,14vw,156px)!important;min-width:0!important;border-radius:22px!important;background:rgba(255,250,243,.92);border:1px solid rgba(214,170,78,.35);display:flex;align-items:center;justify-content:center;overflow:hidden}
.um-public-profile-shell-r15 .um-profile-logo{width:100%!important;height:100%!important;object-fit:contain!important;padding:clamp(.35rem,1.2vw,.8rem)}
.um-public-profile-shell-r15 .um-profile-logo-placeholder{font-size:clamp(2rem,7vw,4.4rem)!important;line-height:1!important}
.um-profile-copy-r15{min-width:0;max-width:880px;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.38)}
.um-profile-copy-r15 h1{font-size:clamp(1.65rem,5.4vw,4rem)!important;line-height:1.04!important;margin:.12rem 0 .4rem!important;overflow-wrap:anywhere;hyphens:auto}
.um-profile-copy-r15 .um-profile-summary{font-size:clamp(.94rem,1.9vw,1.15rem)!important;line-height:1.5!important;max-width:72ch}
.um-merchant-status-strip-r15{background:#fffaf3;border-bottom:1px solid rgba(214,170,78,.28);border-top:1px solid rgba(214,170,78,.18)}
.um-merchant-status-strip-inner-r15{display:flex;align-items:center;justify-content:flex-start;gap:.65rem;flex-wrap:wrap;padding:.7rem 0;color:#5d5145;font-size:.92rem}
.um-merchant-status-strip-inner-r15 .um-identity-verified-badge{position:static!important;display:inline-flex!important;margin:0!important;align-items:center;min-height:34px}
.um-profile-toolbar-r15{display:block!important;margin-bottom:1rem!important}.um-profile-toolbar-r15>div{max-width:78ch}.um-profile-toolbar-r15 .eyebrow{display:block}.um-profile-toolbar-r15 h2{margin:.2rem 0 .35rem}.um-profile-toolbar-r15 p{margin:0;color:#6e6256}
.um-public-merchant-category-groups-r15{margin:0 0 1rem!important;padding:1rem;border:1px solid rgba(225,212,193,.92);border-radius:18px;background:#fffaf3}
.um-profile-filter-panel-r15{margin-bottom:1.25rem;padding:1rem;border:1px solid rgba(225,212,193,.92);border-radius:18px;background:#fff}
.um-profile-filter-panel-r15 .um-profile-filter{margin:0!important}
@media(max-width:720px){.um-public-profile-shell-r15{grid-template-columns:1fr!important;text-align:center;justify-items:center}.um-profile-copy-r15 h1{font-size:clamp(1.55rem,9vw,2.35rem)!important}.um-profile-copy-r15 .um-profile-summary{font-size:.94rem!important}.um-merchant-status-strip-inner-r15{display:grid;grid-template-columns:1fr;text-align:left;font-size:.88rem}.um-public-merchant-category-groups-r15,.um-profile-filter-panel-r15{padding:.85rem;border-radius:15px}.um-public-merchant-category-menu{gap:.4rem}.um-public-merchant-category-chip{width:100%;justify-content:center}}

/* Patch 359R22: merchant profile category manager is redesigned as a true one-column merchant form. */
.um-profile-category-layout-one-column,
.um-profile-category-layout.um-profile-category-layout-one-column{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:1rem!important;
  max-width:980px;
  margin:1rem auto 0;
}
.um-profile-category-layout-one-column .um-profile-category-form-card{
  order:1!important;
  position:static!important;
  top:auto!important;
}
.um-profile-category-layout-one-column .um-profile-category-list-card{
  order:2!important;
}
.um-profile-category-layout-one-column .um-profile-category-form-grid,
.um-profile-category-layout-one-column .um-profile-category-product-tools,
.um-profile-category-layout-one-column .um-profile-category-product-list,
.um-profile-category-layout-one-column .um-profile-category-products-heading,
.um-profile-category-layout-one-column .um-profile-category-card-main{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.9rem!important;
}
.um-profile-category-layout-one-column .um-profile-category-form-grid label,
.um-profile-category-layout-one-column .um-profile-category-form-grid label.full{
  grid-column:1/-1!important;
  width:100%!important;
}
.um-profile-category-layout-one-column .field-label{
  text-align:left!important;
  justify-content:flex-start!important;
}
.um-profile-category-layout-one-column .form-control,
.um-profile-category-layout-one-column input,
.um-profile-category-layout-one-column select,
.um-profile-category-layout-one-column textarea{
  width:100%!important;
  max-width:100%!important;
}
.um-profile-category-layout-one-column .um-profile-category-products-block{
  margin-top:1rem;
}
.um-profile-category-layout-one-column .um-profile-category-product-tools{
  min-width:0!important;
  width:100%!important;
}
.um-profile-category-layout-one-column .um-profile-category-product-tools .um-btn,
.um-profile-category-layout-one-column .um-profile-category-save-actions .um-btn,
.um-profile-category-layout-one-column .um-profile-category-save-actions a{
  width:100%;
  justify-content:center;
}
.um-profile-category-layout-one-column .um-profile-category-save-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:stretch!important;
  align-items:start!important;
  gap:.65rem!important;
  margin-top:1rem;
}
.um-profile-category-layout-one-column .um-profile-category-card{
  width:100%;
}
.um-profile-category-layout-one-column .um-profile-category-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:.5rem!important;
}
.um-profile-category-layout-one-column .um-profile-category-actions .um-btn,
.um-profile-category-layout-one-column .um-profile-category-actions form,
.um-profile-category-layout-one-column .um-profile-category-actions button{
  width:100%!important;
  justify-content:center!important;
}
.um-merchant-profile-category-intro{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.um-profile-category-top-actions{
  display:grid!important;
  grid-template-columns:1fr!important;
  width:100%;
  max-width:360px;
  gap:.55rem!important;
}
.um-profile-category-top-actions .um-btn{
  width:100%;
  justify-content:center;
}
@media(min-width:761px){
  .um-profile-category-layout-one-column .um-profile-category-save-actions{
    grid-template-columns:minmax(180px,auto) minmax(160px,auto) minmax(220px,auto)!important;
    justify-content:flex-start!important;
  }
  .um-profile-category-layout-one-column .um-profile-category-save-actions .um-btn,
  .um-profile-category-layout-one-column .um-profile-category-save-actions a{
    width:auto;
  }
  .um-profile-category-layout-one-column .um-profile-category-actions{
    grid-template-columns:repeat(3,minmax(120px,auto))!important;
    justify-content:flex-start!important;
  }
  .um-profile-category-layout-one-column .um-profile-category-actions .um-btn,
  .um-profile-category-layout-one-column .um-profile-category-actions form,
  .um-profile-category-layout-one-column .um-profile-category-actions button{
    width:auto!important;
  }
}


/* Patch 359R23: align profile category manager cards to the same full focused-content width.
   R22 made the form one column but constrained the form/list area to 980px,
   while the top hero/content block used the full focused window width. */
.merchant-profile-category-hero,
.um-merchant-profile-category-intro,
.um-profile-category-layout-one-column,
.um-profile-category-layout.um-profile-category-layout-one-column{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
.um-profile-category-layout-one-column .member-card,
.um-profile-category-layout-one-column .um-profile-category-form-card,
.um-profile-category-layout-one-column .um-profile-category-list-card{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.um-merchant-profile-category-intro{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
}
.um-merchant-profile-category-intro>div:first-child,
.um-merchant-profile-category-intro p{
  max-width:none!important;
}
.um-profile-category-top-actions{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:.65rem!important;
}
.um-profile-category-top-actions .um-btn{
  width:100%!important;
  justify-content:center!important;
}
@media(max-width:760px){
  .um-profile-category-top-actions{
    grid-template-columns:1fr!important;
  }
}


/* Patch 359R29: keep merchant-store filters below the header and remove the boxed text-block look. */
.um-public-profile-hero-r15 .um-public-profile-shell-r15{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:clamp(.7rem,2.2vw,1.4rem) 0!important;
  max-width:1120px!important;
  margin:0 auto!important;
}
.um-public-profile-hero-r15 .um-profile-copy-r15{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  max-width:820px!important;
  min-width:0!important;
}
.um-public-profile-hero-r15 .um-profile-copy-r15 h1{
  font-size:clamp(1.75rem,5vw,3.65rem)!important;
  line-height:1.08!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
.um-public-profile-hero-r15 .um-profile-copy-r15 p,
.um-public-profile-hero-r15 .um-profile-copy-r15 .um-profile-description-r15{
  max-width:760px!important;
  overflow-wrap:anywhere!important;
}
.um-public-profile-hero-r15 .um-profile-logo-wrap-r15{
  width:clamp(84px,16vw,158px)!important;
  height:clamp(84px,16vw,158px)!important;
  flex:0 0 auto!important;
}
.um-public-profile-hero-r15 .um-profile-logo-wrap-r15 img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.um-merchant-status-strip-r15{
  position:relative!important;
  z-index:1!important;
  max-width:1120px!important;
  margin:.85rem auto 0!important;
}
.um-public-merchant-category-groups-r15,
.um-profile-filter-panel-r15{
  clear:both!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:720px){
  .um-public-profile-hero-r15 .um-public-profile-shell-r15{
    display:grid!important;
    grid-template-columns:1fr!important;
    text-align:left!important;
    gap:.8rem!important;
  }
  .um-public-profile-hero-r15 .um-profile-logo-wrap-r15{
    width:96px!important;
    height:96px!important;
  }
}
