/* Закладка «Свой дизайн» → /constructor/ (без Tailwind) */
#constructor-bookmark {
    --constructor-bookmark-width: 56px;
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 75;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: var(--constructor-bookmark-width);
    transform: translateY(-50%) translateX(-100%);
    transition: transform 0.7s ease-in-out;
    font-family: "General Sans", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#constructor-bookmark.constructor-bookmark--visible {
    transform: translateY(-50%) translateX(0);
}

/* Кнопка и полоска — одна ширина колонки */
#close-bookmark {
    box-sizing: border-box;
    width: 100%;
    height: 32px;
    margin: 0;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

#close-bookmark:hover {
    background: #000000;
    color: #ffffff;
}

#close-bookmark svg {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

#close-bookmark:hover svg {
    transform: rotate(90deg);
}

.constructor-bookmark__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
    width: 100%;
    padding: 2rem 0.5rem;
    background: #000000;
    border: 1px solid #000000;
    border-top: none;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.constructor-bookmark__link:hover {
    background: #ffffff;
    color: #000000;
}

.constructor-bookmark__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.constructor-bookmark__vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 300;
    margin-top: 0.5rem;
    white-space: nowrap;
}
