/* Approved shared complex cards: catalogue and Favorites. Filename retained for compatibility. */
@layer sellect-theme {
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action) {height:auto!important;min-height:72px!important;padding:12px 14px!important;gap:12px!important;border-radius:18px!important;white-space:normal!important;box-sizing:border-box}
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action) .ds-resource-copy {gap:4px!important}
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action) .ds-resource-name {font-size:14px!important;line-height:20px!important}
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action) small {font-size:12px!important;line-height:18px!important}
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action)>.ds-icon {display:block!important;width:22px;height:26px;flex:none}
 html#shellDemo[data-sellect-theme] :is(.ds-resource.sl-developer-presentation,.ds-resource.sl-regulation-action)>.ds-icon:last-child {width:18px;height:18px;color:var(--sl-text-muted)!important}

 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-media {margin:8px 8px 0!important;width:calc(100% - 16px)!important;border-radius:var(--sl-radius-media,20px)!important;max-height:none!important;aspect-ratio:16/9!important;min-height:0!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-media-open {border-radius:inherit!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-media img {width:100%;height:100%;object-fit:cover;transition:transform .4s!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-media-badge {top:8px!important;left:8px!important;border-radius:12px!important;padding:6px 11px!important;background:rgba(255,255,255,.94)!important;color:var(--sl-graphite)!important;font-size:11px!important;line-height:16px!important;max-width:calc(100% - 76px)!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-deadline {position:absolute;left:8px;bottom:12px;max-width:calc(100% - 88px);padding:6px 10px;border-radius:10px;background:rgba(15,19,22,.73);backdrop-filter:blur(8px);color:#fff;font-size:11px;line-height:16px;font-weight:500;pointer-events:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-gallery-dots {bottom:0}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-photo-count {bottom:12px!important;right:8px!important;background:rgba(15,19,22,.6)}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card>.ds-heart {top:16px!important;right:16px!important;width:32px!important;height:32px!important;min-width:32px!important;padding:6px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card>.ds-heart:hover {background:rgba(255,255,255,.2)!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-card-content {padding:20px!important;gap:16px!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-heading {display:grid;gap:6px;min-width:0}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-developer {color:var(--sl-text-muted)!important;font-size:12px!important;line-height:18px!important;overflow-wrap:anywhere}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card button.fc-developer:hover {color:var(--sl-accent-ink)!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-facts {display:grid;gap:5px}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-address {align-items:flex-start}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-address>span {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:19px;overflow-wrap:anywhere}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-address>svg {flex:none;margin-top:2px}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-blocks {font-size:12px;line-height:18px;color:var(--sl-text-muted);display:flex;align-items:center;gap:7px;margin:0}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-card-offer {border-top:0!important;padding-top:6px}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-card-actions {display:flex!important;flex-direction:column;align-items:stretch;gap:10px;margin-top:16px}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-card-actions>:is(.ds-action,.ds-resource) {width:100%!important;max-width:100%;box-sizing:border-box}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-resource {min-height:40px!important;padding:7px 12px!important}
 html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .fc-blocks>.ds-icon {width:14px;height:14px;flex:none}
 @media(hover:hover) {
  html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card:hover .ds-media img {transform:scale(1.025)!important}
 }
 @media(prefers-reduced-motion:reduce) {
  html#shellDemo[data-sellect-theme] .ds-refreshed-complex-card .ds-media img {transition:none!important;transform:none!important}
 }
}
