#section-products #products-list.berlin-layout-list-hidden,
.berlin-layout-root[hidden], .bl-view-switch[hidden] { display: none !important; }
.bl-view-switch, .bl-editor-head, .bl-editor-actions, .bl-mode-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bl-view-switch { margin: 16px 0; }
.berlin-layout-root { width: 100%; min-width: 0; color: #eee8f6; text-align: start; }
.bl-editor-head { justify-content: space-between; border-bottom: 1px solid #42354f; padding-block: 14px; }
.bl-editor-head h3 { margin: 0; font-size: 21px; }
.bl-button { display: inline-flex; gap: 7px; align-items: center; justify-content: center; min-height: 36px; min-width: 36px; padding: 7px 10px; border: 1px solid #59436c; border-radius: 6px; background: #21142f; color: #f3eaff; font: inherit; font-size: 13px; cursor: pointer; }
.bl-button:hover, .bl-button[aria-pressed="true"] { border-color: #b685ef; background: #553080; }
.bl-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bl-button:disabled { opacity: .4; cursor: default; }
#bl-save-layout { background: #187e49; border-color: #46b67b; color: #fff; }
.bl-mode-bar { padding-block: 14px; }
.bl-save-state { margin-inline-start: auto; color: #b9b3c6; font-size: 13px; }
.bl-canvas { width: 100%; min-width: 0; max-width: 100%; margin-inline: auto; padding: 16px; box-sizing: border-box; background: #100a1c; }
.bl-canvas[data-device="mobile"] { max-width: 410px; padding: 10px; }
.bl-zone { padding-block: 8px 24px; margin: 0; border: 0; background: transparent; }
.bl-zone-heading { font-size: 16px; margin: 12px 0 18px; color: #dad2e9; }
.bl-grid { display: grid; grid-template-columns: repeat(var(--bl-columns, 2), minmax(0, 1fr)); gap: 30px 25px; min-height: 90px; min-width: 0; align-items: start; direction: rtl; }
[data-zone="more"].bl-grid { border-block: 1px dashed #76618b; padding-block: 16px; }
.bl-card { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border: 1px solid #38303e; border-radius: 0; background: #090d16; box-sizing: border-box; isolation: isolate; }
.bl-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-card-copy { position: absolute; inset: auto 0 0; padding: 40px 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.88)); text-align: center; pointer-events: none; }
.bl-card-copy h4 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.5; margin: 0 0 4px; overflow-wrap: anywhere; color: #fff; }
.bl-card-price { font-size: 13px; font-weight: 800; margin: 0; color: #ffda42; }
[data-mode="preview"] .bl-card-copy h4 { opacity: 0; }
[data-mode="preview"] .bl-card:hover .bl-card-copy h4 { opacity: 1; }
.bl-drag-handle { position: absolute; inset: 6px auto auto 6px; background: #130b20e8; cursor: grab; touch-action: none; }
.bl-card-controls { position: absolute; inset: 6px 6px auto auto; display: flex; flex-wrap: wrap; gap: 3px; justify-content: end; max-width: calc(100% - 52px); }
.bl-card-controls .bl-button { min-width: 28px; width: 28px; height: 28px; min-height: 28px; padding: 4px; font-size: 11px; background: #130b20e8; }
.bl-source-dialog { width: min(480px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: 80vh; box-sizing: border-box; overflow-y: auto; padding: 20px; border: 1px solid #80609f; border-radius: 8px; background: #1b1028; color: #f0e8fa; }
.bl-source-dialog::backdrop { background: #000b; }
.bl-source-dialog h3 { font-size: 17px; overflow-wrap: anywhere; }
.bl-source-dialog > .bl-button { width: 100%; margin-block: 5px; text-align: start; overflow-wrap: anywhere; }
.bl-bundle-divider { display: flex; align-items: center; gap: 18px; color: #ffda42; text-align: center; margin-block: 28px; }
.bl-bundle-divider::before, .bl-bundle-divider::after { content: ""; flex: 1; height: 1px; background: #806b29; }
.bl-preview-more { display: flex; justify-content: center; padding: 24px 0; }
.bl-empty { grid-column: 1 / -1; margin: 0; padding: 28px 10px; text-align: center; color: #b6abca; }
.bl-error { padding: 20px 0; color: #ffb3b3; }
.bl-drag-ghost { opacity: .3; border: 2px dashed #dfb7ff; }
.bl-drag-chosen { outline: 2px solid #fff; outline-offset: 1px; }
.bl-canvas[data-device="mobile"] .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.bl-canvas [data-zone="bundles"].bl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; }
.bl-canvas[data-device="mobile"] [data-zone="bundles"].bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.bl-canvas[data-device="mobile"] .bl-card-copy h4 { font-size: 11px; -webkit-line-clamp: 2; }
.bl-canvas[data-device="mobile"] .bl-card-price { font-size: 11px; }
@media (max-width: 900px) { .bl-canvas [data-zone="bundles"].bl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bl-canvas [data-zone="bundles"].bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .bl-canvas { padding: 8px; }
    .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
    .bl-card-copy h4 { font-size: 11px; -webkit-line-clamp: 2; }
    .bl-card-price { font-size: 11px; }
    .bl-editor-head { align-items: start; }
    .bl-editor-actions { gap: 4px; }
    .bl-save-state { width: 100%; margin: 0; }
}
