/* Structural variants exposed by Directory Manager Bricks controls. */
.dm-bricks-search.dm-search-layout-stacked .dm-search{grid-template-columns:1fr}.dm-bricks-search.dm-search-layout-stacked .dm-search>button{width:100%}.dm-bricks-search.dm-search-layout-compact .dm-search{grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(130px,1fr) auto;padding:10px;gap:8px}.dm-bricks-search.dm-search-layout-compact .dm-search label{gap:3px}.dm-bricks-search.dm-hide-advanced-filters .dm-search-more{display:none}.dm-bricks-categories .dm-term-grid a,.dm-bricks-locations .dm-term-grid a{transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease,transform .2s ease}.dm-bricks-categories .dm-term-grid a:hover,.dm-bricks-locations .dm-term-grid a:hover{transform:translateY(-2px)}
.dm-bricks-categories.dm-hide-term-image .dm-term-image,.dm-bricks-locations.dm-hide-term-image .dm-term-image{display:none}.dm-bricks-categories.dm-hide-term-image .dm-term-content,.dm-bricks-locations.dm-hide-term-image .dm-term-content{flex:1}
@media(max-width:700px){.dm-bricks-search.dm-search-layout-compact .dm-search{grid-template-columns:1fr}.dm-bricks-search.dm-search-layout-compact .dm-search>button{width:100%}}
@media(min-width:901px){.dm-bricks-search:not(.dm-search-layout-stacked) .dm-search{align-items:end}.dm-bricks-search:not(.dm-search-layout-stacked) .dm-search>label{align-self:end;margin:0}.dm-bricks-search:not(.dm-search-layout-stacked) .dm-search>button{position:static;top:auto;align-self:end;height:45px;min-height:45px;margin:0;padding-block:0}}
.dm-bricks-system{width:100%;min-width:0}.dm-bricks-system>.dm-form,.dm-bricks-system>.dm-pricing,.dm-bricks-system>.dm-checkout,.dm-bricks-system>.dm-dashboard,.dm-bricks-system>.dm-auth-shell,.dm-bricks-system>.dm-auth-compact{max-width:100%}.dm-bricks-preview-note{display:grid;gap:5px;min-height:120px;place-items:center;align-content:center;padding:24px;border:1px dashed #aabbb4;border-radius:12px;background:#f7faf9;color:#405149;text-align:center}.dm-bricks-preview-note strong{font-size:15px}.dm-bricks-preview-note span{color:#718078;font-size:12px}.dm-bricks-checkout .dm-checkout{width:100%}.dm-bricks-packages .dm-pricing{width:100%}.dm-bricks-owner-dashboard .dm-dashboard{width:100%}

/* Search control alignment must also win inside the Bricks builder iframe. */
@media(min-width:901px){.dm-search{align-items:end!important}.dm-search>label{align-self:end!important;margin-block:0!important}.dm-search>button{position:static!important;top:auto!important;align-self:end!important;height:45px!important;min-height:45px!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;transform:none}.dm-search>button:hover{transform:none}}

/* Bricks responsive canvas and nested-column compatibility. */
.dm-bricks-element{container-type:inline-size;max-width:100%;overflow-wrap:anywhere}
.dm-bricks-element :is(.dm-shell,.dm-form,.dm-pricing,.dm-checkout,.dm-dashboard,.dm-auth-shell,.dm-profile){max-width:100%}
.dm-bricks-element :is(input,select,textarea,button){max-width:100%}
.dm-bricks-element .dm-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

@media(max-width:600px){
	.dm-bricks-element .dm-form-actions{align-items:stretch;flex-direction:column}
	.dm-bricks-element .dm-form-actions :is(button,.dm-action){width:100%;min-width:0}
	.dm-bricks-element :is(.dm-checkout,.dm-auth-shell,.dm-pricing,.dm-shell){width:100%;margin-right:auto;margin-left:auto}
	.dm-bricks-element .dm-search :is(input,select,button){width:100%}
}

/* Container queries also make widgets responsive inside narrow Bricks columns and canvas previews. */
@container(max-width:700px){
	.dm-bricks-search .dm-search,.dm-bricks-search.dm-search-layout-compact .dm-search{grid-template-columns:minmax(0,1fr)!important}
	.dm-bricks-search .dm-search>button{width:100%}
	.dm-bricks-system .dm-fields{grid-template-columns:minmax(0,1fr)}
	.dm-bricks-system .dm-wide{grid-column:auto}
	.dm-bricks-system .dm-checkout{grid-template-columns:minmax(0,1fr)}
	.dm-bricks-system .dm-pricing-grid{grid-template-columns:minmax(0,1fr)}
	.dm-bricks-owner-dashboard .dm-dashboard{grid-template-columns:minmax(0,1fr)}
	.dm-bricks-owner-dashboard .dm-dashboard-nav{border-right:0;border-bottom:1px solid var(--dm-border,#dce4e8)}
	.dm-bricks-owner-dashboard .dm-dashboard-nav nav{display:flex;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.dm-bricks-owner-dashboard .dm-dashboard-nav nav a{flex:0 0 auto;white-space:nowrap}
}
@container(max-width:480px){
	.dm-bricks-system .dm-form-actions{display:grid;grid-template-columns:minmax(0,1fr)}
	.dm-bricks-system .dm-form-actions :is(button,.dm-action){width:100%;min-width:0}
	.dm-bricks-system .dm-dashboard-head{align-items:stretch;flex-direction:column}
	.dm-bricks-system .dm-dashboard-head .dm-primary-action{width:100%}
}
