/* OB components: page-level overrides of BuddyBoss/LearnDash/WooCommerce defaults.
 * Loaded after design.css. Same file in OB Theme and OB Platform (keep identical).
 * Figma JgqOwBW0vpPQaUfNgg3imF — 30:2 (desktop), 85:2 (post), 12:2 (mobile).
 */

/* ---------- Layout: header and content share the 1180 px / 32 px grid ---------- */
@media (min-width:800px) {
 body.ob-design:not(.ob-auth) { --bb-header-height:76px !important; }
}
body.ob-design:not(.ob-auth) :is(.site-header .container,.site-footer .container,.footer-bottom .container),
body.ob-design:not(.ob-auth):not(.elementor-template-full-width):not(.elementor-template-canvas):not([class*=template-elementor_header_footer]) #content > .container {
 width:100%; max-width:1180px; padding-inline:32px; box-sizing:border-box; margin-inline:auto;
}
body.ob-design:not(.ob-auth):not(.elementor-template-full-width):not(.elementor-template-canvas):not([class*=template-elementor_header_footer]) #content { padding-inline:0; }
@media (max-width:800px) {
 body.ob-design:not(.ob-auth) :is(.site-header .container,.site-footer .container,.footer-bottom .container),
 body.ob-design:not(.ob-auth):not(.elementor-template-full-width):not(.elementor-template-canvas):not([class*=template-elementor_header_footer]) #content > .container { padding-inline:18px; }
}
/* Elementor full-width / canvas / header-footer templates own their layout: keep BuddyBoss'
 * native 100 % container with no padding so sections reach the viewport edges. */
body.ob-design:is(.elementor-template-full-width,.elementor-template-canvas,[class*=template-elementor_header_footer]) #content > .container { max-width:100%; padding:0; }

/* ---------- Header (30:2): logo 208 px, centered 14/600 menu, icon row ---------- */
body.ob-design .site-header .site-header-container { align-items:center; min-height:var(--bb-header-height); }
body.ob-design .site-header .site-branding { display:flex; align-items:center; }
body.ob-design .site-header #primary-navbar,
body.ob-design .site-header .primary-menu { align-items:center; }
body.ob-design .site-header .primary-menu > li { display:flex; align-items:center; }
body.ob-design .site-header .primary-menu > li > a {
 display:flex !important; align-items:center; height:var(--bb-header-height); line-height:20px; padding-block:0; margin:0;
}
body.ob-design .site-header .primary-menu > li { margin:0; padding:0; }
body.ob-design .site-header .primary-menu > li > a { padding-inline:0 !important; }
/* 20 px gap as padding: BuddyBoss' overflow (navListOrder) sums offsetWidth, which ignores margins,
 * so a margin gap let the last item wrap under the header instead of moving into "···". */
body.ob-design .site-header .primary-menu > li + li { margin-left:0; padding-left:20px; }
body.ob-design .site-header .header-aside-inner { display:flex; align-items:center; gap:16px; }
body.ob-design .site-header :is(.header-search-link,.notification-link,.header-cart-link,.messages-link) { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; padding:0 !important; color:#374151 !important; }
body.ob-design .site-header :is(.header-search-link,.notification-link,.header-cart-link,.messages-link) > i { flex:none; }
/* Search bar opened from the header icon: full-width field on the 1180 px grid (30:2 field style). */
body.ob-design .site-header .header-search-wrap { background:#fff !important; border-bottom:1px solid var(--ob-border); }
body.ob-design .site-header .header-search-wrap .container { display:flex; align-items:center; gap:16px; height:100%; }
body.ob-design .site-header .header-search-wrap .search-form { flex:1; display:flex; align-items:center; max-width:none; width:auto; margin:0; height:auto; }
body.ob-design .site-header .header-search-wrap .search-form label { flex:1; margin:0; }
body.ob-design .site-header .header-search-wrap input[type=search] {
 width:100% !important; height:44px !important; min-height:44px; margin:0; padding:0 16px 0 44px !important; box-sizing:border-box;
 background:#f7f8fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%237A8089' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5l5 5'/%3E%3C/svg%3E") 14px 50% / 20px no-repeat !important;
 border:1px solid var(--ob-border) !important; border-radius:10px !important; box-shadow:none !important;
 font-size:15px; line-height:22px; color:#131313 !important;
}
body.ob-design .site-header .header-search-wrap input[type=search]:is(:focus,:focus-visible) { border-color:var(--ob-gold) !important; background-color:#fff !important; box-shadow:0 0 0 3px #d5a01933 !important; outline:0 !important; }
body.ob-design .site-header .header-search-wrap input[type=search]::placeholder { color:var(--ob-meta); }
body.ob-design .site-header .header-search-wrap .close-search { position:static; flex:none; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; color:#374151 !important; }
body.ob-design .site-header .bb-separator { width:1px; height:24px; background:#d5d8dd; margin:0; }
body.ob-design .site-header .user-wrap .user-link { display:flex; align-items:center; gap:6px; }
body.ob-design .site-header .user-wrap .user-link img { width:36px; height:36px; border-radius:50%; }
body.ob-design .site-header .user-wrap .user-name { font-size:14px; font-weight:500; color:#1f2937 !important; }
body.ob-design .bb-mobile-header { height:68px; }
body.ob-design .bb-mobile-header .flex-1, body.ob-design .bb-mobile-header .bb-mobile-header-inner { align-items:center; }
/* Mobile header icons (12:2): search | bell centred on the 68 px bar, 12 px around the divider. */
body.ob-design .bb-mobile-header .header-aside { display:flex; align-items:center; gap:12px; height:100%; }
body.ob-design .bb-mobile-header .header-aside .bb-separator { margin:0; }
body.ob-design .bb-mobile-header .header-aside :is(.notification-wrap,.messages-wrap,.header-cart-wrap) { display:flex; align-items:center; height:auto; padding:0 !important; margin:0 !important; }
body.ob-design .bb-mobile-header .header-aside :is(.header-search-link,.notification-link,.header-cart-link,.messages-link) { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; padding:0 !important; margin:0 !important; }
body.ob-design .bb-mobile-header .header-aside :is(.notification-link,.header-cart-link,.messages-link) > span { display:block; position:relative; width:24px; height:24px; }
body.ob-design .bb-mobile-header .header-aside .count { top:-6px; right:-6px; left:auto; }

/* ---------- Icon controls: no grey/gold boxes on hover, focus or press ---------- */
body.ob-design :is(
 .activity-meta .generic-button > a.button, .activity-meta a.button, .activity-meta .button,
 .acomment-foot-actions a, .acomment-foot-actions .button,
 #whats-new-toolbar .toolbar-button, .post-elements-buttons-item > a,
 .bb-activity-more-options-action, .bb-pin-action_button, .bb-mute-action_button, .bb-close-action-popup,
 .site-header :is(.header-search-link,.notification-link,.header-cart-link,.messages-link,.user-link),
 .bb-mobile-header :is(a,button), .bb-share-btn, .bb-reaction-button
):is(:hover,:focus,:focus-visible,:active,[aria-expanded=true]) {
 background:transparent !important; background-color:transparent !important; box-shadow:none !important; border-color:transparent !important;
}
body.ob-design :is(.activity-meta .button,.acomment-foot-actions a,#whats-new-toolbar .toolbar-button,.bb-activity-more-options-action):hover { color:#111827 !important; }
body.ob-design .activity-meta :is(.button,a.button) { border:0 !important; background:transparent !important; box-shadow:none !important; }
/* The labelled reaction button in Post abierto keeps its outline, even on hover. */
body.ob-design #activity-modal .activity-meta .bp-like-button:is(:hover,:focus) { border-color:var(--ob-border) !important; }
body.ob-design #activity-modal .activity-meta .bp-like-button { border:1px solid var(--ob-border) !important; }
body.ob-design :is(.bb-activity-more-options-action,.bb-pin-action_button,.bb-mute-action_button) { border:0 !important; background:transparent !important; box-shadow:none !important; }

/* ---------- Posts: neutral hover; only pinned is gold ---------- */
@media (hover:hover) {
 body.ob-design .activity-list.bp-list > .activity-item:not(.bb-pinned):hover { box-shadow:0 4px 14px rgb(17 24 39 / 7%) !important; }
 body.ob-design .activity-list.bp-list > .activity-item.bb-pinned:hover { box-shadow:0 0 14px rgb(213 160 25 / 35%) !important; }
}

/* ---------- Profiles and groups: one card per block, flat sub-navigation ---------- */
body.ob-design :is(#item-header-cover-image,.bb-user-content-wrap) { box-shadow:none; }
body.ob-design #item-header :is(h1,h2,.bb-user-name,.group-title) { font-size:28px; line-height:32px; letter-spacing:-.4px; color:#111827; }
body.ob-design #item-header :is(.item-meta,.member-header-meta,.bb-member-meta) { color:#9ca3af; font-size:13px; }
body.ob-design :is(.bp-wrap,.bp-profile-wrapper,.bp-group-wrapper) { box-shadow:none !important; }
body.ob-design :is(#object-nav,.main-navs) li > a { color:#6b7280; font-size:14px; font-weight:500; padding-block:14px; }
body.ob-design :is(#object-nav,.main-navs) li:is(.selected,.current) > a { color:#111827; font-weight:600; }
body.ob-design .bp-navs.bp-subnavs { border:0; border-bottom:1px solid var(--ob-border); padding:0 0 12px; margin:0 0 16px; background:transparent !important; box-shadow:none !important; }
body.ob-design .bp-navs.bp-subnavs ul { display:flex; flex-flow:row wrap; gap:6px; margin:0; padding:0; }
body.ob-design .bp-navs.bp-subnavs li { margin:0 !important; padding:0 !important; border:0 !important; }
body.ob-design .bp-navs.bp-subnavs li > a { display:inline-flex; align-items:center; padding:4px 12px; border:0 !important; border-radius:12px; background:#e5e7eb; color:#4b5563 !important; font-size:12px; font-weight:500; line-height:16px; box-shadow:none !important; }
body.ob-design .bp-navs.bp-subnavs li:is(.selected,.current) > a { background:#6b7280; color:#fff !important; }
body.ob-design .bp-navs.bp-subnavs li > a:after { display:none; }
/* Inner page containers are plain: the profile/group wrapper is the card. */
body.ob-design :is(.bp-profile-wrapper,.bp-group-wrapper) :is(.bb-media-container,.bb-document-container,.bb-video-container,#media-stream,#video-stream,.bp-profile-content,.item-body-inner,.media-folder_items) {
 background:transparent !important; border:0 !important; box-shadow:none !important; border-radius:0 !important; padding-inline:0;
}

/* ---------- Notices: light, flat ---------- */
body.ob-design .bp-feedback { box-sizing:border-box; width:100%; display:flex; align-items:center; gap:0; background:#f7f8fa !important; border:1px solid var(--ob-border) !important; border-radius:10px; box-shadow:none !important; overflow:hidden; color:#374151; }
body.ob-design .bp-feedback .bp-icon { background:#e5e7eb !important; color:#374151 !important; }
body.ob-design .bp-feedback .bp-icon:before { color:#374151 !important; }
body.ob-design .bp-feedback.error .bp-icon { background:#fde8e8 !important; }
body.ob-design .bp-feedback.success .bp-icon { background:#e3f3ea !important; }
body.ob-design .bp-feedback.warning .bp-icon { background:#fff2cc !important; }

/* ---------- Directories: members, groups, media grids ---------- */
body.ob-design :is(.members-list,.groups-list) > li > :is(.list-wrap,.item-entry) { background:#fff; border:1px solid var(--ob-border); border-radius:10px; box-shadow:none; }
body.ob-design :is(.members-list,.groups-list) > li { border:0 !important; background:transparent !important; }
body.ob-design .bp-list :is(.item-avatar img,.avatar) { border-radius:50%; }
body.ob-design :is(.media-list,.bb-photos-wrap,.bb-video-list) :is(.bb-photo-thumb,.bb-video-thumb,.media-action-wrap) { border-radius:12px; overflow:hidden; }
body.ob-design .bp-dir-search-form input[type=search],
body.ob-design .bp-search input[type=search] { background:#f7f8fa !important; border:1px solid var(--ob-border) !important; border-radius:10px !important; }

/* ---------- Courses (LearnDash Course Grid v1/v2, BuddyBoss course cards) ---------- */
body.ob-design :is(.ld-course-list-items,.learndash-course-grid .items-wrapper,.bb-course-items) { gap:20px; }
/* Course list: a real grid. Bootstrap's 25 % columns plus the 20 px gap wrapped to 3 per row and left
 * the 4th slot empty; cards stretch so "Ver más" sits on one line across the row. */
body.ob-design .ld-course-list-items.row { display:grid !important; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:20px; margin:0 !important; }
body.ob-design .ld-course-list-items.row > .ld_course_grid { width:auto !important; max-width:none !important; flex:none !important; float:none !important; margin:0 !important; padding:0 !important; }
body.ob-design .ld-course-list-items .bb-card-course-details > .ld_course_grid_button { margin-top:auto !important; }
body.ob-design :is(.ld-course-list-items .ld_course_grid,.learndash-course-grid .item,.bb-course-items > li) { border:0 !important; background:transparent !important; box-shadow:none !important; padding:0; }
body.ob-design :is(.ld-course-list-items .ld_course_grid > article,.ld-course-list-items .ld_course_grid > .bb-cover-list-item,.ld_course_grid .thumbnail.course,.learndash-course-grid .item > .post,.learndash-course-grid .item .ld-cg-card,.bb-course-items .bb-cover-list-item) {
 display:flex; flex-direction:column; height:100%; margin:0; padding:0 !important; background:#fff !important; border:1px solid var(--ob-border) !important; border-radius:10px !important; box-shadow:none !important; overflow:hidden;
}
body.ob-design :is(.ld_course_grid .thumbnail.course,.learndash-course-grid .item > .post):hover { box-shadow:0 4px 14px rgb(17 24 39 / 7%) !important; }
body.ob-design :is(.ld_course_grid .thumbnail.course > a > img,.ld_course_grid .thumbnail.course img.wp-post-image,.learndash-course-grid .thumbnail img,.bb-course-cover img) { display:block; width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; border-radius:0; }
body.ob-design :is(.ld_course_grid .caption,.learndash-course-grid .content,.bb-card-course-details) { display:flex; flex-direction:column; flex:1; gap:8px; padding:16px !important; }
body.ob-design :is(.ld_course_grid .entry-title,.learndash-course-grid .entry-title,.bb-course-title) {
 margin:0 !important; font-size:20px !important; line-height:22px !important; letter-spacing:-.3px; font-weight:700; color:#111827 !important; text-transform:none !important;
}
body.ob-design :is(.ld_course_grid .entry-title,.learndash-course-grid .entry-title,.bb-course-title) a { color:inherit !important; }
body.ob-design :is(.ld_course_grid .entry-content,.learndash-course-grid .entry-content,.bb-course-excerpt) { font-size:14px; line-height:20px; color:#374151; text-transform:none; margin:0; }
body.ob-design :is(.ld_course_grid,.learndash-course-grid) :is(.ld-status,.course-meta,.lessons,.ld-course-meta,.meta) { font-size:12px; line-height:16px; color:#6b7280; text-transform:none; }
body.ob-design :is(.ld_course_grid .ribbon,.learndash-course-grid .ribbon,.bb-course-cover .ld-status,.ld-status.ld-status-complete,.ld-status.ld-status-progress,.ld-status.ld-status-incomplete) {
 background:var(--ob-gold) !important; color:#321009 !important; border:0 !important; border-radius:999px !important; padding:2px 8px !important; font-size:11px !important; font-weight:700 !important; line-height:14px !important; letter-spacing:0; box-shadow:none !important;
}
body.ob-design :is(.ld_course_grid .ribbon,.learndash-course-grid .ribbon):before,
body.ob-design :is(.ld_course_grid .ribbon,.learndash-course-grid .ribbon):after { display:none !important; }
body.ob-design :is(.ld_course_grid .thumbnail.course,.learndash-course-grid .item > .post) { position:relative; }
body.ob-design :is(.ld_course_grid .ribbon,.learndash-course-grid .ribbon) { position:absolute !important; z-index:2; top:12px !important; left:12px !important; right:auto !important; width:auto !important; height:auto !important; text-transform:uppercase; }
body.ob-design :is(.ld_course_grid .ld_course_grid_button,.learndash-course-grid .button) { margin:auto 0 0 !important; padding:0 !important; }
body.ob-design :is(.ld_course_grid .btn-primary,.ld_course_grid .ld_course_grid_button a,.learndash-course-grid .button a,.learndash-course-grid a.button,.bb-course-items .ld-button,.learndash-wrapper .ld-button:not(.ld-button-transparent)) {
 display:flex; align-items:center; justify-content:center; min-height:44px; margin:0; padding:10px 20px !important; background:var(--ob-gold) !important; color:#131313 !important; border:1px solid var(--ob-gold) !important; border-radius:10px !important; box-shadow:none !important; font-size:14px !important; font-weight:700 !important; text-transform:none !important; text-shadow:none !important;
}
body.ob-design :is(.ld_course_grid .btn-primary,.learndash-course-grid .button a,.learndash-wrapper .ld-button):hover { filter:brightness(.95); }
body.ob-design :is(.ld-progress-bar,.learndash-course-grid .progress-bar,.ld_course_grid .ld-progress-bar,.bb-progress-bar) { background:#e5e7eb !important; border-radius:999px; height:6px; overflow:hidden; }
body.ob-design :is(.ld-progress-bar-percentage,.learndash-course-grid .progress-bar .progress,.ld_course_grid .ld-progress-bar-percentage,.bb-progress-bar .bb-progress) { background:var(--ob-gold) !important; }
body.ob-design .learndash-wrapper :is(.ld-item-list .ld-item-list-item,.ld-table-list,.ld-course-status) { border:1px solid var(--ob-border) !important; border-radius:10px !important; box-shadow:none !important; }

/* Course page (not focus mode): white title over the course banner image, gold CTA instead of
 * LearnDash's colour setting (green), white status card and lesson rows like the feed cards. */
body.ob-design:not(.ld-in-focus-mode) .bb-learndash-banner :is(h1,.entry-title) { color:#fff !important; text-shadow:0 1px 2px rgb(0 0 0 / 25%); }
body.ob-design:not(.ld-in-focus-mode) .bb-learndash-banner :is(p,.bb-course-excerpt,.anchor-course-points,.bb-course-points a) { color:#fff !important; }
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper :is(.btn-advance,.learndash_join_button input[type=submit],a.btn-join,#btn-join,.ld-course-status-action .ld-button) {
 display:flex; align-items:center; justify-content:center; min-height:44px; background:var(--ob-gold) !important; color:#131313 !important; border:0 !important; border-radius:10px !important; box-shadow:none !important; font-size:14px !important; font-weight:700 !important; text-transform:none !important;
}
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper :is(.btn-advance,.learndash_join_button input[type=submit],a.btn-join,#btn-join):hover { filter:brightness(.95); }
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper .ld-progress-percentage { color:#111827 !important; }
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper :is(.ld-course-status,.ld-item-list .ld-item-list-item) { background:#fff !important; }
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name { font-size:15px; line-height:22px; font-weight:600; color:#111827 !important; }
body.ob-design:not(.ld-in-focus-mode) .learndash-wrapper .ld-item-list .ld-item-list-item:hover { box-shadow:0 4px 14px rgb(17 24 39 / 7%) !important; }

/* ---------- WooCommerce: shop cards like the course cards ---------- */
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product { display:flex !important; flex-direction:column; padding:0 !important; background:#fff !important; border:1px solid var(--ob-border) !important; border-radius:10px !important; box-shadow:none !important; overflow:hidden; }
@media (hover:hover) { :is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product:hover { box-shadow:0 4px 14px rgb(17 24 39 / 7%) !important; } }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product > a.woocommerce-LoopProduct-link { display:flex; flex-direction:column; flex:1; position:relative; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product a img { width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; margin:0 !important; border-radius:0 !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .woocommerce-loop-product__title { margin:0 !important; padding:16px 16px 0 !important; text-align:left !important; font-size:16px !important; line-height:22px !important; font-weight:700 !important; letter-spacing:-.2px; color:#111827 !important; text-transform:none !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .price { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; margin:0 !important; padding:6px 16px 0 !important; text-align:left !important; font-size:15px !important; color:#111827 !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .price :is(ins,.amount) { color:#111827 !important; font-weight:700 !important; text-decoration:none; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .price :is(del,del .amount) { color:#9ca3af !important; font-weight:400 !important; font-size:13px; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product :is(.button,.added_to_cart) { display:flex !important; align-items:center; justify-content:center; min-height:44px; width:auto !important; margin:16px !important; padding:10px 20px !important; background:var(--ob-gold) !important; color:#131313 !important; border:0 !important; border-radius:10px !important; box-shadow:none !important; font-size:14px !important; font-weight:700 !important; line-height:20px; text-transform:none !important; letter-spacing:0; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .added_to_cart { margin-top:-8px !important; background:#fff !important; border:1px solid var(--ob-border) !important; color:#374151 !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product .button:hover { filter:brightness(.95); }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) ul.products li.product :is(.button,.added_to_cart) { align-self:stretch; flex:none !important; max-width:none !important; height:44px !important; min-height:44px !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; float:none !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) span.onsale { position:absolute !important; top:12px !important; left:12px !important; right:auto !important; z-index:2; min-width:0 !important; min-height:0 !important; margin:0 !important; padding:2px 8px !important; border-radius:999px !important; background:var(--ob-gold) !important; color:#321009 !important; font-size:11px !important; font-weight:700 !important; line-height:14px !important; text-transform:none !important; }
:is(body.ob-design.woocommerce,body.ob-design .woocommerce) .woocommerce-ordering select { min-height:40px; border-radius:10px; border:1px solid var(--ob-border); background-color:#fff; }

/* ---------- Cart and checkout: one card per block, no nested borders ---------- */
body.ob-design:is(.woocommerce-cart,.woocommerce-checkout) :is(.entry-content,#primary,.site-main) > div.woocommerce,
body.ob-design:is(.woocommerce-cart,.woocommerce-checkout) .entry-content div.woocommerce:not(.widget) { background:transparent !important; border:0 !important; border-radius:0 !important; padding:0 !important; box-shadow:none !important; }
body.ob-design .woocommerce :is(.woocommerce-cart-form,.cart_totals,#customer_details,#order_review) { background:#fff !important; border:1px solid var(--ob-border) !important; border-radius:10px !important; box-shadow:none !important; }
body.ob-design .woocommerce .woocommerce-cart-form { overflow:hidden; }
body.ob-design .woocommerce :is(.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order) table.shop_table { border:0 !important; border-radius:0 !important; margin:0 !important; width:100% !important; }
body.ob-design .woocommerce table.shop_table :is(th,td) { border-color:var(--ob-border) !important; }
body.ob-design .woocommerce table.shop_table thead th { background:#f7f8fa !important; font-size:12px; font-weight:700; letter-spacing:.3px; color:#6b7280; }
body.ob-design .woocommerce table.shop_table td.product-name a { color:#111827; font-weight:600; }
body.ob-design .woocommerce table.shop_table td.actions { padding:16px !important; }
body.ob-design .woocommerce .coupon :is(#coupon_code,input.input-text) { width:220px !important; min-height:44px; }
body.ob-design .woocommerce .coupon .button { min-height:44px; }
body.ob-design .woocommerce .cart-collaterals { display:flex; justify-content:flex-end; margin-top:24px; }
body.ob-design .woocommerce .cart-collaterals .cart_totals { float:none !important; width:420px !important; max-width:100%; padding:20px !important; }
body.ob-design .woocommerce .cart_totals > h2 { margin:0 0 12px; font-size:16px; line-height:22px; font-weight:700; color:#111827; text-transform:none; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) :is(tbody,tfoot) :is(th,td) { background:transparent !important; padding:12px 0 !important; border-left:0 !important; border-right:0 !important; border-bottom:0 !important; border-top:1px solid var(--ob-border) !important; font-size:14px !important; line-height:20px; text-transform:none !important; letter-spacing:0; vertical-align:top; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) :is(tbody,tfoot) th { text-align:left !important; font-weight:400 !important; color:#6b7280 !important; width:auto !important; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) :is(tbody,tfoot) td { text-align:right !important; color:#111827 !important; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) tr:first-child :is(th,td) { border-top:0 !important; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) .order-total :is(th,td) { font-weight:700 !important; color:#111827 !important; }
body.ob-design .woocommerce :is(.cart_totals,.woocommerce-checkout-review-order-table) .first-payment-date small { display:block; color:#9ca3af; font-size:12px; }
body.ob-design .woocommerce .wc-proceed-to-checkout { padding:16px 0 0 !important; }
body.ob-design .woocommerce :is(.wc-proceed-to-checkout .checkout-button,#place_order) { float:none !important; display:flex !important; align-items:center; justify-content:center; width:100% !important; min-height:48px; margin:0 !important; padding:12px 20px !important; background:var(--ob-gold) !important; color:#131313 !important; border:0 !important; border-radius:10px !important; box-shadow:none !important; font-size:15px !important; font-weight:700 !important; text-transform:none !important; letter-spacing:0; }
body.ob-design .woocommerce :is(.wc-proceed-to-checkout .checkout-button,#place_order):hover { filter:brightness(.95); }
body.ob-design .woocommerce :is(#customer_details,#order_review) { padding:24px !important; }
body.ob-design.woocommerce-checkout :is(.woocommerce-billing-fields > h3,.woocommerce-shipping-fields > h3,.woocommerce-additional-fields > h3,#order_review_heading) { margin:0 0 16px !important; font-size:16px !important; line-height:22px !important; font-weight:700 !important; letter-spacing:0 !important; color:#111827 !important; text-transform:none !important; }
body.ob-design .woocommerce-checkout-review-order-table thead th { background:transparent !important; padding:0 0 12px !important; border:0 !important; }
body.ob-design .woocommerce-checkout-review-order-table td.product-total { white-space:nowrap; }
body.ob-design .woocommerce #payment { background:transparent !important; border-radius:0 !important; }
body.ob-design .woocommerce #payment .payment_box { background:#f7f8fa !important; border-radius:10px !important; }
body.ob-design .woocommerce #payment .payment_box::before { display:none !important; }
body.ob-design .woocommerce #payment .place-order { padding:16px 0 0 !important; }
body.ob-design .woocommerce .custom-checkout-message { margin:16px 0 0 !important; padding:12px 16px !important; background:#fff8e7 !important; border:1px solid #f3dfa6 !important; border-radius:10px !important; color:#321009 !important; font-size:14px !important; line-height:20px !important; font-weight:500 !important; }
body.ob-design .woocommerce .bb-order-review { padding:24px !important; border:1px solid var(--ob-border) !important; border-radius:10px !important; background:#fff !important; box-shadow:none !important; }
body.ob-design .woocommerce .bb-order-review #order_review { padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; }
body.ob-design .woocommerce .woocommerce-checkout-review-order-table tbody td.product-name { text-align:left !important; color:#111827 !important; font-weight:600; }
body.ob-design .woocommerce .woocommerce-checkout-review-order-table tbody td.product-name :is(.product-quantity,.bs-product-qty,dl,dt,dd) { font-size:12px; font-weight:400; color:#6b7280; text-transform:none; text-align:left; }
body.ob-design .woocommerce .woocommerce-checkout-review-order-table tbody td.product-name .bs-product-check { display:flex; align-items:center; gap:12px; text-align:left; }
body.ob-design .woocommerce .woocommerce-checkout-review-order-table tbody td.product-name img { width:48px; height:48px; border-radius:8px; object-fit:cover; }

/* ---------- Page titles and plain pages ---------- */
body.ob-design :is(.entry-header .entry-title,.page-header .page-title,.bb-learndash-content-wrap .entry-title) { font-size:28px; line-height:32px; letter-spacing:-.4px; color:#111827; font-weight:700; }
body.ob-design .entry-content > :is(p,ul,ol) { color:#374151; font-size:16px; line-height:22px; }

/* ---------- WooCommerce ---------- */
body.ob-design .woocommerce :is(.price,.amount) { color:#111827; font-weight:700; }

/* ---------- Forums ---------- */
body.ob-design #bbpress-forums :is(.bs-forums-items,.bs-item-list) > li { background:#fff; border:1px solid var(--ob-border); border-radius:10px; margin-bottom:12px; }
body.ob-design #bbpress-forums :is(.bbp-topic-title,.bbp-forum-title) a { color:#111827; font-weight:700; }

@media (max-width:800px) {
 body.ob-design #item-header :is(h1,h2,.bb-user-name,.group-title) { font-size:24px; line-height:28px; }
 body.ob-design :is(.ld-course-list-items,.learndash-course-grid .items-wrapper) { gap:12px; }
}

/* ===== Producto individual (WooCommerce): misma tarjeta, tipografía y botones que Comunidad ===== */
body.ob-design.single-product .woocommerce-breadcrumb { margin:0 0 16px; color:#6b7280; font-size:13px; line-height:18px; }
body.ob-design.single-product .woocommerce-breadcrumb a { color:#6b7280; text-decoration:none; }
body.ob-design.single-product .woocommerce-breadcrumb a:hover { color:#111827; }
body.ob-design.single-product div.product .product_title { margin:0 0 12px; color:#111827; font-size:28px; line-height:34px; font-weight:700; letter-spacing:-.02em; text-transform:none; }
body.ob-design.single-product div.product .summary .price { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; margin:0 0 20px; color:#111827 !important; font-size:22px; line-height:28px; font-weight:700; }
body.ob-design.single-product div.product .summary .price :is(ins, .amount) { color:#111827 !important; text-decoration:none; font-weight:700; }
body.ob-design.single-product div.product .summary .price del,
body.ob-design.single-product div.product .summary .price del .amount { color:#9ca3af !important; font-size:16px; font-weight:400; text-decoration:line-through; }
body.ob-design.single-product div.product .woocommerce-product-details__short-description { color:#374151; font-size:15px; line-height:22px; }
/* Quantity + gold add-to-cart on one row (44 px). */
body.ob-design.single-product div.product form.cart { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:24px 0; }
body.ob-design.single-product div.product form.cart::before,
body.ob-design.single-product div.product form.cart::after { content:none; }
body.ob-design.single-product div.product form.cart .quantity { float:none; margin:0 !important; }
body.ob-design.single-product div.product form.cart .bs-quantity { display:inline-flex; align-items:center; height:44px; border:1px solid #e5e7eb; border-radius:10px; background:#f7f8fa; overflow:hidden; }
body.ob-design.single-product div.product form.cart .quantity-button { display:flex; align-items:center; justify-content:center; width:36px; height:42px; color:#374151; font-size:18px; line-height:1; cursor:pointer; user-select:none; }
body.ob-design.single-product div.product form.cart .quantity-button:hover { color:#111827; }
body.ob-design.single-product div.product form.cart .quantity-button.limit { color:#d1d5db; cursor:default; }
body.ob-design.single-product div.product form.cart .quantity input.qty { width:40px !important; height:42px !important; min-height:0 !important; margin:0; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; color:#111827; font-size:15px; font-weight:600; line-height:42px; text-align:center; -moz-appearance:textfield; }
body.ob-design.single-product div.product form.cart .quantity input.qty::-webkit-inner-spin-button,
body.ob-design.single-product div.product form.cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.ob-design.single-product div.product form.cart .single_add_to_cart_button { flex:1 1 200px; height:44px !important; min-height:0 !important; margin:0 !important; padding:0 24px !important; border:0 !important; border-radius:10px !important; background:#d5a019 !important; color:#131313 !important; font-size:15px !important; font-weight:700 !important; line-height:44px !important; text-transform:none !important; box-shadow:none !important; float:none !important; }
body.ob-design.single-product div.product form.cart .single_add_to_cart_button:hover { filter:brightness(.95); }
body.ob-design.single-product div.product form.cart .single_add_to_cart_button:focus-visible { outline:2px solid #9a6700; outline-offset:2px; }
body.ob-design.single-product div.product form.cart .single_add_to_cart_button:is(.disabled, :disabled) { opacity:.5; cursor:not-allowed; }
/* Variable / subscription options. */
body.ob-design.single-product div.product form.cart table.variations { width:100%; margin:0 0 4px; border:0; }
body.ob-design.single-product div.product form.cart table.variations :is(th, td) { display:block; padding:0 0 6px; border:0; background:transparent; text-align:left; }
body.ob-design.single-product div.product form.cart table.variations label { color:#111827; font-size:14px; font-weight:600; }
body.ob-design.single-product div.product form.cart .single_variation_wrap { flex:1 1 100%; }
body.ob-design.single-product div.product form.cart .woocommerce-variation-add-to-cart { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
body.ob-design.single-product div.product form.cart .reset_variations { color:#6b7280; font-size:13px; }
body.ob-design.single-product div.product .first-payment-date { color:#6b7280; font-size:13px; line-height:18px; }
/* Fixed quantity (sold individually / bundle): no empty slot before the button. */
body.ob-design.single-product div.product form.cart .quantity:is(.quantity--readonly, :has(input[type=hidden])) { display:none !important; }
body.ob-design.single-product div.product .summary .price .subscription-details { color:#6b7280; font-size:15px; font-weight:400; }
/* Bundle (WPC Product Bundles): one row per item, prices kept on one line. */
body.ob-design.single-product .woosb-products { margin:0 0 8px; border-top:1px solid #e5e7eb; }
body.ob-design.single-product .woosb-products .woosb-product { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #e5e7eb; }
body.ob-design.single-product .woosb-products .woosb-thumb { flex:none; width:48px; }
body.ob-design.single-product .woosb-products .woosb-thumb img { width:48px; height:48px; border-radius:8px; object-fit:cover; }
body.ob-design.single-product .woosb-products .woosb-title { flex:1; min-width:0; color:#111827; font-size:14px; line-height:20px; }
body.ob-design.single-product .woosb-products .woosb-price { flex:none; color:#111827; font-size:14px; line-height:20px; font-weight:600; text-align:right; white-space:nowrap; }
body.ob-design.single-product .woosb-products .woosb-price :is(del, del .amount) { display:block; color:#9ca3af; font-size:12px; font-weight:400; }
body.ob-design.single-product .woosb-products .woosb-price ins { text-decoration:none; }
body.ob-design.single-product .woosb-products .woosb-price .subscription-details { display:block; color:#6b7280; font-size:12px; font-weight:400; }
body.ob-design.single-product .woocommerce-tabs .panel table.shop_attributes th { text-transform:none !important; }
/* Specifications. */
body.ob-design.single-product div.product .product_meta { padding-top:0; border-top:0; color:#6b7280; font-size:14px; line-height:20px; }
body.ob-design.single-product div.product .product_meta a { color:#111827; text-decoration:none; }
body.ob-design.single-product div.product .product_meta a:hover { color:#9a6700; }
/* Gallery zoom trigger: white round control like the modal close. */
body.ob-design.single-product .woocommerce-product-gallery__trigger { width:36px !important; height:36px !important; border:0 !important; border-radius:50% !important; background:rgb(255 255 255 / 92%) !important; box-shadow:0 2px 8px rgb(17 24 39 / 18%); }
/* Tabs as capsules (Default/Top/Sin leer); panel as the white card. */
body.ob-design.single-product .woocommerce-tabs ul.tabs { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px !important; padding:0 !important; border:0 !important; list-style:none; }
body.ob-design.single-product .woocommerce-tabs ul.tabs::before,
body.ob-design.single-product .woocommerce-tabs ul.tabs::after { content:none !important; border:0 !important; }
body.ob-design.single-product .woocommerce-tabs ul.tabs li { margin:0 !important; padding:0 !important; border:0 !important; border-radius:0; background:transparent !important; }
body.ob-design.single-product .woocommerce-tabs ul.tabs li::before,
body.ob-design.single-product .woocommerce-tabs ul.tabs li::after { content:none !important; border:0 !important; box-shadow:none !important; }
body.ob-design.single-product .woocommerce-tabs ul.tabs li a { display:block; padding:6px 14px !important; border:0 !important; border-radius:14px; background:#e5e7eb; color:#4b5563 !important; font-size:13px; font-weight:600; line-height:18px; text-decoration:none; box-shadow:none !important; }
body.ob-design.single-product .woocommerce-tabs ul.tabs li a:hover { background:#d5d8dd; }
body.ob-design.single-product .woocommerce-tabs ul.tabs li.active a { background:#6b7280; color:#fff !important; }
body.ob-design.single-product .woocommerce-tabs .panel { margin:0 0 32px; padding:24px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; color:#374151; font-size:15px; line-height:24px; }
body.ob-design.single-product .woocommerce-tabs .panel > h2:first-child { margin:0 0 12px; color:#111827; font-size:18px; line-height:24px; font-weight:700; }
body.ob-design.single-product .woocommerce-tabs .panel table.shop_attributes :is(th, td) { padding:10px 0; border:0; border-top:1px solid #e5e7eb; background:transparent; font-size:14px; }
body.ob-design.single-product .woocommerce-tabs .panel table.shop_attributes th { color:#6b7280; font-weight:400; text-align:left; }
/* Related / up-sells reuse the shop cards; headings on the page scale. */
body.ob-design.single-product :is(section.related, section.upsells) > h2 { margin:32px 0 16px; color:#111827; font-size:20px; line-height:26px; font-weight:700; text-transform:none; }
@media (max-width:800px) {
 body.ob-design.single-product div.product .product_title { font-size:24px; line-height:30px; }
 body.ob-design.single-product div.product .summary .price { font-size:20px; }
 body.ob-design.single-product .woocommerce-tabs .panel { padding:16px; }
 body.ob-design.single-product div.product form.cart .single_add_to_cart_button { flex-basis:160px; }
}

/* ===== Perfil y cuenta (menú del usuario): una tarjeta por página, cápsulas legibles ===== */
/* Breathing room under the site header: BuddyBoss pulls the cover-less header up (-31 px) under it. */
body.ob-design.bp-user #item-header #cover-image-container { margin-top:0 !important; }
body.ob-design.bp-user #buddypress > .bp-wrap > .bb-profile-grid:first-child { margin-top:24px; }
/* One card: the profile grid holds the page; inner wrappers/containers are plain. */
body.ob-design.bp-user .bb-profile-grid { margin:0 !important; padding:0 !important; }
body.ob-design.bp-user .bb-profile-grid > #item-body { padding:24px !important; }
body.ob-design.bp-user .bb-profile-grid :is(.bp-profile-wrapper,.bb-bp-settings-content,.bb-media-container,.bb-document-container,.bb-video-container,.group-separator-block,.bp-profile-content,.item-body-inner) {
 margin:0; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important;
}
body.ob-design.bp-user .bb-profile-grid .bp-profile-wrapper { display:block; }
body.ob-design.bp-user .bb-profile-grid .group-separator-block + .group-separator-block { margin-top:24px; padding-top:24px !important; border-top:1px solid #e5e7eb !important; }
/* Page headings (Editar perfil, Ajustes de la cuenta, Notificaciones) and group headings. */
body.ob-design.bp-user .bb-profile-grid .profile-header { margin:0 0 20px; padding:0; gap:12px; background:transparent; }
body.ob-design.bp-user .bb-profile-grid .profile-header :is(h1, .entry-title) { margin:0; color:#111827; font-size:24px; line-height:30px; font-weight:700; letter-spacing:-.02em; }
body.ob-design.bp-user .bb-profile-grid .profile-loop-header { margin:0 0 12px; padding:0 0 12px; border-bottom:1px solid #e5e7eb; }
body.ob-design.bp-user .bb-profile-grid .profile-loop-header :is(h2, .entry-title) { color:#111827; font-size:20px; line-height:26px; font-weight:700; }
body.ob-design.bp-user .bb-profile-grid .screen-heading { margin:0 0 16px; color:#111827; font-size:18px; line-height:24px; font-weight:700; }
/* Profile fields: label / value rows, no inner box. */
body.ob-design.bp-user table.profile-fields { width:100%; margin:0; border:0 !important; border-radius:0 !important; background:transparent !important; }
body.ob-design.bp-user table.profile-fields :is(th, td) { padding:12px 0 !important; border:0 !important; border-top:1px solid #e5e7eb !important; background:transparent !important; font-size:15px; line-height:22px; vertical-align:top; }
body.ob-design.bp-user table.profile-fields tr:first-child :is(th, td) { border-top:0 !important; }
body.ob-design.bp-user table.profile-fields td.label { width:35%; padding-right:16px !important; color:#6b7280; font-weight:400; }
body.ob-design.bp-user table.profile-fields td.data { color:#111827; }
/* Sub-navigation: compact capsules (Default/Top/Sin leer); BuddyBoss' v1 rule removed their padding. */
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs { margin:0 0 20px !important; padding:0 0 16px !important; border:0 !important; border-bottom:1px solid #e5e7eb !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs ul { display:flex; flex-wrap:wrap; gap:6px; margin:0 !important; padding:0 !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li { flex:none; width:auto !important; margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li > a { display:inline-flex !important; align-items:center; gap:6px; height:auto !important; min-height:0 !important; padding:6px 14px !important; border:0 !important; border-radius:14px !important; background:#e5e7eb !important; color:#4b5563 !important; font-size:13px !important; font-weight:600 !important; line-height:18px !important; white-space:nowrap; box-shadow:none !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li > a:hover { background:#d5d8dd !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li:is(.selected, .current) > a { background:#6b7280 !important; color:#fff !important; }
/* Text-only capsules, like Default/Top/Sin leer. */
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li > a :is(i, [class*="bb-icon"]) { display:none !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li > a::before { content:none !important; display:none !important; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li > a .count { margin-left:2px; padding:0 6px; border-radius:10px; background:rgb(255 255 255 / 70%) !important; color:#374151 !important; font-size:11px; line-height:16px; }
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs li:is(.selected, .current) > a .count { background:rgb(255 255 255 / 25%) !important; color:#fff !important; }
/* The capsules replace BuddyBoss' mobile dropdown at every width. */
body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs select.bp-navs__dropdown { display:none !important; }
/* Notifications: Sin leer / Leer capsules next to the title, not clipped. */
body.ob-design.bp-user #buddypress .bb-profile-grid :is(.profile-header, .entry-header) .bp-navs.bp-subnavs { margin:0 0 0 auto !important; padding:0 !important; border:0 !important; }
body.ob-design.bp-user .bb-profile-grid .entry-header.flex { align-items:center; gap:12px; margin:0 0 20px; }
body.ob-design.bp-user .bb-profile-grid .entry-header > .entry-title { margin:0; color:#111827; font-size:24px; line-height:30px; font-weight:700; letter-spacing:-.02em; }
/* Member cards (Conexiones): the badge is a pill, not a full-width gold bar. */
body.ob-design.bp-user #buddypress .members-list p.item-meta.member-type { margin:6px 0; padding:0 !important; border:0 !important; background:transparent !important; text-align:center; }
body.ob-design.bp-user #buddypress .members-list p.item-meta.member-type .bp-member-type { display:inline-block; width:auto; height:18px; padding:0 8px; border-radius:10px; font-size:11px; font-weight:700; line-height:18px; }
body.ob-design.bp-user #buddypress .members-list .list-wrap { border:1px solid #e5e7eb !important; border-radius:10px !important; background:#fff !important; box-shadow:none !important; }
body.ob-design.bp-user #buddypress :is(.bb-member-count, .members-count, .bb-item-count) { margin:0 0 16px; color:#111827; font-size:15px; font-weight:700; }
/* Notification preferences: one-line channel labels. */
body.ob-design.bp-user #buddypress .notification-settings :is(label, .bb-input-label, th) { white-space:nowrap; }
@media (max-width:800px) {
 body.ob-design.bp-user .bb-profile-grid > #item-body { padding:16px !important; }
 body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs ul { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
 body.ob-design.bp-user #buddypress .bp-navs.bp-subnavs ul::-webkit-scrollbar { display:none; }
 body.ob-design.bp-user table.profile-fields td.label { width:40%; }
}

/* ===== Mi cuenta: menú lateral único, formularios con aire y foto de perfil ===== */
/* BuddyBoss reserves 60vh for a side sub-navigation: shown as capsules it left an empty page. */
body.ob-design.bp-user #page #buddypress #item-body .bp-navs.bp-subnavs { min-height:0 !important; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid > #item-body { padding:32px !important; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.profile-header, .settings-header) { display:flex; align-items:center; gap:16px; margin:0 0 24px; padding:0 0 24px; border-bottom:1px solid #e5e7eb; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.profile-header, .settings-header) > .entry-title { flex:1 1 auto; margin:0; color:#111827; font-size:24px; line-height:30px; font-weight:700; letter-spacing:-.02em; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.bp-profile-wrapper, .bp-settings-container) { display:grid !important; grid-template-columns:232px minmax(0, 1fr); align-items:start; gap:40px; min-height:0; margin:0; padding:0 !important; border:0 !important; border-radius:0; background:transparent !important; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.bp-profile-content, .bb-bp-settings-content) { width:100%; max-width:720px; min-width:0; margin:0; padding:0 !important; border:0 !important; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid .bp-profile-content > .profile { margin:0; padding:0; border:0; }
/* Side menu. */
body.ob-design #page .ob-account-nav ul { display:grid; gap:4px; margin:0; padding:0; list-style:none; }
body.ob-design #page .ob-account-nav li { margin:0; padding:0; list-style:none; }
body.ob-design #page .ob-account-nav a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 14px; border-radius:10px; color:#4b5563; font-size:15px; line-height:20px; font-weight:500; text-decoration:none; }
body.ob-design #page .ob-account-nav a i { flex:none; width:22px; color:#6b7280; font-size:20px; line-height:20px; text-align:center; }
body.ob-design #page .ob-account-nav a:hover { background:#f7f8fa; color:#111827; }
body.ob-design #page .ob-account-nav .is-current a { background:#f3f4f6; color:#111827; font-weight:700; }
body.ob-design #page .ob-account-nav .is-current a i { color:#b07f0c; }
body.ob-design #page .ob-account-nav a[data-tab="delete-account"], body.ob-design #page .ob-account-nav a[data-tab="delete-account"] i { color:#b91c1c; }
body.ob-design #page .ob-account-nav .ob-account-group + .ob-account-group { margin-top:20px; padding-top:20px; border-top:1px solid #e5e7eb; }
body.ob-design #page .ob-account-nav .ob-account-group-title { margin:0 0 6px; padding:0 14px; color:#9ca3af; font-size:12px; line-height:16px; font-weight:600; }
/* Content: heading, help text, then fields 24 px apart. */
body.ob-design.ob-account #page #buddypress .bb-profile-grid .screen-heading { display:block; width:auto; margin:0 0 8px !important; padding:0 !important; color:#111827; font-size:20px; line-height:26px; font-weight:700; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form.standard-form { width:100%; max-width:100%; margin:16px 0 0; padding:0; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.email-pwd-info, .bp-help-text.email-notifications-info, .profile-visibility-info) { display:block; margin:0 0 24px; color:#6b7280; font-size:15px; line-height:22px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.bp-feedback, .bp-feedback.info) { margin:0 0 24px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid .bp-feedback :is(p, .bp-help-text) { padding:12px 14px; font-size:14px; line-height:20px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form :is(.bb-field-wrap, .editfield) { margin:0 0 24px; padding:0; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form :is(.bb-field-wrap, .editfield) :is(label, legend):not(:is(.bp-radio-wrap, .bp-checkbox-wrap) *) { display:block; margin:0 0 8px; padding:0; color:#111827; font-size:14px; line-height:20px; font-weight:600; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form :is(.bb-field-wrap, .editfield) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { width:100%; max-width:100%; margin:0; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form .editfield .description { margin:8px 0 0; color:#6b7280; font-size:13px; line-height:18px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form .editfield :is(.field-visibility-settings-toggle, .field-visibility-settings-notoggle) { margin:8px 0 0; color:#9ca3af; font-size:12px; line-height:16px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form .submit { margin:32px 0 0; padding:0; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form .submit input { min-height:44px; padding-inline:24px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid table { margin:0 0 20px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid table.main-notification-settings { table-layout:auto; width:100%; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid table.main-notification-settings :is(th, td) { padding:14px 16px; vertical-align:middle; line-height:20px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid table.main-notification-settings :is(th, td):is(.email, .web, .app) { width:1%; white-space:nowrap; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid .notification_info { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; margin:0 0 24px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid .notification_info .notification_type { width:auto; margin:0; padding:0; }
/* Foto de perfil: square crop next to its round preview (BuddyBoss draws it at 300 px) and buttons. */
body.ob-design.ob-account #page #buddypress .bp-avatar-nav { margin:0 0 16px; }
body.ob-design.ob-account #page #buddypress .bp-avatar-nav ul.avatar-nav-items { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; border:0; }
body.ob-design.ob-account #page #buddypress .bp-avatar-nav ul.avatar-nav-items::before, body.ob-design.ob-account #page #buddypress .bp-avatar-nav ul.avatar-nav-items::after { content:none; }
body.ob-design.ob-account #page #buddypress .bp-avatar-nav .avatar-nav-items li.avatar-nav-item { float:none !important; margin:0; border:0; background:transparent; }
body.ob-design.ob-account #page #buddypress .bp-avatar-nav .avatar-nav-item a { padding:6px 14px; border-radius:16px; background:#e5e7eb; color:#4b5563; font-size:13px; font-weight:600; line-height:20px; opacity:1; }
body.ob-design.ob-account #page #buddypress .bp-avatar-nav .avatar-nav-item.current a { background:#6b7280; color:#fff; }
body.ob-design.ob-account #page #buddypress .bp-avatar-status { margin:0 0 16px; }
body.ob-design.ob-account #page #buddypress .bp-avatar-status > :is(p, .bp-feedback) { margin:0 0 12px; border-radius:10px; }
body.ob-design.ob-account #page #buddypress .bp-avatar #drag-drop-area { border:2px dashed #d1d5db; border-radius:10px; background:#f7f8fa; }
body.ob-design.ob-account #page #buddypress .bp-avatar .drag-drop.drag-over #drag-drop-area { border-color:#d5a019; background:#fffaf0; }
body.ob-design.ob-account #page #buddypress .bp-avatar :is(#avatar-to-crop img, .jcrop-holder, .jcrop-holder img, #avatar-crop-preview) { border-radius:0 !important; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items > .item { display:flex; flex-wrap:wrap; align-items:flex-start; gap:24px; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-to-crop { float:none; width:auto; max-width:100%; margin:0; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items .avatar-crop-management { float:none; clear:none; width:auto; margin:0; padding:0; text-align:center; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-crop-pane { position:relative; zoom:.5334; margin:0 auto 30px; border-radius:50%; overflow:hidden; transform:none; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-crop-actions { display:flex; flex-direction:column; align-items:center; gap:12px; margin:0; }
body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-crop-actions .avatar-crop-submit { min-height:44px; margin:0; }
/* User menu: short list, 44 px rows, counter on the right, log out apart. */
body.ob-design .site-header .user-wrap .sub-menu-inner > li > a.ab-item, body.ob-design .site-header .user-wrap .sub-menu-inner > .logout-link > a { display:flex !important; align-items:center; gap:12px; min-height:44px; padding:10px 18px !important; color:#374151; font-size:15px; line-height:20px; }
body.ob-design .site-header .user-wrap .sub-menu-inner > li > a > i { flex:none; width:22px; margin:0 !important; font-size:20px; text-align:center; }
body.ob-design .site-header .user-wrap .sub-menu-inner .ob-menu-label { flex:1 1 auto; }
body.ob-design .site-header .user-wrap .sub-menu-inner > li > a > .count { position:static; flex:none; margin:0; }
body.ob-design .site-header .user-wrap .sub-menu-inner > li > a.ab-item:hover { background:#f7f8fa; }
body.ob-design .site-header .user-wrap .sub-menu-inner > .logout-link { margin-top:6px; padding-top:6px; border-top:1px solid #e5e7eb; }
body.ob-design .ob-mobile-account { margin:16px 0 0; padding:16px 0 0; border-top:1px solid #e5e7eb; list-style:none; }
body.ob-design .ob-mobile-account li { margin:0; padding:0; list-style:none; }
body.ob-design .ob-mobile-account a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 20px; color:#374151; font-size:15px; line-height:20px; text-decoration:none; }
body.ob-design .ob-mobile-account i { flex:none; width:22px; color:#6b7280; font-size:20px; text-align:center; }
body.ob-design .ob-mobile-account .ob-menu-label { flex:1 1 auto; }
body.ob-design .ob-mobile-account .count { min-width:20px; padding:0 6px; border-radius:10px; background:#d0021b; color:#fff; font-size:11px; line-height:20px; font-weight:700; text-align:center; }
@media (max-width:800px) {
 body.ob-design.ob-account #page #buddypress .bb-profile-grid > #item-body { padding:20px 16px !important; }
 body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.profile-header, .settings-header) { margin:0 0 16px; padding:0 0 16px; }
 body.ob-design.ob-account #page #buddypress .bb-profile-grid :is(.bp-profile-wrapper, .bp-settings-container) { grid-template-columns:minmax(0, 1fr); gap:24px; }
 body.ob-design #page .ob-account-nav { display:flex; gap:6px; min-width:0; margin:0 -16px; padding:0 16px; overflow-x:auto; scrollbar-width:none; }
 body.ob-design #page .ob-account-nav::-webkit-scrollbar { display:none; }
 body.ob-design #page .ob-account-nav .ob-account-group, body.ob-design #page .ob-account-nav .ob-account-group + .ob-account-group { flex:none; margin:0; padding:0; border:0; }
 body.ob-design #page .ob-account-nav .ob-account-group-title { display:none; }
 body.ob-design #page .ob-account-nav ul { display:flex; gap:6px; }
 body.ob-design #page .ob-account-nav li { flex:none; }
 body.ob-design #page .ob-account-nav a { min-height:40px; padding:8px 14px; background:#f3f4f6; font-size:14px; white-space:nowrap; }
 body.ob-design #page .ob-account-nav a i { display:none; }
 body.ob-design #page .ob-account-nav .is-current a { background:#6b7280; color:#fff; }
 body.ob-design.ob-account #page #buddypress .bp-avatar .items > .item { justify-content:center; }
 body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-crop-pane { display:none; }
 body.ob-design.ob-account #page #buddypress .bp-avatar .items .avatar-crop-management { width:100%; }
 body.ob-design.ob-account #page #buddypress .bp-avatar .items #avatar-crop-actions .avatar-crop-submit { width:100%; }
}

/* ===== Botones de la cuenta, el perfil y la tienda: un solo sistema ===== */
/* Primary: gold. Secondary (.outline, view, cancel, reject…): white with a grey outline. 44 px; 36 px in lists. */
body.ob-design:is(.bp-user, .ob-account) #page :is(#buddypress, .woocommerce) :is(a.button, button.button, input[type="submit"], input[type="button"].button, .generic-button > :is(a, button)):not(.bp-like-button):not(.acomment-reply):not(.ob-share):not(.bp-secondary-action):not(.activity-meta *):not(.bb-activity-more-options-wrap *):not(.bb_more_options *):not(.whats-new-form-footer *):not(#whats-new-form *):not(.visibility-toggle-link):not(.members-list.grid *):not(.only-grid-view) {
 width:auto; height:auto; min-height:44px; padding:10px 20px; border:1px solid #d5a019; border-radius:10px; background:#d5a019; color:#131313; font-size:14px; line-height:20px; font-weight:700; text-align:center; text-decoration:none; text-transform:none; box-shadow:none; filter:none;
}
body.ob-design:is(.bp-user, .ob-account) #page :is(#buddypress, .woocommerce) :is(a.button, button.button, input[type="submit"], input[type="button"].button):not(.outline):not(.view):not(.cancel):not(.reject):not(.bp-secondary-action):not(.activity-meta *):not(.visibility-toggle-link):not(.whats-new-form-footer *):not(#whats-new-form *):hover { background:#c4920f !important; border-color:#c4920f !important; color:#131313 !important; }
body.ob-design:is(.bp-user, .ob-account) #page :is(#buddypress, .woocommerce) :is(.button.outline, .button.view, .button.cancel, .button.reject, .button.edit:not(.bp-secondary-action), .generic-button > .outline):not(.activity-meta *):not(.members-list.grid *) { border:1px solid #e5e7eb !important; background:#fff !important; color:#374151 !important; }
body.ob-design:is(.bp-user, .ob-account) #page :is(#buddypress, .woocommerce) :is(.button.outline, .button.view, .button.cancel, .button.reject, .button.edit:not(.bp-secondary-action), .generic-button > .outline):not(.activity-meta *):not(.members-list.grid *):hover { border-color:#d1d5db !important; background:#f7f8fa !important; color:#111827 !important; }
/* Centred label. Not on every button: BuddyBoss hides some of them until they are needed. */
body.ob-design:is(.bp-user, .ob-account) #page :is(.ob-profile-actions .button, .woocommerce a.button, .ob-account-header .button, .profile-header .button, .settings-header .button) { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin:0; }
body.ob-design:is(.bp-user, .ob-account) #page #buddypress .profile-header .button.push-right, body.ob-design:is(.bp-user, .ob-account) #page #buddypress .settings-header .button.push-right { margin-left:auto; }
/* Compact buttons inside rows. */
body.ob-design:is(.bp-user, .ob-account) #page :is(#buddypress .friends-request-list .generic-button > :is(a, button), .woocommerce table.shop_table .button, .button.outline.small) { min-height:36px !important; padding:7px 16px !important; }
body.ob-design.bp-user #page #buddypress .friends-request-list .friends-meta { display:flex; flex-wrap:wrap; gap:8px; width:auto; }
body.ob-design.bp-user #page #buddypress .friends-request-list .friends-meta > .generic-button { width:auto; margin:0; padding:0; }
body.ob-design.ob-account #page .woocommerce table.shop_table :is(.order-actions, .woocommerce-orders-table__cell-order-actions) .button { margin:3px 6px 3px 0 !important; }
body.ob-design.ob-account #page #buddypress .visibility-toggle-link { display:inline; min-height:0; height:auto; margin:0 0 0 6px; padding:0; border:0 !important; background:transparent !important; color:#946a06 !important; font-size:12px; line-height:16px; font-weight:600; text-decoration:underline; }
body.ob-design.ob-account #page #buddypress .editfield .field-visibility-settings-toggle { display:flex; align-items:center; min-height:0; }
body.ob-design.ob-account #page #buddypress .bp-avatar .avatar-crop-cancel { color:#6b7280; font-size:14px; font-weight:600; }
/* Floated counters overflowed the card ("Mostrando 1 - 2…"). */
body.ob-design.bp-user #page #buddypress :is(.item-body-inner, #notifications-user-list) { display:flow-root; }
/* Mi perfil: change photo. */
body.ob-design.bp-user #page #buddypress .ob-profile-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 14px; }
body.ob-design.bp-user #page #buddypress .ob-profile-actions .ob-change-photo i { font-size:18px; line-height:20px; color:inherit; }
body.ob-design.bp-user.my-profile #page #item-header #item-header-avatar a.link-change-profile-image { top:auto; right:6px; bottom:6px; left:auto; width:40px; height:40px; margin:0; border:0; border-radius:50%; background:#fff; opacity:1; }
body.ob-design.bp-user.my-profile #page #item-header #item-header-avatar a.link-change-profile-image:hover > i::before { color:#a97b08; }
body.ob-design.bp-user.my-profile #page #item-header #item-header-avatar a.link-change-profile-image > i { font-size:36px; line-height:1; }
body.ob-design.bp-user.my-profile #page #item-header #item-header-avatar a.link-change-profile-image > i::before { color:#d5a019; }
body.ob-design.bp-user.my-profile #page #item-header #item-header-avatar a.link-change-profile-image > i::after { content:none; }
@media (max-width:800px) {
 body.ob-design.bp-user #page #buddypress .ob-profile-actions { justify-content:center; }
}
/* ===== Compras dentro de Mi cuenta ===== */
body.ob-design.ob-account.woocommerce-account #page .entry-header:not(.woocommerce *) { display:none; }
body.ob-design.ob-account #page .woocommerce .bsMyAccount { display:block; margin:0 0 32px; padding:32px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; box-shadow:none; }
body.ob-design.ob-account .ob-account-header { display:flex; align-items:center; gap:16px; margin:0 0 24px; padding:0 0 24px; border-bottom:1px solid #e5e7eb; }
body.ob-design.ob-account .ob-account-header h1 { flex:1 1 auto; margin:0; color:#111827; font-size:24px; line-height:30px; font-weight:700; letter-spacing:-.02em; }
body.ob-design.ob-account .ob-account-grid { display:grid; grid-template-columns:232px minmax(0, 1fr); align-items:start; gap:40px; }
body.ob-design.ob-account #page .woocommerce .woocommerce-MyAccount-content { float:none; width:100%; max-width:none; min-width:0; min-height:0; margin:0; padding:0 !important; border:0 !important; border-radius:0; background:transparent !important; box-shadow:none !important; }
body.ob-design.ob-account #page .woocommerce :is(.wc-MyAccount-sub-heading, .wc-MyAccount-inner-content) { margin:0; padding:0; border:0; }
body.ob-design.ob-account #page .woocommerce .wc-MyAccount-sub-heading { margin:0 0 20px; }
body.ob-design.ob-account #page .woocommerce .wc-MyAccount-sub-heading h2 { margin:0 0 8px; color:#111827; font-size:20px; line-height:26px; font-weight:700; text-transform:none; }
body.ob-design.ob-account #page .woocommerce .wc-MyAccount-sub-heading p { margin:0; color:#6b7280; font-size:15px; line-height:22px; }
body.ob-design.ob-account #page .woocommerce .woocommerce-MyAccount-content > h2 { margin:24px 0 12px; font-size:18px; line-height:24px; }
body.ob-design.ob-account #page .woocommerce :is(.woocommerce-address-fields, .woocommerce-EditAccountForm) { width:100%; max-width:720px; margin:0; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Address { padding:20px; border:1px solid #e5e7eb; border-radius:10px; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Addresses { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:16px; margin:0; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Addresses::before, body.ob-design.ob-account #page .woocommerce .woocommerce-Addresses::after { content:none; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Addresses > .woocommerce-Address { float:none; width:auto; max-width:none; margin:0; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Address a.edit { display:inline-block; margin:12px 0 0; color:#946a06; font-size:14px; font-weight:700; text-decoration:underline; }
body.ob-design.ob-account #page .woocommerce .woocommerce-Address-title h3 { margin:0 0 8px; color:#111827; font-size:15px; line-height:20px; font-weight:700; text-transform:none; }
body.ob-design.ob-account #page .woocommerce table.shop_table :is(th, td) { text-transform:none; vertical-align:middle; }
body.ob-design.ob-account #page .woocommerce table.shop_table { margin:0 0 24px; }
@media (max-width:800px) {
 body.ob-design.ob-account #page .woocommerce .bsMyAccount { margin:0 0 24px; padding:20px 16px; }
 body.ob-design.ob-account .ob-account-header { margin:0 0 16px; padding:0 0 16px; }
 body.ob-design.ob-account .ob-account-grid { grid-template-columns:minmax(0, 1fr); gap:24px; }
}
@media (max-width:768px) {
 /* Orders as stacked label / value rows. */
 body.ob-design.ob-account #page .woocommerce table.account-orders-table thead { display:none; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table :is(tbody, tr) { display:block; width:100%; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table tr + tr { border-top:1px solid #e5e7eb; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table tbody :is(th, td) { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; width:100%; padding:10px 14px; border:0; background:transparent; text-align:right; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table tbody :is(th, td)::before { content:attr(data-title); float:none; color:#6b7280; font-weight:400; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table tbody :is(.order-actions, .woocommerce-orders-table__cell-order-actions) { justify-content:flex-end; }
 body.ob-design.ob-account #page .woocommerce table.account-orders-table tbody :is(.order-actions, .woocommerce-orders-table__cell-order-actions)::before { content:none; }
}

/* ===== Editar perfil: foto primero, después la información personal (inc/account-photo.php) ===== */
body.ob-design.ob-account #page #buddypress .ob-profile-photo { margin:0 0 32px; padding:0 0 32px; border-bottom:1px solid #e5e7eb; }
body.ob-design.ob-account #page #buddypress .ob-profile-photo-head { margin:16px 0 20px; }
body.ob-design.ob-account #page #buddypress .ob-profile-photo-head img.avatar { display:block; width:96px; height:96px; max-width:none; border-radius:50%; object-fit:cover; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid .ob-profile-photo form#avatar-upload-form { margin:0; }
body.ob-design.ob-account #page #buddypress .ob-profile-photo #avatar-upload { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:0 0 16px; }
/* Nombre y Apellido side by side; stacked on mobile. Every other field keeps the full width. */
body.ob-design.ob-account #page #buddypress .bb-profile-grid form#profile-edit-form { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:16px; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form#profile-edit-form > * { grid-column:1 / -1; min-width:0; }
body.ob-design.ob-account #page #buddypress .bb-profile-grid form#profile-edit-form > .ob-name-field { grid-column:auto; }
@media (max-width:800px) {
 body.ob-design.ob-account #page #buddypress .ob-profile-photo { margin-bottom:24px; padding-bottom:24px; }
 body.ob-design.ob-account #page #buddypress .ob-profile-photo-head img.avatar { width:72px; height:72px; }
 body.ob-design.ob-account #page #buddypress .bb-profile-grid form#profile-edit-form > .ob-name-field { grid-column:1 / -1; }
}

/* Búsqueda: solo publicaciones de la comunidad (inc/community-search.php). Una columna de tarjetas con la presentación del feed (736 px, avatar 40, nombre 14/600 con etiqueta Staff, fecha 11 px, título 20/22, texto 16/22 en 2 líneas y miniatura de 100 px); cada tarjeta abre la publicación completa en el modal de la comunidad. */
body.ob-design.ob-search .bp-search-page { max-width:736px; margin:0 auto; padding:8px 0 40px; }
body.ob-design.ob-search .bp-search-page .search-results-header { margin:0; padding:0; border:0; background:transparent; }
body.ob-design.ob-search .bp-search-page .search-results-header .entry-title { font-size:24px; line-height:28px; letter-spacing:-.36px; margin:0 0 16px; color:var(--ob-heading); }
body.ob-design.ob-search .bp-search-results-wrapper { display:block !important; background:transparent !important; border:0 !important; padding:0 !important; box-shadow:none !important; }
body.ob-design.ob-search .bp-search-results-wrapper .search_filters { display:none !important; }
body.ob-design.ob-search .bp-search-results-wrapper .search_results { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
body.ob-design.ob-search .search_results .results-group { margin:0; padding:0; border:0 !important; background:transparent !important; box-shadow:none !important; }
body.ob-design.ob-search .search_results .results-group-header { display:flex !important; align-items:baseline; justify-content:flex-start; gap:8px; margin:0 0 4px; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
body.ob-design.ob-search .search_results .results-group-header::before,
body.ob-design.ob-search .search_results .results-group-header::after { content:none !important; }
body.ob-design.ob-search .search_results .results-group-title { display:none; }
body.ob-design.ob-search .search_results .total-results { font-size:13px; line-height:20px; color:var(--ob-soft); font-weight:500; }
body.ob-design.ob-search .search_results ul.bp-search-results-list { display:flex; flex-direction:column; gap:16px; margin:0; padding:0; list-style:none; border:0 !important; background:transparent !important; box-shadow:none !important; }
body.ob-design.ob-search .search_results .bp-search-item.ob-search-result { margin:0; padding:0 !important; border:0 !important; background:transparent !important; list-style:none; }
body.ob-design .ob-search-card { display:grid; grid-template-columns:minmax(0,1fr); gap:0 16px; align-items:start; padding:16px; background:#fff; border:1px solid var(--ob-border); border-radius:var(--ob-radius); color:var(--ob-copy) !important; text-decoration:none !important; transition:box-shadow .15s ease; }
body.ob-design .ob-search-card.has-thumb { grid-template-columns:minmax(0,1fr) 100px; }
body.ob-design .ob-search-card:hover { box-shadow:0 4px 16px #1118270f; }
body.ob-design .ob-search-card:focus-visible { outline:0; border-color:var(--ob-gold); box-shadow:0 0 0 3px #d5a01933; }
body.ob-design .ob-search-top { grid-column:1 / -1; display:flex; align-items:center; gap:10px; margin-bottom:14px; min-width:0; }
body.ob-design .ob-search-avatar { flex:none; width:40px; height:40px; }
body.ob-design .ob-search-avatar img { display:block; width:40px; height:40px; border-radius:50%; object-fit:cover; }
body.ob-design .ob-search-meta { display:flex; flex-direction:column; min-width:0; }
body.ob-design .ob-search-head { display:block; font-size:14px; line-height:20px; letter-spacing:-.24px; color:#1f2937; }
body.ob-design .ob-search-name { font-weight:600; color:#1f2937; }
body.ob-design .ob-search-head [class*="bb-current-member-"] { display:inline-block; box-sizing:border-box; height:18px; margin:0 2px; padding:0 8px; background:var(--ob-gold) !important; color:var(--ob-gold-ink) !important; border:0 !important; border-radius:10px; font-size:0; line-height:18px; font-weight:600; vertical-align:1px; }
body.ob-design .ob-search-head .bb-current-member-staff-onebillion::after { content:'Staff'; font-size:11px; }
body.ob-design .ob-search-head [class*="bb-current-member-"]:not(.bb-current-member-staff-onebillion) { font-size:11px; }
body.ob-design .ob-search-date { display:block; font-size:11px; line-height:20px; letter-spacing:-.24px; color:var(--ob-meta); }
body.ob-design .ob-search-body { display:block; min-width:0; }
body.ob-design .ob-search-title { display:block; margin:0 0 8px; font-size:20px; line-height:22px; font-weight:700; letter-spacing:-.3px; color:var(--ob-ink); overflow-wrap:anywhere; }
body.ob-design .ob-search-excerpt { font-size:16px; line-height:22px; color:var(--ob-copy); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
body.ob-design .ob-search-excerpt img.emoji { width:1em !important; height:1em !important; margin:0 .05em !important; vertical-align:-.1em !important; }
body.ob-design .ob-search-thumb { display:block; width:100px; height:100px; border-radius:11px; overflow:hidden; background:#f3f4f6; }
body.ob-design .ob-search-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
body.ob-design.ob-search .bp-search-results-wrapper .pagination { margin-top:20px; border:0; background:transparent; }
/* Autocompletado del encabezado. */
body.ob-design .bp-search-ajax-item.ob-search-ajax > a { display:flex; align-items:flex-start; gap:12px; padding:10px 12px; text-decoration:none; }
body.ob-design .bp-search-ajax-item.ob-search-ajax .item-avatar img { width:40px; height:40px; border-radius:50%; object-fit:cover; }
body.ob-design .bp-search-ajax-item.ob-search-ajax .item-title { font-size:14px; font-weight:600; line-height:1.3; color:var(--ob-ink); }
body.ob-design .bp-search-ajax-item.ob-search-ajax .item-desc { font-size:13px; line-height:1.4; color:var(--ob-copy); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.ob-design .bp-search-ajax-item.ob-search-ajax .item-meta { font-size:12px; color:var(--ob-meta); margin-top:2px; }
@media (max-width:800px) {
 body.ob-design.ob-search .bp-search-page { padding:0 0 24px; }
 body.ob-design .ob-search-card.has-thumb { grid-template-columns:minmax(0,1fr) 78px; gap:0 12px; }
 body.ob-design .ob-search-thumb { width:78px; height:78px; }
 body.ob-design .ob-search-title { font-size:18px; }
 body.ob-design .ob-search-excerpt { font-size:15px; }
}