
        :root {
            --rnx-bg: #f0f0f0;
            --rnx-panel-bg: #1e293b;
            --rnx-header-bg: #334155;
            --rnx-tab-active: #2563eb;
            --rnx-total-bar: #0f172a;
            --rnx-btn-dark: #0f172a;
            --rnx-btn-yellow: #f0b429;
            --rnx-text-yellow: #f0b429;
            --rnx-text-white: #ffffff;
            --rnx-border: rgba(255,255,255,0.05);
        }

        body.body-default {
            background: var(--rnx-bg);
            font-family: 'Open Sans', Helvetica, Arial, sans-serif;
            color: #333;
        }

        .rnx-gem-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 15px;
            box-sizing: border-box;
        }

        .rnx-gem-page *, .rnx-gem-page *::before, .rnx-gem-page *::after {
            box-sizing: border-box;
        }

        .gc-main-title {
            font-size: 32px;
            font-weight: 800;
            color: #000;
            margin: 10px 0 25px;
            letter-spacing: 1px;
        }

        .rnx-main-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 350px;
            gap: 25px;
            align-items: start;
        }

        /* ==================== PANEL IZQUIERDO ==================== */
        .rnx-tabs-container {
            display: flex;
            flex-wrap: wrap;
            background: var(--rnx-header-bg);
        }
        
        .rnx-tab-btn {
            background: transparent;
            color: var(--rnx-text-white);
            border: none;
            padding: 12px 18px;
            font-size: 14px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .rnx-tab-btn.active, .rnx-tab-btn:hover {
            background: var(--rnx-tab-active);
        }

        .rnx-toolbar {
            background: var(--rnx-panel-bg);
            padding: 12px;
            display: flex;
        }
        .rnx-toolbar input {
            width: 100%;
            padding: 10px 15px;
            border: none;
            font-family: inherit;
            font-size: 14px;
            outline: none;
        }

        .rnx-table-wrapper {
            background: var(--rnx-panel-bg);
            width: 100%;
            overflow-x: auto; 
        }
        
        .rnx-table {
            width: 100%;
            border-collapse: collapse;
            color: var(--rnx-text-white);
        }
        
        .rnx-table th {
            background: var(--rnx-header-bg);
            text-align: left;
            padding: 12px 15px;
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .rnx-table td {
            padding: 8px 15px;
            border-bottom: 1px solid var(--rnx-border);
            font-size: 14px;
            font-weight: 400; 
            vertical-align: middle;
        }
        
        .col-item-name {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 200px;
        }
        .col-item-name img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            background: rgba(255,255,255,0.1); 
            border-radius: 4px;
            padding: 2px;
        }
        
        .rnx-simple-input {
            width: 75px; 
            padding: 6px 4px 6px 8px;
            border: none;
            outline: none;
            font-family: inherit;
            font-size: 14px;
            color: #333;
            border-radius: 4px;
        }
        
        .rnx-simple-input::-webkit-outer-spin-button,
        .rnx-simple-input::-webkit-inner-spin-button {
            opacity: 1; 
            display: block;
            height: 26px;
            cursor: pointer;
        }

        /* ==================== WISHLIST ==================== */
        .rnx-wishlist-panel {
            background: var(--rnx-panel-bg);
            margin-top: 25px;
        }
        .rnx-wishlist-header {
            background: var(--rnx-header-bg);
            padding: 15px 20px;
            font-size: 18px;
            font-weight: 600;
            color: var(--rnx-text-white);
        }
        .rnx-wishlist-total-bar {
            background: var(--rnx-total-bar);
            padding: 10px 20px;
            text-align: center;
            color: var(--rnx-text-white);
            font-size: 15px;
            font-weight: 600;
        }
        .rnx-wishlist-total-bar span {
            color: var(--rnx-text-yellow);
            margin-left: 10px;
        }
        .rnx-wishlist-body {
            padding: 20px;
            min-height: 120px;
            color: var(--rnx-text-white);
        }
        .rnx-order-empty {
            font-size: 14px;
            opacity: 0.8;
            text-align: center;
            padding: 20px 0;
        }
        .rnx-order-line {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px dashed rgba(255,255,255,0.2);
            font-size: 14px;
        }
        .rnx-order-line:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .rnx-order-line img {
            width: 28px;
            height: 28px;
            object-fit: contain;
            border-radius: 4px;
        }
        .rnx-order-line-info { flex: 1; }
        .rnx-order-line-info b { display: block; font-weight: 600; }
        .rnx-order-line-info small { display: block; font-size: 12px; opacity: 0.8; margin-top: 2px; }
        .rnx-order-qty-badge { font-size: 15px; font-weight: bold; color: var(--rnx-text-yellow); }

        /* ==================== PANEL DERECHO ==================== */
        .rnx-calc-panel {
            background: var(--rnx-panel-bg);
            color: var(--rnx-text-white);
        }
        .rnx-calc-header {
            background: var(--rnx-header-bg);
            padding: 15px 20px;
            font-size: 18px;
            font-weight: 600;
        }
        .rnx-calc-body { padding: 20px; }
        .rnx-form-group { margin-bottom: 15px; }
        .rnx-form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
        .rnx-form-group input {
            width: 100%;
            padding: 10px 12px;
            border: none;
            font-size: 14px;
            font-family: inherit;
            outline: none;
            border-radius: 4px;
        }

        .rnx-power-ranges {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }
        .rnx-power-btn {
            background: var(--rnx-btn-dark);
            color: var(--rnx-text-white);
            border: 2px solid transparent;
            padding: 10px;
            font-size: 13px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            border-radius: 4px;
        }
        .rnx-power-btn:hover { background: #1e293b; }
        .rnx-power-btn.active {
            background: var(--rnx-btn-yellow);
            color: #333;
            border-color: var(--rnx-btn-yellow);
        }

        .rnx-presets {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 20px;
        }
        .rnx-presets button {
            background: var(--rnx-btn-dark);
            color: #fff;
            border: none;
            padding: 8px;
            font-size: 13px;
            cursor: pointer;
            flex: 1;
            min-width: 50px;
            font-family: inherit;
            border-radius: 4px;
        }
        .rnx-presets button:hover { background: #1e293b; }

        .rnx-total-box {
            background: var(--rnx-total-bar);
            padding: 15px;
            margin-bottom: 15px;
            text-align: center;
            border-radius: 4px;
        }
        .rnx-total-box span { display: block; font-size: 13px; margin-bottom: 5px; opacity: 0.9;}
        .rnx-total-box strong { display: block; font-size: 32px; font-weight: bold; color: var(--rnx-text-yellow); margin-bottom: 5px; }
        .rnx-total-box small { display: block; font-size: 12px; opacity: 0.8; }

        /* GRID PARA LOS BOTONES INFERIORES */
        .rnx-round-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 8px;
        }
        .rnx-round-grid button {
            padding: 12px;
            border: none;
            font-weight: bold;
            font-size: 13px;
            cursor: pointer;
            font-family: inherit;
            border-radius: 4px;
            transition: opacity 0.2s;
            background: var(--rnx-tab-active);
            color: #fff;
        }
        .rnx-round-grid button:hover { background: #60a5fa; }

        .rnx-actions-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 15px;
        }
        .rnx-actions-grid button {
            padding: 12px;
            border: none;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
            font-family: inherit;
            border-radius: 4px;
            transition: opacity 0.2s;
        }
        .rnx-actions-grid button:active { opacity: 0.8; }
        
        .btn-limpiar { background: #fff; color: #333; }
        .btn-descargar { background: var(--rnx-btn-yellow); color: #333; }

        .rnx-alert {
            display: none;
            background: #c33b4a;
            color: #fff;
            padding: 10px;
            margin-bottom: 15px;
            font-size: 13px;
            border-radius: 4px;
        }

        .rnx-api-status {
            font-size: 12px;
            opacity: 0.8;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .rnx-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #11845b;
        }
        .rnx-dot.local { background: var(--rnx-text-yellow); }

        .rnx-wishlist-panel.capture-mode {
            width: 700px !important;
            max-width: 700px !important;
            background: var(--rnx-panel-bg) !important;
            padding: 10px;
        }

        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 960px) {
            .rnx-main-grid { grid-template-columns: 1fr; }
            .rnx-right-panel { grid-row: 1; }
            .rnx-left-panel { grid-row: 2; }
        }
        
        @media (max-width: 550px) {
            .rnx-tab-btn { padding: 10px 12px; font-size: 13px; flex: 1; text-align: center; }
            .rnx-table th, .rnx-table td { padding: 8px 10px; }
            .col-item-name { min-width: 150px; }
        }

    


    :root {

        --rnx-topbar-bg: rgba(255, 255, 255, .96);

        --rnx-topbar-border: #e7edf5;

        --rnx-topbar-text: #111827;

        --rnx-topbar-muted: #64748b;

        --rnx-topbar-primary: #0d6efd;

        --rnx-topbar-primary-dark: #0b5ed7;

        --rnx-topbar-soft: #f7faff;

        --rnx-topbar-success: #16a34a;

        --rnx-topbar-shadow: 0 10px 30px rgba(15, 23, 42, .07);

    }

    .rnx-modern-header {

        position: sticky;

        top: 0;

        z-index: 1030;

        background: var(--rnx-topbar-bg);

        border-bottom: 1px solid var(--rnx-topbar-border);

        box-shadow: 0 2px 12px rgba(15, 23, 42, .035);

        backdrop-filter: blur(14px);

        -webkit-backdrop-filter: blur(14px);

        padding: 9px 0 !important;

    }

    .rnx-modern-header .container {

        max-width: 1280px;

    }

    .rnx-modern-shell {

        display: flex;

        align-items: center;

        gap: 14px;

        min-height: 52px;

    }

    .rnx-modern-brand {

        display: inline-flex;

        align-items: center;

        gap: 10px;

        min-width: 108px;

        text-decoration: none !important;

    }

    .rnx-modern-brand img {

        width: auto;

        max-width: 108px;

        max-height: 38px;

        object-fit: contain;

        display: block;

    }

    .rnx-modern-brand-text {

        display: none;

        font-weight: 900;

        color: var(--rnx-topbar-text);

        letter-spacing: -.03em;

        line-height: 1;

    }

    .rnx-topbar-search {

        flex: 1 1 auto;

        max-width: 560px;

        min-width: 220px;

    }

    .rnx-topbar-search .form-group {

        position: relative;

        margin: 0;

    }

    .rnx-topbar-search input.form-control {

        height: 42px;

        border-radius: 12px;

        border: 1px solid #dbe5f1;

        background: #f8fafc;

        padding: 0 46px 0 15px;

        font-size: 14px;

        color: var(--rnx-topbar-text);

        box-shadow: none;

        transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;

    }

    .rnx-topbar-search input.form-control:focus {

        background: #fff;

        border-color: rgba(13, 110, 253, .55);

        box-shadow: 0 0 0 4px rgba(13, 110, 253, .08);

    }

    .rnx-topbar-search button {

        position: absolute;

        right: 5px;

        top: 5px;

        width: 32px;

        height: 32px;

        border-radius: 10px;

        border: 0;

        background: transparent;

        color: var(--rnx-topbar-muted);

        display: inline-flex;

        align-items: center;

        justify-content: center;

        padding: 0;

    }

    .rnx-topbar-search button:hover {

        background: #eaf2ff;

        color: var(--rnx-topbar-primary);

    }

    .rnx-modern-actions {

        display: flex;

        align-items: center;

        gap: 8px;

        margin-left: auto;

        white-space: nowrap;

    }

    .rnx-nav-pill,

    .rnx-icon-pill,

    .rnx-add-pill,

    .rnx-login-pill {

        min-height: 40px;

        border-radius: 12px !important;

        font-weight: 800;

        font-size: 13px;

        display: inline-flex;

        align-items: center;

        justify-content: center;

        gap: 7px;

        text-decoration: none !important;

        transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;

    }

    .rnx-nav-pill {

        padding: 0 12px;

        border: 1px solid #dbe5f1;

        color: #334155 !important;

        background: #fff;

    }

    .rnx-nav-pill:hover {

        color: var(--rnx-topbar-primary) !important;

        border-color: rgba(13, 110, 253, .35);

        background: #f8fbff;

    }

    .rnx-login-pill {

        padding: 0 14px;

        border: 1px solid rgba(13, 110, 253, .35);

        color: var(--rnx-topbar-primary) !important;

        background: #fff;

    }

    .rnx-add-pill {

        padding: 0 15px;

        border: 1px solid var(--rnx-topbar-primary);

        color: #fff !important;

        background: linear-gradient(135deg, var(--rnx-topbar-primary), var(--rnx-topbar-primary-dark));

        box-shadow: 0 7px 16px rgba(13, 110, 253, .22);

    }

    .rnx-add-pill:hover {

        color: #fff !important;

        transform: translateY(-1px);

        box-shadow: 0 10px 22px rgba(13, 110, 253, .27);

    }

    .rnx-icon-pill {

        position: relative;

        width: 40px;

        padding: 0;

        border: 1px solid #dbe5f1;

        background: #fff;

        color: #334155 !important;

    }

    .rnx-icon-pill:hover {

        color: var(--rnx-topbar-primary) !important;

        border-color: rgba(13, 110, 253, .35);

        background: #f8fbff;

    }

    .rnx-modern-header .dropdown-menu {

        border: 1px solid #e5edf6;

        border-radius: 14px;

        box-shadow: var(--rnx-topbar-shadow);

        padding: 8px;

        min-width: 235px;

        margin-top: 10px;

    }

    .rnx-modern-header .dropdown-item {

        border-radius: 10px;

        padding: 9px 11px;

        font-size: 13px;

        color: #334155;

        display: flex;

        align-items: center;

        gap: 9px;

    }

    .rnx-modern-header .dropdown-item:hover,

    .rnx-modern-header .dropdown-item:focus {

        background: #f1f6ff;

        color: var(--rnx-topbar-primary);

    }

    .rnx-dropdown-title {

        padding: 8px 11px 6px;

        font-size: 11px;

        text-transform: uppercase;

        letter-spacing: .06em;

        color: var(--rnx-topbar-muted);

        font-weight: 900;

    }

    .rnx-user-trigger {

        display: inline-flex !important;

        align-items: center;

        min-height: 42px;

        border: 1px solid #dbe5f1;

        border-radius: 13px;

        background: #fff;

        padding: 4px 8px 4px 5px !important;

        color: var(--rnx-topbar-text) !important;

        text-decoration: none !important;

    }

    .rnx-user-trigger:hover {

        border-color: rgba(13, 110, 253, .35);

        background: #f8fbff;

    }

    .rnx-user-trigger .avatar {

        width: 32px;

        height: 32px;

        border-radius: 10px;

        box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);

    }

    .rnx-user-trigger .text-default {

        font-weight: 900;

        line-height: 1.1;

        max-width: 130px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;

    }

    .rnx-user-trigger small {

        max-width: 130px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;

    }

    .rnx-trust-strip {

        border-top: 1px solid rgba(226, 232, 240, .8);

        background: rgba(248, 250, 252, .76);

    }

    .rnx-trust-inner {

        max-width: 1280px;

        margin: 0 auto;

        padding: 7px 15px;

        display: grid;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 10px;

        color: #475569;

        font-size: 12px;

        font-weight: 800;

    }

    .rnx-trust-item {

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 7px;

        min-width: 0;

    }

    .rnx-trust-item i {

        color: var(--rnx-topbar-primary);

    }

    .rnx-mobile-search {

        display: none;

        padding-top: 8px;

    }

    .rnx-modern-cookie {

        border-bottom: 1px solid #e8eef6;

        background: #fff;

        color: #475569;

        font-size: 12px;

        padding: 9px 0;

    }

    .rnx-modern-cookie a {

        color: var(--rnx-topbar-primary);

        font-weight: 800;

    }

    .rnx-modern-cookie .close {

        width: 28px;

        height: 28px;

        border-radius: 9px;

        background: #f1f5f9;

        opacity: 1;

    }

    .rnx-modern-cookie .close:hover {

        background: #e2e8f0;

    }

    @media (max-width: 991.98px) {

        .rnx-modern-shell {

            gap: 8px;

        }

        .rnx-desktop-search {

            display: none !important;

        }

        .rnx-mobile-search {

            display: block;

        }

        .rnx-modern-brand {

            min-width: auto;

        }

        .rnx-modern-brand img {

            max-width: 92px;

            max-height: 34px;

        }

        .rnx-nav-pill span,

        .rnx-login-pill span,

        .rnx-add-pill span {

            display: none !important;

        }

        .rnx-nav-pill,

        .rnx-login-pill,

        .rnx-add-pill {

            width: 40px;

            padding: 0;

        }

        .rnx-trust-inner {

            grid-template-columns: repeat(2, minmax(0, 1fr));

            font-size: 11px;

            gap: 6px;

        }

        .rnx-user-trigger {

            width: 42px;

            padding: 4px !important;

            justify-content: center;

        }

    }

    @media (max-width: 575.98px) {

        .rnx-modern-header {

            padding: 7px 0 !important;

        }

        .rnx-modern-shell {

            min-height: 46px;

        }

        .rnx-modern-actions {

            gap: 5px;

        }

        .rnx-icon-pill,

        .rnx-nav-pill,

        .rnx-login-pill,

        .rnx-add-pill {

            width: 36px;

            min-height: 36px;

            border-radius: 11px !important;

        }

        .rnx-user-trigger {

            width: 38px;

            min-height: 38px;

        }

        .rnx-user-trigger .avatar {

            width: 30px;

            height: 30px;

            border-radius: 9px;

        }

        .rnx-modern-brand img {

            max-width: 78px;

        }

        .rnx-trust-strip {

            display: none;

        }

        .rnx-topbar-search input.form-control {

            height: 39px;

            border-radius: 11px;

        }

    }

