@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

/* =========================================================
   BARRIO BAJO ROLEPLAY
   CUSTOM TEBEX THEME
   ========================================================= */

:root {
  --color-primary: #f4c542;
  --color-primary-hover: #ffd967;
  --color-primary-text: #090909;
  --color-primary-text-hover: #090909;

  --color-secondary: #24211a;
  --color-secondary-hover: #332d20;
  --color-secondary-text: #ffffff;
  --color-secondary-text-hover: #f4c542;

  --color-tertiary: transparent;
  --color-tertiary-hover: rgba(244, 197, 66, 0.10);
  --color-tertiary-text: #ffffff;
  --color-tertiary-text-hover: #f4c542;

  --color-text: #ffffff;
  --color-text-darker: #e4e0d7;
  --color-text-secondary: #9d998f;

  --color-bg: #050505;
  --color-brighter-bg: #0d0c0a;

  --bb-gold: #f4c542;
  --bb-gold-light: #ffd96c;
  --bb-gold-dark: #9c7114;

  --bb-black: #050505;
  --bb-black-soft: #0a0907;
  --bb-panel: #0e0c09;
  --bb-panel-light: #15120c;

  --bb-border: rgba(244, 197, 66, 0.18);
  --bb-border-hover: rgba(244, 197, 66, 0.5);

  --bb-radius: 16px;

  --bg-image:
    radial-gradient(
      circle at 50% 0%,
      rgba(244, 197, 66, 0.12),
      transparent 38%
    );
}


/* =========================================================
   GENERAL
   ========================================================= */

html {
  background: #050505;
}

body {
  font-family: "Montserrat", sans-serif;
  background:
    radial-gradient(
      circle at 50% 8%,
      rgba(244, 197, 66, 0.10),
      transparent 28%
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    #050505;

  background-size:
    auto,
    42px 42px,
    42px 42px;

  color: #ffffff;
}


/* fondo superior */

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;

  width: 100%;
  height: 520px;

  z-index: -1;

  background:
    radial-gradient(
      ellipse at 50% 15%,
      rgba(244, 197, 66, 0.15),
      transparent 55%
    );

  pointer-events: none;
}


/* =========================================================
   SITE
   ========================================================= */

.site {
  gap: 32px;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 12px;

  font-family: "Montserrat", sans-serif;
  font-weight: 800;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.btn-primary {
  border: 1px solid #f6d064;

  background:
    linear-gradient(
      135deg,
      #ffd95e,
      #d99d20
    );

  color: #070707;

  box-shadow:
    0 8px 28px rgba(244, 197, 66, 0.12);
}


.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);

  background:
    linear-gradient(
      135deg,
      #ffe58a,
      #f4c542
    );

  color: #050505;

  box-shadow:
    0 12px 35px rgba(244, 197, 66, 0.22);
}


.btn-secondary {
  border: 1px solid var(--bb-border);

  background: #15120c;

  color: #ffffff;
}


.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--bb-border-hover);

  background: #1c170d;

  color: var(--bb-gold);
}


.btn-tertiary:hover,
.btn-tertiary:focus {
  color: var(--bb-gold);
}


/* =========================================================
   HEADER BARRIO BAJO
   ========================================================= */

.bb-header {
  width: 100% !important;
  max-width: none !important;

  padding: 0 !important;

  border-bottom: 1px solid rgba(244, 197, 66, 0.11);

  background:
    rgba(5, 5, 5, 0.95);

  backdrop-filter: blur(16px);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.30);
}


.bb-header-inner {
  display: flex !important;
  align-items: center !important;

  position: relative !important;

  width: min(1400px, calc(100% - 48px)) !important;
  height: 86px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  gap: 26px !important;
}


/* =========================================================
   LOGO
   ========================================================= */

.bb-brand {
  display: flex;

  align-items: center;

  flex: 0 0 auto;

  position: static !important;
}


.bb-brand-link {
  display: flex;

  align-items: center;

  height: 74px;
}


.bb-brand-logo {
  display: block;

  width: auto;
  max-width: 100px;

  height: 68px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 5px 15px rgba(244, 197, 66, 0.13)
    );
}


.bb-brand-fallback {
  display: flex;

  flex-direction: column;

  line-height: 0.95;
}


.bb-brand-fallback strong {
  font-size: 18px;
  font-weight: 900;
}


.bb-brand-fallback span {
  color: var(--bb-gold);

  font-size: 18px;
  font-weight: 900;
}


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.bb-header-navigation {
  display: flex;

  align-items: center;

  flex: 1 1 auto;

  min-width: 0;
}


/* evitar estilos antiguos */

.bb-header-navigation .site-navigation {
  position: static;

  width: auto;

  padding: 0;

  background: none;
}


.bb-navigation,
.bb-navigation .bb-nav-inner {
  width: 100%;
}


.bb-navigation-list {
  display: flex !important;

  align-items: center;

  gap: 7px;

  width: auto !important;

  padding: 0 !important;

  background: transparent !important;

  border: none !important;

  border-radius: 0 !important;
}


.bb-navigation-list > .bb-nav-item {
  position: relative;

  width: auto;
}


.bb-navigation-list > .bb-nav-item > a {
  display: flex;

  align-items: center;

  gap: 7px;

  padding: 12px 13px;

  border-radius: 10px;

  color: #bdb9af;

  font-size: 13px;
  font-weight: 700;

  white-space: nowrap;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}


.bb-navigation-list > .bb-nav-item > a:hover {
  color: var(--bb-gold);

  background:
    rgba(244, 197, 66, 0.075);
}


.bb-navigation-list > .bb-nav-item.active > a,
.bb-navigation-list > .bb-nav-item > a.link-active {
  color: var(--bb-gold);

  background:
    rgba(244, 197, 66, 0.10);
}


.bb-nav-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 16px;

  color: var(--bb-gold);

  font-size: 13px;
  font-weight: 900;
}


/* =========================================================
   SUBMENU
   ========================================================= */

.bb-navigation-list .has-children {
  position: relative;
}


.bb-navigation-list .has-children > ul {
  display: none;

  position: absolute;

  top: calc(100% + 8px);
  left: 0;

  z-index: 500;

  min-width: 230px;

  padding: 8px;

  border: 1px solid var(--bb-border);

  border-radius: 14px;

  background:
    rgba(10, 9, 7, 0.98);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.50);
}


.bb-navigation-list .has-children:hover > ul,
.bb-navigation-list .has-children.expanded > ul {
  display: block;
}


.bb-navigation-list .has-children > ul li a {
  display: block;

  padding: 11px 13px;

  border-radius: 9px;

  color: #aaa69c;

  font-size: 13px;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}


.bb-navigation-list .has-children > ul li a:hover,
.bb-navigation-list .has-children > ul li.active a {
  color: var(--bb-gold);

  background:
    rgba(244, 197, 66, 0.08);
}


.bb-submenu-toggle {
  display: none;
}


/* =========================================================
   ACCOUNT / LOGIN / BASKET
   ========================================================= */

.bb-account-area {
  display: flex;

  align-items: center;

  margin-left: auto;

  flex: 0 0 auto;
}


.bb-user-actions {
  display: flex !important;

  position: static !important;

  align-items: center;

  gap: 9px !important;
}


.bb-login-button {
  display: flex !important;

  position: static !important;

  align-items: center;

  gap: 10px;

  height: 50px;

  padding: 0 17px;

  border: 1px solid var(--bb-border);

  border-radius: 13px;

  background:
    linear-gradient(
      145deg,
      #12100c,
      #0b0a08
    );

  color: #ffffff;
}


.bb-login-button:hover {
  border-color: var(--bb-border-hover);

  color: var(--bb-gold);

  background: #151109;
}


.bb-login-icon,
.bb-account-icon {
  color: var(--bb-gold);

  font-size: 10px;
}


.bb-login-content {
  display: flex;

  flex-direction: column;

  line-height: 1.1;
}


.bb-login-content strong {
  font-size: 12px;
  font-weight: 800;
}


.bb-login-content small {
  margin-top: 3px;

  color: #716d64;

  font-size: 9px;
  font-weight: 600;
}


.bb-user-name {
  display: flex !important;

  position: static !important;

  align-items: center;

  gap: 8px;

  border: 1px solid var(--bb-border);

  background: #11100c;

  color: #ffffff;
}


.bb-basket-button {
  display: flex !important;

  align-items: center;

  gap: 8px;

  min-height: 46px;

  border-radius: 12px;
}


.bb-basket-icon {
  color: #090909;
}


/* desactivar pseudo-icono viejo de Tebex */

.bb-basket-button::before,
.bb-user-name::before {
  display: none !important;
}


/* =========================================================
   COMMUNITY BAR
   ========================================================= */

.bb-community-bar {
  width: 100%;

  border-top:
    1px solid rgba(255,255,255,0.025);

  border-bottom:
    1px solid rgba(244, 197, 66, 0.08);

  background:
    rgba(8, 7, 5, 0.96);
}


.bb-community-bar-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  width: min(1400px, calc(100% - 48px));

  min-height: 56px;

  margin: 0 auto;
}


.bb-server-info,
.bb-discord-info {
  display: flex !important;

  position: static !important;

  align-items: center;

  width: auto !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  text-align: left !important;
}


.bb-status-dot {
  width: 9px;
  height: 9px;

  margin-right: 11px;

  border-radius: 50%;

  background: #51db89;

  box-shadow:
    0 0 14px rgba(81, 219, 137, 0.45);
}


.bb-community-label {
  display: block;

  margin-bottom: 2px;

  color: #777268;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: 1.6px;
}


.bb-community-bar .title {
  display: block !important;

  line-height: 1.15 !important;

  color: #ffffff !important;

  font-size: 11px !important;
  font-weight: 700 !important;
}


.bb-community-bar .action {
  display: block !important;

  margin-left: 16px;

  color: var(--bb-gold) !important;

  font-size: 10px !important;
  font-weight: 700 !important;

  cursor: pointer;
}


.bb-discord-info {
  gap: 10px;
}


.bb-discord-symbol {
  display: grid;

  place-items: center;

  width: 28px;
  height: 28px;

  border: 1px solid var(--bb-border);

  border-radius: 50%;

  color: var(--bb-gold);
}


/* =========================================================
   SALE BANNER
   ========================================================= */

.bb-sale-banner {
  width: min(1400px, calc(100% - 48px));

  margin: 18px auto 0;
}


.bb-sale-banner .site-sale-banner {
  margin: 0 !important;

  padding: 13px 18px;

  border: 1px solid rgba(244, 197, 66, 0.28);

  border-radius: 12px;

  color: #0a0906;

  background:
    linear-gradient(
      90deg,
      #d89a1c,
      #f4c542,
      #d89a1c
    );

  font-size: 13px;
  font-weight: 800;
}


/* =========================================================
   CONTENIDO GENERAL
   ========================================================= */

.site-content {
  position: relative;

  z-index: 1;
}


/* =========================================================
   HOME CATEGORIES
   ========================================================= */

.site-home-categories {
  gap: 20px;
}


.site-home-categories .category {
  padding: 26px;

  border: 1px solid var(--bb-border);

  border-radius: var(--bb-radius);

  background:
    linear-gradient(
      145deg,
      #0d0c09,
      #090806
    );

  color: #ffffff;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}


.site-home-categories .category:hover {
  transform: translateY(-5px);

  border-color: var(--bb-border-hover);

  color: var(--bb-gold);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   STORE TEXT
   ========================================================= */

.store-text {
  padding: 30px;

  border: 1px solid var(--bb-border);

  border-radius: var(--bb-radius);

  background:
    linear-gradient(
      145deg,
      #0c0b08,
      #090806
    );

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.18);
}


.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  color: #ffffff;

  text-align: center;
}


.store-text h1::after,
.store-text h2::after {
  content: "";

  display: block;

  width: 56px;
  height: 3px;

  margin: 14px auto 0;

  border-radius: 3px;

  background: var(--bb-gold);
}


/* =========================================================
   CATEGORY DESCRIPTION
   ========================================================= */

.category-description {
  padding: 24px;

  border: 1px solid var(--bb-border);

  border-radius: var(--bb-radius);

  background: #0b0a07;
}


/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.store-products-images {
  gap: 24px;
}


.store-products-list .store-product,
.store-products-images .store-product {
  position: relative;

  overflow: hidden;

  padding: 22px;

  border: 1px solid var(--bb-border);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      #0e0d0a,
      #090806
    );

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.store-products-list .store-product::before,
.store-products-images .store-product::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;
  left: 0;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--bb-gold),
      transparent
    );

  opacity: 0.38;
}


.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  transform: translateY(-4px);

  border-color: var(--bb-border-hover);

  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.30);
}


.store-products-images .store-product {
  text-align: center;
}


.store-product .product-title {
  color: #ffffff;

  font-weight: 800;
}


.store-product .product-title a:hover {
  color: var(--bb-gold);
}


.store-product .descr {
  color: #99958d;

  line-height: 1.55;
}


.store-product .price {
  color: #dbd7cd;
}


.store-product .price strong {
  color: var(--bb-gold);

  font-size: 22px;
  font-weight: 900;
}


/* imágenes */

.store-product .image {
  border-radius: 13px;

  transition:
    transform 0.3s ease;
}


.store-product:hover .image {
  transform: scale(1.025);
}


/* =========================================================
   PRODUCT FULL
   ========================================================= */

.store-product-full {
  border: 1px solid var(--bb-border);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #0e0c09,
      #080705
    );
}


.store-product-full .actions {
  border-top:
    1px solid rgba(244,197,66,0.11);

  background:
    rgba(12, 10, 7, 0.90);
}


/* =========================================================
   QUANTITY
   ========================================================= */

.quantity-field,
.store-product .quantity-field {
  overflow: hidden;

  border: 1px solid var(--bb-border);

  border-radius: 11px;

  background: #090806;
}


.store-product .quantity-field input[type="number"] {
  border: none;

  color: #ffffff;
}


/* =========================================================
   FORMULARIOS
   ========================================================= */

.store-form input[type="text"],
.store-form input[type="password"],
.store-form input[type="email"],
.store-form input[type="number"],
.store-form input[type="search"],
.store-form input[type="url"],
.store-form input[type="tel"],
.store-form input[type="date"],
.store-form input[type="time"],
.store-form input[type="datetime-local"],
.store-form input[type="file"],
.store-form input[type="month"],
.store-form input[type="week"],
.store-form select,
.store-form textarea {
  border: 1px solid rgba(244, 197, 66, 0.15);

  border-radius: 11px;

  color: #ffffff;

  background: #090806;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus {
  border-color: var(--bb-gold);

  box-shadow:
    0 0 0 3px rgba(244, 197, 66, 0.08);
}


/* =========================================================
   WIDGETS
   ========================================================= */

.widget {
  overflow: hidden;

  border: 1px solid var(--bb-border);

  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      #0e0c09,
      #090806
    );
}


.widget-title {
  color: #ffffff;

  text-align: center;

  font-weight: 800;
}


.widget .store-product {
  text-align: center;
}


/* =========================================================
   NO PRODUCTS
   ========================================================= */

.no-products {
  padding: 28px;

  border: 1px solid var(--bb-border);

  border-radius: 15px;

  color: var(--color-text-secondary);

  background: #0c0b08;
}


/* =========================================================
   POPUPS
   ========================================================= */

.popup-content {
  overflow: hidden;

  border: 1px solid var(--bb-border);

  border-radius: 18px;

  background: #0b0a08;
}


.popup-close {
  border-radius: 0 17px 0 12px;
}


.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}


/* =========================================================
   BASKET
   ========================================================= */

.basket-items {
  padding:
    var(--widget-padding)
    calc(
      var(--content-padding) -
      var(--widget-padding)
    );
}


.basket-item {
  border: 1px solid rgba(244, 197, 66, 0.12);

  border-radius: 13px;

  background: #0c0b08;
}


.basket-item .quantity {
  border-radius: 6px;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
  border: 1px solid var(--bb-border);

  border-radius: 12px;

  background: #11100c;
}


.toast-close {
  border-radius: 7px;
}


/* =========================================================
   TIERED CATEGORIES
   ========================================================= */

.store-category-tiered {
  border: 1px solid var(--bb-border);

  border-radius: 18px;

  background: #0d0c09;
}


.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}


.store-product-tiered {
  border: 1px solid rgba(244,197,66,0.10);

  border-radius: 13px;

  background:
    rgba(5, 5, 5, 0.55);
}


/* =========================================================
   MEDIA SLIDER
   ========================================================= */

.media-slider .slider,
.media-slider .thumb {
  border: 1px solid rgba(244,197,66,0.10);

  border-radius: 13px;

  background: #090806;
}


.media-slider .open-lightbox {
  border-radius: 8px;
}


.popup.popup-media-slider .thumb {
  border-radius: 11px;
}


.popup.popup-media-slider .popup-close {
  border-radius: 11px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.bb-footer {
  margin-top: 65px;

  border-top: 1px solid var(--bb-border);

  background:
    linear-gradient(
      180deg,
      #080704,
      #030303
    );
}


.bb-footer-inner {
  padding-top: 45px !important;
  padding-bottom: 40px !important;
}


.bb-footer-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}


.bb-footer-brand {
  display: flex;

  align-items: center;

  gap: 16px;
}


.bb-footer-logo {
  width: auto;
  max-width: 82px;

  height: 68px;

  object-fit: contain;
}


.bb-footer-brand-text {
  display: flex;

  flex-direction: column;
}


.bb-footer-brand-text strong {
  font-size: 21px;
  font-weight: 900;
}


.bb-footer-brand-text strong span {
  color: var(--bb-gold);
}


.bb-footer-brand-text small {
  margin-top: 4px;

  color: #777168;

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 3px;
}


.bb-footer-links {
  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 10px 22px;
}


.bb-footer-links a {
  color: #8f8a80;

  font-size: 11px;
  font-weight: 700;

  transition: color 0.2s ease;
}


.bb-footer-links a:hover {
  color: var(--bb-gold);
}


.bb-footer-divider {
  width: 100%;
  height: 1px;

  margin: 30px 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(244,197,66,0.25),
      transparent
    );
}


.bb-payment-section {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  margin-bottom: 28px;
}


.bb-payment-title {
  color: #777168;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 2px;
}


.bb-we-accept {
  display: flex;

  align-items: center;

  gap: 9px;
}


.bb-we-accept li {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 46px;
  height: 30px;

  padding: 5px 8px;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 7px;

  background: rgba(255,255,255,0.035);
}


.bb-we-accept img {
  max-width: 38px;
  max-height: 19px;
}


.bb-footer-bottom {
  text-align: center;
}


.bb-footer-bottom p {
  margin: 5px 0;
}


.bb-footer-bottom .copyright {
  color: #a6a198;

  font-size: 11px;
}


.bb-footer-disclaimer,
.bb-footer-powered {
  color: #5f5b54;

  font-size: 9px;

  line-height: 1.5;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.bb-mobile-actions {
  display: none;
}


@media (width <= 960px) {

  .bb-header-inner {
    width: calc(100% - 28px) !important;
    height: 74px !important;

    padding: 0 !important;

    flex-wrap: nowrap !important;
  }


  .bb-mobile-actions {
    display: flex !important;

    position: static !important;

    order: 1;
  }


  .bb-brand {
    order: 2;

    margin-left: 5px;
  }


  .bb-brand-logo {
    max-width: 75px;

    height: 58px;
  }


  .bb-header-navigation {
    order: 4;

    width: 0;
    height: 0;
  }


  .bb-account-area {
    order: 3;

    margin-left: auto;
  }


  .bb-menu-toggle {
    display: grid !important;

    place-items: center;

    width: 44px;
    height: 44px;

    padding: 0 !important;

    border: 1px solid var(--bb-border);

    border-radius: 11px;

    background: #0e0c09 !important;
  }


  .bb-menu-toggle {
    background-image: none !important;
  }


  .bb-menu-lines {
    display: flex;

    flex-direction: column;

    gap: 4px;

    width: 19px;
  }


  .bb-menu-lines span {
    display: block;

    width: 100%;
    height: 2px;

    border-radius: 2px;

    background: var(--bb-gold);
  }


  .bb-login-content small {
    display: none;
  }


  .bb-login-button {
    height: 44px;

    padding: 0 12px;
  }


  .bb-user-name {
    display: none !important;
  }


  /* navegación drawer */

  .bb-header-navigation .bb-navigation {
    position: fixed !important;

    inset: 0 !important;

    z-index: 100000 !important;

    width: 100% !important;
    height: 100vh !important;

    padding: 0 !important;

    background:
      rgba(0, 0, 0, 0.72) !important;

    backdrop-filter: blur(6px);
  }


  body:not(.show-navigation)
  .bb-header-navigation
  .bb-navigation {
    visibility: hidden;

    opacity: 0;
  }


  .bb-navigation .bb-nav-inner {
    position: relative;

    width: min(360px, calc(100% - 48px));

    height: 100%;

    padding: 80px 16px 25px;

    background:
      linear-gradient(
        180deg,
        #0d0b08,
        #050505
      );

    border-right:
      1px solid var(--bb-border);

    box-shadow:
      25px 0 60px rgba(0,0,0,.50);
  }


  .bb-navigation-list {
    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    gap: 5px !important;

    position: static !important;

    width: 100% !important;
    height: 100% !important;

    padding: 0 !important;

    overflow-y: auto;
  }


  .bb-navigation-list > .bb-nav-item {
    width: 100%;
  }


  .bb-navigation-list > .bb-nav-item > a {
    width: 100%;

    padding: 14px 13px;

    font-size: 14px;
  }


  .bb-navigation-list .has-children {
    display: flex;

    flex-wrap: wrap;

    align-items: center;
  }


  .bb-navigation-list
  .has-children > a {
    flex: 1;
  }


  .bb-submenu-toggle {
    display: block;

    width: 40px;
    height: 40px;

    font-size: 0;
  }


  .bb-navigation-list
  .has-children > ul {
    position: static;

    width: 100%;

    margin-top: 5px;

    border: none;

    background: rgba(255,255,255,0.02);

    box-shadow: none;
  }


  .bb-navigation-list
  .has-children:not(.expanded)
  > ul {
    display: none;
  }


  .bb-navigation-list
  .has-children.expanded
  > ul {
    display: block;
  }


  .bb-close-navigation {
    position: absolute !important;

    top: 20px !important;
    right: 20px !important;

    width: 42px;
    height: 42px;

    border: 1px solid var(--bb-border);

    border-radius: 10px;

    background: rgba(255,255,255,0.04);
  }


  /* community */

  .bb-community-bar-inner {
    width: calc(100% - 28px);

    padding: 9px 0;

    gap: 10px;
  }


  .bb-community-bar .action {
    display: none !important;
  }


  .bb-community-bar .title {
    font-size: 9px !important;
  }


  .bb-discord-symbol {
    width: 25px;
    height: 25px;
  }


  /* footer */

  .bb-footer-top {
    flex-direction: column;

    text-align: center;
  }


  .bb-footer-brand {
    flex-direction: column;
  }


  .bb-footer-links {
    justify-content: center;
  }


  .bb-payment-section {
    flex-direction: column;
  }


  .bb-we-accept {
    flex-wrap: wrap;

    justify-content: center;
  }

}


/* =========================================================
   MOBILE SMALL
   ========================================================= */

@media (width <= 600px) {

  .site {
    gap: 22px;
  }


  .bb-header-inner {
    width: calc(100% - 20px) !important;
  }


  .bb-brand-logo {
    max-width: 62px;

    height: 52px;
  }


  .bb-login-content {
    display: none;
  }


  .bb-login-button {
    width: 44px;

    justify-content: center;

    padding: 0;
  }


  .bb-login-icon {
    font-size: 13px;
  }


  .bb-community-bar-inner {
    width: calc(100% - 20px);
  }


  .bb-community-label {
    font-size: 7px;
  }


  .bb-community-bar .title {
    max-width: 120px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
  }


  .store-products-images {
    grid-template-columns: 1fr;
  }


  .store-text {
    padding: 21px;
  }


  .bb-footer {
    margin-top: 40px;
  }

}
/* =========================================================
   BARRIO BAJO - HOME PAGE
   ========================================================= */

.bb-home-page .site-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bb-home-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.bb-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 80px 0 55px;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 16%,
      rgba(244, 197, 66, 0.18),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(5,5,5,0.15),
      #050505 100%
    );
}

.bb-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(244,197,66,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(244,197,66,.025) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  pointer-events: none;
}

.bb-home-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20px;

  width: 850px;
  height: 270px;

  transform: translateX(-50%);

  background:
    radial-gradient(
      ellipse,
      rgba(244,197,66,.12),
      transparent 65%
    );

  filter: blur(20px);

  pointer-events: none;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bb-community-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  border: 1px solid rgba(244,197,66,.22);
  border-radius: 30px;

  background: rgba(244,197,66,.06);

  color: #c7b98d;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.bb-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #43db82;

  box-shadow: 0 0 12px rgba(67,219,130,.6);
}

.bb-hero-title {
  margin: 35px 0 24px;

  line-height: .82;

  text-transform: uppercase;

  letter-spacing: -6px;
}

.bb-hero-title > span,
.bb-hero-title > strong {
  display: block;
}

.bb-hero-title > span {
  color: #ffffff;

  font-size: clamp(65px, 9vw, 126px);
  font-weight: 900;
}

.bb-hero-title > strong {
  margin-top: 10px;

  color: var(--bb-gold);

  font-size: clamp(60px, 8.3vw, 116px);
  font-weight: 900;

  text-shadow:
    0 0 35px rgba(244,197,66,.10);
}

.bb-hero-description {
  width: min(790px, 100%);
  margin: 0 auto;

  color: #aaa59a;

  font-size: 17px;
  line-height: 1.7;
}

.bb-hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

.bb-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-width: 190px;
  height: 58px;

  padding: 0 25px;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.bb-connect-button {
  border: 1px solid #f6d66d;

  background:
    linear-gradient(
      135deg,
      #f7d35f,
      #c58b16
    );

  color: #070707;

  box-shadow:
    0 12px 35px rgba(244,197,66,.14);
}

.bb-connect-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 17px 42px rgba(244,197,66,.24);
}

.bb-discord-button {
  border: 1px solid rgba(244,197,66,.20);

  background: #100e0a;

  color: #ffffff;
}

.bb-discord-button:hover {
  transform: translateY(-3px);

  border-color: rgba(244,197,66,.55);

  color: var(--bb-gold);
}

.bb-button-icon {
  font-size: 16px;
}


/* =========================================================
   SERVER STATUS
   ========================================================= */

.bb-server-status-card {
  display: flex;
  align-items: center;

  width: min(930px, 100%);

  min-height: 100px;

  margin: 46px auto 0;
  padding: 18px 24px;

  border: 1px solid rgba(244,197,66,.18);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(14,12,8,.95),
      rgba(7,7,6,.95)
    );

  box-shadow:
    0 25px 65px rgba(0,0,0,.30);

  text-align: left;
}

.bb-server-status-brand {
  flex: 0 0 auto;
  margin-right: 18px;
}

.bb-status-logo {
  width: 64px;
  height: 64px;

  object-fit: contain;

  border: 1px solid rgba(244,197,66,.22);
  border-radius: 14px;

  padding: 4px;

  background: #0d0b08;
}

.bb-status-logo-fallback {
  display: grid;
  place-items: center;

  width: 64px;
  height: 64px;

  border: 1px solid rgba(244,197,66,.25);
  border-radius: 14px;

  color: var(--bb-gold);

  background: #0d0b08;

  font-size: 22px;
  font-weight: 900;
}

.bb-status-column {
  display: flex;
  flex-direction: column;

  min-width: 140px;
}

.bb-status-label {
  margin-bottom: 7px;

  color: #777168;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: 1.7px;
}

.bb-status-column strong {
  color: #ffffff;

  font-size: 13px;
  font-weight: 800;
}

.bb-status-online {
  display: flex;
  align-items: center;
  gap: 8px;

  color: #58d88b !important;
}

.bb-status-divider {
  width: 1px;
  height: 46px;

  margin: 0 28px;

  background: rgba(244,197,66,.12);
}

.bb-status-ip {
  flex: 1;
}

.bb-copy-ip {
  width: fit-content;

  color: var(--bb-gold);

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;
}


/* =========================================================
   COMMON SECTIONS
   ========================================================= */

.bb-home-section {
  position: relative;

  padding: 90px 0;
}

.bb-section-header {
  margin-bottom: 45px;

  text-align: center;
}

.bb-section-overline {
  display: block;

  margin-bottom: 12px;

  color: var(--bb-gold);

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 3.5px;
}

.bb-section-header h2 {
  color: #ffffff;

  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;

  letter-spacing: -2px;
}

.bb-section-header h2 span {
  color: var(--bb-gold);
}

.bb-section-header > p {
  width: min(650px, 100%);

  margin: 14px auto 0;

  color: #918c83;

  line-height: 1.6;
}


/* =========================================================
   HOW TO CONNECT
   ========================================================= */

.bb-connect-section {
  border-top: 1px solid rgba(244,197,66,.05);
}

.bb-connect-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.bb-connect-card {
  position: relative;

  min-height: 285px;

  padding: 30px;

  overflow: hidden;

  border: 1px solid rgba(244,197,66,.17);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #0e0c09,
      #090806
    );

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.bb-connect-card:hover {
  transform: translateY(-6px);

  border-color: rgba(244,197,66,.48);

  box-shadow:
    0 25px 55px rgba(0,0,0,.30);
}

.bb-card-number {
  position: absolute;

  top: 12px;
  right: 18px;

  color: rgba(244,197,66,.055);

  font-size: 75px;
  font-weight: 900;
}

.bb-card-icon {
  display: grid;
  place-items: center;

  width: 54px;
  height: 54px;

  margin-bottom: 20px;

  border: 1px solid rgba(244,197,66,.25);
  border-radius: 14px;

  background:
    rgba(244,197,66,.07);

  color: var(--bb-gold);

  font-size: 22px;
}

.bb-step-label {
  display: block;

  margin-bottom: 9px;

  color: var(--bb-gold);

  font-size: 8px;
  font-weight: 900;

  letter-spacing: 1.7px;
}

.bb-connect-card h3 {
  margin-bottom: 13px;

  color: #ffffff;

  font-size: 20px;
  font-weight: 800;
}

.bb-connect-card p {
  color: #969188;

  font-size: 13px;
  line-height: 1.65;
}

.bb-inline-link {
  display: inline-block;

  margin-top: 16px;

  color: var(--bb-gold);

  font-size: 12px;
  font-weight: 800;
}

.bb-inline-link:hover {
  color: var(--bb-gold-light);
}


/* =========================================================
   FEATURES
   ========================================================= */

.bb-features-section {
  padding-top: 15px;
  padding-bottom: 80px;
}

.bb-features-box {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  padding: 23px;

  border: 1px solid rgba(244,197,66,.15);
  border-radius: 24px;

  background: #090806;
}

.bb-feature {
  position: relative;

  padding: 26px 22px;

  overflow: hidden;

  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #100e0a,
      #0a0907
    );
}

.bb-feature::after {
  content: "";

  position: absolute;
  right: -20px;
  bottom: -35px;

  width: 100px;
  height: 100px;

  border-radius: 50%;

  background:
    rgba(244,197,66,.045);
}

.bb-feature strong {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;

  font-size: 34px;
  font-weight: 900;

  letter-spacing: -2px;
}

.bb-feature span {
  color: #817c73;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 2px;
}


/* =========================================================
   HOME SHOP
   ========================================================= */

.bb-shop-section {
  border-top: 1px solid rgba(244,197,66,.05);

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(244,197,66,.04),
      transparent 40%
    );
}

.bb-home-shop-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 20px;
}

.bb-home-category {
  overflow: hidden;

  border: 1px solid rgba(244,197,66,.15);
  border-radius: 18px;

  background: #0c0a08;

  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.bb-home-category:hover {
  transform: translateY(-6px);

  border-color: rgba(244,197,66,.45);

  box-shadow:
    0 25px 50px rgba(0,0,0,.28);
}

.bb-category-image {
  display: grid;
  place-items: center;

  height: 190px;

  overflow: hidden;

  background:
    radial-gradient(
      circle,
      rgba(244,197,66,.10),
      transparent 65%
    ),
    #090806;
}

.bb-category-image img {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
}

.bb-category-default {
  display: grid;
  place-items: center;

  width: 80px;
  height: 80px;

  border: 1px solid rgba(244,197,66,.22);
  border-radius: 18px;

  color: var(--bb-gold);

  font-size: 30px;
}

.bb-category-info {
  padding: 20px;
}

.bb-category-info h3 {
  margin-bottom: 8px;

  color: #ffffff;

  font-size: 18px;
  font-weight: 800;
}

.bb-category-info span {
  color: var(--bb-gold);

  font-size: 11px;
  font-weight: 700;
}


/* =========================================================
   TEAM
   ========================================================= */

.bb-team-section {
  border-top: 1px solid rgba(244,197,66,.05);
}

.bb-team-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.bb-team-card {
  padding: 34px 25px;

  border: 1px solid rgba(244,197,66,.17);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #0e0c09,
      #080705
    );

  text-align: center;

  transition:
    transform .25s ease,
    border-color .25s ease;
}

.bb-team-card:hover {
  transform: translateY(-6px);

  border-color: rgba(244,197,66,.48);
}

.bb-team-avatar {
  display: grid;
  place-items: center;

  width: 94px;
  height: 94px;

  margin: 0 auto 22px;

  border: 2px solid rgba(244,197,66,.35);
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(244,197,66,.12),
      #0a0907
    );

  color: var(--bb-gold);

  font-size: 30px;

  box-shadow:
    0 0 28px rgba(244,197,66,.07);
}

.bb-team-card h3 {
  margin-bottom: 13px;

  color: #ffffff;

  font-size: 23px;
  font-weight: 900;
}

.bb-team-role {
  display: inline-block;

  margin-bottom: 20px;
  padding: 7px 15px;

  border: 1px solid rgba(244,197,66,.22);
  border-radius: 30px;

  color: var(--bb-gold);

  background: rgba(244,197,66,.05);

  font-size: 8px;
  font-weight: 900;

  letter-spacing: 2px;
}

.bb-team-card p {
  color: #908b82;

  font-size: 12px;
  line-height: 1.65;
}


/* =========================================================
   FAQ
   ========================================================= */

.bb-faq-section {
  border-top: 1px solid rgba(244,197,66,.05);
}

.bb-faq-list {
  width: min(850px, 100%);

  margin: 0 auto;
}

.bb-faq-item {
  margin-bottom: 12px;

  overflow: hidden;

  border: 1px solid rgba(244,197,66,.14);
  border-radius: 15px;

  background: #0b0a08;
}

.bb-faq-item[open] {
  border-color: rgba(244,197,66,.35);
}

.bb-faq-item summary {
  position: relative;

  padding: 20px 55px 20px 21px;

  color: #ffffff;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  list-style: none;
}

.bb-faq-item summary::-webkit-details-marker {
  display: none;
}

.bb-faq-item summary::after {
  content: "+";

  position: absolute;

  top: 50%;
  right: 21px;

  transform: translateY(-50%);

  color: var(--bb-gold);

  font-size: 22px;
  font-weight: 400;
}

.bb-faq-item[open] summary::after {
  content: "−";
}

.bb-faq-item > div {
  padding: 0 21px 20px;

  color: #8f8a81;

  font-size: 12px;
  line-height: 1.65;
}


/* =========================================================
   ADMIN HOME CONTENT
   ========================================================= */

.bb-admin-content {
  padding: 30px;

  border: 1px solid rgba(244,197,66,.15);
  border-radius: 18px;

  background: #0b0a08;
}


/* =========================================================
   HOME RESPONSIVE
   ========================================================= */

@media (width <= 960px) {

  .bb-home-hero {
    min-height: 590px;

    padding-top: 65px;
  }

  .bb-hero-title {
    letter-spacing: -4px;
  }

  .bb-connect-grid,
  .bb-team-grid {
    grid-template-columns: 1fr;
  }

  .bb-features-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-server-status-card {
    flex-wrap: wrap;

    gap: 18px;
  }

  .bb-status-divider {
    display: none;
  }

  .bb-status-column {
    flex: 1 1 35%;
  }

  .bb-status-ip {
    flex: 1 1 100%;

    padding-top: 15px;

    border-top: 1px solid rgba(244,197,66,.10);
  }

}


@media (width <= 600px) {

  .bb-home-container {
    width: calc(100% - 28px);
  }

  .bb-home-hero {
    min-height: 520px;

    padding: 55px 0 35px;
  }

  .bb-community-badge {
    padding: 8px 13px;

    font-size: 8px;

    letter-spacing: 1.7px;
  }

  .bb-hero-title {
    margin-top: 26px;

    letter-spacing: -3px;
  }

  .bb-hero-title > span {
    font-size: clamp(47px, 15vw, 72px);
  }

  .bb-hero-title > strong {
    font-size: clamp(43px, 14vw, 68px);
  }

  .bb-hero-description {
    font-size: 13px;
  }

  .bb-hero-buttons {
    width: 100%;
  }

  .bb-hero-button {
    flex: 1 1 100%;
  }

  .bb-server-status-card {
    margin-top: 32px;

    padding: 16px;

    border-radius: 17px;
  }

  .bb-status-logo {
    width: 52px;
    height: 52px;
  }

  .bb-status-column {
    min-width: 0;

    flex: 1;
  }

  .bb-home-section {
    padding: 65px 0;
  }

  .bb-section-header {
    margin-bottom: 30px;
  }

  .bb-section-header h2 {
    font-size: 32px;

    letter-spacing: -1px;
  }

  .bb-connect-card {
    min-height: auto;

    padding: 24px;
  }

  .bb-features-box {
    grid-template-columns: 1fr 1fr;

    padding: 13px;

    gap: 9px;
  }

  .bb-feature {
    padding: 20px 15px;
  }

  .bb-feature strong {
    font-size: 27px;
  }

  .bb-feature span {
    font-size: 7px;
  }

}
/* =========================================================
   BARRIO BAJO - HEADER LOGO
   ========================================================= */

.site-header .site-title img {
    width: 115px !important;
    height: 115px !important;
    max-width: 115px !important;
    max-height: 115px !important;
    object-fit: contain;
}

.site-header .site-title {
    display: flex;
    align-items: center;
    margin: 0;
}

.site-header-inner {
    min-height: 125px;
}

@media (max-width: 600px) {
    .site-header .site-title img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }

    .site-header-inner {
        min-height: 90px;
    }
}
/* =========================================================
   BARRIO BAJO - HERO BACKGROUND
   ========================================================= */

.bb-home-hero {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(5,5,5,0.58) 0%,
      rgba(5,5,5,0.72) 55%,
      #050505 100%
    ),
    radial-gradient(
      circle at 50% 22%,
      rgba(244,197,66,.18),
      transparent 45%
    );
}

.bb-home-hero::before {
  content: "";

  position: absolute;
  inset: -8%;

  z-index: 0;

  background-image:
    url("//dunb17ur4ymx4.cloudfront.net/webstore/logos/b5c4162dceefd38c3c021f69026cbdc7fa3541a4.png");

  background-position: center 38%;
  background-repeat: no-repeat;
  background-size: 850px auto;

  opacity: .10;

  filter:
    blur(5px)
    saturate(.75)
    brightness(.7);

  transform: scale(1.12);

  pointer-events: none;
}

.bb-home-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.18) 32%,
      rgba(0,0,0,.18) 68%,
      rgba(0,0,0,.72) 100%
    ),
    linear-gradient(
      180deg,
      transparent 55%,
      #050505 100%
    );

  pointer-events: none;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
}
/* =========================================================
   BARRIO BAJO - FONDO GLOBAL
   El fondo principal del hero se inyecta desde layout.html con asset().
   ========================================================= */

html,
body {
  background: #050505 !important;
}

body::before,
body::after {
  pointer-events: none;
}

/* =========================================================
   HERO CON ASSET TEBEX
   ========================================================= */

.bb-home-hero {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.40) 55%,
      rgba(5,5,5,.82) 100%
    ),
    var(--bb-hero-image)
    center 45% / cover no-repeat !important;
}

.bb-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(244,197,66,.08),
      transparent 55%
    ) !important;

  pointer-events: none;
}

.bb-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.35) 0%,
      transparent 25%,
      transparent 75%,
      rgba(0,0,0,.35) 100%
    ) !important;

  filter: none !important;
  pointer-events: none;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
}
/* =========================================================
   BARRIO BAJO RP - NAVEGACION PRINCIPAL
   ========================================================= */

.bb-navigation-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bb-navigation-list > li {
    position: relative !important;
    list-style: none !important;
}

.bb-navigation-list > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    padding: 13px 16px !important;

    color: #c7c2b8 !important;
    text-decoration: none !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    border-radius: 10px !important;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease !important;
}

.bb-navigation-list > li > a:hover {
    color: #f4c542 !important;
    background: rgba(244, 197, 66, 0.07) !important;
}

.bb-navigation-list > li.active > a,
.bb-navigation-list > li > a.link-active {
    color: #f4c542 !important;
    background: rgba(244, 197, 66, 0.10) !important;
    border: 1px solid rgba(244, 197, 66, 0.12) !important;
}

.bb-nav-icon {
    color: #f4c542 !important;
    font-size: 12px !important;
}


/* =========================================================
   DROPDOWN TIENDA
   ========================================================= */

.bb-store-dropdown {
    display: none !important;

    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;

    min-width: 220px !important;

    margin: 0 !important;
    padding: 8px !important;

    background: rgba(7, 7, 7, 0.98) !important;

    border: 1px solid rgba(244, 197, 66, 0.25) !important;
    border-radius: 12px !important;

    box-shadow:
        0 20px 50px rgba(0,0,0,.55),
        0 0 30px rgba(244,197,66,.04) !important;

    z-index: 99999 !important;
}

.bb-nav-store:hover > .bb-store-dropdown {
    display: block !important;
}

.bb-store-dropdown > li {
    list-style: none !important;
    position: relative !important;
}

.bb-store-dropdown > li > a {
    display: block !important;

    padding: 11px 14px !important;

    color: #c7c2b8 !important;
    text-decoration: none !important;

    border-radius: 8px !important;
}

.bb-store-dropdown > li > a:hover {
    color: #f4c542 !important;
    background: rgba(244, 197, 66, .08) !important;
}


/* =========================================================
   SUBCATEGORIAS
   ========================================================= */

.bb-store-subcategories {
    margin: 3px 0 5px 12px !important;
    padding-left: 10px !important;

    border-left: 1px solid rgba(244,197,66,.20) !important;
}

.bb-store-subcategories li {
    list-style: none !important;
}

.bb-store-subcategories a {
    display: block !important;
    padding: 8px 10px !important;

    color: #8f8b83 !important;
    text-decoration: none !important;

    font-size: 13px !important;
}

.bb-store-subcategories a:hover {
    color: #f4c542 !important;
}


/* =========================================================
   NAVEGACION HORIZONTAL
   ========================================================= */

.navigation-horizontal {
    position: relative !important;
    z-index: 1000 !important;
}

.navigation-horizontal .bb-nav-inner {
    display: flex !important;
    align-items: center !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 960px) {

    .bb-navigation-list {
        display: block !important;
    }

    .bb-navigation-list > li {
        width: 100% !important;
    }

    .bb-navigation-list > li > a {
        width: 100% !important;
        padding: 14px 16px !important;
    }

    .bb-store-dropdown {
        display: block !important;
        position: static !important;

        min-width: 0 !important;
        width: 100% !important;

        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;

        padding-left: 20px !important;
    }
}
/* =========================================================
   BARRIO BAJO - CUSTOM PAGES
   ========================================================= */

.bb-cms-page .site-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.bb-cms-hero {
  position: relative;

  padding: 90px 0 65px;

  text-align: center;

  border-bottom:
    1px solid rgba(244,197,66,.10);

  background:
    radial-gradient(
      ellipse at 50% 20%,
      rgba(244,197,66,.12),
      transparent 55%
    ),
    rgba(5,5,5,.65);
}

.bb-cms-title {
  margin-top: 10px;

  color: #ffffff;

  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;

  letter-spacing: -3px;

  text-transform: uppercase;
}

.bb-cms-title::after {
  content: "";

  display: block;

  width: 70px;
  height: 3px;

  margin: 20px auto 0;

  border-radius: 3px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--bb-gold),
      transparent
    );
}

.bb-cms-subtitle {
  margin-top: 20px;

  color: #918c83;

  font-size: 14px;
}

.bb-cms-content-section {
  padding: 70px 0 100px;
}

.bb-cms-content {
  padding: 35px;

  border:
    1px solid rgba(244,197,66,.16);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(14,12,9,.96),
      rgba(7,7,6,.96)
    );

  box-shadow:
    0 25px 70px rgba(0,0,0,.28);
}

.bb-cms-content h1,
.bb-cms-content h2,
.bb-cms-content h3 {
  color: #ffffff;
}

.bb-cms-content h2 {
  margin-top: 35px;
  margin-bottom: 18px;

  color: var(--bb-gold);

  font-size: 26px;
}

.bb-cms-content h3 {
  margin-top: 25px;

  font-size: 19px;
}

.bb-cms-content p {
  color: #aaa59b;

  line-height: 1.75;
}

.bb-cms-content ul,
.bb-cms-content ol {
  margin: 18px 0 18px 22px;
}

.bb-cms-content li {
  display: list-item;

  margin-bottom: 9px;

  color: #aaa59b;

  line-height: 1.6;
}

.bb-cms-content a {
  color: var(--bb-gold);

  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-cms-content blockquote {
  margin: 25px 0;
  padding: 18px 20px;

  border-left:
    3px solid var(--bb-gold);

  background:
    rgba(244,197,66,.05);

  color: #c6c1b7;
}

@media (max-width: 600px) {

  .bb-cms-hero {
    padding: 60px 0 45px;
  }

  .bb-cms-title {
    font-size: 40px;

    letter-spacing: -1px;
  }

  .bb-cms-content-section {
    padding: 40px 0 70px;
  }

  .bb-cms-content {
    padding: 22px;
  }

}

/* =========================================================
   BARRIO BAJO RP - NORMATIVAS V2
   Menú lateral + una normativa por vez
   ========================================================= */

.bb-cms-page .bb-cms-hero {
  padding: 54px 0 36px !important;
  border-bottom: 0 !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(244,197,66,.09), transparent 58%),
    transparent !important;
}

.bb-cms-page .bb-cms-title {
  font-size: clamp(34px, 4.6vw, 54px) !important;
  letter-spacing: -2px !important;
}

.bb-cms-page .bb-cms-subtitle {
  margin-top: 13px !important;
  font-size: 12px !important;
}

.bb-cms-page .bb-cms-content-section {
  padding: 10px 0 90px !important;
}

.bb-cms-page .bb-cms-content {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bb-rules-app {
  width: 100%;
}

.bb-rules-page-head {
  display: none;
}

.bb-rules-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  width: 100%;
}

/* -------- Menú lateral -------- */

.bb-rules-sidebar {
  position: sticky;
  top: 108px;
  overflow: hidden;
  border: 1px solid rgba(244,197,66,.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(13,12,9,.98), rgba(6,6,5,.98));
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.bb-rules-sidebar-title {
  padding: 17px 18px 13px;
  border-bottom: 1px solid rgba(244,197,66,.09);
  color: #817b70;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2.3px;
}

.bb-rules-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.bb-rules-nav-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 68px;
  padding: 10px !important;
  border: 1px solid transparent !important;
  border-radius: 12px;
  background: transparent !important;
  color: #fff !important;
  text-align: left !important;
  cursor: pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.bb-rules-nav-item:hover {
  transform: translateX(2px);
  border-color: rgba(244,197,66,.18) !important;
  background: rgba(244,197,66,.045) !important;
}

.bb-rules-nav-item.active {
  border-color: rgba(244,197,66,.42) !important;
  background:
    linear-gradient(90deg, rgba(244,197,66,.12), rgba(244,197,66,.025)) !important;
  box-shadow:
    inset 3px 0 0 var(--bb-gold),
    0 8px 22px rgba(0,0,0,.17);
}

.bb-rules-nav-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244,197,66,.18);
  border-radius: 11px;
  color: var(--bb-gold);
  background: rgba(244,197,66,.045);
  font-size: 18px;
  font-weight: 900;
}

.bb-rules-nav-item.active .bb-rules-nav-icon {
  border-color: rgba(244,197,66,.38);
  background: rgba(244,197,66,.10);
}

.bb-rules-nav-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bb-rules-nav-copy strong {
  overflow: hidden;
  color: #f5f3ed;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-rules-nav-copy small {
  margin-top: 4px;
  overflow: hidden;
  color: #736f67;
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-rules-nav-arrow {
  color: #625e56;
  font-size: 19px;
  transition: color .18s ease, transform .18s ease;
}

.bb-rules-nav-item.active .bb-rules-nav-arrow {
  color: var(--bb-gold);
  transform: translateX(2px);
}

/* -------- Visor -------- */

.bb-rules-viewer {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(244,197,66,.14);
  border-radius: 18px;
  background: rgba(6,6,5,.98);
  box-shadow: 0 22px 70px rgba(0,0,0,.30);
}

.bb-rules-toolbar {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) minmax(230px, 340px);
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(244,197,66,.10);
  background: rgba(4,4,4,.99);
}

.bb-rules-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bb-rules-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.bb-rules-window-dots span:nth-child(1) { background: #ff5f57; }
.bb-rules-window-dots span:nth-child(2) { background: #febc2e; }
.bb-rules-window-dots span:nth-child(3) { background: #28c840; }

.bb-rules-current {
  min-width: 0;
}

.bb-rules-current strong {
  display: block;
  overflow: hidden;
  color: var(--bb-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-rules-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: #090908;
}

.bb-rules-search:focus-within {
  border-color: rgba(244,197,66,.36);
  box-shadow: 0 0 0 3px rgba(244,197,66,.045);
}

.bb-rules-search span {
  color: #777168;
  font-size: 14px;
}

.bb-rules-search input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  color: #fff !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 10px;
  box-shadow: none !important;
}

.bb-rules-search input::placeholder {
  color: #625e57;
}

.bb-rules-panels {
  height: min(72vh, 790px);
  min-height: 610px;
  overflow-y: auto;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,197,66,.30) #080807;
}

.bb-rules-panels::-webkit-scrollbar {
  width: 7px;
}

.bb-rules-panels::-webkit-scrollbar-track {
  background: #080807;
}

.bb-rules-panels::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(244,197,66,.28);
}

/* -------- Cada normativa -------- */

.bb-rule-panel {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bb-rule-panel.active {
  display: block !important;
  animation: bbRuleFade .20s ease;
}

@keyframes bbRuleFade {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.bb-rule-panel .bb-rule-section-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid rgba(244,197,66,.10);
  background:
    linear-gradient(90deg, rgba(244,197,66,.075), transparent 43%),
    rgba(10,10,9,.97);
  backdrop-filter: blur(12px);
}

.bb-rule-section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244,197,66,.24);
  border-radius: 11px;
  color: var(--bb-gold);
  background: rgba(244,197,66,.065);
  font-size: 19px;
  font-weight: 900;
}

.bb-rule-kicker {
  display: block;
  margin-bottom: 3px;
  color: #756f66;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.bb-rule-panel .bb-rule-section-head h2 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.3px;
}

.bb-rule-panel .bb-rule-text {
  width: min(850px, calc(100% - 46px));
  margin: 0 auto;
  padding: 30px 0 48px;
}

.bb-rule-text h3 {
  margin: 32px 0 14px !important;
  padding: 0 0 0 13px;
  border-left: 3px solid var(--bb-gold);
  color: #f6f4ee !important;
  font-size: 17px !important;
  font-weight: 850 !important;
  line-height: 1.38;
  text-align: left !important;
}

.bb-rule-text h3:first-child {
  margin-top: 0 !important;
}

.bb-rule-text p {
  margin: 0 0 13px !important;
  color: #aaa69d !important;
  font-size: 12px !important;
  line-height: 1.74;
  text-align: left !important;
}

.bb-rule-text ul,
.bb-rule-text ol {
  margin: 11px 0 20px 22px !important;
  padding: 0 !important;
}

.bb-rule-text li {
  display: list-item !important;
  margin-bottom: 8px;
  color: #aaa69d !important;
  font-size: 12px !important;
  line-height: 1.65;
}

.bb-rule-text li::marker {
  color: var(--bb-gold);
}

.bb-rule-text strong,
.bb-rule-text b {
  color: #e8e4da;
}

.bb-rule-search-hit {
  border-radius: 5px;
  outline: 1px solid rgba(244,197,66,.45);
  background: rgba(244,197,66,.09) !important;
}

/* -------- Responsive -------- */

@media (max-width: 1050px) {
  .bb-rules-shell {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 15px;
  }

  .bb-rules-nav-copy small {
    display: none;
  }
}

@media (max-width: 820px) {
  .bb-rules-shell {
    display: block;
  }

  .bb-rules-sidebar {
    position: relative;
    top: auto;
    margin-bottom: 14px;
  }

  .bb-rules-sidebar-title {
    display: none;
  }

  .bb-rules-nav {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 9px;
    scrollbar-width: none;
  }

  .bb-rules-nav::-webkit-scrollbar {
    display: none;
  }

  .bb-rules-nav-item {
    grid-template-columns: 34px auto;
    flex: 0 0 auto;
    width: auto;
    min-height: 52px;
    padding: 8px 12px !important;
  }

  .bb-rules-nav-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .bb-rules-nav-copy strong {
    max-width: 150px;
  }

  .bb-rules-nav-arrow {
    display: none;
  }

  .bb-rules-toolbar {
    grid-template-columns: auto 1fr;
  }

  .bb-rules-search {
    grid-column: 1 / -1;
  }

  .bb-rules-panels {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 600px) {
  .bb-cms-page .bb-cms-hero {
    padding: 40px 0 25px !important;
  }

  .bb-cms-page .bb-cms-title {
    font-size: 36px !important;
  }

  .bb-rules-viewer {
    border-radius: 14px;
  }

  .bb-rules-toolbar {
    min-height: 56px;
    padding: 9px 11px;
  }

  .bb-rules-window-dots {
    display: none;
  }

  .bb-rules-current strong {
    font-size: 9px;
  }

  .bb-rule-panel .bb-rule-section-head {
    padding: 15px !important;
  }

  .bb-rule-section-icon {
    width: 40px;
    height: 40px;
  }

  .bb-rule-panel .bb-rule-section-head h2 {
    font-size: 17px !important;
  }

  .bb-rule-panel .bb-rule-text {
    width: calc(100% - 28px);
    padding: 24px 0 38px;
  }

  .bb-rule-text h3 {
    font-size: 15px !important;
  }

  .bb-rule-text p,
  .bb-rule-text li {
    font-size: 11px !important;
  }
}

/* =========================================================
   BARRIO BAJO RP - HERO FINAL
   ========================================================= */
.bb-home-hero {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.34) 52%,
      rgba(5,5,5,.80) 100%
    ),
    var(--bb-hero-image) center 46% / cover no-repeat !important;
}

.bb-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(244,197,66,.08), transparent 56%) !important;
  pointer-events: none;
}

.bb-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), transparent 25%, transparent 75%, rgba(0,0,0,.35)) !important;
  filter: none !important;
  pointer-events: none;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
}

/* Menú Tienda: oculto hasta hover en escritorio */
@media (min-width: 961px) {
  .bb-store-dropdown {
    display: none !important;
  }
  .bb-nav-store:hover > .bb-store-dropdown {
    display: block !important;
  }
}


/* =========================================================
   BARRIO BAJO RP - V3 DEFINITIVO
   Header limpio, menú centrado, tipografía más compacta
   ========================================================= */

/* HEADER */
.bb-header {
  border-bottom: 0 !important;
  box-shadow: none !important;
  background: rgba(4,4,4,.97) !important;
}

.bb-header-inner {
  width: min(1320px, calc(100% - 40px)) !important;
  height: 74px !important;
  gap: 14px !important;
}

.bb-brand-link {
  height: 64px !important;
}

.bb-brand-logo {
  max-width: 78px !important;
  height: 58px !important;
}

@media (min-width: 961px) {
  .bb-header-navigation {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
  }

  .bb-navigation,
  .bb-navigation .bb-nav-inner {
    width: auto !important;
  }

  .bb-navigation-list {
    justify-content: center !important;
    gap: 2px !important;
    width: auto !important;
  }
}

.bb-navigation-list > .bb-nav-item > a,
.bb-navigation-list > li > a {
  gap: 6px !important;
  padding: 9px 11px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
}

.bb-nav-icon {
  min-width: 13px !important;
  font-size: 10px !important;
}

.bb-account-area,
.bb-user-actions {
  margin-left: auto;
}

.bb-user-name,
.bb-login-button,
.bb-basket-button {
  min-height: 42px !important;
  font-size: 11px !important;
}

.bb-login-content strong {
  font-size: 11px !important;
}

.bb-login-content small {
  font-size: 7px !important;
}

/* Elimina por completo la franja que estaba debajo del menú */
.bb-community-bar,
.bb-community-bar-inner,
.bb-server-info,
.bb-discord-info {
  display: none !important;
}

/* HERO compacto */
.bb-home-hero {
  min-height: 570px !important;
  padding: 42px 0 36px !important;
}

.bb-hero-content {
  padding-top: 0 !important;
}

.bb-hero-welcome {
  margin-bottom: 22px;
  color: #cfc9bd;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 5px;
}

.bb-community-badge {
  display: none !important;
}

.bb-hero-title-single {
  margin: 0 0 20px !important;
  letter-spacing: -2px !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.bb-hero-title-single > span,
.bb-hero-title-single > strong {
  display: inline !important;
  font-size: clamp(38px, 5.2vw, 72px) !important;
  line-height: 1 !important;
}

.bb-hero-title-single > span {
  color: #fff !important;
}

.bb-hero-title-single > strong {
  margin: 0 !important;
  color: var(--bb-gold) !important;
}

.bb-hero-description {
  width: min(650px, 100%) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.bb-hero-buttons {
  display: none !important;
}

/* STATUS CARD FINAL */
.bb-server-status-final {
  width: min(980px, 100%) !important;
  min-height: 76px !important;
  margin: 30px auto 0 !important;
  padding: 13px 18px !important;
  border-radius: 14px !important;
  gap: 16px;
}

.bb-server-status-final .bb-status-column {
  min-width: 110px;
}

.bb-status-label {
  font-size: 7px !important;
  letter-spacing: 1.5px !important;
}

.bb-server-status-final strong {
  font-size: 11px !important;
}

.bb-status-divider {
  height: 38px !important;
}

.bb-status-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.bb-status-connect,
.bb-status-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  height: 42px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none !important;
}

.bb-status-connect {
  border: 1px solid #f7d35f;
  background: linear-gradient(135deg, #f7d35f, #c58b16);
  color: #070707 !important;
}

.bb-status-discord {
  border: 1px solid rgba(244,197,66,.24);
  background: #0d0c09;
  color: #fff !important;
}

/* Todo el contenido custom más compacto */
.bb-section-overline {
  font-size: 8px !important;
}

.bb-section-header h2,
.bb-cms-title {
  font-size: clamp(28px, 4vw, 46px) !important;
}

.bb-section-header p,
.bb-cms-subtitle,
.bb-connect-card p,
.bb-team-card p,
.bb-faq-item,
.bb-category-info span {
  font-size: 10px !important;
}

.bb-connect-card h3,
.bb-team-card h3,
.bb-category-info h3 {
  font-size: 15px !important;
}

/* =========================================================
   TIENDA - MENÚ LATERAL
   ========================================================= */

.bb-shop-page-section {
  padding-top: 14px !important;
}

.bb-shop-container {
  width: min(1240px, calc(100% - 40px)) !important;
}

.bb-shop-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.bb-shop-sidebar {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid rgba(244,197,66,.14);
  border-radius: 14px;
  background: rgba(7,7,6,.97);
}

.bb-shop-sidebar-title {
  padding: 14px 15px 11px;
  border-bottom: 1px solid rgba(244,197,66,.08);
  color: #7e786f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.bb-shop-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
}

.bb-shop-nav-item {
  display: grid !important;
  grid-template-columns: 28px minmax(0,1fr) 14px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 45px;
  padding: 8px 9px !important;
  border: 1px solid transparent !important;
  border-radius: 9px;
  background: transparent !important;
  color: #aaa59b !important;
  text-align: left !important;
  font-size: 10px !important;
}

.bb-shop-nav-item:hover,
.bb-shop-nav-item.active {
  border-color: rgba(244,197,66,.30) !important;
  background: rgba(244,197,66,.07) !important;
  color: #fff !important;
}

.bb-shop-nav-item.active {
  box-shadow: inset 2px 0 0 var(--bb-gold);
}

.bb-shop-nav-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(244,197,66,.07);
  color: var(--bb-gold);
  font-size: 9px;
}

.bb-shop-nav-arrow {
  color: #69645d;
}

.bb-shop-content {
  min-width: 0;
}

.bb-shop-panel {
  display: none;
}

.bb-shop-panel.active {
  display: block;
}

.bb-shop-panel-head {
  display: flex;
  align-items: center;
  min-height: 64px;
  margin-bottom: 14px;
  padding: 14px 17px;
  border: 1px solid rgba(244,197,66,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(14,12,9,.97), rgba(7,7,6,.97));
}

.bb-shop-panel-head h2 {
  margin: 2px 0 0 !important;
  color: #fff !important;
  font-size: 22px !important;
}

.bb-shop-kicker {
  color: #756f66;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.bb-shop-category-description {
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(244,197,66,.11);
  border-radius: 11px;
  background: rgba(8,8,7,.94);
  font-size: 10px;
}

.bb-shop-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 13px;
}

.bb-shop-product {
  overflow: hidden;
  border: 1px solid rgba(244,197,66,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(14,12,9,.98), rgba(7,7,6,.98));
  transition: transform .18s ease, border-color .18s ease;
}

.bb-shop-product:hover {
  transform: translateY(-3px);
  border-color: rgba(244,197,66,.35);
}

.bb-shop-product-media {
  display: block;
  height: 150px;
  overflow: hidden;
  background: #0d0c09;
}

.bb-shop-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-shop-product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--bb-gold);
  font-size: 28px;
}

.bb-shop-product-body {
  padding: 13px;
}

.bb-shop-product h3 {
  margin: 0 0 7px !important;
  color: #fff !important;
  font-size: 13px !important;
}

.bb-shop-product-desc {
  min-height: 46px;
  margin: 0 0 11px !important;
  color: #8d887f !important;
  font-size: 9px !important;
  line-height: 1.55;
}

.bb-shop-product-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(244,197,66,.08);
}

.bb-shop-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bb-shop-price strong {
  color: var(--bb-gold);
  font-size: 14px;
}

.bb-shop-price small {
  color: #777168;
  font-size: 7px;
}

.bb-shop-old-price {
  color: #6f6a62;
  font-size: 8px;
  text-decoration: line-through;
}

.bb-shop-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bb-gold);
  color: #090909 !important;
  font-size: 8px;
  font-weight: 900;
  text-decoration: none !important;
}

.bb-shop-empty,
.bb-shop-empty-side {
  padding: 26px 18px;
  color: #817c73;
  font-size: 9px;
  text-align: center;
}

/* =========================================================
   STAFF V3
   ========================================================= */

.bb-staff-grid {
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
}

.bb-staff-card {
  padding: 18px !important;
}

.bb-staff-photo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 2px solid rgba(244,197,66,.26);
  border-radius: 50%;
  background: #0d0c09;
}

.bb-staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-staff-placeholder {
  color: var(--bb-gold);
  font-size: 28px;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 1050px) {
  .bb-hero-title-single {
    white-space: normal;
  }

  .bb-shop-products {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .bb-staff-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  }
}

@media (max-width: 820px) {
  .bb-header-inner {
    height: 66px !important;
  }

  .bb-home-hero {
    min-height: 520px !important;
    padding-top: 30px !important;
  }

  .bb-hero-title-single > span,
  .bb-hero-title-single > strong {
    font-size: clamp(34px, 11vw, 54px) !important;
  }

  .bb-server-status-final {
    flex-wrap: wrap;
  }

  .bb-status-actions {
    width: 100%;
    margin-left: 0;
  }

  .bb-status-connect,
  .bb-status-discord {
    flex: 1;
  }

  .bb-shop-layout {
    display: block;
  }

  .bb-shop-sidebar {
    position: static;
    margin-bottom: 12px;
  }

  .bb-shop-sidebar-title {
    display: none;
  }

  .bb-shop-nav {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bb-shop-nav::-webkit-scrollbar {
    display: none;
  }

  .bb-shop-nav-item {
    flex: 0 0 auto;
    width: auto;
    grid-template-columns: 24px auto;
  }

  .bb-shop-nav-arrow {
    display: none;
  }

  .bb-staff-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 560px) {
  .bb-shop-products {
    grid-template-columns: 1fr;
  }

  .bb-staff-grid {
    grid-template-columns: 1fr !important;
  }

  .bb-hero-description {
    font-size: 10px !important;
  }
}


/* =========================================================
   BARRIO BAJO RP - HOTFIX V3.1
   Evita elementos crudos/duplicados si Exo conserva reglas viejas
   ========================================================= */
.mobile-only {
  display: none !important;
}

.close-navigation {
  display: none !important;
}

@media (max-width: 960px) {
  .mobile-only {
    display: list-item !important;
  }

  body.show-navigation .close-navigation {
    display: inline-flex !important;
  }
}

/* La barra secundaria marcada para eliminar queda siempre oculta */
.bb-community-bar,
.bb-community-bar-inner,
.bb-server-info,
.bb-discord-info {
  display: none !important;
}

/* No renderizar widgets/sidebar automáticos en la portada custom */
.page-index .site-content-widgets,
.page-index > .widget,
.page-index .site-home-categories {
  display: none !important;
}


/* =========================================================
   BARRIO BAJO RP - V3.2 HOME LIMPIO
   ========================================================= */

/* Si Tebex llegara a renderizar el header dos veces, mostramos solo el primero. */
.site > .site-header + .site-header {
  display: none !important;
}

/* En Inicio no mostramos bloques de Tienda / Staff / FAQ:
   cada uno vive en su página independiente. */
.page-index .bb-shop-section,
.page-index .bb-team-section,
.page-index .bb-faq-section {
  display: none !important;
}


/* =========================================================
   BARRIO BAJO RP - V3.3 HEADER Y FOOTER COMPACTOS
   ========================================================= */

/* Quita el gran bloque negro entre menú y hero */
.site-header,
.bb-header {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bb-header-inner {
  height: 68px !important;
  min-height: 68px !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.bb-brand-link {
  height: 58px !important;
}

.bb-brand-logo {
  max-width: 68px !important;
  height: 52px !important;
}

.bb-home-hero {
  margin-top: 0 !important;
  min-height: 520px !important;
  padding-top: 30px !important;
}

/* Header derecho: idioma + cuenta */
.bb-header-right {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.bb-language-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 7px;
  border: 1px solid rgba(244,197,66,.18);
  border-radius: 8px;
  background: rgba(244,197,66,.035);
}

.bb-language-symbol {
  font-size: 11px;
}

.bb-language-picker select {
  width: 42px;
  min-width: 42px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #d3cec5 !important;
  font-size: 9px !important;
  font-weight: 800;
}

.bb-language-picker option {
  color: #111;
}

/* FOOTER compacto */
.bb-footer {
  margin-top: 20px !important;
  padding: 0 !important;
}

.bb-footer-inner {
  padding: 18px 0 16px !important;
}

.bb-footer-main {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr) 290px;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.bb-footer-brand {
  gap: 10px !important;
}

.bb-footer-logo {
  max-width: 58px !important;
  height: 52px !important;
}

.bb-footer-brand-text strong {
  font-size: 15px !important;
}

.bb-footer-brand-text small {
  font-size: 7px !important;
  letter-spacing: 2px !important;
}

.bb-footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bb-footer-links {
  justify-content: center !important;
  gap: 7px 14px !important;
}

.bb-footer-links a {
  font-size: 9px !important;
}

.bb-payment-section {
  display: flex !important;
  flex-direction: column;
  gap: 7px !important;
  margin: 0 !important;
}

.bb-payment-title {
  font-size: 7px !important;
}

.bb-we-accept {
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bb-we-accept li {
  min-width: 40px !important;
  height: 27px !important;
  padding: 4px 6px !important;
}

.bb-we-accept img {
  max-width: 34px !important;
  max-height: 17px !important;
}

.bb-payment-text-badge {
  width: auto !important;
  min-width: 52px !important;
  padding: 0 8px !important;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
}

.bb-paypal-badge {
  color: #7eb6ff !important;
}

.bb-binance-badge {
  color: #f3ba2f !important;
}

.bb-footer-right {
  text-align: right;
}

.bb-footer-right p {
  margin: 3px 0 !important;
}

.bb-footer-right .copyright {
  color: #aaa59b;
  font-size: 9px !important;
}

.bb-footer-disclaimer,
.bb-footer-powered {
  font-size: 7px !important;
  line-height: 1.45;
}

/* Términos */
.bb-terms-card {
  max-width: 900px;
  margin: 0 auto;
}

.bb-terms-card h2 {
  margin-top: 26px !important;
  color: var(--bb-gold) !important;
  font-size: 17px !important;
  text-align: left !important;
}

.bb-terms-card p {
  font-size: 11px !important;
  line-height: 1.7 !important;
}

@media (max-width: 960px) {
  .bb-footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bb-footer-brand {
    justify-content: center;
  }

  .bb-footer-right {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .bb-header-inner {
    height: 62px !important;
    min-height: 62px !important;
  }

  .bb-header-right {
    gap: 5px;
  }

  .bb-language-symbol {
    display: none;
  }

  .bb-language-picker {
    height: 34px;
    padding: 0 5px;
  }

  .bb-footer-links {
    gap: 6px 10px !important;
  }
}


/* =========================================================
   BARRIO BAJO RP - V3.4 CORRECCIONES
   ========================================================= */

/* Selector de idiomas: claro, visible y clickeable */
.bb-language-picker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  height: 36px !important;
  padding: 4px 6px !important;
  border: 1px solid rgba(244,197,66,.28) !important;
  border-radius: 9px !important;
  background: #0b0a08 !important;
}

.bb-language-symbol {
  margin: 0 3px 0 1px;
  font-size: 11px !important;
}

.bb-lang-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 31px;
  height: 26px;
  padding: 0 6px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #aaa59b !important;
  font-family: inherit !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  cursor: pointer;
}

.bb-lang-btn:hover {
  color: #fff !important;
  background: rgba(244,197,66,.07) !important;
}

.bb-lang-btn.active {
  border-color: rgba(244,197,66,.45) !important;
  background: var(--bb-gold) !important;
  color: #090909 !important;
}

/* Footer V3.4: dos filas limpias, nada superpuesto */
.bb-footer {
  margin-top: 16px !important;
  padding: 0 !important;
  border-top: 1px solid rgba(244,197,66,.10) !important;
  background: #060605 !important;
}

.bb-footer-inner {
  width: min(1180px, calc(100% - 36px)) !important;
  margin: 0 auto !important;
  padding: 20px 0 18px !important;
}

.bb-footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bb-footer-top-row .bb-footer-brand {
  flex: 0 0 auto;
}

.bb-footer-top-row .bb-footer-links {
  display: flex !important;
  flex: 1;
  justify-content: flex-end !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px !important;
  margin: 0 !important;
}

.bb-footer-top-row .bb-footer-links a {
  color: #8f8a82 !important;
  font-size: 9px !important;
  text-decoration: none !important;
}

.bb-footer-top-row .bb-footer-links a:hover {
  color: var(--bb-gold) !important;
}

.bb-footer-divider {
  width: 100%;
  height: 1px;
  margin: 15px 0 !important;
  background: rgba(244,197,66,.10) !important;
}

.bb-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bb-footer-bottom-row .bb-payment-section {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px !important;
  margin: 0 !important;
}

.bb-footer-bottom-row .bb-payment-title {
  flex: 0 0 auto;
  color: #716c64 !important;
  font-size: 7px !important;
  font-weight: 900 !important;
  letter-spacing: 1.7px !important;
}

.bb-footer-bottom-row .bb-we-accept {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px !important;
  margin: 0 !important;
}

.bb-footer-bottom-row .bb-we-accept li {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 43px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px !important;
  background: rgba(255,255,255,.025);
}

.bb-footer-bottom-row .bb-we-accept img {
  display: block !important;
  width: auto !important;
  max-width: 34px !important;
  height: auto !important;
  max-height: 17px !important;
}

.bb-payment-text-badge {
  color: #fff !important;
  font-size: 7px !important;
  font-weight: 900 !important;
}

.bb-paypal-badge {
  color: #78aef9 !important;
}

.bb-binance-badge {
  color: #f3ba2f !important;
}

.bb-footer-legal {
  flex: 0 1 390px;
  text-align: right;
}

.bb-footer-legal p {
  margin: 2px 0 !important;
}

.bb-footer-legal .copyright {
  color: #b1aca3 !important;
  font-size: 9px !important;
}

.bb-footer-legal .bb-footer-disclaimer,
.bb-footer-legal .bb-footer-powered {
  color: #65615b !important;
  font-size: 7px !important;
  line-height: 1.45 !important;
}

/* FAQ: que las respuestas se vean y tengan separación */
.bb-faq-list {
  width: min(850px, 100%) !important;
  margin: 0 auto !important;
}

.bb-faq-item {
  margin-bottom: 9px !important;
}

.bb-faq-item summary {
  cursor: pointer !important;
  color: #eeeae2 !important;
  font-size: 11px !important;
}

.bb-faq-item > div {
  padding: 14px 16px 16px !important;
  color: #9e998f !important;
  font-size: 10px !important;
  line-height: 1.65 !important;
}

/* Respeta hidden en contenido multiidioma */
.bb-lang-content[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .bb-footer-top-row,
  .bb-footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }

  .bb-footer-top-row .bb-footer-links {
    justify-content: center !important;
  }

  .bb-footer-bottom-row .bb-payment-section {
    flex-direction: column !important;
  }

  .bb-footer-legal {
    flex: none;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .bb-language-symbol {
    display: none !important;
  }

  .bb-language-picker {
    gap: 2px !important;
    padding: 3px !important;
  }

  .bb-lang-btn {
    min-width: 28px;
    padding: 0 4px !important;
  }
}


/* =========================================================
   BARRIO BAJO RP - V3.5 COMPACTO + TIKTOK + SOPORTE
   ========================================================= */

/* Reduce espacios negros grandes entre contenido y footer */
.bb-home-section {
  padding-top: 42px !important;
  padding-bottom: 42px !important;
}

.bb-cms-content-section {
  padding-top: 14px !important;
  padding-bottom: 46px !important;
}

.bb-cms-hero {
  padding-top: 38px !important;
  padding-bottom: 24px !important;
}

.bb-footer {
  margin-top: 0 !important;
}

.bb-footer-inner {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.bb-footer-divider {
  margin: 11px 0 !important;
}

/* Evita que el contenedor principal reserve altura innecesaria */
.site,
.site-content,
.bb-home-page,
.bb-cms-page {
  min-height: 0 !important;
}

.bb-home-section:last-of-type,
.bb-cms-content-section:last-of-type {
  margin-bottom: 0 !important;
}

/* ---------------------------------------------------------
   TIKTOK FLOTANTE IZQUIERDA
   --------------------------------------------------------- */
.bb-floating-tiktok {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 46px;
  padding: 0 12px 0 10px;
  border: 1px solid rgba(244,197,66,.26);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  background: rgba(7,7,7,.96);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.bb-floating-tiktok:hover {
  transform: translateY(-50%) translateX(3px);
  border-color: rgba(244,197,66,.50);
  background: #0d0c09;
}

.bb-tiktok-note {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.bb-floating-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .4px;
}

@media (max-width: 700px) {
  .bb-floating-tiktok {
    height: 42px;
    padding-right: 8px;
  }

  .bb-floating-label {
    display: none;
  }
}



/* =========================================================
   BARRIO BAJO RP - V3.7 FIX DEFINITIVO
   Corrige ancho, espacios negros y footer
   ========================================================= */

/* Restaurar el layout GRID original de Tebex.
   La V3.6 lo había convertido a flex y por eso todo quedó angosto/torcido. */
.site {
  display: grid !important;
  grid-template-columns: 100% !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  min-height: 0 !important;
  width: 100% !important;
  gap: 0 !important;
}

/* Todos los bloques principales ocupan todo el ancho */
.site > * {
  min-width: 0;
}

.bb-home-hero,
.bb-home-section,
.bb-cms-hero,
.bb-cms-content-section,
.bb-shop-page-section,
.bb-footer {
  width: 100% !important;
}

/* Quitar separaciones negras excesivas */
.bb-home-section {
  margin: 0 !important;
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.bb-cms-content-section,
.bb-shop-page-section {
  margin: 0 !important;
  padding-top: 14px !important;
  padding-bottom: 34px !important;
}

.bb-home-section:last-of-type,
.bb-cms-content-section:last-of-type,
.bb-shop-page-section:last-of-type {
  padding-bottom: 26px !important;
}

/* Footer compacto y pegado al contenido */
.bb-footer {
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(244,197,66,.10) !important;
  background: #060605 !important;
}

.bb-footer-inner {
  width: min(1180px, calc(100% - 36px)) !important;
  margin: 0 auto !important;
  padding: 14px 0 12px !important;
}

.bb-footer-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.bb-footer-divider {
  margin: 10px 0 !important;
}

.bb-footer-bottom-row {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
}

.bb-footer-bottom-row .bb-payment-section {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.bb-footer-bottom-row .bb-payment-title {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  white-space: nowrap !important;
  font-size: 7px !important;
  letter-spacing: 1.5px !important;
}

.bb-footer-bottom-row .bb-we-accept {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bb-footer-bottom-row .bb-we-accept li {
  position: static !important;
  float: none !important;
  min-width: 42px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 4px 6px !important;
  transform: none !important;
}

.bb-footer-legal {
  max-width: 390px !important;
  text-align: right !important;
}



/* Volver arriba */
.bb-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 9997;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244,197,66,.28);
  border-radius: 50%;
  background: rgba(8,8,7,.96);
  color: var(--bb-gold) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
  cursor: pointer;
}

.bb-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .bb-footer-top-row,
  .bb-footer-bottom-row {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  .bb-footer-bottom-row .bb-payment-section {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .bb-footer-legal {
    max-width: none !important;
    text-align: center !important;
  }

  .bb-back-to-top {
    right: 12px;
    bottom: 72px;
  }
}


/* BARRIO BAJO - BASKET LINK */
a.bb-basket-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  padding: 0 16px !important;
  border: 1px solid #f6d064 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #ffd95e, #d99d20) !important;
  color: #070707 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100 !important;
}

a.bb-basket-button:hover {
  background: linear-gradient(135deg, #ffe58a, #f4c542) !important;
  color: #050505 !important;
}
/* =========================================================
   BARRIO BAJO RP - HEADER IDIOMAS + BASKET
   ========================================================= */

.bb-account-area {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* IDIOMAS */

.bb-language-selector {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;

  padding: 4px !important;

  border: 1px solid rgba(244, 197, 66, 0.16) !important;
  border-radius: 9px !important;

  background: rgba(255, 255, 255, 0.02) !important;
}

.bb-language-button {
  width: 32px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 6px !important;

  background: transparent !important;

  color: #8d8980 !important;

  font-size: 9px !important;
  font-weight: 900 !important;

  cursor: pointer !important;
}

.bb-language-button:hover {
  color: #f4c542 !important;
  background: rgba(244, 197, 66, 0.08) !important;
}

.bb-language-button.active {
  color: #090909 !important;
  background: #f4c542 !important;
}


/* BASKET */

.bb-basket-direct {
  display: inline-flex !important;

  align-items: center !important;
  justify-content: center !important;

  gap: 8px !important;

  min-height: 46px !important;

  padding: 0 17px !important;

  border: 1px solid #f6d064 !important;
  border-radius: 12px !important;

  background:
    linear-gradient(
      135deg,
      #ffd95e,
      #d99d20
    ) !important;

  color: #080808 !important;

  font-weight: 900 !important;

  text-decoration: none !important;

  cursor: pointer !important;
}

.bb-basket-direct:hover {
  color: #050505 !important;

  background:
    linear-gradient(
      135deg,
      #ffe68a,
      #f4c542
    ) !important;
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .bb-account-area {
    gap: 6px !important;
  }

  .bb-language-button {
    width: 29px !important;
    height: 28px !important;
  }

  .bb-basket-direct {
    min-height: 40px !important;
    padding: 0 12px !important;
  }

}


/* =========================================================
   BARRIO BAJO RP - FIX DEFINITIVO CESTA + IDIOMAS
   ========================================================= */

.bb-account-area {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
}

/* ---------- IDIOMAS ---------- */
.bb-lang-menu {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bb-lang-menu > summary {
  list-style: none !important;
}

.bb-lang-menu > summary::-webkit-details-marker {
  display: none !important;
}

.bb-lang-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 126px !important;
  height: 46px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(244,197,66,.24) !important;
  border-radius: 12px !important;
  background: #0b0a08 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.bb-lang-summary:hover,
.bb-lang-menu[open] .bb-lang-summary {
  border-color: rgba(244,197,66,.55) !important;
  color: #f4c542 !important;
}

.bb-lang-globe {
  font-size: 13px !important;
}

.bb-lang-chevron {
  color: #f4c542 !important;
  font-size: 10px !important;
}

.bb-lang-options {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 150px !important;
  padding: 6px !important;
  border: 1px solid rgba(244,197,66,.25) !important;
  border-radius: 12px !important;
  background: #0b0a08 !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.55) !important;
}

.bb-lang-options button {
  display: block !important;
  width: 100% !important;
  padding: 10px 11px !important;
  border-radius: 8px !important;
  color: #d8d3c8 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.bb-lang-options button:hover,
.bb-lang-options button.active {
  background: rgba(244,197,66,.10) !important;
  color: #f4c542 !important;
}

/* ---------- CESTA HEADER ---------- */
a.bb-basket-direct {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  padding: 0 17px !important;
  border: 1px solid #f6d064 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg,#ffd95e,#d99d20) !important;
  color: #080808 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 30 !important;
}

a.bb-basket-direct:hover {
  background: linear-gradient(135deg,#ffe58a,#f4c542) !important;
  color: #050505 !important;
}

/* ---------- PÁGINA REAL DEL CARRITO ---------- */
body .site-content:has(form.basket) {
  width: min(980px, calc(100% - 32px)) !important;
  margin: 36px auto 48px !important;
  padding: 0 !important;
}

form.basket {
  width: 100% !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 26px !important;
  border: 1px solid rgba(244,197,66,.22) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg,#0d0c09,#080807) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.42) !important;
  color: #fff !important;
}

form.basket .basket-header {
  margin-bottom: 16px !important;
}

form.basket .basket-title {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(22px,3vw,30px) !important;
  font-weight: 900 !important;
}

form.basket .basket-second-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
  padding: 13px 0 !important;
  border-top: 1px solid rgba(244,197,66,.11) !important;
  border-bottom: 1px solid rgba(244,197,66,.11) !important;
  color: #aaa59b !important;
}

form.basket .basket-second-header .total,
form.basket .basket-item .price,
form.basket .basket-checkout .total {
  color: #f4c542 !important;
  font-weight: 900 !important;
}

form.basket .basket-item {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
}

form.basket .basket-item .info {
  min-width: 0 !important;
}

form.basket .basket-item .title {
  margin: 0 0 8px !important;
}

form.basket .basket-item .title a {
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

form.basket .basket-item .title a:hover {
  color: #f4c542 !important;
}

form.basket .options {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 8px 0 !important;
  color: #aaa59b !important;
  font-size: 11px !important;
}

form.basket .quantity-field {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

form.basket .quantity-field button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(244,197,66,.20) !important;
  border-radius: 8px !important;
  background: #11100d !important;
  color: #f4c542 !important;
}

form.basket .quantity-field input {
  width: 58px !important;
  height: 38px !important;
  padding: 0 6px !important;
  border: 1px solid rgba(244,197,66,.18) !important;
  border-radius: 8px !important;
  background: #0d0c0a !important;
  color: #fff !important;
  text-align: center !important;
}

form.basket a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(193,46,46,.45) !important;
  border-radius: 8px !important;
  color: #ff8c8c !important;
}

form.basket .basket-checkout {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 22px !important;
  padding-top: 18px !important;
}

form.basket .basket-checkout h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

form.basket button.checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 20px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg,#ffd95e,#d99d20) !important;
  color: #080808 !important;
  font-weight: 900 !important;
}

form.basket .no-products {
  padding: 40px 20px !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .bb-lang-summary {
    min-width: 48px !important;
    padding: 0 10px !important;
  }

  #bb-current-lang {
    display: none !important;
  }

  form.basket {
    padding: 18px !important;
  }

  form.basket .basket-item {
    grid-template-columns: 1fr !important;
  }

  form.basket .basket-checkout {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* BARRIO BAJO - BOTON CARRITO LIMPIO */
.bb-basket-clean{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:112px!important;
  min-height:46px!important;
  padding:0 18px!important;
  gap:0!important;
  text-decoration:none!important;
}
.bb-basket-clean::before,
.bb-basket-clean::after{
  content:none!important;
  display:none!important;
}
/* =========================================
   BARRIO BAJO RP - DISCORD EN STATUS BAR
   ========================================= */

.bb-status-discord-column {
  min-width: 130px;
}

.bb-status-discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 118px;
  min-height: 34px;

  padding: 0 16px;

  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 8px;

  background: rgba(88, 101, 242, 0.08);

  color: #ffffff !important;
  text-decoration: none !important;

  font-size: 11px;
  font-weight: 900;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.bb-status-discord-link:hover {
  background: #5865f2;
  border-color: #5865f2;

  color: #ffffff !important;

  transform: translateY(-1px);

  box-shadow:
    0 8px 24px rgba(88, 101, 242, 0.22);
}