.bulk-create-design-switcher {
    interpolate-size: allow-keywords;
    margin-top: 28px;
    border: 1px solid #e4dde1;
    border-radius: 14px;
    background: #fff;
}

.bulk-create-design-switcher::details-content {
    block-size: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        content-visibility .26s allow-discrete,
        block-size .26s cubic-bezier(.22, 1, .36, 1),
        opacity .18s ease;
}

.bulk-create-design-switcher[open]::details-content {
    block-size: auto;
    opacity: 1;
}

.bulk-create-design-switcher-summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    min-height: 92px;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    color: #493f45;
    cursor: pointer;
    list-style: none;
}

.bulk-create-design-switcher-summary::-webkit-details-marker {
    display: none;
}

.bulk-create-design-switcher-summary:focus-visible {
    border-radius: 12px;
    outline: 2px solid var(--bulk-create-accent);
    outline-offset: 3px;
}

.bulk-create-design-switcher-preview {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e7e0e4;
    border-radius: 12px;
    background: #fff;
}

.bulk-create-design-switcher-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bulk-create-design-switcher-placeholder-icon,
.bulk-create-design-option-placeholder-icon {
    width: 28px;
    height: 28px;
    color: #c84b7c;
}

.bulk-create-design-switcher-current {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.bulk-create-design-switcher-current strong {
    overflow: hidden;
    font-size: 17px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-create-design-switcher-current > span {
    color: #746b71;
    font-size: 13px;
    line-height: 1.4;
}

.bulk-create-design-switcher-action {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #df6e9b;
    border-radius: 12px;
    background: #fff;
    color: var(--bulk-create-accent-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.bulk-create-design-switcher-summary:hover .bulk-create-design-switcher-action {
    border-color: var(--bulk-create-accent-dark);
    background: #fff8fa;
}

.bulk-create-design-switcher-grid-icon,
.bulk-create-design-switcher-chevron {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.bulk-create-design-switcher-chevron {
    transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}

.bulk-create-design-switcher[open] .bulk-create-design-switcher-chevron {
    transform: rotate(180deg);
}

.bulk-create-design-switcher-panel {
    transform: translateY(-6px);
    transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}

.bulk-create-design-switcher[open] .bulk-create-design-switcher-panel {
    transform: translateY(0);
}

.bulk-create-design-switcher-panel-inner {
    min-height: 0;
    overflow: hidden;
    border-top: 1px solid #eee7ea;
    border-radius: 0 0 13px 13px;
    background: #faf8f9;
}

.bulk-create-design-switcher-panel-content {
    padding: 4px 14px 18px;
}

.bulk-create-design-switcher-panel h2 {
    margin: 0 0 12px;
    color: #493f45;
    font-size: 16px;
    line-height: 1.5;
}

.bulk-create-design-switcher-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.bulk-create-design-switcher-filter {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #ddd4d9;
    border-radius: 999px;
    background: #fff;
    color: #5b5056;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.bulk-create-design-switcher-filter:hover,
.bulk-create-design-switcher-filter:focus-visible {
    border-color: #df6e9b;
    color: var(--bulk-create-accent-dark);
}

.bulk-create-design-switcher-filter:focus-visible {
    outline: 2px solid var(--bulk-create-accent);
    outline-offset: 2px;
}

.bulk-create-design-switcher-filter.is-active {
    border-color: var(--bulk-create-accent);
    background: var(--bulk-create-accent);
    color: #fff;
}

.bulk-create-design-switcher-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .16s ease,
        transform .2s cubic-bezier(.22, 1, .36, 1);
}

.bulk-create-design-switcher-grid.is-switching-out {
    opacity: 0;
    transform: translateY(7px);
}

.bulk-create-design-switcher-status {
    min-height: 24px;
    margin: 0 0 10px;
    color: #746b71;
    font-size: 13px;
    line-height: 1.6;
}

.bulk-create-design-option {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4dde1;
    border-radius: 12px;
    background: #fff;
    color: #493f45;
    text-decoration: none;
}

.bulk-create-design-option:hover,
.bulk-create-design-option:focus-visible {
    border-color: #df6e9b;
    background: #fff;
    color: var(--bulk-create-accent-dark);
    text-decoration: none;
}

.bulk-create-design-option:focus-visible {
    outline: 2px solid var(--bulk-create-accent);
    outline-offset: 2px;
}

.bulk-create-design-option.is-active {
    border-color: #df6e9b;
    box-shadow: inset 0 0 0 1px #df6e9b;
}

.bulk-create-design-option-media {
    display: flex;
    height: 126px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 14px;
    background: #fff;
}

.bulk-create-design-option-media img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.bulk-create-design-option-copy {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    padding: 2px 12px 14px;
    text-align: center;
}

.bulk-create-design-option-copy strong {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
}

.bulk-create-design-option-pro {
    flex: 0 0 auto;
    margin-left: 6px;
    padding: 1px 5px;
    border-radius: 999px;
    background: #fff0f5;
    color: var(--bulk-create-accent-dark);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
}

.bulk-create-design-option-copy > span {
    color: #776f74;
    font-size: 12px;
    line-height: 1.4;
}

.bulk-create-design-switcher-more {
    display: block;
    min-height: 44px;
    margin: 14px auto 0;
    padding: 0 20px;
    border: 1px solid #d8cfd4;
    border-radius: 999px;
    background: #fff;
    color: #5a4e55;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.bulk-create-design-switcher-more[hidden] {
    display: none;
}

.bulk-create-design-switcher-more:hover,
.bulk-create-design-switcher-more:focus-visible {
    border-color: #df6e9b;
    color: var(--bulk-create-accent-dark);
}

.bulk-create-design-switcher-more:focus-visible {
    outline: 2px solid var(--bulk-create-accent);
    outline-offset: 2px;
}

.bulk-create-design-switcher-more:disabled {
    cursor: wait;
    opacity: .6;
}

@media (max-width: 1100px) {
    .bulk-create-design-switcher-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bulk-create-design-switcher-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .bulk-create-design-switcher {
        margin-top: 18px;
    }

    .bulk-create-design-switcher-summary {
        grid-template-columns: 52px minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 108px;
        gap: 10px;
        padding: 10px 12px;
    }

    .bulk-create-design-switcher-preview {
        grid-row: 1 / span 2;
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .bulk-create-design-switcher-current {
        grid-column: 2;
        grid-row: 1;
    }

    .bulk-create-design-switcher-current strong {
        font-size: 15px;
    }

    .bulk-create-design-switcher-action {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        min-width: 44px;
        min-height: 44px;
        gap: 4px;
        padding: 0 9px;
        font-size: 12px;
    }

    .bulk-create-design-switcher-grid-icon {
        display: none;
    }

    .bulk-create-design-switcher-panel-content {
        padding: 4px 12px 14px;
    }

    .bulk-create-design-switcher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .bulk-create-design-option-media {
        height: 108px;
        padding: 10px;
    }

    .bulk-create-design-switcher-filter {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bulk-create-design-switcher-chevron,
    .bulk-create-design-switcher-panel {
        transition: none;
    }

    .bulk-create-design-switcher::details-content {
        transition: none;
    }

    .bulk-create-design-switcher-grid {
        transition: none;
    }
}
