/* BAZARCO PRO 380.8.3.4.2.1.17
 * Header identity sizing, compact vendor/admin identity controls, and
 * vendor settings form geometry. No business logic or database changes.
 */

/* The older header owner uses a more specific fixed 62-82px brand mark.
 * Logo-only is a wordmark surface, so it must explicitly release every
 * inherited flex and width clamp while preserving contain (never crop). */
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only{
  justify-content:center!important;
  gap:0!important;
  padding:6px 9px!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116{
  order:1!important;
  flex:1 1 100%!important;
  flex-basis:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:56px!important;
  max-height:56px!important;
  margin:0!important;
  padding:2px 8px!important;
  border-color:rgba(255,255,255,.42)!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 9px 24px rgba(2,8,23,.15)!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116 img{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  border-radius:11px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .platform-brand-name-v3808342116{
  display:none!important;
}

/* A name-only identity owns the full card, rather than inheriting RTL edge
 * alignment from the combined mark/name layout. */
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-name-only{
  justify-content:center!important;
  padding-inline:18px!important;
  text-align:center!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.identity-name-only .platform-brand-name-v3808342116{
  flex:1 1 100%!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  text-align:center!important;
  font-size:clamp(20px,1.65vw,27px)!important;
  line-height:1.25!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.is-logo-failed{
  justify-content:center!important;
  padding-inline:18px!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.is-logo-failed .brand-mark.platform-brand-mark-v3808342116{
  display:none!important;
}
.market-header .brand.premium-brand.platform-brand-v3808342116.is-logo-failed .platform-brand-name-v3808342116{
  display:block!important;
  flex:1 1 100%!important;
  width:100%!important;
  max-width:100%!important;
  text-align:center!important;
}

/* Platform setting: compact accessible segmented choice, with the live
 * preview remaining the one place that shows the large visual result. */
.platform-identity-admin-v3808342116{
  gap:12px!important;
  padding:16px!important;
}
.platform-identity-mode-grid-v3808342116{
  gap:8px!important;
}
.platform-identity-choice-v3808342116>span{
  position:relative!important;
  min-height:64px!important;
  gap:2px!important;
  align-content:center!important;
  padding:9px 42px 9px 12px!important;
  border-radius:14px!important;
}
.platform-identity-choice-v3808342116>span b{
  font-size:14px!important;
  line-height:1.35!important;
}
.platform-identity-choice-v3808342116>span small{
  display:block!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.platform-identity-choice-v3808342116>input:checked+span::after{
  content:"✓"!important;
  position:absolute!important;
  inset-inline-end:12px!important;
  inset-block-start:50%!important;
  display:grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#2563eb,#6d28d9)!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1!important;
  transform:translateY(-50%)!important;
}

/* Store settings: prevent the city cell from stretching to the height of
 * the upload panel beside it. */
.store-brand-location-grid-v3808342117{
  align-items:start!important;
}
.store-brand-location-grid-v3808342117>.store-city-field-v3808342117{
  display:grid!important;
  grid-template-rows:auto auto!important;
  align-content:start!important;
  align-self:start!important;
  gap:8px!important;
  height:max-content!important;
  min-height:0!important;
  margin:0!important;
}
.store-brand-location-grid-v3808342117>.store-city-field-v3808342117>input{
  display:block!important;
  width:100%!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  margin:0!important;
}

/* Store identity: keep native radios accessible but visually replace the
 * oversized preview cards with three compact, explicit choices. */
.store-identity-mode-settings-v3808342114.store-identity-compact-authority-v3808342117{
  padding:16px!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-grid-v3808342114{
  gap:9px!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114{
  position:relative!important;
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:2px!important;
  align-items:center!important;
  min-height:76px!important;
  padding:10px!important;
  padding-inline-end:38px!important;
  border-radius:15px!important;
  transform:none!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114>input{
  position:absolute!important;
  inset:0!important;
  width:1px!important;
  height:1px!important;
  margin:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114::after{
  content:""!important;
  position:absolute!important;
  inset-inline-end:11px!important;
  inset-block-start:50%!important;
  width:20px!important;
  height:20px!important;
  border:2px solid #cbd5e1!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:inset 0 0 0 4px #fff!important;
  transform:translateY(-50%)!important;
  box-sizing:border-box!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114:has(input:checked)::after{
  border-color:#2563eb!important;
  background:#2563eb!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114:has(input:focus-visible){
  outline:3px solid rgba(37,99,235,.24)!important;
  outline-offset:3px!important;
}
.store-identity-compact-authority-v3808342117 .identity-preview-v3808342114{
  grid-column:1!important;
  grid-row:1 / 3!important;
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
  min-height:52px!important;
  height:52px!important;
  gap:5px!important;
  padding:5px!important;
  border-radius:11px!important;
}
.store-identity-compact-authority-v3808342117 .identity-preview-v3808342114 i,
.store-identity-compact-authority-v3808342117 .identity-preview-v3808342114.logo i{
  width:36px!important;
  min-width:36px!important;
  max-width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:9px!important;
}
.store-identity-compact-authority-v3808342117 .identity-preview-v3808342114.logo i{
  width:70px!important;
  min-width:70px!important;
  max-width:70px!important;
  flex-basis:70px!important;
}
.store-identity-compact-authority-v3808342117 .identity-preview-v3808342114 strong{
  min-width:0!important;
  font-size:11px!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114>b{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  font-size:14px!important;
  line-height:1.35!important;
}
.store-identity-compact-authority-v3808342117 .store-identity-mode-card-v3808342114>small{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  font-size:11px!important;
  line-height:1.4!important;
}

@media (max-width:900px){
  .store-identity-compact-authority-v3808342117 .store-identity-mode-grid-v3808342114,
  .platform-identity-mode-grid-v3808342116{
    grid-template-columns:1fr!important;
  }
}
@media (max-width:520px){
  .market-header .brand.premium-brand.platform-brand-v3808342116.identity-logo-only .brand-mark.platform-brand-mark-v3808342116{
    height:46px!important;
    max-height:46px!important;
    padding:2px 7px!important;
  }
  .market-header .brand.premium-brand.platform-brand-v3808342116.identity-name-only .platform-brand-name-v3808342116{
    font-size:clamp(18px,6vw,23px)!important;
  }
  .store-identity-mode-settings-v3808342114.store-identity-compact-authority-v3808342117{
    padding:13px!important;
    border-radius:19px!important;
  }
  .store-identity-mode-head-v3808342114{
    display:grid!important;
    gap:9px!important;
  }
  .store-identity-mode-head-v3808342114>b{
    width:max-content!important;
  }
}
