/* ===================== OVERLAY ===================== */

.rubricator-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    background: rgba(0,0,0,0.25);
}

.rubricator-overlay.is-open {
    display: block;
}

/* ===================== RUBRICATOR PANEL ===================== */

.rubricator-panel {
    position: fixed;
    top: var(--rubricator-top, 0);
    left: var(--rubricator-left, 0);

    width: var(--rubricator-width, 1300px);
    max-width: 100%;

    height: calc(100% - var(--rubricator-top, 0));

    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);

    border-radius: 12px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .rubricator-panel {
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
    }
}

/* ===================== HEADER ===================== */

.rubricator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
}

.rubricator-title {
    font-size: 16px;
    font-weight: 300;
}

.rubricator-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===================== BODY ===================== */

.rubricator-body {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* LEFT COLUMN */

.rubricator-left {
    width: 40%;
    border-right: 1px solid #eee;
    overflow-y: auto;
    background: #fff;
}

.rubricator-parent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rubricator-parent-item {
    border-bottom: 1px solid #f2f2f2;
}

.rubricator-parent-item a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.rubricator-parent-arrow {
    float: right;
    margin-right: 5px;
    color: #aaa;
}

.rubricator-parent-item:hover,
.rubricator-parent-item.is-active {
    background: #f9f9f9;
}

.rubricator-parent-item.is-active a {
    font-weight: 600;
}

/* RIGHT COLUMN */

.rubricator-right {
    width: 60%;
    overflow-y: auto;
    padding: 12px 16px;
    background: #fff;
}

.rubricator-submenu {
    display: none;
}

.rubricator-submenu.is-active {
    display: block;
}

.rubricator-submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rubricator-submenu li {
    border-bottom: 1px solid #f2f2f2;
}

.rubricator-submenu a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

/* ===================== BODY LOCK ===================== */

body.rubricator-open {
    overflow: hidden;
}

/* ====================================================
   BUTTON "KATALOG" — STYLE LIKE hero-stone-btn.primary
   ==================================================== */

.catalog-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    cursor: pointer !important;

    background: #f8cd63 !important;
    background-color: #f8cd63 !important;
    color: #2c2c2c !important;

    padding: 14px 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;

    border-radius: 5px !important;
    border: none !important;
    text-decoration: none !important;

    box-shadow: none !important;
    transition: all 0.3s !important;
}

.catalog-btn:hover {
    filter: brightness(0.92);
}

.catalog-btn:active {
    transform: scale(0.97);
}

.catalog-btn__text {
    display: inline-flex;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: inherit !important;
}

/* HAMBURGER / CLOSE ICON */

.catalog-btn__icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.catalog-btn__icon::before,
.catalog-btn__icon::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: currentColor !important;
    transform-origin: center;
    transition: transform 0.25s ease;
}

.catalog-btn__icon::before {
    transform: translateY(-4px);
}

.catalog-btn__icon::after {
    transform: translateY(4px);
}

.catalog-btn.is-open .catalog-btn__icon::before {
    transform: rotate(45deg);
}

.catalog-btn.is-open .catalog-btn__icon::after {
    transform: rotate(-45deg);
}
