/* Jibs Chapters V2.33 — launch-focused navigation and catalogue polish. */

/* Compact, premium shop dropdown: the catalogue grows without crowding the header. */
.o_rs_v233_shop_panel {
    width: min(780px, calc(100vw - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .72rem;
    padding: 1rem;
}
.o_rs_v233_shop_item {
    min-width: 0;
    border: 1px solid #e8edf1;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #fbfcfd);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.o_rs_v233_shop_item,
.o_rs_v233_shop_main {
    display: flex;
    align-items: center;
    gap: .78rem;
    padding: .86rem .92rem;
    color: #243b61;
    text-decoration: none;
}
a.o_rs_v233_shop_item:hover,
.o_rs_v233_shop_item_routines:hover {
    transform: translateY(-2px);
    border-color: #d7e5ea;
    box-shadow: 0 10px 26px rgba(23,51,95,.08);
}
.o_rs_v233_shop_main:hover { color: #243b61; }
.o_rs_v233_shop_icon {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    background: #eef8f8;
    color: #2b9ea4;
    font-size: 1.12rem;
    font-weight: 800;
}
.o_rs_v233_shop_main strong,
a.o_rs_v233_shop_item strong { display: block; color: #17335f; font-size: .88rem; line-height: 1.25; }
.o_rs_v233_shop_main small,
a.o_rs_v233_shop_item small { display: block; margin-top: .18rem; color: #718096; font-size: .72rem; line-height: 1.35; }
.o_rs_v233_shop_sub {
    display: flex;
    gap: .45rem;
    padding: 0 .92rem .82rem 3.95rem;
}
.o_rs_v233_shop_sub a {
    padding: .3rem .62rem;
    border-radius: 999px;
    background: #f2edff;
    color: #584394;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}
.o_rs_v233_shop_sub a:hover { background: #e8dfff; color: #49348c; }
.o_rs_v233_shop_all {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .66rem .8rem;
    border-radius: 13px;
    background: #fff7f1;
    color: var(--rs-coral);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}
.o_rs_v233_shop_all:hover { background: #ffefe4; color: var(--rs-coral); }

/* Launch catalogue: large categories, only meaningful routine sub-filters, no empty sidebar. */
.o_rs_v210_shop_intro { padding-bottom: 1.7rem; }
.o_rs_v210_main_tabs { gap: .42rem; padding: .4rem; }
.o_rs_v210_main_tabs a { padding: .78rem .86rem; }
.o_rs_v210_sub_tabs { justify-content: flex-end; margin-top: .72rem; }
.o_rs_v210_catalog { padding-top: .35rem; }
.o_rs_v210_toolbar {
    margin-bottom: 1.45rem;
    padding: .55rem;
    border: 1px solid #e8edf1;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(23,51,95,.045);
}
.o_rs_v210_search input { box-shadow: none; }
.o_rs_v210_product_grid { --bs-gutter-y: 1.5rem; }

@media (max-width: 1199.98px) {
    .o_rs_v233_shop_panel {
        width: 100%;
        max-height: min(65vh, 560px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .o_rs_v210_sub_tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .15rem; }
}
@media (max-width: 575.98px) {
    .o_rs_v233_shop_panel { grid-template-columns: 1fr; }
    .o_rs_v233_shop_all { grid-column: auto; }
    .o_rs_v210_shop_intro { padding-bottom: 1.15rem; }
    .o_rs_v210_toolbar { padding: .7rem; }
}
